[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_FC may not be first compiler check
From: |
Paul Eggert |
Subject: |
Re: AC_PROG_FC may not be first compiler check |
Date: |
Sun, 03 Sep 2006 12:55:09 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> I think we should just document that it's the way things are.
OK, thanks, that makes sense, though it very much sounds like a bug to
me. I installed the following somewhat-more-strongly-worded patch.
2006-09-03 Paul Eggert <address@hidden>
and Ralf Wildenhues <address@hidden>
* doc/autoconf.texi (Fortran Compiler): Document that AC_PROG_CC
should be called before AC_PROG_FC, due to a bug in Autoconf.
--- doc/autoconf.texi 3 Sep 2006 19:41:12 -0000 1.1077
+++ doc/autoconf.texi 3 Sep 2006 19:53:07 -0000 1.1078
@@ -6852,6 +6852,9 @@ If the output variable @code{FCFLAGS} wa
environment, then set it to @option{-g -02} for @acronym{GNU} @code{g77} (or
@option{-O2} where @code{g77} does not accept @option{-g}). Otherwise,
set @code{FCFLAGS} to @option{-g} for all other Fortran compilers.
+
+Because of a bug in Autoconf, you should invoke @code{AC_PROG_CC} before
+invoking @code{AC_PROG_FC}.
@end defmac
@defmac AC_PROG_F77_C_O