X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/f368d6c7a7ee49cba93c6d51b512eb44e3abe7a5..445a0f664a3714c55b89c175c824b7d43cc990c2:/configure.ac diff --git a/configure.ac b/configure.ac index 68dbae0..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 @@ -255,6 +254,7 @@ if test $want_server = yes; then AC_CHECK_HEADERS([db.h],[:],[ missing_headers="$missing_headers $ac_header" ]) + AC_CHECK_HEADERS([FLAC/file_decoder.h]) fi AC_CHECK_HEADERS([dlfcn.h gcrypt.h \ getopt.h iconv.h langinfo.h \ @@ -466,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 @@ -497,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