]> git.draconx.ca Git - dxcommon.git/blobdiff - testsuite.at
gen-options.awk: Fix generated help text under mawk.
[dxcommon.git] / testsuite.at
index 998fa5cbec84a2549c8a0dd06224a19ccf3a0ad9..a74969ff659d81fecb6d27f7eb405a3a9413f0f4 100644 (file)
@@ -25,6 +25,7 @@ AC_OUTPUT
 cp "$srcdir/install-sh" \
    "$srcdir/depcomp" \
    "$srcdir/missing" \
+   "$srcdir/compile" \
    "$srcdir/config.sub" \
    .
 # Simplified config.guess script avoids some spurious testcase failures
@@ -43,7 +44,8 @@ AT_CHECK([autoreconf -I "$srcdir/m4"], [0], [], [stderr])])
 
 m4_define([TEST_CONFIGURE], [AT_KEYWORDS([configure])dnl
 AT_CHECK([export CC
-CONFIG_SHELL=$TEST_SHELL $TEST_SHELL ./configure --quiet CONFIG_SHELL=$TEST_SHELL $1])])
+CONFIG_SHELL=$TEST_SHELL $TEST_SHELL m4_default([$2],
+[./configure]) --quiet CONFIG_SHELL=$TEST_SHELL $1])])
 
 m4_include([tests/macros.at])
 m4_include([tests/snippets.at])