From e3dca1bf40ac8d8a884c261045ad1e9cade49a15 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Jul 2010 12:00:34 +0000 Subject: fixes to build --- configure.ac | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fb6856314..40608c5ce 100644 --- a/configure.ac +++ b/configure.ac @@ -706,6 +706,27 @@ AC_SUBST(DLLDIR) AC_SUBST(EXT_LIB_PATH) +# should 'make check' run tests? +AC_MSG_CHECKING(whether to disable running tests) +AC_ARG_ENABLE(testruns, + [AS_HELP_STRING([--enable-test-suppression], + [disable running tests on make check])], + [disable_tests_run=$enableval], + [disable_tests_run="no"]) +AC_MSG_RESULT($disable_test_run) +AM_CONDITIONAL([DISABLE_TEST_RUN], [test "x$disable_tests_run" = "xyes"]) + +# should experimental code be compiled (code that may not yet compile)? +disable_experimental=yes +AC_MSG_CHECKING(whether to compile experimental code) +AC_ARG_ENABLE(experimental, + [AS_HELP_STRING([--enable-experimental], + [enable compiling experimental code])], + [enable_experimental=$enableval], + [enable_experimental="no"]) +AC_MSG_RESULT($enable_experimental) +AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"]) + # gcov compilation use_gcov=no AC_ARG_ENABLE([coverage], AS_HELP_STRING([--enable-coverage], @@ -772,6 +793,11 @@ then AC_MSG_NOTICE([NOTICE: libesmtp not found, monkey will not be installed.]) fi +if test "x$pcap" != "x1" +then + AC_MSG_NOTICE([NOTICE: libpcap not found, WiFi support will not be installed.]) +fi + if test "x$openssl" != "x1" then AC_MSG_NOTICE([NOTICE: OpenSSL not found, monkey will not be installed.]) -- cgit v1.2.3