From 361e9a2b86606ef4bcd5141b89cecc5180190271 Mon Sep 17 00:00:00 2001 From: Jim Meyering 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 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7bd8c48c0..f06b94685 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-05 Jim Meyering + + 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 * lib/spawn.in.h (POSIX_SPAWN_*): Use the system's values, rather than diff --git a/build-aux/bootstrap b/build-aux/bootstrap index ae2b8a2f8..74573efaa 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 -- 2.11.0