3 @@ -6260,97 +6260,6 @@ $as_echo "no" >&6; }
8 -# Check for special debugging functions
10 -for ac_func in pcap_set_parser_debug
12 - ac_fn_c_check_func "$LINENO" "pcap_set_parser_debug" "ac_cv_func_pcap_set_parser_debug"
13 -if test "x$ac_cv_func_pcap_set_parser_debug" = xyes; then :
14 - cat >>confdefs.h <<_ACEOF
15 -#define HAVE_PCAP_SET_PARSER_DEBUG 1
21 -if test "$ac_cv_func_pcap_set_parser_debug" = "no" ; then
23 - # OK, we don't have pcap_set_parser_debug() to set the libpcap
24 - # filter expression parser debug flag; can we directly set the
26 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pcap_debug is defined by libpcap" >&5
27 -$as_echo_n "checking whether pcap_debug is defined by libpcap... " >&6; }
28 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29 -/* end confdefs.h. */
35 - extern int pcap_debug;
43 -if ac_fn_c_try_link "$LINENO"; then :
44 - ac_lbl_cv_pcap_debug_defined=yes
46 - ac_lbl_cv_pcap_debug_defined=no
48 -rm -f core conftest.err conftest.$ac_objext \
49 - conftest$ac_exeext conftest.$ac_ext
50 - if test "$ac_lbl_cv_pcap_debug_defined" = yes ; then
51 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
52 -$as_echo "yes" >&6; }
54 -$as_echo "#define HAVE_PCAP_DEBUG 1" >>confdefs.h
57 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
60 - # OK, what about "yydebug"?
62 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yydebug is defined by libpcap" >&5
63 -$as_echo_n "checking whether yydebug is defined by libpcap... " >&6; }
64 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65 -/* end confdefs.h. */
79 -if ac_fn_c_try_link "$LINENO"; then :
80 - ac_lbl_cv_yydebug_defined=yes
82 - ac_lbl_cv_yydebug_defined=no
84 -rm -f core conftest.err conftest.$ac_objext \
85 - conftest$ac_exeext conftest.$ac_ext
86 - if test "$ac_lbl_cv_yydebug_defined" = yes ; then
87 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
88 -$as_echo "yes" >&6; }
90 -$as_echo "#define HAVE_YYDEBUG 1" >>confdefs.h
93 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
98 for ac_func in pcap_set_optimizer_debug
100 ac_fn_c_check_func "$LINENO" "pcap_set_optimizer_debug" "ac_cv_func_pcap_set_optimizer_debug"