dect
/
libdect
Archived
13
0
Fork 0

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 <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2013-04-01 12:13:36 +02:00
parent cf705660fe
commit 660297a3dc
2 changed files with 8 additions and 8 deletions

View File

@ -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"],

View File

@ -19,12 +19,12 @@
#include <errno.h>
#include <linux/dect_netlink.h>
#include <netlink/netlink.h>
#include <netlink/object.h>
#include <netlink/msg.h>
#include <netlink/dect/cluster.h>
#include <netlink/dect/llme.h>
#include <netlink/dect/ari.h>
#include <libnl3/netlink/netlink.h>
#include <libnl3/netlink/object.h>
#include <libnl3/netlink/msg.h>
#include <libnl3/netlink/dect/cluster.h>
#include <libnl3/netlink/dect/llme.h>
#include <libnl3/netlink/dect/ari.h>
#include <libdect.h>
#include <netlink.h>