From 3e2b51bef70852d9b76eb3c3daae240f830d7f04 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 30 Sep 2003 13:03:01 +0000 Subject: [PATCH] * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might have been created when invoking the compiler. * tests/fortran.at (GNU Fortran 77): Quote $G77. --- ChangeLog | 6 ++++++ lib/autoconf/fortran.m4 | 1 + tests/fortran.at | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c0b7d77..63816c22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-09-30 Nicolas Joly + + * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might + have been created when invoking the compiler. + * tests/fortran.at (GNU Fortran 77): Quote $G77. + 2003-09-29 Akim Demaille Version 2.57e. diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index e5e66f0b..fec6cf35 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -361,6 +361,7 @@ ac_compiler=`set X $ac_compile; echo $[2]` _AC_EVAL([$ac_compiler --version &AS_MESSAGE_LOG_FD]) _AC_EVAL([$ac_compiler -v &AS_MESSAGE_LOG_FD]) _AC_EVAL([$ac_compiler -V &AS_MESSAGE_LOG_FD]) +rm -f a.out m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl diff --git a/tests/fortran.at b/tests/fortran.at index 9089e4cd..362edb4a 100644 --- a/tests/fortran.at +++ b/tests/fortran.at @@ -56,7 +56,7 @@ AC_FC_SRCEXT([f]) # GNU Fortran is known to support freeform. AC_FC_FREEFORM([], [AC_MSG_WARN([Fortran does not accept free-form source])]) -if test $G77 = yes; then +if test "$G77" = yes; then case $FCFLAGS in *-ffree-form*) ;; *) AC_MSG_ERROR([failed to recognize G77's -ffree-form option.]);; -- 2.47.2