Changeset d5a27e8 for configure.in


Ignore:
Timestamp:
01/26/07 15:31:48 (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:
205809b
Parents:
6ed6c4a
Message:

Update the copyright information
Fix libpcap issue
Remove all swig/python builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r544c680 rd5a27e8  
    44# and in the README
    55
    6 AC_INIT([libtrace],[3.0.0beta7],[contact@wand.net.nz],[libtrace])
     6AC_INIT([libtrace],[3.0.0-beta8],[contact@wand.net.nz],[libtrace])
    77
    88LIBTRACE_MAJOR=3
     
    2525        docs/libtrace.doxygen
    2626        lib/libtrace.h
    27         swig/Makefile])
     27        ])
    2828dnl GNU C library
    2929dnl AC_GNU_SOURCE
     
    5454AC_PROG_LIBTOOL
    5555
    56 AC_ARG_ENABLE(swig,
    57 [  --disable-swig               don't generate swig bindings],
    58 lt_use_swig=true,lt_use_swig=false)
    59 
    60 if test "x$lt_use_swig" = "xtrue"
    61 then
    62         AM_PATH_PYTHON(2.3)
    63         AC_PROG_SWIG(1.3.21)
    64         SWIG_PYTHON
    65 fi
    66 
    6756# Checks for library functions.
    6857AC_PROG_GCC_TRADITIONAL
     
    8271# Checks for header files.
    8372AC_HEADER_STDC
    84 dnl AC_CHECK_HEADERS(errno.h stdlib.h stdio.h assert.h string.h netinet/in.h assert.h errno.h fcntl.h net/ethernet.h netdb.h pcap.h stdio.h stdlib.h string.h sys/stat.h sys/types.h sys/socket.h sys/un.h unistd.h time.h sys/ioctl.h net/bpf.h pcap.h zlib.h pcap-bpf.h)
    8573AC_CHECK_HEADERS(pcap.h pcap-int.h pcap-bpf.h net/bpf.h sys/limits.h stddef.h inttypes.h limits.h net/ethernet.h )
    8674
     
    158146else
    159147        ADD_LIBS="$ADD_LIBS -lpcap"
     148        AC_DEFINE([HAVE_LIBPCAP],1,[compile with libpcap support])
    160149fi
    161150
     
    237226AC_CHECK_LIB(z, gzopen)
    238227
    239 libtrace_swig=false;
    240 if test -n "$SWIG"; then
    241         libtrace_swig=true;
    242 fi
    243 libtrace_python=false;
    244 if test -n "$PYTHON"; then
    245         libtrace_python=true;
    246 fi
    247 
    248228AM_CONDITIONAL([HAVE_BPF], [test "$ac_cv_have_decl_BIOCSETIF" = yes ])
    249229AM_CONDITIONAL([HAVE_DAG], [test "$libtrace_dag" = true])
     
    252232AM_CONDITIONAL([HAVE_NETPACKET_PACKET_H], [test "$libtrace_netpacket_packet_h" = true])
    253233AM_CONDITIONAL([LIBGDC], [test "$ac_cv_header_gdc_h" = yes])
    254 AM_CONDITIONAL([LIBTRACE_SWIG], [test "$libtrace_swig" = true])
    255 #AM_CONDITIONAL([HAVE_PYTHON], [test "$libtrace_python" = true])
    256234
    257235# Check for miscellaneous programs
     
    297275reportopt "Building man pages/documentation" $libtrace_doxygen
    298276
    299 if test x"$libtrace_swig" = xtrue; then
    300         if test x"$libtrace_python" = xtrue; then
    301                 AC_MSG_NOTICE([Building swig bindings for: python])
    302         else
    303                 AC_MSG_NOTICE([Building swig bindings for: Nothing])
    304         fi
    305 else
    306         AC_MSG_NOTICE([Not building swig bindings])
    307 fi
Note: See TracChangeset for help on using the changeset viewer.