Earlier today, i built Libtool 2.2 and was ready to install it, but then had second thoughts about using it w/ Automake 1.9.6. So, i built Automake 1.10.1 and saw "make check" result in 14 errors. Investigating the first of these, depcomp4.test, i see that for some reason, testSubDir/libtool around line 810 uses `$echo', but the shell variable `echo' has no value. This is w/ Libtool 1.5.24, so i built Libtool 1.5.26 and installed it, in the blind hope that "Bug Fixes" (in the NEWS) would include some relief. Alas, no.
So, below is a quick patch that seems to work. Here is a ChangeLog entry for this tiny change: * ltmain.sh: Prior to parsing the command line "once, thoroughly", make sure shell variable `echo' has some sane value. I hope it (or a more suitable reworking) will appear in a 1.5.x release. That way, i can then install Automake 1.10.1 w/ Libtool 1.5.x, and subsequently Libtool 2.2.x, for peace of mind. thi ________________________________
diff -u libtool-1.5.26/ltmain.sh.ORIG libtool-1.5.26/ltmain.sh --- libtool-1.5.26/ltmain.sh.ORIG 2008-02-01 17:39:51.000000000 +0100 +++ libtool-1.5.26/ltmain.sh 2008-03-08 18:05:15.000000000 +0100 @@ -426,6 +426,9 @@ disable_libs=no +# For some reason, echo is (sometimes?) not set. --ttn +if test "X$echo" = X ; then echo=echo ; fi + # Parse our command line options once, thoroughly. while test "$#" -gt 0 do Diff finished. Sat Mar 8 18:06:22 2008
_______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool