Changeset 47de0aa for configure.in


Ignore:
Timestamp:
06/29/06 21:07:50 (14 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
2553732
Parents:
66caf4b
Message:
  • Cosmetic changes to trace_help() output
  • inclusion of some m4 handlers to deal with swig and python, lifted from http://autoconf-archive.cryp.to/. These are GPLd, which needs to be taken into account if libtrace licensing changes!
  • updated the swig bindings for python. Mostly api compliant now. Still possibly a memory leak to do with displaying ip addresses - I haven't touched this particular part of the code yet.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r306f91c r47de0aa  
    2222        tools/tracemerge/Makefile tools/tracereport/Makefile
    2323        tools/tracertstats/Makefile tools/tracesplit/Makefile
    24         tools/tracestats/Makefile docs/libtrace.doxygen lib/libtrace.h])
     24        tools/tracestats/Makefile
     25        docs/libtrace.doxygen
     26        lib/libtrace.h
     27        swig/Makefile])
    2528dnl GNU C library
    2629dnl AC_GNU_SOURCE
     
    4649AC_HEADER_TIME
    4750AC_SYS_LARGEFILE
     51
     52AC_PROG_LIBTOOL
     53AM_PATH_PYTHON(2.3)
     54AC_PROG_SWIG(1.3.21)
     55SWIG_PYTHON
    4856
    4957# Checks for library functions.
     
    209217AC_CHECK_LIB(z, gzopen)
    210218
     219libtrace_swig=false;
     220if test -n $SWIG; then
     221        libtrace_swig=true;
     222fi
     223libtrace_python=false;
     224if test -n "$PYTHON"; then
     225        libtrace_python=true;
     226fi
     227
    211228AM_CONDITIONAL([HAVE_DAG], [test "$libtrace_dag" = true])
    212229AM_CONDITIONAL([DAG2_4], [test "$libtrace_dag2_4" = true])
     
    214231AM_CONDITIONAL([HAVE_NETPACKET_PACKET_H], [test "$libtrace_netpacket_packet_h" = true])
    215232AM_CONDITIONAL([LIBGDC], [test "$ac_cv_header_gdc_h" = yes])
     233AM_CONDITIONAL([LIBTRACE_SWIG], [test "$libtrace_swig" = true])
     234#AM_CONDITIONAL([HAVE_PYTHON], [test "$libtrace_python" = true])
    216235
    217236# Check for miscellaneous programs
     
    257276reportopt "Building man pages/documentation" $libtrace_doxygen
    258277
     278if test x"$libtrace_swig" = xtrue; then
     279        if test x"$libtrace_python"; then
     280                AC_MSG_NOTICE([Building swig bindings for: python])
     281        fi
     282else
     283        AC_MSG_NOTICE([Building swig bindings for: Nothing])
     284fi
Note: See TracChangeset for help on using the changeset viewer.