]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* configure.in (date): echo the version number during ild-branchpoint
authorGary V. Vaughan <gary@gnu.org>
Fri, 22 Jan 1999 14:09:12 +0000 (14:09 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 22 Jan 1999 14:09:12 +0000 (14:09 +0000)
configuration, and show $date for cvs versions.

ChangeLog
configure.in

index bc950abe9b42fc2fb4763226639c7ff02bcb9a5c..beaf78fad791a3510410ed6f2cb808f7af595535 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-01-22  Gary V. Vaughan  <garyv@oranda.demon.co.uk>
 
+       * configure.in (date): echo the version number during
+       configuration, and show $date for cvs versions.
+
        * 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
index 54d6e0d8f3052d347d180f6f3e33ac5adbb92063..ce061c2559ee819de2811309a75a1e134c1e12da 100644 (file)
@@ -1,9 +1,32 @@
 dnl Process this file with autoconf to create configure.
+
 AC_INIT(ltmain.in)
 
-AM_INIT_AUTOMAKE(libtool,1.2e)
+# This is a sanity check so we can see which version is used in bug reports.
+# It is assumed that we only want to see the date extension for cvs libtool
+# versions (i.e. "odd" letters) and not actual alpha releases.
+version=`egrep '^[AM_INIT_AUTOMAKE]' $srcdir/configure.in | \
+         sed 's/^.*,//;s/).*$//'`
+date=
+changequote(,)
+case $version in
+  *[acegikmoqsuwy]) 
+    date=`sed 's%.*\$''Date: \([0-9 /]*[0-9:]*\) \$.*% (\1)%;t;d' < \
+      $srcdir/ChangeLog`
+    ;;
+esac    
+changequote([,])
+banner="Configuring libtool-$version$date"
+dashes=`echo "$banner" | sed 's/./-/g'`
+
+# Display an obvious version banner
+echo $dashes
+echo "$banner"
+echo $dashes
+echo
+
+AM_INIT_AUTOMAKE(libtool, 1.2e)
 
-pkgdatadir='${datadir}/libtool'
 AC_SUBST(pkgdatadir)
 aclocaldir='${datadir}/aclocal'
 AC_SUBST(aclocaldir)