# What we want to build
want_gtk=yes
want_python=yes
+want_tests=yes
# APIs we want
want_alsa=yes
[AS_HELP_STRING([--without-coreaudio],
[do not build with Core Audio support])],
[want_coreaudio=$withval])
+AC_ARG_WITH([tests],
+ [AS_HELP_STRING([--without-tests],
+ [do not build test suit])],
+ [want_tests=$withval])
AC_MSG_CHECKING([for a known target platform])
case "$host" in
[do not build Python support])],
[want_python=$withval])
-subdirs="scripts lib clients doc examples debian"
+subdirs="scripts lib"
+if test $want_tests = yes; then
+ subdirs="${subdirs} libtests"
+fi
+subdirs="${subdirs} clients doc examples debian"
if test $want_server = yes; then
- subdirs="${subdirs} server plugins driver templates sounds images"
+ subdirs="${subdirs} server cgi plugins driver templates sounds images"
fi
if test $want_gtk = yes; then
subdirs="${subdirs} disobedience"
subdirs="${subdirs} images"
fi
fi
-if test $want_python = yes; then
+if test $want_tests = yes && test $want_python = yes; then
AM_PATH_PYTHON([2.4])
subdirs="${subdirs} python tests"
fi
scripts/Makefile
lib/Makefile
server/Makefile
+ cgi/Makefile
clients/Makefile
disobedience/Makefile
doc/Makefile
sounds/Makefile
python/Makefile
examples/Makefile
+ libtests/Makefile
tests/Makefile])
AC_OUTPUT