]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
authorAkim Demaille <akim@epita.fr>
Fri, 15 Dec 2000 10:55:10 +0000 (10:55 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 15 Dec 2000 10:55:10 +0000 (10:55 +0000)
Reported by Ezra Peisach.

ChangeLog
tests/compile.at

index 5beba0c0c8d8b479b5c09c76e7f209642e3e73b6..c4c932587f38e3eb8b1838cf0e749efba9a685a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-15  Akim Demaille  <akim@epita.fr>
+
+       * tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
+       Reported by Ezra Peisach.
+
 2000-12-15  Akim Demaille  <akim@epita.fr>
 
        * tests/compile.at (GNU Fortran 77): s/g77/G77/.
index dee58107c2d409da7ea92ca8b7707f9f52476e9e..6fae0bd30c91b99e3760f48eaaa4797afdc56ba0 100644 (file)
@@ -113,11 +113,11 @@ AC_LANG_COMPILER
 
 if $F77 --version 2>/dev/null | grep GNU >/dev/null; then
   # Has GNU in --version.
-  test $G77 = no &&
+  test "$G77" != yes &&
     AC_MSG_ERROR([failed to recognize GNU Fortran 77 compiler])
 else
   # Has not.
-  test $G77 = yes &&
+  test "$G77" = yes &&
     AC_MSG_ERROR([incorrectly recognized a GNU Fortran 77 compiler])
 fi
 exit 0]])