Build system: fix for detection of MEX extension under Windows

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3104 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2009-10-30 15:09:12 +00:00
parent a479888c1b
commit 8651edc42c
1 changed files with 2 additions and 2 deletions

View File

@ -33,12 +33,12 @@ AC_DEFUN([AX_MEXEXT],
[dnl
AC_PREREQ([2.50])
AC_REQUIRE([AX_MATLAB])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AC_CANONICAL_BUILD])
AC_CACHE_CHECK([for MEX-file suffix], [ax_cv_mexext],
[if test "${MEXEXT+set}" = set ; then
ax_cv_mexext="$MEXEXT"
else
case $host_os in
case $build_os in
*cygwin*)
ax_cv_mexext=`$MATLAB/bin/mexext.bat | sed 's/\r//'`
;;