summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-28 12:00:34 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-28 12:00:34 +0000
commite3dca1bf40ac8d8a884c261045ad1e9cade49a15 (patch)
tree9db4cf6a2dcf5716d2d1548cab0d0d9922443c6a /configure.ac
parent8f4f36517e4220ca5539008cd19cb3b9a40f6499 (diff)
fixes to build
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac26
1 files changed, 26 insertions, 0 deletions
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.])