forked from osmocom/wireshark
Check for bpf_image(), just as the autoconf script does.
svn path=/trunk/; revision=52514
This commit is contained in:
parent
2a59ee58b8
commit
260a3af9b7
|
@ -68,6 +68,7 @@ check_function_exists( "pcap_get_selectable_fd" HAVE_PCAP_GET_SELECTABLE_FD )
|
|||
check_function_exists( "pcap_lib_version" HAVE_PCAP_LIB_VERSION )
|
||||
check_function_exists( "pcap_list_datalinks" HAVE_PCAP_LIST_DATALINKS )
|
||||
check_function_exists( "pcap_set_datalink" HAVE_PCAP_SET_DATALINK )
|
||||
check_function_exists( "bpf_image" HAVE_BPF_IMAGE )
|
||||
# Remote pcap checks
|
||||
check_function_exists( "pcap_open" H_PCAP_OPEN )
|
||||
check_function_exists( "pcap_findalldevs_ex" H_FINDALLDEVS_EX )
|
||||
|
|
|
@ -36,6 +36,9 @@
|
|||
/* Define to 1 if you have the <arpa/nameser.h> header file. */
|
||||
#cmakedefine HAVE_ARPA_NAMESER_H 1
|
||||
|
||||
/* Define to 1 if you have the `bpf_image' function. */
|
||||
#cmakedefine HAVE_BPF_IMAGE 1
|
||||
|
||||
/* Define to 1 if you have the <direct.h> header file. */
|
||||
#cmakedefine HAVE_DIRECT_H 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue