blob: d25e32cf9974e3021aef2fa9418839d28fe81cfb [file] [log] [blame]
--- configure.in 2014-06-04 13:48:26.759547322 -0400
+++ configure.in.new 2014-06-04 14:04:52.498066674 -0400
@@ -399,16 +400,13 @@
fi
AC_MSG_CHECKING([for pcap_lex_destroy])
-AC_RUN_IFELSE(
-[AC_LANG_PROGRAM(
-[[
-#include <pcap.h>
-]],
-[[
- pcap_lex_destroy();
-]])],
-[have_pcap_lex_destroy="yes"],
-[have_pcap_lex_destroy="no"])
+AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#include <pcap.h>]],
+ [[pcap_lex_destroy();]])],
+ [have_pcap_lex_destroy="yes"],
+ [have_pcap_lex_destroy="no"]
+)
AC_MSG_RESULT($have_pcap_lex_destroy)
if test "x$have_pcap_lex_destroy" = "xyes"; then
AC_DEFINE([HAVE_PCAP_LEX_DESTROY],[1],[Can cleanup lex buffer stack created by pcap bpf filter])