From 660297a3dc59a3c9385de05af46d46a909ab3a39 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Mon, 1 Apr 2013 12:13:36 +0200 Subject: build: convert build to libnl3 This patch converts libdect to build with libnl3. Older libnl versions will not work anymore, to fix this the build system will be converted to automake and pkgconfig soon. Signed-off-by: Patrick McHardy --- configure.ac | 4 ++-- src/netlink.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index a3e71d0..08d216f 100644 --- a/configure.ac +++ b/configure.ac @@ -36,8 +36,8 @@ AC_ARG_ENABLE([doc], AC_CHECK_LIB([nl], [nl_socket_alloc], , [AC_MSG_ERROR([No suitable version of libnl found])]) -AC_CHECK_LIB([nl-dect], [nl_dect_cluster_alloc], , - [AC_MSG_ERROR([No suitable version of libnl-dect found])]) +AC_CHECK_LIB([nl-dect-3], [nl_dect_cluster_alloc], , + [AC_MSG_ERROR([No suitable version of libnl-dect-3 found])]) AC_CHECK_LIB([ev], [event_init], [EVENTLIB="-lev"], diff --git a/src/netlink.c b/src/netlink.c index d461d05..918473d 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -19,12 +19,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include -- cgit v1.2.3