]>
Commit | Line | Data |
---|---|---|
5ba96b90 FCE |
1 | dnl configure.ac --- autoconf input file for systemtap testsuite |
2 | dnl Process this file with autoconf to produce a configure script. | |
3 | ||
ff0c5ecc | 4 | AC_INIT([systemtap], 4.333, systemtap@sourceware.org, systemtap) |
5ba96b90 FCE |
5 | |
6 | AC_PREREQ(2.59) | |
7 | AC_CONFIG_AUX_DIR(..) | |
8 | AM_INIT_AUTOMAKE([dejagnu foreign]) | |
9 | AM_MAINTAINER_MODE | |
10 | ||
50d0c992 | 11 | AC_ARG_ENABLE([dejazilla], |
44da61d7 | 12 | AS_HELP_STRING([--enable-dejazilla@<:@=ARG@:>@], |
50d0c992 FCE |
13 | [enable dejazilla support to automatically email test results to a |
14 | central public collection point (default is disabled). Optional | |
44da61d7 JU |
15 | ARG overrides the default email address. Specifying a url for ARG |
16 | will instead send the results to that url via http.])) | |
50d0c992 FCE |
17 | case "$enable_dejazilla" in |
18 | no) dejazilla= ;; | |
19 | yes) dejazilla=dejazilla@elastic.org ;; | |
20 | *) dejazilla="$enable_dejazilla" ;; | |
21 | esac | |
22 | if test -n "$dejazilla"; then | |
44da61d7 | 23 | AC_MSG_NOTICE([A "make *check" will send results to $dejazilla]) |
50d0c992 FCE |
24 | fi |
25 | AC_SUBST(dejazilla) | |
26 | ||
e01cd0ba DS |
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}]) | |
33 | ||
2c279bc4 FCE |
34 | apps= |
35 | for exp in $srcdir/systemtap.apps/*.exp | |
36 | do | |
37 | app=`basename $exp .exp` | |
38 | apps="$app $apps" | |
39 | done | |
40 | AC_ARG_ENABLE([testapps], | |
899b6620 | 41 | AC_HELP_STRING([--enable-testapps=foo bar or all], |
2c279bc4 FCE |
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) | |
45 | ||
5ba96b90 FCE |
46 | AC_CONFIG_FILES(Makefile) |
47 | AC_OUTPUT |