AT_BANNER([Autoconf macros])
-m4_define([TEST_CONFIGURE_AC], [AT_DATA([configure.ac],
-[[AC_INIT([test], [0])
-]$1[
-AC_OUTPUT
-]])
-cp "$srcdir/install-sh" \
- "$srcdir/config.guess" \
- "$srcdir/config.sub" \
- .
-])
-
-m4_define([TEST_AUTORECONF],
- [AT_CHECK([autoreconf -I "$srcdir/m4"], [0], [], [stderr])])
-
-m4_define([TEST_CONFIGURE], [AT_CHECK([./configure $1], [0], [ignore])])
-
dnl Verify that the DX_BASEDIR macro expands correctly during argument
dnl collection. Crucially, the output must not contain any other text.
AT_SETUP([DX_BASEDIR during argument collection])