Changeset 563 for trunk/configure


Ignore:
Timestamp:
Dec 17, 2006, 11:11:46 PM (13 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

    r558 r563  
    675675PYTHON
    676676pythondir
     677MEX_ARCH
    677678PERL_INCLUDES
    678679PYTHON_VERSION
     
    12721273  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    12731274  --with-matlab=DIR         Build Matlab bindings if MEX compiler is found
     1275  --with-matlab-arch=ARCH         Build Matlab bindings for ARCH architecture
    12741276  --with-octave=DIR         Build Octave bindings if MKOCTFILE compiler is found
    12751277  --with-perl=DIR         Build Perl bindings if found
     
    49494951fi
    49504952
     4953
     4954# Check whether --with-matlab_arch was given.
     4955if test "${with_matlab_arch+set}" = set; then
     4956  withval=$with_matlab_arch;
     4957fi
     4958
    49514959MEX=
     4960MEX_ARCH=
    49524961if test "$with_matlab" != "no" ; then
    49534962        if test -x "$with_matlab/bin/mex"
     
    50035012        fi
    50045013    fi
     5014fi
     5015if test "x$with_matlab_arch" != "x" ; then
     5016    MEX_ARCH="-arch=$with_matlab_arch"
    50055017fi
    50065018
     
    59926004PYTHON!$PYTHON$ac_delim
    59936005pythondir!$pythondir$ac_delim
     6006MEX_ARCH!$MEX_ARCH$ac_delim
    59946007PERL_INCLUDES!$PERL_INCLUDES$ac_delim
    59956008PYTHON_VERSION!$PYTHON_VERSION$ac_delim
     
    60036016_ACEOF
    60046017
    6005   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then
     6018  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
    60066019    break
    60076020  elif $ac_last_try; then
Note: See TracChangeset for help on using the changeset viewer.