--- snort-2.9.14.1.orig/configure 2019-08-02 08:33:43.000000000 +0200 +++ snort-2.9.14.1/configure 2019-10-08 14:35:23.506350397 +0200 @@ -14408,50 +14408,6 @@ _ACEOF fi -# In case INADDR_NONE is not defined (like on Solaris) -have_inaddr_none="no" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INADDR_NONE" >&5 -$as_echo_n "checking for INADDR_NONE... " >&6; } -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#include -#include - -int -main () -{ - - if (inet_addr("10,5,2") == INADDR_NONE); - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - have_inaddr_none="yes" -else - have_inaddr_none="no" -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_inaddr_none" >&5 -$as_echo "$have_inaddr_none" >&6; } -if test "x$have_inaddr_none" = "xno"; then - -$as_echo "#define INADDR_NONE -1" >>confdefs.h - -fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14861,45 +14817,6 @@ if test "x$LPCAP" = "xno"; then fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_lex_destroy" >&5 -$as_echo_n "checking for pcap_lex_destroy... " >&6; } -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - pcap_lex_destroy(); - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - have_pcap_lex_destroy="yes" -else - have_pcap_lex_destroy="no" -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pcap_lex_destroy" >&5 -$as_echo "$have_pcap_lex_destroy" >&6; } -if test "x$have_pcap_lex_destroy" = "xyes"; then - -$as_echo "#define HAVE_PCAP_LEX_DESTROY 1" >>confdefs.h - -fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_lib_version" >&5 $as_echo_n "checking for pcap_lib_version... " >&6; } @@ -15830,38 +15747,7 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daq address space ID" >&5 -$as_echo_n "checking for daq address space ID... " >&6; } -if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include - -int -main () -{ - - DAQ_PktHdr_t hdr; - hdr.address_space_id = 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - have_daq_address_space_id="yes" -else - have_daq_address_space_id="no" -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi +have_daq_address_space_id="yes" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_daq_address_space_id" >&5 $as_echo "$have_daq_address_space_id" >&6; }