Commit 35f549fe by dlezcano

Check the libpcap devel is installed

From: Daniel Lezcano <dlezcano@fr.ibm.com> Check the libpcap devel is installed Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 06388011
# -*- Autoconf -*- # -*- Autoconf -*-
# Process this file with autoconf to produce a configure script. # 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_SRCDIR([configure.in])
AC_CONFIG_AUX_DIR([config]) AC_CONFIG_AUX_DIR([config])
...@@ -23,6 +23,10 @@ AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink ...@@ -23,6 +23,10 @@ AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink
[#include <linux/types.h> [#include <linux/types.h>
#include <bits/sockaddr.h> #include <bits/sockaddr.h>
#include <linux/socket.h>]) #include <linux/socket.h>])
AC_CHECK_HEADERS([sys/capability.h], [], AC_MSG_ERROR([please install libcap-devel.]),
[#include <sys/capability.h>])
AC_PROG_GCC_TRADITIONAL AC_PROG_GCC_TRADITIONAL
if test "x$GCC" = "xyes"; then if test "x$GCC" = "xyes"; then
...@@ -37,6 +41,7 @@ AC_ARG_ENABLE(network_destroy, [ --disable-network-destroy disable network des ...@@ -37,6 +41,7 @@ AC_ARG_ENABLE(network_destroy, [ --disable-network-destroy disable network des
if test "x$enable_network_destroy" = "xyes"; then if test "x$enable_network_destroy" = "xyes"; then
CFLAGS="$CFLAGS -DNETWORK_DESTROY" CFLAGS="$CFLAGS -DNETWORK_DESTROY"
fi fi
AC_ARG_ENABLE(test, [ --enable-test compile test program [default=no]],, enable_test=no) AC_ARG_ENABLE(test, [ --enable-test compile test program [default=no]],, enable_test=no)
AM_CONDITIONAL(ENABLE_TEST, test x$enable_test = xyes) AM_CONDITIONAL(ENABLE_TEST, test x$enable_test = xyes)
......
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