summaryrefslogtreecommitdiff
path: root/tests/torture.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/torture.at')
-rw-r--r--tests/torture.at22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/torture.at b/tests/torture.at
index ff0f53f3..631f34f4 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -1807,6 +1807,28 @@ AT_CHECK([test -f foo/innerfile])
AT_CLEANUP
+## ------------------------- ##
+## Empty AC_CONFIG_SUBDIRS. ##
+## ------------------------- ##
+
+AT_SETUP([Empty AC_CONFIG_SUBDIRS])
+AT_KEYWORDS([autoreconf])
+
+AT_DATA([install-sh], [])
+AT_DATA([configure.ac],
+[[AC_INIT(GNU Outer, 1.0)
+
+AC_CONFIG_SUBDIRS()
+AC_OUTPUT
+]])
+
+# autoreconf should have no complaints, and the generated configure
+# script should run fine with or without --no-recursion.
+AT_CHECK([autoreconf -Werror], [0], [ignore])
+AT_CHECK_CONFIGURE()
+AT_CHECK_CONFIGURE([--no-recursion])
+
+AT_CLEANUP
## ----------------- ##
## Empty directory. ##