From: Akim Demaille Date: Fri, 15 Dec 2000 10:55:10 +0000 (+0000) Subject: * tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var. X-Git-Tag: autoconf-2.50~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39a5de56909d196a8e2c87262e5a10d73fa08c7;p=thirdparty%2Fautoconf.git * tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var. Reported by Ezra Peisach. --- diff --git a/ChangeLog b/ChangeLog index 5beba0c0c..c4c932587 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-12-15 Akim Demaille + + * tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var. + Reported by Ezra Peisach. + 2000-12-15 Akim Demaille * tests/compile.at (GNU Fortran 77): s/g77/G77/. diff --git a/tests/compile.at b/tests/compile.at index dee58107c..6fae0bd30 100644 --- a/tests/compile.at +++ b/tests/compile.at @@ -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]])