Commit 562cd59a authored by Eddie Kohler's avatar Eddie Kohler

Include source of pcap_set_immediate_mode configury.

parent 6beb7a59
......@@ -38,10 +38,6 @@
of 'pcap_setnonblock', and to 0 if you don't. */
#undef HAVE_DECL_PCAP_SETNONBLOCK
/* Define to 1 if you have the declaration
* of 'pcap_set_immediate_mode', and to 0 if you don't. */
#undef HAVE_DECL_PCAP_SET_IMMEDIATE_MODE
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
......
......@@ -10414,18 +10414,6 @@ fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_PCAP_SETNONBLOCK $ac_have_decl
_ACEOF
ac_fn_cxx_check_decl "$LINENO" "pcap_set_immediate_mode" "ac_cv_have_decl_pcap_set_immediate_mode" "#include <pcap.h>
"
if test "x$ac_cv_have_decl_pcap_set_immediate_mode" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_PCAP_SET_IMMEDIATE_MODE $ac_have_decl
_ACEOF
CPPFLAGS="$saveflags"
......
......@@ -405,7 +405,7 @@ AC_DEFUN([CLICK_CHECK_LIBPCAP], [
savelibs="$LIBS"
LIBS="$savelibs $PCAP_LIBS"
AC_CHECK_FUNCS([pcap_inject pcap_sendpacket pcap_setdirection pcap_setnonblock])
AC_CHECK_FUNCS([pcap_inject pcap_sendpacket pcap_setdirection pcap_setnonblock pcap_set_immediate_mode])
LIBS="$savelibs"
fi
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment