Changeset 755e794 for configure.in


Ignore:
Timestamp:
09/18/06 21:03:34 (14 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
eecda9f
Parents:
103cc3b
Message:

Add /dev/bpf capture support for the ThreeBSD's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r11346a5 r755e794  
    2929
    3030
    31 AC_CONFIG_HEADERS([config.h])
     31AM_CONFIG_HEADER([config.h])
    3232dnl Checks for programs.
    3333AC_PROG_CC
     
    128128AC_REPLACE_FUNCS(pcap_next_ex)
    129129AC_CHECK_FUNCS(pcap_inject pcap_sendpacket pcap_setnonblock)
     130AC_CHECK_DECLS([BIOCSETIF],,,[
     131#include <sys/types.h>
     132#include <sys/time.h>
     133#include <sys/ioctl.h>
     134#include <net/bpf.h>
     135])
    130136
    131137# configure time options for man pages
    132138AC_ARG_WITH(man,
    133             AS_HELP_STRING(--with-man,install man pages by default),
     139            #AS_HELP_STRING(--with-man,install man pages by default),
    134140
    135141             if test "$withval" = yes
     
    146152# borrowed from libpcap!
    147153AC_ARG_WITH(dag,
    148             AS_HELP_STRING(--with-dag[=DIR],include DAG support (located in directory DIR, if supplied)),
     154#           AS_HELP_STRING(--with-dag[=DIR],include DAG support (located in directory DIR, if supplied)),
    149155[
    150156        if test "$withval" = no
     
    229235fi
    230236
     237AM_CONDITIONAL([HAVE_BPF], [test "$ac_cv_have_decl_BIOCSETIF" = yes ])
    231238AM_CONDITIONAL([HAVE_DAG], [test "$libtrace_dag" = true])
    232239AM_CONDITIONAL([DAG2_4], [test "$libtrace_dag2_4" = true])
     
    280287
    281288if test x"$libtrace_swig" = xtrue; then
     289H
    282290        if test x"$libtrace_python" = xtrue; then
    283291                AC_MSG_NOTICE([Building swig bindings for: python])
Note: See TracChangeset for help on using the changeset viewer.