4 +sinclude(m4/libprelude.m4)
7 @@ -285,21 +285,7 @@ AC_CHECK_TYPES([int8_t,int16_t,int32_t,i
8 AC_CHECK_TYPES([boolean])
10 # In case INADDR_NONE is not defined (like on Solaris)
11 -have_inaddr_none="no"
12 -AC_MSG_CHECKING([for INADDR_NONE])
16 -#include <sys/types.h>
17 -#include <netinet/in.h>
18 -#include <arpa/inet.h>
21 - if (inet_addr("10,5,2") == INADDR_NONE);
24 -[have_inaddr_none="yes"],
25 -[have_inaddr_none="no"])
26 +have_inaddr_none="yes"
27 AC_MSG_RESULT($have_inaddr_none)
28 if test "x$have_inaddr_none" = "xno"; then
29 AC_DEFINE([INADDR_NONE],[-1],[For INADDR_NONE definition])
30 @@ -433,16 +419,7 @@ if test "x$LPCAP" = "xno"; then
33 AC_MSG_CHECKING([for pcap_lex_destroy])
42 -[have_pcap_lex_destroy="yes"],
43 -[have_pcap_lex_destroy="no"])
44 +have_pcap_lex_destroy="yes"
45 AC_MSG_RESULT($have_pcap_lex_destroy)
46 if test "x$have_pcap_lex_destroy" = "xyes"; then
47 AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack created by pcap bpf filter])
48 @@ -727,54 +704,21 @@ if test "x$ac_cv_func_daq_dp_add_dc" = "
52 -AC_MSG_CHECKING([for daq address space ID])
60 - hdr.address_space_id = 0;
62 -[have_daq_address_space_id="yes"],
63 -[have_daq_address_space_id="no"])
64 +have_daq_address_space_id="yes"
65 AC_MSG_RESULT($have_daq_address_space_id)
66 if test "x$have_daq_address_space_id" = "xyes"; then
67 AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
68 [DAQ version supports address space ID in header.])
71 -AC_MSG_CHECKING([for daq flow ID])
81 -[have_daq_flow_id="yes"],
82 -[have_daq_flow_id="no"])
83 +have_daq_flow_id="yes"
84 AC_MSG_RESULT($have_daq_flow_id)
85 if test "x$have_daq_flow_id" = "xyes"; then
86 AC_DEFINE([HAVE_DAQ_FLOW_ID],[1],
87 [DAQ version supports flow ID in header.])
90 -AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
97 - DAQ_Verdict verdict;
98 - verdict = DAQ_VERDICT_RETRY;
100 -[have_daq_verdict_retry="yes"],
101 -[have_daq_verdict_retry="no"])
102 +have_daq_verdict_retry="yes"
103 AC_MSG_RESULT($have_daq_verdict_retry)
104 if test "x$have_daq_verdict_retry" = "xyes"; then
105 AC_DEFINE([HAVE_DAQ_VERDICT_RETRY],[1],