2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 22:19:28 +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:
Daniel Lezcano
2009-07-24 15:25:45 +02:00
parent 1ac470c02a
commit c8c9ce7a2b

View File

@@ -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>])