From b2ebd4a138ab115e875c14b324922c209750c5ea Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Wed, 8 Feb 2012 17:10:23 +0100 Subject: [PATCH] build: enable af-packet by default --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 9256b7a62a..b93bdd14f5 100644 --- a/configure.in +++ b/configure.in @@ -775,8 +775,8 @@ AC_CHECK_HEADER(pcap.h,,[AC_ERROR(pcap.h not found ...)]) # AF_PACKET support AC_ARG_ENABLE(af-packet, - AS_HELP_STRING([--enable-af-packet], [Enable AF_PACKET support]), - ,[enable_af_packet=no]) + AS_HELP_STRING([--enable-af-packet], [Enable AF_PACKET support [default=yes]]), + ,[enable_af_packet=yes]) AS_IF([test "x$enable_af_packet" = "xyes"], [ AC_CHECK_DECL([AF_PACKET], AC_DEFINE([HAVE_AF_PACKET],[1],[AF_PACKET support is available]),