Changeset 1000 for trunk/configure.ac


Ignore:
Timestamp:
21/06/08 11:50:37 (4 years ago)
Author:
Freddie Akeroyd
Message:

Add new python bindings to configure. Refs #101.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r978 r1000  
    221221 
    222222AC_ARG_WITH([swig], AC_HELP_STRING([--with-swig=swig compiler], [Specify path of swig compiler]), [with_swig=$withval], [with_swig=]) 
    223 if test x$with_python != xno -o x$with_tcl != xno -o x$with_guile != xno; then 
     223if test x$with_tcl != xno -o x$with_guile != xno; then 
    224224    if test x$with_swig != xyes; then 
    225225        SWIG=$with_swig 
     
    617617                bindings/swig/Makefile 
    618618                bindings/idl/Makefile 
     619                bindings/python/Makefile 
    619620                contrib/Makefile 
    620621                contrib/applications/Makefile 
     
    634635JAVABINDING=`if test -n "$JAVAC" ; then echo yes ; else echo no ; fi`  
    635636IDLBINDING=`if test -n "$IDLROOT" ; then echo yes ; else echo no ; fi`  
     637PYTHONBINDING=`if test -n "$PYTHONROOT" ; then echo yes ; else echo no ; fi`  
    636638if test -n "$SWIG" ; then  
    637639    SWIGBINDING="yes (" 
    638640    test -n "$TCLROOT" && SWIGBINDING="$SWIGBINDING tcl" 
    639641    test -n "$GUILEROOT" && SWIGBINDING="$SWIGBINDING guile" 
    640     test -n "$PYTHONROOT" && SWIGBINDING="$SWIGBINDING python" 
    641642    SWIGBINDING="$SWIGBINDING ) SWIG=${SWIG}" 
    642643else 
     
    666667                JAVA:          ${JAVABINDING} (--with-java-home=${javaroot}, JAVA=${JAVA}, JAVAC=${JAVAC}, JAVAH=${JAVAH}) 
    667668                SWIG:          ${SWIGBINDING} 
    668                 IDL:           ${IDLBINDING} (--with-idlroot=${IDLROOT}) 
     669                 IDL:          ${IDLBINDING} (--with-idlroot=${IDLROOT}) 
     670              PYTHON:          ${PYTHONBINDING} 
    669671 
    670672Please check whether the configuration I detected matches what you would 
Note: See TracChangeset for help on using the changeset viewer.