1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
dnl configure.ac --- autoconf input file for systemtap testsuite
dnl Process this file with autoconf to produce a configure script.
AC_INIT([systemtap], 3.1, systemtap@sourceware.org, systemtap)
AC_PREREQ(2.59)
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)
# The configure above passed us several python-related variables. Make
# sure these get substituted in the Makefile.
AC_SUBST([python], [${python}])
AC_SUBST([pyexecdir], [${pyexecdir}])
AC_SUBST([python3], [${python3}])
AC_SUBST([py3execdir], [${py3execdir}])
apps=
for exp in $srcdir/systemtap.apps/*.exp
do
app=`basename $exp .exp`
apps="$app $apps"
done
AC_ARG_ENABLE([testapps],
AC_HELP_STRING([--enable-testapps=foo bar or all],
[enable rebuilding of large external apps for testing <sdt.h> markers]))
AC_MSG_NOTICE([Will test ${enable_testapps-no} apps from: $apps])
AC_SUBST(enable_testapps)
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
|