* Makefile.am ($(srcdir)/ltconfig): Oops.  cvs co keyword
expansion ate the sed expression! Changed sed separator to '%'
because there are '/' in the date.  Added missing '(' to search
expression.  Inserted a null string to stop cvs from expanding it
next time =)O|
($(srcdir)/ltmain.sh): ditto.
diff --git a/ChangeLog b/ChangeLog
index 3755b01..bc950ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1999-01-22  Gary V. Vaughan  <garyv@oranda.demon.co.uk>
+
+	* Makefile.am ($(srcdir)/ltconfig): Oops.  cvs co keyword
+	expansion ate the sed expression! Changed sed separator to '%'
+	because there are '/' in the date.  Added missing '\(' to search
+	expression.  Inserted a null string to stop cvs from expanding it
+	next time =)O|
+	($(srcdir)/ltmain.sh): ditto.
+
 1999-01-22  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
 	* Makefile.am (TSDEPS_DIST): dist-time dependencies for timestamps
diff --git a/Makefile.am b/Makefile.am
index b63ccd6..40d25c5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,11 +61,11 @@
 # Line numbering transliterated from a section in autoconf (Autoconf 2.12).
 $(srcdir)/ltconfig: $(srcdir)/ltconfig.in $(top_srcdir)/configure.in $(TSDEPS)
 	rm -f ltconfig.T
-	date=`sed 's/.*\$$Date$$]*\)\$$.*/ (\1)/;t;d' \
+	date=`sed 's%.*\$$''Date: \([0-9 /]*[0-9:]*\) \$$.*% (\1)%;t;d' \
 		< $(srcdir)/ChangeLog` && \
 	$(AWK) '/@LINENO@/ { printf "%d:", NR } { print }' $(srcdir)/ltconfig.in | \
 	  sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
-	      -e "s/@""TIMESTAMP@/$$date/" \
+	      -e "s%@""TIMESTAMP@%$$date%" \
 	      -e '/@LINENO@/s/^\([0-9][0-9]*\):\(.*\)@LINENO@/\2\1/' \
 		> ltconfig.T
 	chmod +x ltconfig.T
@@ -74,10 +74,10 @@
 
 $(srcdir)/ltmain.sh: $(srcdir)/ltmain.in $(top_srcdir)/configure.in $(TSDEPS)
 	rm -f ltmain.shT
-	date=`sed 's/.*\$$Date$$]*\)\$$.*/ (\1)/;t;d' \
+	date=`sed 's%.*\$$''Date: \([0-9 /]*[0-9:]*\) \$$.*% (\1)%;t;d' \
 		< $(srcdir)/ChangeLog` && \
 	sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
-	    -e "s/@""TIMESTAMP@/$$date/" $(srcdir)/ltmain.in > ltmain.shT
+	    -e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
 	mv -f ltmain.shT $@ || \
 	(rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)