projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14fb10d
)
configure.ac: robustify netlink.h check
author
Dan Winship
<danw@gnome.org>
Wed, 14 Dec 2011 15:19:13 +0000
(10:19 -0500)
committer
Dan Winship
<danw@gnome.org>
Thu, 15 Dec 2011 14:39:06 +0000
(09:39 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=666173
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
2115a02
..
ead446d
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1112,7
+1112,8
@@
fi
AC_SUBST(NETWORK_LIBS)
AC_CHECK_HEADER([linux/netlink.h],
- [AC_DEFINE(HAVE_NETLINK, 1, [We have AF_NETLINK sockets])])
+ [AC_DEFINE(HAVE_NETLINK, 1, [We have AF_NETLINK sockets])],,
+ [#include <sys/socket.h>])
AM_CONDITIONAL(HAVE_NETLINK, [test "$ac_cv_header_linux_netlink_h" = "yes"])
case $host in