bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testsuite problem on CVS autoconf


From: Akim Demaille
Subject: Re: testsuite problem on CVS autoconf
Date: 19 May 2001 17:13:49 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

Thanks Nicolas, I'm applying this:

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * tests/compile.at (GNU Fortran 77): Don't AS_EXIT when using
        AT_CHECK_MACRO since it skips tests embedded in configure.ac.
        Remove files which might have been created when invoking the
        compiler.
        Reported by Nicolas Joly.

Index: tests/compile.at
===================================================================
RCS file: /cvs/autoconf/tests/compile.at,v
retrieving revision 1.20
diff -u -u -r1.20 compile.at
--- tests/compile.at 2001/05/11 15:54:43 1.20
+++ tests/compile.at 2001/05/19 15:14:14
@@ -266,12 +266,17 @@
 AC_LANG_COMPILER
 
 if AC_TRY_COMMAND([$F77 --version | grep GNU >&2]); then
+  # Be sure to remove files which might be created by compilers that
+  # don't support --version.
+  rm -f a.exe a.out
   # Has GNU in --version.
   test "$G77" != yes &&
     AC_MSG_ERROR([failed to recognize GNU Fortran 77 compiler])
 else
+  # Be sure to remove files which might be created by compilers that
+  # don't support --version.
+  rm -f a.exe a.out
   # Has not.
   test "$G77" = yes &&
     AC_MSG_ERROR([incorrectly recognized a GNU Fortran 77 compiler])
-fi
-AS_EXIT(0)]])
+fi]])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]