diff options
author | Bruno Haible <bruno@clisp.org> | 2003-05-08 20:45:55 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:28 +0200 |
commit | 1f68309dc62be678a70a78060669f520702338d3 (patch) | |
tree | e31dd11a7703a5a21f8c530c3ba4d5cf519167fb /gettext-tools | |
parent | d748a5fc6975943e9b0d0bde800e0a65e6a1dcee (diff) | |
download | external_gettext-1f68309dc62be678a70a78060669f520702338d3.zip external_gettext-1f68309dc62be678a70a78060669f520702338d3.tar.gz external_gettext-1f68309dc62be678a70a78060669f520702338d3.tar.bz2 |
Avoid misinterpretation of some ACLOCAL_AMFLAGS.
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/misc/ChangeLog | 6 | ||||
-rw-r--r-- | gettext-tools/misc/gettextize.in | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 83efd14..757fe37 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -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, diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 92f073b..7bb0f45 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -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 |