Changeset 904 for trunk/configure.in


Ignore:
Timestamp:
06/29/06 21:07:50 (7 years ago)
Author:
dlawson
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
  • trunk/configure.in

    r898 r904  
    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.