Index: ChangeLog =================================================================== RCS file: /cvs/autoconf/ChangeLog,v retrieving revision 1.2263 diff -u -r1.2263 ChangeLog --- ChangeLog 29 Sep 2003 09:14:52 -0000 1.2263 +++ ChangeLog 29 Sep 2003 14:58:43 -0000 @@ -1,3 +1,9 @@ +2003-09-29 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. Index: lib/autoconf/fortran.m4 =================================================================== RCS file: /cvs/autoconf/lib/autoconf/fortran.m4,v retrieving revision 1.172 diff -u -r1.172 fortran.m4 --- lib/autoconf/fortran.m4 12 Sep 2003 10:06:42 -0000 1.172 +++ lib/autoconf/fortran.m4 29 Sep 2003 14:58:44 -0000 @@ -361,6 +361,7 @@ _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 Index: tests/fortran.at =================================================================== RCS file: /cvs/autoconf/tests/fortran.at,v retrieving revision 1.3 diff -u -r1.3 fortran.at --- tests/fortran.at 10 Sep 2003 16:49:46 -0000 1.3 +++ tests/fortran.at 29 Sep 2003 14:58:45 -0000 @@ -56,7 +56,7 @@ # 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.]);;