summaryrefslogtreecommitdiffstats
path: root/m4/atconfig.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--m4/atconfig.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/atconfig.m4 b/m4/atconfig.m4
new file mode 100644
index 0000000..79c7c72
--- /dev/null
+++ b/m4/atconfig.m4
@@ -0,0 +1,16 @@
+## ----------------------## -*- Autoconf -*-
+## Prepare for testing. ##
+## ----------------------##
+
+#serial 3
+
+# AT_CONFIG([AUTOTEST-PATH = .])
+# ------------------------------
+# Configure the test suite.
+#
+# AUTOTEST-PATH must help the test suite to find the executables, i.e.,
+# if the test suite is in `tests/' and the executables are in `src/',
+# pass `../src'. If there are also executables in the source tree, use
+# `../src:$top_srcdir/src'.
+AC_DEFUN([AT_CONFIG],
+[AC_SUBST([AUTOTEST_PATH], [m4_default([$1], [.])])])