From: Daniel Lezcano Date: Fri, 24 Jul 2009 13:25:45 +0000 (+0200) Subject: display an explicit warning when netlink headers are missing X-Git-Tag: lxc_0_6_3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c9ce7a2b5bc4bf2615d83d71614829f36e51c4;p=thirdparty%2Flxc.git 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 --- diff --git a/configure.ac b/configure.ac index 9fbd914fd..25b77ebb5 100644 --- a/configure.ac +++ b/configure.ac @@ -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 #include #include ])