Hash :
2ffe5585
Author :
Date :
2002-08-01T22:24:33
* aclocal.in (parse_arguments): Add `dirlist' paths add the very end of the search path, after aclocal-APIVERSION/ and aclocal/. * automake.texi (Macro search path): Adjust to reflect the new ordering. * tests/dirlist.test: Check for this.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
#! /bin/sh
# Check dirlist support.
# This test relies on m4/dirlist
. $srcdir/defs || exit 1
set -e
cat > configure.in <<EOF
AC_INIT
AM_INIT_GUILE_MODULE
EOF
mkdir dirlist-test
cat >dirlist-test/dirlist-check.m4 <<'END'
AC_DEFUN([AM_INIT_GUILE_MODULE],[
. $srcdir/../GUILE-VERSION
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AC_CONFIG_AUX_DIR(..)
module=[$1]
AC_SUBST(module)])
END
cat >dirlist-test/init.m4 <<EOF
AC_DEFUN([AM_INIT_AUTOMAKE], [I should not be included])
EOF
$ACLOCAL
grep 'DEFUN.*AM_INIT_GUILE_MODULE' aclocal.m4
# This bug can occur only when we do a VPATH build of Automake
# (beause of the `-I' passed to aclocal in tests/defs) but it's
# ok because this is what `make distcheck' does.
grep 'I should not be included' aclocal.m4 && exit 1
: