--- configure.orig 2016-12-21 10:56:24.000000000 -0800
+++ configure 2018-01-05 01:15:34.000000000 -0800
enableval=$enable_static_pcap; STATIC_PCAP=yes
- # Evidently, some systems have pcap.h, etc. in */include/pcap
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extraneous pcap header directories" >&5
-$as_echo_n "checking for extraneous pcap header directories... " >&6; }
- for pcap_dir in /usr/include/pcap /usr/local/include/pcap $prefix/include
- if test -d $pcap_dir ; then
- CFLAGS="$CFLAGS -I$pcap_dir"
- CPPFLAGS="$CPPFLAGS -I$pcap_dir"
- found_pcap_dir=" $found_pcap_dir -I$pcap_dir"
- if test "$found_pcap_dir" != "" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: found --$found_pcap_dir added to CFLAGS" >&5
-$as_echo "found --$found_pcap_dir added to CFLAGS" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
-$as_echo "not found" >&6; }
ac_fn_c_check_header_mongrel "$LINENO" "pcap.h" "ac_cv_header_pcap_h" "$ac_includes_default"
if test "x$ac_cv_header_pcap_h" = xyes; then :