diff options
author | Jörg Mayer <jmayer@loplof.de> | 2012-09-10 20:24:51 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2012-09-10 20:24:51 +0000 |
commit | 8e66080f1d49224101c3d0c3d2ded8598a49adbc (patch) | |
tree | 485d608251cbfb565b514581b05420a5913f0419 /ConfigureChecks.cmake | |
parent | 17a8522cb63c9f61992b05a6a65981af0b0453c8 (diff) | |
download | wireshark-8e66080f1d49224101c3d0c3d2ded8598a49adbc.tar.gz wireshark-8e66080f1d49224101c3d0c3d2ded8598a49adbc.tar.bz2 wireshark-8e66080f1d49224101c3d0c3d2ded8598a49adbc.zip |
Copy over HAVE_NL80211 from autofoo
svn path=/trunk/; revision=44853
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 1b453e46e2..3e1e125d5f 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -89,5 +89,15 @@ check_c_source_compiles( }" HAVE_NL80211_CMD_SET_CHANNEL ) - +check_c_source_compiles( + "#include <linux/nl80211.h> + int main() { + int x = NL80211_FREQUENCY_ATTR_MAX_TX_POWER; + x = NL80211_ATTR_SUPPORTED_IFTYPES; + x = NL80211_ATTR_SUPPORTED_COMMANDS; + x = NL80211_ATTR_WIPHY_FREQ; + x = NL80211_CHAN_NO_HT; + }" + HAVE_NL80211 +) |