summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPavel Šimerda <psimerda@redhat.com>2012-11-13 15:39:03 +0100
committerPavel Šimerda <psimerda@redhat.com>2012-11-13 15:39:03 +0100
commitc225a6397fc1f2c413c6d6a417abaa349a13d2c0 (patch)
tree376adfa32e68a4ac81b6eecee925d2630f4c245e /configure.ac
parent6c57060d3659c41490c46c6523ac6e60c917914c (diff)
downloadNetworkManager-c225a6397fc1f2c413c6d6a417abaa349a13d2c0.tar.gz
build: fix nl80211.h check
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index db61bd8fae..887738f97d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,7 +177,7 @@ AC_COMPILE_IFELSE(
#include <linux/types.h>
#include <sys/socket.h>
#include <linux/nl80211.h>]],
- [[int a = NL80211_RATE_INFO_BITRATE;]])],
+ [[int a = NL80211_RATE_INFO_BITRATE; a++;]])],
[ac_have_nl80211=yes],
[ac_have_nl80211=no])
AC_MSG_RESULT($ac_have_nl80211)