Build system: fix several warnings with Autoconf 2.70
parent
e2a11a1a51
commit
f1a0bdb8e5
|
@ -311,7 +311,7 @@ License: LGPL-2.1+
|
||||||
|
|
||||||
Files: m4/ax_matlab_arch.m4 m4/ax_matlab.m4 m4/ax_mexext.m4
|
Files: m4/ax_matlab_arch.m4 m4/ax_matlab.m4 m4/ax_mexext.m4
|
||||||
Copyright: 2002-2003 Ralph Schleicher
|
Copyright: 2002-2003 Ralph Schleicher
|
||||||
2009-2019 Dynare Team
|
2009-2021 Dynare Team
|
||||||
License: GPL-2+ with Autoconf exception
|
License: GPL-2+ with Autoconf exception
|
||||||
|
|
||||||
Files: scripts/dynare.el
|
Files: scripts/dynare.el
|
||||||
|
|
|
@ -2,7 +2,7 @@ dnl Detect GSL.
|
||||||
dnl We don't use the official M4 macro since it relies on the script gsl-config,
|
dnl We don't use the official M4 macro since it relies on the script gsl-config,
|
||||||
dnl which does not work when cross-compiling.
|
dnl which does not work when cross-compiling.
|
||||||
dnl
|
dnl
|
||||||
dnl Copyright © 2010-2012 Dynare Team
|
dnl Copyright © 2010-2021 Dynare Team
|
||||||
dnl
|
dnl
|
||||||
dnl This file is part of Dynare.
|
dnl This file is part of Dynare.
|
||||||
dnl
|
dnl
|
||||||
|
@ -21,7 +21,7 @@ dnl along with Dynare. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AC_DEFUN([AX_GSL],
|
AC_DEFUN([AX_GSL],
|
||||||
[
|
[
|
||||||
AC_ARG_WITH(gsl, AC_HELP_STRING([--with-gsl=DIR], [prefix to GSL installation]),
|
AC_ARG_WITH(gsl, AS_HELP_STRING([--with-gsl=DIR], [prefix to GSL installation]),
|
||||||
gsl_prefix="$withval", gsl_prefix="")
|
gsl_prefix="$withval", gsl_prefix="")
|
||||||
|
|
||||||
has_gsl=yes
|
has_gsl=yes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
dnl Detect the MATIO Library.
|
dnl Detect the MATIO Library.
|
||||||
dnl
|
dnl
|
||||||
dnl Copyright © 2012-2014 Dynare Team
|
dnl Copyright © 2012-2021 Dynare Team
|
||||||
dnl
|
dnl
|
||||||
dnl This file is part of Dynare.
|
dnl This file is part of Dynare.
|
||||||
dnl
|
dnl
|
||||||
|
@ -19,7 +19,7 @@ dnl along with Dynare. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AC_DEFUN([AX_MATIO],
|
AC_DEFUN([AX_MATIO],
|
||||||
[
|
[
|
||||||
AC_ARG_WITH(matio, AC_HELP_STRING([--with-matio=DIR], [prefix to MATIO installation]),
|
AC_ARG_WITH(matio, AS_HELP_STRING([--with-matio=DIR], [prefix to MATIO installation]),
|
||||||
matio_prefix="$withval", matio_prefix="")
|
matio_prefix="$withval", matio_prefix="")
|
||||||
|
|
||||||
has_matio=yes
|
has_matio=yes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
dnl ax_matlab.m4 --- check for MATLAB.
|
dnl ax_matlab.m4 --- check for MATLAB.
|
||||||
dnl
|
dnl
|
||||||
dnl Copyright © 2000-2003 Ralph Schleicher
|
dnl Copyright © 2000-2003 Ralph Schleicher
|
||||||
dnl Copyright © 2009 Dynare Team
|
dnl Copyright © 2009-2021 Dynare Team
|
||||||
dnl
|
dnl
|
||||||
dnl This program is free software; you can redistribute it and/or
|
dnl This program is free software; you can redistribute it and/or
|
||||||
dnl modify it under the terms of the GNU General Public License as
|
dnl modify it under the terms of the GNU General Public License as
|
||||||
|
@ -31,7 +31,7 @@ AC_DEFUN([AX_MATLAB],
|
||||||
[dnl
|
[dnl
|
||||||
AC_PREREQ([2.50])
|
AC_PREREQ([2.50])
|
||||||
ax_enable_matlab=
|
ax_enable_matlab=
|
||||||
AC_ARG_WITH([matlab], AC_HELP_STRING([--with-matlab=ARG], [check for MATLAB [[yes]]]),
|
AC_ARG_WITH([matlab], AS_HELP_STRING([--with-matlab=ARG], [check for MATLAB [[yes]]]),
|
||||||
[case $withval in
|
[case $withval in
|
||||||
yes | no)
|
yes | no)
|
||||||
# Explicitly enable or disable MATLAB but determine
|
# Explicitly enable or disable MATLAB but determine
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
dnl ax_octave.m4 --- check for Octave
|
dnl ax_octave.m4 --- check for Octave
|
||||||
dnl
|
dnl
|
||||||
dnl Copyright © 2020 Dynare Team
|
dnl Copyright © 2020-2021 Dynare Team
|
||||||
dnl
|
dnl
|
||||||
dnl This program is free software; you can redistribute it and/or
|
dnl This program is free software; you can redistribute it and/or
|
||||||
dnl modify it under the terms of the GNU General Public License as
|
dnl modify it under the terms of the GNU General Public License as
|
||||||
|
@ -30,7 +30,7 @@ dnl of that program.
|
||||||
# Sets ax_enable_octave=yes if successful, ax_enable_octave=no otherwise
|
# Sets ax_enable_octave=yes if successful, ax_enable_octave=no otherwise
|
||||||
AC_DEFUN([AX_OCTAVE],
|
AC_DEFUN([AX_OCTAVE],
|
||||||
[dnl
|
[dnl
|
||||||
AC_ARG_WITH([octave], AC_HELP_STRING([--with-octave=PATH], [Path to search for Octave installation]),
|
AC_ARG_WITH([octave], AS_HELP_STRING([--with-octave=PATH], [Path to search for Octave installation]),
|
||||||
[
|
[
|
||||||
if test -n "$withval"; then
|
if test -n "$withval"; then
|
||||||
if test -x "$withval/bin/octave" && test -x "$withval/bin/mkoctfile"; then
|
if test -x "$withval/bin/octave" && test -x "$withval/bin/mkoctfile"; then
|
||||||
|
|
|
@ -28,7 +28,7 @@ AC_DEFUN([AX_SLICOT],
|
||||||
AC_MSG_ERROR([Argument to autoconf slicot macro must be either 'matlab' or 'octave'])
|
AC_MSG_ERROR([Argument to autoconf slicot macro must be either 'matlab' or 'octave'])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH(slicot, AC_HELP_STRING([--with-slicot=DIR], [prefix to SLICOT installation]),
|
AC_ARG_WITH(slicot, AS_HELP_STRING([--with-slicot=DIR], [prefix to SLICOT installation]),
|
||||||
slicot_prefix="$withval", slicot_prefix="")
|
slicot_prefix="$withval", slicot_prefix="")
|
||||||
has_slicot=yes
|
has_slicot=yes
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,6 @@ esac
|
||||||
|
|
||||||
AC_PROG_FC
|
AC_PROG_FC
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CC_C99
|
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AX_CXX_COMPILE_STDCXX_17
|
AX_CXX_COMPILE_STDCXX_17
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
|
|
|
@ -43,7 +43,6 @@ AX_COMPARE_VERSION([$OCTAVE_VERSION], [lt], [6.2.0], [AC_MSG_ERROR([Your Octave
|
||||||
|
|
||||||
AC_PROG_FC
|
AC_PROG_FC
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CC_C99
|
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AX_CXX_COMPILE_STDCXX_17
|
AX_CXX_COMPILE_STDCXX_17
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
|
|
Loading…
Reference in New Issue