summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-05-19 10:56:52 -0700
committerGuy Harris <guy@alum.mit.edu>2014-05-19 10:56:52 -0700
commit125e5bc5cab2aba24062e2cd68c23eb7549fbea3 (patch)
tree1017e3f8e061296069f69bf38272442121ef2175 /config.h.in
parent3c436d6c6171f2676e03d34d1f929514205e989a (diff)
downloadtcpdump-125e5bc5cab2aba24062e2cd68c23eb7549fbea3.tar.gz
Check for pcap_free_datalinks().
Fixes GitHub issue #390. Also, if all we do when checking for a function is set a HAVE_XXX AC_CHECK_FUNC, as AC_CHECK_FUNCS will set the #define for you.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 7ac47c0d..d7f37c6a 100644
--- a/config.h.in
+++ b/config.h.in
@@ -100,6 +100,9 @@
/* Define to 1 if you have the `pcap_findalldevs' function. */
#undef HAVE_PCAP_FINDALLDEVS
+/* Define to 1 if you have the `pcap_free_datalinks' function. */
+#undef HAVE_PCAP_FREE_DATALINKS
+
/* Define to 1 if the system has the type `pcap_if_t'. */
#undef HAVE_PCAP_IF_T
@@ -115,7 +118,7 @@
/* Define to 1 if you have the `pcap_setdirection' function. */
#undef HAVE_PCAP_SETDIRECTION
-/* define if libpcap has pcap_set_datalink() */
+/* Define to 1 if you have the `pcap_set_datalink' function. */
#undef HAVE_PCAP_SET_DATALINK
/* Define to 1 if you have the `pcap_set_tstamp_type' function. */