Changeset 15262


Ignore:
Timestamp:
06/13/13 16:14:16 (12 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fix mex compilation on linux (was using cygwin settings)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r15261 r15262  
    122122      dnl OS-dependent variables and checks
    123123                case "${host_os}" in
    124                         *linux*)
    125          ;&
    126                         *darwin*)
    127                       MEXLINK=$(mex -v 2>&1 < /dev/null | grep LDFLAGS     | sed -e "s/         LDFLAGS            = //g")
    128                  MEXLIB=$( mex -v 2>&1 < /dev/null | grep CXXLIBS     | sed -e "s/         CXXLIBS            = //g")
    129                       MEXEXT=$( mex -v 2>&1 < /dev/null | grep LDEXTENSION | sed -e "s/         LDEXTENSION        = //g")
    130                         ;;
    131124                        *cygwin*)
    132125                                if  test $VENDOR = intel-win7-32; then
     
    137130                                MEXEXT=`$MATLAB_ROOT/bin/mexext.bat`
    138131                                MEXEXT=".$MEXEXT"
     132                        ;;
     133                   *)
     134                      MEXLINK=$(mex -v 2>&1 < /dev/null | grep LDFLAGS     | sed -e "s/         LDFLAGS            = //g")
     135                 MEXLIB=$( mex -v 2>&1 < /dev/null | grep CXXLIBS     | sed -e "s/         CXXLIBS            = //g")
     136                      MEXEXT=$( mex -v 2>&1 < /dev/null | grep LDEXTENSION | sed -e "s/         LDEXTENSION        = //g")
    139137                        ;;
    140138      esac
Note: See TracChangeset for help on using the changeset viewer.