summaryrefslogtreecommitdiffstats
path: root/testsuite/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/configure.ac')
-rw-r--r--testsuite/configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/configure.ac b/testsuite/configure.ac
index 70d01e96..0fd78fe7 100644
--- a/testsuite/configure.ac
+++ b/testsuite/configure.ac
@@ -8,5 +8,20 @@ AC_CONFIG_AUX_DIR(..)
AM_INIT_AUTOMAKE([dejagnu foreign])
AM_MAINTAINER_MODE
+AC_ARG_ENABLE([dejazilla],
+ AS_HELP_STRING([--enable-dejazilla@<:@=EMAIL@:>@],
+ [enable dejazilla support to automatically email test results to a
+ central public collection point (default is disabled). Optional
+ EMAIL overrides the default email address.]))
+case "$enable_dejazilla" in
+ no) dejazilla= ;;
+ yes) dejazilla=dejazilla@elastic.org ;;
+ *) dejazilla="$enable_dejazilla" ;;
+esac
+if test -n "$dejazilla"; then
+ AC_MSG_NOTICE([A "make *check" will email results to $dejazilla])
+fi
+AC_SUBST(dejazilla)
+
AC_CONFIG_FILES(Makefile)
AC_OUTPUT