]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
authorAkim Demaille <akim@epita.fr>
Tue, 30 Sep 2003 13:03:01 +0000 (13:03 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 30 Sep 2003 13:03:01 +0000 (13:03 +0000)
have been created when invoking the compiler.
* tests/fortran.at (GNU Fortran 77): Quote $G77.

ChangeLog
lib/autoconf/fortran.m4
tests/fortran.at

index 9c0b7d776ef22eab5ed5f4fc7435700719a0881b..63816c22adcdb813f7fb38283e31da7f3f6018f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-30  Nicolas Joly  <njoly@pasteur.fr>
+
+       * 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  <akim@epita.fr>
 
        Version 2.57e.
index e5e66f0bed5bf8af53ec0b001b98817425da72c8..fec6cf3547279eee71bab40f48ed6cedf7f68c00 100644 (file)
@@ -361,6 +361,7 @@ ac_compiler=`set X $ac_compile; echo $[2]`
 _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
 _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
 _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
+rm -f a.out
 
 m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
 m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
index 9089e4cde6c518e8d4f30880f8183313b318a4f5..362edb4a63836422a0f43d742e51f24ce2dc3715 100644 (file)
@@ -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.]);;