From: Paul Eggert Date: Sun, 3 Sep 2006 19:53:07 +0000 (+0000) Subject: * doc/autoconf.texi (Fortran Compiler): Document that AC_PROG_CC should be X-Git-Tag: AUTOCONF-2.60b~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae048f75dee008b9a5dffd7f3a7820da4da1e0d4;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Fortran Compiler): Document that AC_PROG_CC should be called before AC_PROG_FC, due to a bug in Autoconf. --- diff --git a/ChangeLog b/ChangeLog index 0004a0bee..baac4206b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,10 @@ 2006-09-03 Paul Eggert + and Ralf Wildenhues - * doc/autoconf.texi (Limitations of Builtins): Document - 'unset' bugs of Bash 2.01 and 2.05a. + * doc/autoconf.texi (Limitations of Builtins): Document 'unset' + bugs of Bash 2.01 and 2.05a. + (Fortran Compiler): Document that AC_PROG_CC should be called + before AC_PROG_FC, due to a bug in Autoconf. 2006-09-01 Paul Eggert diff --git a/doc/autoconf.texi b/doc/autoconf.texi index b18dbddba..4fe25e60f 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -6852,6 +6852,9 @@ If the output variable @code{FCFLAGS} was not already set in the 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