]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid misinterpretation of some ACLOCAL_AMFLAGS.
authorBruno Haible <bruno@clisp.org>
Thu, 8 May 2003 20:45:55 +0000 (20:45 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:28 +0000 (12:10 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/gettextize.in

index 83efd144684519b8885ea97a8fae5b29394fcec3..757fe3756d29fdbc15366519c83f53ffe81ee2d1 100644 (file)
@@ -1,3 +1,9 @@
+2003-05-08  Bruno Haible  <bruno@clisp.org>
+
+       * gettextize.in: Ignore ACLOCAL_AMFLAGS options of the form -Idir when
+       dir is an absolute pathname.
+       Reported by Jürgen A. Erhard <jae+debian@jerhard.org>.
+
 2003-04-29  Bruno Haible  <bruno@clisp.org>
 
        * gettextize.in: Recommend running automake only after aclocal,
index 92f073b6225d8a0d615487672368652fe939407d..7bb0f453b2ce543eb456e8dbe095cb0c216707d1 100644 (file)
@@ -661,8 +661,14 @@ if test -f "$srcdir/Makefile.am"; then
   m4dir_is_next=
   for arg in $aclocal_amflags; do
     if test -n "$m4dir_is_next"; then
-      m4dir="$arg"
-      break
+      # Ignore absolute directory pathnames, like /usr/local/share/aclocal.
+      case "$arg" in
+        /*) ;;
+        *)
+          m4dir="$arg"
+          break
+          ;;
+      esac
     else
       if test "X$arg" = "X-I"; then
         m4dir_is_next=yes