| 1 |
dnl configure.ac --- autoconf input file for systemtap testsuite |
| 2 |
dnl Process this file with autoconf to produce a configure script. |
| 3 |
|
| 4 |
AC_INIT([systemtap], 5.4, [email protected], systemtap) |
| 5 |
|
| 6 |
AC_PREREQ(2.59) |
| 7 |
AC_CONFIG_AUX_DIR(..) |
| 8 |
AM_INIT_AUTOMAKE([dejagnu foreign]) |
| 9 |
AM_MAINTAINER_MODE |
| 10 |
|
| 11 |
# The configure above passed us several python-related variables. Make |
| 12 |
# sure these get substituted in the Makefile. |
| 13 |
AC_SUBST([python], [${python}]) |
| 14 |
AC_SUBST([pyexecdir], [${pyexecdir}]) |
| 15 |
AC_SUBST([python3], [${python3}]) |
| 16 |
AC_SUBST([py3execdir], [${py3execdir}]) |
| 17 |
|
| 18 |
apps= |
| 19 |
for exp in $srcdir/systemtap.apps/*.exp |
| 20 |
do |
| 21 |
app=`basename $exp .exp` |
| 22 |
apps="$app $apps" |
| 23 |
done |
| 24 |
AC_ARG_ENABLE([testapps], |
| 25 |
AS_HELP_STRING([--enable-testapps=foo bar or all], |
| 26 |
[enable rebuilding of large external apps for testing <sdt.h> markers])) |
| 27 |
AC_MSG_NOTICE([Will test ${enable_testapps-no} apps from: $apps]) |
| 28 |
AC_SUBST(enable_testapps) |
| 29 |
|
| 30 |
AC_CONFIG_FILES(Makefile) |
| 31 |
AC_OUTPUT |