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
parent
8d21c5a068
commit
fe0fdf2ccb
|
@ -5,7 +5,7 @@ dnl
|
||||||
dnl AX_SLICOT([matlab])
|
dnl AX_SLICOT([matlab])
|
||||||
dnl AX_SLICOT([octave])
|
dnl AX_SLICOT([octave])
|
||||||
dnl
|
dnl
|
||||||
dnl Copyright © 2012 Dynare Team
|
dnl Copyright © 2012-2019 Dynare Team
|
||||||
dnl
|
dnl
|
||||||
dnl This file is part of Dynare.
|
dnl This file is part of Dynare.
|
||||||
dnl
|
dnl
|
||||||
|
@ -40,7 +40,7 @@ AC_DEFUN([AX_SLICOT],
|
||||||
ac_save_LDFLAGS="$LDFLAGS"
|
ac_save_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS_SAVED="$LDFLAGS"
|
LDFLAGS_SAVED="$LDFLAGS"
|
||||||
|
|
||||||
AC_F77_FUNC(sb02od)
|
AC_FC_FUNC(sb02od)
|
||||||
|
|
||||||
if test "$1" = matlab; then
|
if test "$1" = matlab; then
|
||||||
LDFLAGS="$MATLAB_LDFLAGS_NOMAP $LDFLAGS_SLICOT"
|
LDFLAGS="$MATLAB_LDFLAGS_NOMAP $LDFLAGS_SLICOT"
|
||||||
|
|
|
@ -46,7 +46,7 @@ case ${host_os} in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
CFLAGS="$MATLAB_CFLAGS -Wall -Wno-parentheses"
|
CFLAGS="$MATLAB_CFLAGS -Wall -Wno-parentheses"
|
||||||
FCLAGS="$MATLAB_FCFLAGS -Wall"
|
FCFLAGS="$MATLAB_FCFLAGS -Wall"
|
||||||
CXXFLAGS="$MATLAB_CXXFLAGS -Wall -Wno-parentheses -Wold-style-cast"
|
CXXFLAGS="$MATLAB_CXXFLAGS -Wall -Wno-parentheses -Wold-style-cast"
|
||||||
|
|
||||||
AC_PROG_FC
|
AC_PROG_FC
|
||||||
|
|
Loading…
Reference in New Issue