Changeset 9283
- Timestamp:
- 08/11/11 10:39:04 (14 years ago)
- Location:
- issm/trunk/m4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/m4/issm_options.m4
r8519 r9283 47 47 48 48 if test -d "$MATLAB_ROOT"; then 49 50 dnl matlab version (matlab.m4) 51 AX_MATLAB_VERSION 49 52 50 53 AC_MSG_CHECKING(for Matlab headers and libraries in $MATLAB_ROOT) … … 69 72 ;; 70 73 *darwin*) 71 dnl mex -v gives all the flags for compilation of mex files 74 75 dnl mex -v gives all the flags for compilation of mex files 76 dnl if matlab version is 7.10 or more, we must use mexmaci64 (64 bits) 77 MEXLINK="-O -Wl,-flat_namespace -undefined suppress -arch i386 -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map" 78 if test $MATLAB_MAJOR -ge 7; then 79 if test $MATLAB_MINOR -ge 10; then 80 MEXLINK="-O -Wl,-flat_namespace -undefined suppress -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci64/mexFunction.map" 81 fi 82 fi 83 72 84 MEXLIB=" mexversion.o -L$MATLAB_ROOT/bin/maci/ -lmx -lmex -lmat -lstdc++" 73 dnl MEXLINK="-Wl,-twolevel_namespace -undefined error -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map"74 MEXLINK="-O -Wl,-flat_namespace -undefined suppress -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map"75 dnl MEXLINK="-O -Wl,-flat_namespace -undefined suppress -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci64/mexFunction.map"76 85 MEXEXT=`$MATLAB_ROOT/bin/mexext` 77 86 MEXEXT=".$MEXEXT" 87 88 dnl Old MEXLINK 89 dnl MEXLINK="-Wl,-twolevel_namespace -undefined error -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map" 78 90 ;; 79 91 *cygwin*) 80 92 MEXLIB="-dll -export:mexFunction -LIBPATH:\"$MATLAB_ROOT\extern\lib\win32\microsoft\" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib -NOLOGO -INCREMENTAL:NO" 81 82 93 83 94 MEXEXT=`$MATLAB_ROOT/bin/mexext.bat` … … 107 118 dnl should we use large arrays compilation (Matlab 7.5 and upper?) 108 119 if test $HAVE_MATLAB = yes; then 109 110 AX_MATLAB_VERSION111 120 112 121 dnl if matlab version is 7.5 and more, and if platform is x86_64, then compile with largearray -
issm/trunk/m4/matlab.m4
r8266 r9283 329 329 MATLAB_VERSION=R2010a 330 330 MATLAB_MAJOR=7 331 MATLAB_MINOR= 8331 MATLAB_MINOR=10 332 332 ;; 333 333 R2010b)
Note:
See TracChangeset
for help on using the changeset viewer.