Build system: fix for detection of MATLAB MEX extension under MinGW
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2949 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
fa1fcfc800
commit
ac483e3977
|
@ -39,9 +39,12 @@ AC_CACHE_CHECK([for MEX-file suffix], [ax_cv_mexext],
|
|||
ax_cv_mexext="$MEXEXT"
|
||||
else
|
||||
case $host_os in
|
||||
*cygwin* | *mingw32*)
|
||||
*cygwin*)
|
||||
ax_cv_mexext=`$MATLAB/bin/mexext.bat | sed 's/\r//'`
|
||||
;;
|
||||
*mingw*)
|
||||
ax_cv_mexext=`cd $MATLAB && cmd /c mexext.bat | sed 's/\r//'`
|
||||
;;
|
||||
*)
|
||||
ax_cv_mexext=`$MATLAB/bin/mexext`
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue