mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
configure.ac: robustify netlink.h check
https://bugzilla.gnome.org/show_bug.cgi?id=666173
This commit is contained in:
parent
14fb10d14b
commit
84df41c02c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user