author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 4 Sep 2007 21:46:12 +0000 (23:46 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 4 Sep 2007 21:46:12 +0000 (23:46 +0200) |
1 | 2 | |||
---|---|---|---|---|
configure.in | patch | | diff1 | | diff2 | | blob | history |
diff --cc configure.in
index 8544ca467b2299897f6dbccc32690e9fb16f4090,252d16ff202cb8ec3a7f9dbe918d21ef1ec11f5c..68299545764d47e5065d2819a1d481588d0ef0fa
--- 1/configure.in
--- 2/configure.in
+++ b/configure.in
SAVE_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $with_libnetlink_cflags"
- AC_CHECK_HEADERS(iproute/libnetlink.h, [], [with_libnetlink="no (iproute/libnetlink.h not found)"],
+ with_libnetlink="no (libnetlink.h not found)"
+
+ AC_CHECK_HEADERS(libnetlink.h iproute/libnetlink.h linux/libnetlink.h,
+ [
+ with_libnetlink="yes"
+ break
+ ], [],
[#include <stdio.h>
#include <sys/types.h>
+#include <asm/types.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>])