mirror of
https://https.git.savannah.gnu.org/git/autoconf.git
synced 2026-01-26 15:03:22 +00:00
Fix bug in Fortran implicit int handling
* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Fix typo in argument numbering. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
cf8b90f6ff
commit
8ac9edd1a7
@ -1665,13 +1665,13 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
_AC_LANG_PREFIX[]FLAGS=$ac_fc_implicit_none_[]_AC_LANG_PREFIX[]FLAGS_save
|
||||
])
|
||||
if test "x$ac_cv_[]_AC_LANG_ABBREV[]_implicit_none" = xunknown; then
|
||||
m4_default([$3],
|
||||
m4_default([$2],
|
||||
[AC_MSG_ERROR([no Fortran flag to disallow implicit declarations found], 77)])
|
||||
else
|
||||
if test "x$ac_cv_[]_AC_LANG_ABBREV[]_implicit_none" != xnone; then
|
||||
_AC_LANG_PREFIX[]FLAGS="$_AC_LANG_PREFIX[]FLAGS $ac_cv_[]_AC_LANG_ABBREV[]_implicit_none"
|
||||
fi
|
||||
$2
|
||||
$1
|
||||
fi
|
||||
])# _AC_FC_IMPLICIT_NONE
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user