bootstrap: check for LT_INIT more portably still ;-)
authorJim Meyering <meyering@redhat.com>
Sun, 5 Oct 2008 17:47:18 +0000 (19:47 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 6 Oct 2008 14:29:12 +0000 (16:29 +0200)
* build-aux/bootstrap: Don't rely on \>, since it's not portable.
Spotted by Bruno Haible.

ChangeLog
build-aux/bootstrap

index 5345c11..51ce3f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-06  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: check for LT_INIT more portably still ;-)
+       * build-aux/bootstrap: Don't rely on \>, since it's not portable.
+       Spotted by Bruno Haible.
+
 2008-10-06  Eric Blake  <ebb9@byu.net>
 
        test-signbit: avoid tripping Irix cc bug on -0.0L
index 1ad154f..0d76686 100755 (executable)
@@ -601,9 +601,9 @@ do
     # We'd like to use grep -E, to see if any of LT_INIT,
     # AC_PROG_LIBTOOL, AM_PROG_LIBTOOL is used in configure.ac,
     # but that's not portable enough (e.g., for Solaris).
-    grep '^[    ]*A[CM]_PROG_LIBTOOL\>' configure.ac >/dev/null \
+    grep '^[    ]*A[CM]_PROG_LIBTOOL' configure.ac >/dev/null \
       && use_libtool=1
-    grep '^[    ]*LT_INIT\>' configure.ac >/dev/null \
+    grep '^[    ]*LT_INIT' configure.ac >/dev/null \
       && use_libtool=1
     test $use_libtool = 0 \
       && continue