+2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
+ directory.
+
2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
# We might need extra macros, e.g., from Libtool or Gettext.
# Find them on the system.
+# Use `-I $srcdir/../m4' in addition to `--acdir', because the
+# other `-I' directories added for libtool and gettext might contain
+# files from an old version of Automake that we don't want to use.
aclocaldir=`(aclocal --print-ac-dir) 2>/dev/null`
case $required in
*libtool* )
test -f "$aclocaldir/libtool.m4" || exit 77
- ACLOCAL="$ACLOCAL -I $aclocaldir"
+ ACLOCAL="$ACLOCAL -I $srcdir/../m4 -I $aclocaldir"
;;
*gettext* )
test -f "$aclocaldir/gettext.m4" || exit 77
- ACLOCAL="$ACLOCAL -I $aclocaldir"
+ ACLOCAL="$ACLOCAL -I $srcdir/../m4 -I $aclocaldir"
;;
esac