Ralf Wildenhues <[EMAIL PROTECTED]> 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  <[EMAIL PROTECTED]>
        and Ralf Wildenhues  <[EMAIL PROTECTED]>

        * 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


Reply via email to