Commit 86f7d054 by dlezcano

Fix configure error when checking the netlink headers

parent 2ab8e9ba
...@@ -12,7 +12,10 @@ AC_PROG_RANLIB ...@@ -12,7 +12,10 @@ AC_PROG_RANLIB
AM_PROG_CC_C_O AM_PROG_CC_C_O
AC_GNU_SOURCE AC_GNU_SOURCE
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h],, AC_MSG_ERROR([netlink headers not found]), [[]]) AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink headers not found]),
[#include <linux/types.h>
#include <bits/sockaddr.h>
#include <linux/socket.h>])
AC_PROG_GCC_TRADITIONAL AC_PROG_GCC_TRADITIONAL
if test "x$GCC" = "xyes"; then if test "x$GCC" = "xyes"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment