* Makefile.am (ltconfig, ltmain.sh): add ChangeLog Revision to

TIMESTAMP
* configure.in: get values of PACKAGE and VERSION set by
AM_INIT_AUTOMAKE, and extract only TIMESTAMP from the ChangeLog
This commit is contained in:
Alexandre Oliva 1999-01-22 18:04:51 +00:00 committed by Alexandre Oliva
parent 6fffb233f1
commit 92ee62a8dc
3 changed files with 22 additions and 21 deletions

View File

@ -1,5 +1,10 @@
1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
* Makefile.am (ltconfig, ltmain.sh): add ChangeLog Revision to
TIMESTAMP
* configure.in: get values of PACKAGE and VERSION set by
AM_INIT_AUTOMAKE, and extract only TIMESTAMP from the ChangeLog
* libltdl/ltdl.c (lt_dlopen): if we're reusing a previously opened
handle, don't reset its name nor add it to the list, and free the
name we have allocated
@ -3596,4 +3601,4 @@ Thu May 28 18:59:08 1998 Ian Lance Taylor <ian@cygnus.com>
* For historical reasons: this is when I started writing libtool.
$Date$
$Revision$ $Date$

View File

@ -61,7 +61,7 @@ update-timestamps:
# 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%.*\$$''Revision: \([^$$]*\) \$$ \$$''Date: \([^$$]*\) \$$.*% (\1 \2)%;t end;d;: end' \
< $(srcdir)/ChangeLog` && \
$(AWK) '/@LINENO@/ { printf "%d:", NR } { print }' $(srcdir)/ltconfig.in | \
sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
@ -74,7 +74,7 @@ $(srcdir)/ltconfig: $(srcdir)/ltconfig.in $(top_srcdir)/configure.in $(TSDEPS)
$(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%.*\$$''Revision: \([^$$]*\) \$$ \$$''Date: \([^$$]*\) \$$.*% (\1 \2)%;t end;d;: end' \
< $(srcdir)/ChangeLog` && \
sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
-e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT

View File

@ -2,32 +2,28 @@ 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=
case "$VERSION" in
changequote(,)
case $version in
*[acegikmoqsuwy])
date=`sed 's%.*\$''Date: \([0-9 /]*[0-9:]*\) \$.*% (\1)%;t;d' < \
$srcdir/ChangeLog`
TIMESTAMP=`sed 's%.*\$''Revision: \([^$]*\) \$ \$''Date: \([^$]*\) \$.*% (\1 \2)%;t end;d;: end' < ${srcdir}/ChangeLog`
changequote([,])
banner="Configuring $PACKAGE $VERSION$TIMESTAMP"
dashes=`echo "$banner" | sed 's/./-/g'`
# Display an obvious version banner
echo
echo $dashes
echo "$banner"
echo $dashes
echo
;;
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)
AC_SUBST(pkgdatadir)
aclocaldir='${datadir}/aclocal'
AC_SUBST(aclocaldir)