X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/762806f18406049fd7a3579087172b92171fdbc4..632637c7b2e1a7bc9cd95b3225cd8a70ee522368:/configure.ac diff --git a/configure.ac b/configure.ac index f372639..c38990c 100644 --- a/configure.ac +++ b/configure.ac @@ -125,17 +125,16 @@ subdirs="scripts lib clients doc examples debian" if test $want_server = yes; then subdirs="${subdirs} server plugins driver templates sounds images" fi -if test $want_python = yes; then - AM_PATH_PYTHON - subdirs="${subdirs} python" -fi if test $want_gtk = yes; then subdirs="${subdirs} disobedience" if test $want_server = no; then subdirs="${subdirs} images" fi fi -subdirs="${subdirs} tests" +if test $want_python = yes; then + AM_PATH_PYTHON([2.4]) + subdirs="${subdirs} python tests" +fi AC_SUBST([subdirs]) # libtool config @@ -467,10 +466,10 @@ if test "x$GCC" = xyes; then if test $rjk_cv_shadow = yes; then CC="${CC} -Wshadow" fi - - fi +RJK_GCOV + AH_BOTTOM([#ifdef __GNUC__ # define attribute(x) __attribute__(x) #else @@ -498,3 +497,6 @@ AC_OUTPUT if test $GCC = yes && test "$gcc_werror" = ''; then AC_MSG_WARN([building without -Werror]) fi +if test $want_python = no; then + AC_MSG_WARN([cannot run the test suit without Python]) +fi