diff options
| author | Joseph Mingrone <jrm@FreeBSD.org> | 2026-01-07 12:56:48 -0400 |
|---|---|---|
| committer | Joseph Mingrone <jrm@FreeBSD.org> | 2026-01-07 12:56:48 -0400 |
| commit | 0a1fbf4c244d5cfb242d3d7b146fea2ee676d46d (patch) | |
| tree | 603f2cb82ae91e7dfc1174391a1f096db62827bf /configure.ac | |
| parent | 025be3f592b920ff0a3e602e5aa8b60a34e5e617 (diff) | |
Import libpcap 1.10.6vendor/libpcap/1.10.6vendor/libpcap
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index accb2589faae..1fdecc131d9b 100644 --- a/configure.ac +++ b/configure.ac @@ -112,6 +112,12 @@ if test "$ac_cv_prog_cc_c99" = "no"; then fi # +# Try to arrange for large file support. +# +AC_SYS_LARGEFILE +AC_FUNC_FSEEKO + +# # Get the size of a void *, to determine whether this is a 32-bit # or 64-bit build. # @@ -128,12 +134,6 @@ AC_LBL_SHLIBS_INIT AC_LBL_C_INLINE AC_PCAP_C___ATOMICS -# -# Try to arrange for large file support. -# -AC_SYS_LARGEFILE -AC_FUNC_FSEEKO - dnl dnl Even if <net/bpf.h> were, on all OSes that support BPF, fixed to dnl include <sys/ioccom.h>, and we were to drop support for older @@ -905,7 +905,7 @@ dlpi) # # Checks for some header files. # - AC_CHECK_HEADERS(sys/bufmod.h sys/dlpi_ext.h) + AC_CHECK_HEADERS(sys/bufmod.h sys/dlpi_ext.h zone.h) # # Checks to see if Solaris has the public libdlpi(3LIB) library. @@ -1004,16 +1004,6 @@ linux) PLATFORM_C_SRC="pcap-linux.c" # - # Do we have the wireless extensions? - # - AC_CHECK_HEADERS(linux/wireless.h, [], [], - [ -#include <sys/socket.h> -#include <linux/if.h> -#include <linux/types.h> - ]) - - # # Do we have libnl? # We only want version 3. Version 2 was, apparently, # short-lived, and version 1 is source and binary @@ -2682,7 +2672,7 @@ fi # Check for DPDK support. AC_ARG_WITH([dpdk], -AS_HELP_STRING([--with-dpdk@<:@=DIR@:>@],[include DPDK support (located in directory DIR, if supplied). @<:@default=yes, if present@:>@]), +AS_HELP_STRING([--with-dpdk@<:@=DIR@:>@],[include DPDK support (located in directory DIR, if supplied). @<:@default=no@:>@]), [ if test "$withval" = no then @@ -2709,9 +2699,12 @@ AS_HELP_STRING([--with-dpdk@<:@=DIR@:>@],[include DPDK support (located in direc want_dpdk=no else # - # Use DPDK API if present, otherwise don't + # User didn't explicitly request DPDK; don't give it + # to them without their consent, as the code is + # immensely hard to keep compiling for every random + # API change the DPDK folks make. # - want_dpdk=ifpresent + want_dpdk=no fi ]) @@ -2951,9 +2944,9 @@ if test "x$enable_bluetooth" != "xno" ; then # Bluetooth sniffing. # if test "x$enable_bluetooth" = "xyes" ; then - AC_MSG_ERROR(Bluetooth sniffing is not supported; install bluez-lib devel to enable it) + AC_MSG_ERROR(Bluetooth sniffing is not supported; install a Bluetooth devel library (libbluetooth-dev|bluez-libs-devel|bluez-dev|libbluetooth-devel|...) to enable it) else - AC_MSG_NOTICE(Bluetooth sniffing is not supported; install bluez-lib devel to enable it) + AC_MSG_NOTICE(Bluetooth sniffing is not supported; install a Bluetooth devel library (libbluetooth-dev|bluez-libs-devel|bluez-dev|libbluetooth-devel|...) to enable it) fi ]) ;; |
