changeset 10580:1d1803a475a9

bootstrap: check for LT_INIT, too * build-aux/bootstrap: Both AC_PROG_LIBTOOL and AM_PROG_LIBTOOL are deprecated. Suggestion from Ralf Wildenhues.
author Jim Meyering <meyering@redhat.com>
date Sun, 05 Oct 2008 14:11:23 +0200
parents f2b0bd3d9c8b
children 926fe01437f6
files ChangeLog build-aux/bootstrap
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -597,7 +597,7 @@
   '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