bootstrap: check for LT_INIT, too
authorJim Meyering <meyering@redhat.com>
Sun, 5 Oct 2008 12:11:23 +0000 (14:11 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 5 Oct 2008 12:11:23 +0000 (14:11 +0200)
* build-aux/bootstrap: Both AC_PROG_LIBTOOL and AM_PROG_LIBTOOL
are deprecated.  Suggestion from Ralf Wildenhues.

ChangeLog
build-aux/bootstrap

index 7bd8c48..f06b946 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-05  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: check for LT_INIT, too
+       * build-aux/bootstrap: Both AC_PROG_LIBTOOL and AM_PROG_LIBTOOL
+       are deprecated.  Suggestion from Ralf Wildenhues.
+
 2008-10-05  Bruno Haible  <bruno@clisp.org>
 
        * lib/spawn.in.h (POSIX_SPAWN_*): Use the system's values, rather than
index ae2b8a2..74573ef 100755 (executable)
@@ -597,7 +597,7 @@ for command in \
   'automake --add-missing --copy --force-missing';
 do
   if test "$command" = libtool; then
-    grep '^[    ]*A[CM]_PROG_LIBTOOL\>' configure.ac >/dev/null ||
+    grep -E '^[         ]*(LT_INIT|A[CM]_PROG_LIBTOOL)\>' configure.ac >/dev/null ||
       continue
     command='libtoolize -c -f'
   fi