1 dnl configure.ac --- autoconf input file for systemtap testsuite
2 dnl Process this file with autoconf to produce a configure script.
4 AC_INIT([systemtap], 4.3, systemtap@sourceware.org, systemtap)
8 AM_INIT_AUTOMAKE([dejagnu foreign])
11 AC_ARG_ENABLE([dejazilla],
12 AS_HELP_STRING([--enable-dejazilla@<:@=ARG@:>@],
13 [enable dejazilla support to automatically email test results to a
14 central public collection point (default is disabled). Optional
15 ARG overrides the default email address. Specifying a url for ARG
16 will instead send the results to that url via http.]))
17 case "$enable_dejazilla" in
19 yes) dejazilla=dejazilla@elastic.org ;;
20 *) dejazilla="$enable_dejazilla" ;;
22 if test -n "$dejazilla"; then
23 AC_MSG_NOTICE([A "make *check" will send results to $dejazilla])
27 # The configure above passed us several python-related variables. Make
28 # sure these get substituted in the Makefile.
29 AC_SUBST([python], [${python}])
30 AC_SUBST([pyexecdir], [${pyexecdir}])
31 AC_SUBST([python3], [${python3}])
32 AC_SUBST([py3execdir], [${py3execdir}])
35 for exp in $srcdir/systemtap.apps/*.exp
37 app=`basename $exp .exp`
40 AC_ARG_ENABLE([testapps],
41 AC_HELP_STRING([--enable-testapps=foo bar or all],
42 [enable rebuilding of large external apps for testing <sdt.h> markers]))
43 AC_MSG_NOTICE([Will test ${enable_testapps-no} apps from: $apps])
44 AC_SUBST(enable_testapps)
46 AC_CONFIG_FILES(Makefile)