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:
parent
cf705660fe
commit
660297a3dc
|
@ -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"],
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in New Issue