Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Jim Meyering wrote on Sun, Oct 05, 2008 at 01:01:14PM CEST:
>> "Debarshi Ray" <[EMAIL PROTECTED]> wrote:
>> >> Subject: [PATCH] bootstrap: check for AC_PROG_LIBTOOL as well as
>> >> AM_PROG_LIBTOOL
>
>> >> * build-aux/bootstrap: Check for AC_PROG_LIBTOOL, as well as the
>> >> obsolete AM_PROG_LIBTOOL.
>> >> Spotted by Debarshi 'Rishi' Ray <[EMAIL PROTECTED]>.
>
> You should check for LT_INIT as well.
Ah ha. Done. Thanks!
>From 361e9a2b86606ef4bcd5141b89cecc5180190271 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[EMAIL PROTECTED]>
Date: Sun, 5 Oct 2008 14:11:23 +0200
Subject: [PATCH] bootstrap: check for LT_INIT, too
* build-aux/bootstrap: Both AC_PROG_LIBTOOL and AM_PROG_LIBTOOL
are deprecated. Suggestion from Ralf Wildenhues.
---
ChangeLog | 6 ++++++
build-aux/bootstrap | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7bd8c48..f06b946 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-05 Jim Meyering <[EMAIL PROTECTED]>
+
+ 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 <[EMAIL PROTECTED]>
* lib/spawn.in.h (POSIX_SPAWN_*): Use the system's values, rather than
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index ae2b8a2..74573ef 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -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
--
1.6.0.2.307.gc427