mirror of
git://github.com/lxc/lxc
synced 2025-08-30 22:49:34 +00:00
display an explicit warning when netlink headers are missing
"netlink headers not found" implicitely means we have to install the kernel headers. Make this explicit. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
@@ -25,7 +25,7 @@ AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
|
||||
AS_AC_EXPAND(LXCPATH, "${localstatedir}/lib/lxc")
|
||||
AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)")
|
||||
|
||||
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. Please install the linux kernel headers.]),
|
||||
[#include <linux/types.h>
|
||||
#include <bits/sockaddr.h>
|
||||
#include <linux/socket.h>])
|
||||
|
Reference in New Issue
Block a user