diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/configure.ac b/configure.ac index 3a10ba129..815c040b0 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -383,39 +383,6 @@ AM_CONDITIONAL(HAVE_POSTGRES, test x$postgres = xtrue) | |||
383 | AC_SUBST(POSTGRES_CPPFLAGS) | 383 | AC_SUBST(POSTGRES_CPPFLAGS) |
384 | AC_SUBST(POSTGRES_LDFLAGS) | 384 | AC_SUBST(POSTGRES_LDFLAGS) |
385 | 385 | ||
386 | # test for pcap | ||
387 | pcap=0 | ||
388 | AC_MSG_CHECKING(for libpcap) | ||
389 | AC_ARG_WITH(pcap, | ||
390 | [ --with-pcap=PFX base of pcap installation], | ||
391 | [AC_MSG_RESULT("$with_pcap") | ||
392 | case $with_pcap in | ||
393 | no) | ||
394 | ;; | ||
395 | yes) | ||
396 | AC_CHECK_HEADERS(pcap.h, | ||
397 | pcap=1) | ||
398 | ;; | ||
399 | *) | ||
400 | LDFLAGS="-L$with_pcap/lib $LDFLAGS" | ||
401 | CPPFLAGS="-I$with_pcap/include $CPPFLAGS" | ||
402 | AC_CHECK_HEADERS(pcap.h, | ||
403 | EXT_LIB_PATH="-L$with_pcap/lib $EXT_LIB_PATH" | ||
404 | PCAP_LDFLAGS="-L$with_pcap/lib" | ||
405 | PCAP_CPPFLAGS="-I$with_pcap/include" | ||
406 | pcap=1) | ||
407 | LDFLAGS=$SAVE_LDFLAGS | ||
408 | CPPFLAGS=$SAVE_CPPFLAGS | ||
409 | ;; | ||
410 | esac | ||
411 | ], | ||
412 | [AC_MSG_RESULT([--with-pcap not specified]) | ||
413 | AC_CHECK_HEADERS(pcap.h, pcap=1)]) | ||
414 | AM_CONDITIONAL(HAVE_PCAP, test x$pcap = x1) | ||
415 | AC_SUBST(PCAP_CPPFLAGS) | ||
416 | AC_SUBST(PCAP_LDFLAGS) | ||
417 | |||
418 | |||
419 | # test for libz (maybe required for linking mysql) | 386 | # test for libz (maybe required for linking mysql) |
420 | zlib=1 | 387 | zlib=1 |
421 | AC_CHECK_LIB(z, compress,,zlib=0) | 388 | AC_CHECK_LIB(z, compress,,zlib=0) |
@@ -878,11 +845,6 @@ then | |||
878 | AC_MSG_NOTICE([NOTICE: libesmtp not found, monkey will not be installed.]) | 845 | AC_MSG_NOTICE([NOTICE: libesmtp not found, monkey will not be installed.]) |
879 | fi | 846 | fi |
880 | 847 | ||
881 | if test "x$pcap" != "x1" | ||
882 | then | ||
883 | AC_MSG_NOTICE([NOTICE: libpcap not found, WiFi support will not be installed.]) | ||
884 | fi | ||
885 | |||
886 | if test "x$openssl" != "x1" | 848 | if test "x$openssl" != "x1" |
887 | then | 849 | then |
888 | AC_MSG_NOTICE([NOTICE: OpenSSL not found, monkey will not be installed.]) | 850 | AC_MSG_NOTICE([NOTICE: OpenSSL not found, monkey will not be installed.]) |