Changeset 563 for trunk/configure.in


Ignore:
Timestamp:
Dec 17, 2006 8:11:46 PM (14 years ago)
Author:
dkearney
Message:

small adjustments to gauge.tcl to fix errors in number and units recognition.
adjusted configure.in and makefiles to allow user to specify the architecture
they would like to use for compiling matlab bindings. also adjusted the main
makefile not to try to compile bindings for languages it cannot find on the system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r558 r563  
    3636
    3737AC_ARG_WITH(matlab, [  --with-matlab[=DIR]         Build Matlab bindings if MEX compiler is found])
     38AC_ARG_WITH(matlab_arch, [  --with-matlab-arch[=ARCH]         Build Matlab bindings for ARCH architecture])
    3839dnl AC_CHECK_PROG(MEX, mex, mex, false)
    3940MEX=
     41MEX_ARCH=
    4042if test "$with_matlab" != "no" ; then
    4143    dnl WITH_MATLAB = "yes"
     
    5456    fi
    5557fi
     58if test "x$with_matlab_arch" != "x" ; then
     59    MEX_ARCH="-arch=$with_matlab_arch"
     60fi
     61dnl AC_CHECK_PROG(MEX, mex, mex, false)
    5662dnl AM_CONDITIONAL(WITH_MATLAB, test x$MEX != x)
    5763
     
    170176dnl AM_CONDITIONAL(WITH_PYTHON, test x$PYTHON != x)
    171177
    172 dnl AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
    173 dnl if test "$PYTHON_INCLUDES" != ""
    174 dnl then
    175 dnl     PYTHON_SUBDIR=python
    176 dnl else
    177 dnl     PYTHON_SUBDIR=
    178 dnl fi
    179 
    180178AC_SUBST(pythondir)
    181179dnl AC_SUBST(PYTHON_SUBDIR)
    182180
    183181AC_SUBST(MEX)
     182AC_SUBST(MEX_ARCH)
    184183AC_SUBST(MKOCTFILE)
    185184AC_SUBST(PERL)
Note: See TracChangeset for help on using the changeset viewer.