changeset 30271:f3f743668c73

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 84a08c4179ea
children 31f89a34eeef
files ChangeLog build-aux/bootstrap
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Oct 05 13:47:45 2008 +0200
+++ b/ChangeLog	Sun Oct 05 14:11:23 2008 +0200
@@ -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	Sun Oct 05 13:47:45 2008 +0200
+++ b/build-aux/bootstrap	Sun Oct 05 14:11:23 2008 +0200
@@ -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