In regard to: [Announce] libtool-1.4b, Gary V. Vaughan said (at 12:17am on...:
>The most important user-visible changes since release 1.4 follow:
>
>New in 1.4b: 2001-07-09
>* Now bootstraps with autoconf-2.50 and automake-1.4-p4.
If I grab the tarball from alpha.gnu.org and untar it and then
./bootstrap
./configure
gmake
it starts out by doing a recheck:
/bin/ksh ./config.status --recheck
which runs:
running /bin/ksh ./configure --prefix=/local/gnu --exec-prefix=/local/gnu
--enable-ltdl-install --no-create --no-recursion
and I eventually see:
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the cxx linker (/usr/bin/ld) supports shared libraries... yes
./configure[7903]: syntax error at line 1 : `COPYING' unexpected
then, when it dives into libltdl, it does a recheck, and I eventually see:
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the cxx linker (/usr/bin/ld) supports shared libraries... yes
./configure[8082]: syntax error at line 1 : `Makefile' unexpected
I'm using autoconf 2.50 and automake 1.4-p4. Are the syntax errors from
configure something peculiar about my environment, or do other people see
them too?
Also, the patch below my sig might be useful for bootstrap (the problem
I'm describing above happens with or without it, though, so the patch is
unrelated).
Tim
--
Tim Mooney [EMAIL PROTECTED]
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
--- libtool-1.4b.orig/bootstrap Thu Jun 28 17:35:49 2001
+++ libtool-1.4b/bootstrap Tue Jul 10 18:53:51 2001
@@ -8,6 +8,28 @@
: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
+# Check for autoconf & automake versions.
+min_ac_version=2.50
+min_am_version=1.4-p4
+ac_version=`${AUTOCONF} --version 2>/dev/null | sed -e '2,$d' | \
+ sed -e 's/^[^0-9]*\([^ $]*\).*$/\1/'`
+am_version=`${AUTOMAKE} --version 2>/dev/null | sed -e '2,$d' | \
+ sed -e 's/^[^0-9]*\([^ $]*\).*$/\1/'`
+
+if test X"$ac_version" = X"" || \
+ test `expr $ac_version \< $min_ac_version` != 0
+then
+ echo "libtool requires at least autoconf version $min_ac_version" >&2
+ exit 1
+fi
+
+if test X"$am_version" = X"" || \
+ test `expr $am_version \< $min_am_version` != 0
+then
+ echo "libtool requires at least automake version $min_am_version" >&2
+ exit 1
+fi
+
# fake the libtool scripts
touch ltmain.sh
touch libtoolize
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool