patch-configure 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --- daq-2.0.0.orig/configure 2012-11-05 22:07:56.000000000 +0100
  2. +++ daq-2.0.0/configure 2013-07-17 11:03:24.000000000 +0200
  3. @@ -12771,53 +12771,6 @@ fi
  4. echo
  5. exit 1
  6. fi
  7. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcap version >= \"1.0.0\"" >&5
  8. -$as_echo_n "checking for libpcap version >= \"1.0.0\"... " >&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 <pcap.h>
  19. - #include <string.h>
  20. - extern char pcap_version[];
  21. -
  22. -int
  23. -main ()
  24. -{
  25. -
  26. - if (strcmp(pcap_version, "1.0.0") < 0)
  27. - return 1;
  28. -
  29. - ;
  30. - return 0;
  31. -}
  32. -_ACEOF
  33. -if ac_fn_c_try_run "$LINENO"; then :
  34. - libpcap_version_1x="yes"
  35. -else
  36. - libpcap_version_1x="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. - if test "x$libpcap_version_1x" = "xno"; then
  43. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44. -$as_echo "no" >&6; }
  45. - echo
  46. - echo " ERROR! Libpcap library version >= "1.0.0" not found."
  47. - echo " Get it from http://www.tcpdump.org"
  48. - echo
  49. - exit 1
  50. - else
  51. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  52. -$as_echo "yes" >&6; }
  53. - fi
  54. if test "$enable_pcap_module" = yes; then
  55. STATIC_LIBS="${STATIC_LIBS} -lpcap"