mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-24 17:35:40 +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:
parent
1ac470c02a
commit
c8c9ce7a2b
@ -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>])
|
||||
|
Loading…
Reference in New Issue
Block a user