summaryrefslogtreecommitdiff
path: root/t/dirlist.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/dirlist.sh')
-rwxr-xr-xt/dirlist.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/t/dirlist.sh b/t/dirlist.sh
index e18877711..2dc903886 100755
--- a/t/dirlist.sh
+++ b/t/dirlist.sh
@@ -16,10 +16,10 @@
# Check dirlist support.
-. ./defs || exit 1
+. test-init.sh
cat > configure.ac <<EOF
-AC_INIT
+AC_INIT([$me], [1.0])
AM_INIT_GUILE_MODULE
EOF
@@ -29,7 +29,7 @@ echo ./dirlist-test > acdir/dirlist
cat >dirlist-test/dirlist-check.m4 <<'END'
AC_DEFUN([AM_INIT_GUILE_MODULE],[
. $srcdir/../GUILE-VERSION
-AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
+AM_INIT_AUTOMAKE(foreign)
AC_CONFIG_AUX_DIR(..)
module=[$1]
AC_SUBST(module)])
@@ -50,8 +50,7 @@ grep m4_include aclocal.m4 && exit 1
grep 'GUILE-VERSION' configure
# This bug can occur only when we do a VPATH build of Automake
-# (because of the '-I' passed to aclocal in tests/defs/aclocal.in) but
-# it's OK because VPATH builds are done by 'make distcheck'.
+# but it's OK because VPATH builds are done by 'make distcheck'.
grep 'I should not be included' configure && exit 1
: