Fix Fortran flags under MEX for MATLAB

There was a typo in fedeeaad9f.

By the way, use the modern Fortran compiler when trying to detect slicot.
time-shift
Sébastien Villemot 2019-12-03 18:27:50 +01:00
parent 8d21c5a068
commit fe0fdf2ccb
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ dnl
dnl AX_SLICOT([matlab])
dnl AX_SLICOT([octave])
dnl
dnl Copyright © 2012 Dynare Team
dnl Copyright © 2012-2019 Dynare Team
dnl
dnl This file is part of Dynare.
dnl
@ -40,7 +40,7 @@ AC_DEFUN([AX_SLICOT],
ac_save_LDFLAGS="$LDFLAGS"
LDFLAGS_SAVED="$LDFLAGS"
AC_F77_FUNC(sb02od)
AC_FC_FUNC(sb02od)
if test "$1" = matlab; then
LDFLAGS="$MATLAB_LDFLAGS_NOMAP $LDFLAGS_SLICOT"

View File

@ -46,7 +46,7 @@ case ${host_os} in
esac
CFLAGS="$MATLAB_CFLAGS -Wall -Wno-parentheses"
FCLAGS="$MATLAB_FCFLAGS -Wall"
FCFLAGS="$MATLAB_FCFLAGS -Wall"
CXXFLAGS="$MATLAB_CXXFLAGS -Wall -Wno-parentheses -Wold-style-cast"
AC_PROG_FC