diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/configure.in b/configure.in index d947b25..d8f9354 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.148 2008-03-14 09:12:49 guy Exp $ (LBL) +dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.149 2008-04-04 19:37:44 guy Exp $ (LBL) dnl dnl Copyright (c) 1994, 1995, 1996, 1997 dnl The Regents of the University of California. All rights reserved. @@ -6,7 +6,7 @@ dnl dnl Process this file with autoconf to produce a configure script. dnl -AC_REVISION($Revision: 1.148 $) +AC_REVISION($Revision: 1.149 $) AC_PREREQ(2.50) AC_INIT(pcap.c) @@ -448,9 +448,23 @@ linux) if test $ac_cv_linux_vers -lt 2 ; then AC_MSG_ERROR(version 2 or higher required; see the INSTALL doc for more info) fi + AC_CHECK_HEADERS(linux/wireless.h, [], [], + [ +#include <sys/socket.h> +#include <net/if.h> +#include <linux/types.h> + ]) + AC_CHECK_HEADERS() AC_LBL_TPACKET_STATS ;; +bpf) + # + # Check whether we have the *BSD-style ioctls. + # + AC_CHECK_HEADERS(net/if_media.h) + ;; + dag) V_DEFS="$V_DEFS -DDAG_ONLY" ;; |