Changeset 719 for trunk/configure.in


Ignore:
Timestamp:
May 9, 2007 4:48:53 PM (14 years ago)
Author:
dkearney
Message:

adding include directory and adjusting build system's matlab arch variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r718 r719  
    107107        fi
    108108        AC_MSG_RESULT([${MEX}])
     109        if test "$with_matlab_arch" = "check" ; then
     110            dnl still need to write the code to check the arch type
     111            with_matlab_arch=""
     112        fi
    109113        if test "x$with_matlab_arch" != "x" ; then
    110114            echo "using matlab architecture \"$with_matlab_arch\""
     
    115119        if test "x$MEX" != "x" ; then
    116120            mexext_fxn=`dirname $MEX`/mexext
    117             if test "x$mexext_fxn" != "x"; then
     121            if test -x "$mexext_fxn" ; then
    118122                MEXEXT=`$mexext_fxn`
    119123                if test "x${MEXEXT}" = "x" ; then
     124                    dnl not even mexext can figure out what extension to use....
    120125                    dnl # we should be doing an os type check instead of default mexglx
    121126                    dnl # use $with_matlab_arch
     
    124129                    fi
    125130                fi
    126                 echo "Using mex file extension \"$MEXEXT\""
    127                 AC_MSG_RESULT([${MEXEXT}])
     131            else
     132                if test "$with_mexext" != "check" ; then
     133                    MEXEXT="mexglx"
     134                fi
    128135            fi
     136            echo "Using mex file extension \"$MEXEXT\""
     137            AC_MSG_RESULT([${MEXEXT}])
    129138        else
    130139            echo "can't find the matlab compiler \"mex\""
Note: See TracChangeset for help on using the changeset viewer.