+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,
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