patch-configure 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. --- snort-2.9.5.orig/configure 2013-06-04 23:21:55.000000000 +0200
  2. +++ snort-2.9.5/configure 2013-07-17 11:07:20.000000000 +0200
  3. @@ -14205,50 +14205,6 @@ _ACEOF
  4. fi
  5. -# In case INADDR_NONE is not defined (like on Solaris)
  6. -have_inaddr_none="no"
  7. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INADDR_NONE" >&5
  8. -$as_echo_n "checking for INADDR_NONE... " >&6; }
  9. -if test "$cross_compiling" = yes; then :
  10. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12. -as_fn_error $? "cannot run test program while cross compiling
  13. -See \`config.log' for more details" "$LINENO" 5; }
  14. -else
  15. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16. -/* end confdefs.h. */
  17. -
  18. -#include <sys/types.h>
  19. -#include <netinet/in.h>
  20. -#include <arpa/inet.h>
  21. -
  22. -int
  23. -main ()
  24. -{
  25. -
  26. - if (inet_addr("10,5,2") == INADDR_NONE);
  27. - return 0;
  28. -
  29. - ;
  30. - return 0;
  31. -}
  32. -_ACEOF
  33. -if ac_fn_c_try_run "$LINENO"; then :
  34. - have_inaddr_none="yes"
  35. -else
  36. - have_inaddr_none="no"
  37. -fi
  38. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  39. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  40. -fi
  41. -
  42. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_inaddr_none" >&5
  43. -$as_echo "$have_inaddr_none" >&6; }
  44. -if test "x$have_inaddr_none" = "xno"; then
  45. -
  46. -$as_echo "#define INADDR_NONE -1" >>confdefs.h
  47. -
  48. -fi
  49. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50. /* end confdefs.h. */
  51. @@ -14578,45 +14534,6 @@ if test "x$LPCAP" = "xno"; then
  52. fi
  53. fi
  54. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_lex_destroy" >&5
  55. -$as_echo_n "checking for pcap_lex_destroy... " >&6; }
  56. -if test "$cross_compiling" = yes; then :
  57. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  58. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  59. -as_fn_error $? "cannot run test program while cross compiling
  60. -See \`config.log' for more details" "$LINENO" 5; }
  61. -else
  62. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63. -/* end confdefs.h. */
  64. -
  65. -#include <pcap.h>
  66. -
  67. -int
  68. -main ()
  69. -{
  70. -
  71. - pcap_lex_destroy();
  72. -
  73. - ;
  74. - return 0;
  75. -}
  76. -_ACEOF
  77. -if ac_fn_c_try_run "$LINENO"; then :
  78. - have_pcap_lex_destroy="yes"
  79. -else
  80. - have_pcap_lex_destroy="no"
  81. -fi
  82. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  83. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  84. -fi
  85. -
  86. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pcap_lex_destroy" >&5
  87. -$as_echo "$have_pcap_lex_destroy" >&6; }
  88. -if test "x$have_pcap_lex_destroy" = "xyes"; then
  89. -
  90. -$as_echo "#define HAVE_PCAP_LEX_DESTROY 1" >>confdefs.h
  91. -
  92. -fi
  93. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_lib_version" >&5
  94. $as_echo_n "checking for pcap_lib_version... " >&6; }
  95. @@ -15432,38 +15349,7 @@ fi
  96. done
  97. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daq address space ID" >&5
  98. -$as_echo_n "checking for daq address space ID... " >&6; }
  99. -if test "$cross_compiling" = yes; then :
  100. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  101. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  102. -as_fn_error $? "cannot run test program while cross compiling
  103. -See \`config.log' for more details" "$LINENO" 5; }
  104. -else
  105. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  106. -/* end confdefs.h. */
  107. -
  108. -#include <daq.h>
  109. -
  110. -int
  111. -main ()
  112. -{
  113. -
  114. - DAQ_PktHdr_t hdr;
  115. - hdr.address_space_id = 0;
  116. -
  117. - ;
  118. - return 0;
  119. -}
  120. -_ACEOF
  121. -if ac_fn_c_try_run "$LINENO"; then :
  122. - have_daq_address_space_id="yes"
  123. -else
  124. - have_daq_address_space_id="no"
  125. -fi
  126. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  127. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  128. -fi
  129. +have_daq_address_space_id="yes"
  130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_daq_address_space_id" >&5
  131. $as_echo "$have_daq_address_space_id" >&6; }