From: dlezcano Date: Tue, 9 Dec 2008 17:49:21 +0000 (+0000) Subject: Check the libpcap devel is installed X-Git-Tag: lxc_0_5_1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35f549fe1b480faf5190dcf56ea34c7cb301d576;p=thirdparty%2Flxc.git Check the libpcap devel is installed From: Daniel Lezcano Check the libpcap devel is installed Signed-off-by: Daniel Lezcano --- diff --git a/configure.in b/configure.in index 735ed4199..15af10b5e 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([lxc], [0.5.0]) +AC_INIT([lxc], [0.5.1]) AC_CONFIG_SRCDIR([configure.in]) AC_CONFIG_AUX_DIR([config]) @@ -23,6 +23,10 @@ AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink [#include #include #include ]) + +AC_CHECK_HEADERS([sys/capability.h], [], AC_MSG_ERROR([please install libcap-devel.]), +[#include ]) + AC_PROG_GCC_TRADITIONAL if test "x$GCC" = "xyes"; then @@ -37,6 +41,7 @@ AC_ARG_ENABLE(network_destroy, [ --disable-network-destroy disable network des if test "x$enable_network_destroy" = "xyes"; then CFLAGS="$CFLAGS -DNETWORK_DESTROY" fi + AC_ARG_ENABLE(test, [ --enable-test compile test program [default=no]],, enable_test=no) AM_CONDITIONAL(ENABLE_TEST, test x$enable_test = xyes)