Commit c8c9ce7a by Daniel Lezcano

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: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 1ac470c0
......@@ -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>])
......
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