From: Eric Blake Date: Mon, 16 Jan 2012 17:16:01 +0000 (-0700) Subject: bootstrap: properly check for libtool X-Git-Tag: v0.1~1241 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=20afa10e2e0a6518a30ab4711472f4adf2b325aa bootstrap: properly check for libtool Commit 767ccd40 changed things to invoke libtoolize before gnulib-tool, but only for projects that use LT_INIT, even though we had already probed for libtool via older spellings. * build-aux/bootstrap (libtoolize): Also run libtool when older usage is detected. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 1e296b455..5ed23e605 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-01-16 Eric Blake + + bootstrap: properly check for libtool + * build-aux/bootstrap (libtoolize): Also run libtool when older + usage is detected. + 2012-01-15 Bruno Haible Improve support for MSVC 9. diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 66da98103..69bd96016 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2012-01-06.07; # UTC +scriptversion=2012-01-16.17; # UTC # Bootstrap this package from checked-out sources. @@ -758,7 +758,7 @@ fi # Autoreconf runs aclocal before libtoolize, which causes spurious # warnings if the initial aclocal is confused by the libtoolized # (or worse out-of-date) macro directory. -if grep '^[ ]*LT_INIT' configure.ac >/dev/null; then +if test $use_libtool = 1; then echo "running: $LIBTOOLIZE --copy --install" $LIBTOOLIZE --copy --install fi