forked from osmocom/wireshark
Add a check for NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP.
Just as we check for it in autotools, check for it in CMake. Change-Id: I342a3fcde6a5f8190dac67260f25c070b6f5430f Reviewed-on: https://code.wireshark.org/review/6314 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
2f1ac87700
commit
05fd11ee3d
|
@ -123,6 +123,13 @@ check_c_source_compiles(
|
|||
}"
|
||||
HAVE_NL80211_CMD_SET_CHANNEL
|
||||
)
|
||||
check_c_source_compiles(
|
||||
"#include <linux/nl80211.h>
|
||||
int main() {
|
||||
enum nl80211_protocol_features x = NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP;
|
||||
}"
|
||||
HAVE_NL80211_SPLIT_WIPHY_DUMP
|
||||
)
|
||||
check_c_source_compiles(
|
||||
"#include <linux/nl80211.h>
|
||||
int main() {
|
||||
|
@ -134,4 +141,3 @@ check_c_source_compiles(
|
|||
}"
|
||||
HAVE_NL80211
|
||||
)
|
||||
|
||||
|
|
|
@ -180,6 +180,9 @@
|
|||
/* SET_CHANNEL is supported */
|
||||
#cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1
|
||||
|
||||
/* SPLIT_WIPHY_DUMP is supported */
|
||||
#cmakedefine HAVE_NL80211_SPLIT_WIPHY_DUMP 1
|
||||
|
||||
/* Define to 1 if you have the <Ntddndis.h> header file. */
|
||||
#cmakedefine HAVE_NTDDNDIS_H 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue