From: Michael Richardson Date: Sun, 15 Feb 2015 17:53:35 +0000 (-0500) Subject: regenerated configure with --with-libnl switch X-Git-Tag: libpcap-1.7.2^2~33 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/feab22162d7998ea02547e9d21fee82dc7d35c73 regenerated configure with --with-libnl switch --- diff --git a/configure b/configure index 1a391448..ef22204e 100755 --- a/configure +++ b/configure @@ -623,6 +623,7 @@ ac_subst_vars='LTLIBOBJS INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM +PCAP_SUPPORT_PACKET_RING DBUS_SRC PCAP_SUPPORT_DBUS PKGCONFIG @@ -750,6 +751,7 @@ enable_bluetooth enable_canusb enable_can enable_dbus +enable_packet_ring ' ac_precious_vars='build_alias host_alias @@ -1391,6 +1393,7 @@ Optional Features: available] --enable-dbus enable D-Bus capture support [default=yes, if support available] + --enable-packet-ring enable Linux packet ring support [default=yes] Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -8155,7 +8158,7 @@ fi if test "x$enable_canusb" != "xno" ; then case "$host_os" in - linux*) + linux*|uclinux*) ac_fn_c_check_header_mongrel "$LINENO" "libusb-1.0/libusb.h" "ac_cv_header_libusb_1_0_libusb_h" "$ac_includes_default" if test "x$ac_cv_header_libusb_1_0_libusb_h" = xyes; then : @@ -8165,7 +8168,8 @@ if ${ac_cv_lib_usb_1_0_libusb_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lusb-1.0 $LIBS" +LIBS="-lusb-1.0 -lpthread + $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8206,7 +8210,6 @@ $as_echo "#define PCAP_SUPPORT_CANUSB 1" >>confdefs.h else ac_lbl_has_libusb=no - fi @@ -8455,6 +8458,21 @@ $as_echo "$as_me: no hardware timestamp support implemented for $host_os" >&6;} ;; esac +# Check whether --enable-packet-ring was given. +if test "${enable_packet_ring+set}" = set; then : + enableval=$enable_packet_ring; +else + enable_packet_ring=yes +fi + + +if test "x$enable_packet_ring" != "xno" ; then + +$as_echo "#define PCAP_SUPPORT_PACKET_RING 1" >>confdefs.h + + +fi + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: