]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Improve description of AC_PROG_CC_C89 and AC_PROG_CC_C99.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 22 Apr 2009 05:35:12 +0000 (07:35 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 22 Apr 2009 05:35:12 +0000 (07:35 +0200)
* doc/autoconf.texi (C Compiler): Document that AC_PROG_CC_C89
and AC_PROG_CC_C99 prefer extended over strict conformance modes.
Report by Vincent Lefèvre.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
doc/autoconf.texi

index 39bc805bf5fb00205b151fb5dd62be5783608e2f..0d966d33e170fc8a75b694a67cdb3302ff79088e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Improve description of AC_PROG_CC_C89 and AC_PROG_CC_C99.
+       * doc/autoconf.texi (C Compiler): Document that AC_PROG_CC_C89
+       and AC_PROG_CC_C99 prefer extended over strict conformance modes.
+       Report by Vincent Lefèvre.
+
 2009-04-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Revert bogus change in last commit.
index 461f0778fcb6d7413ba1752041e64ae3a5c2f697..1256095a9d02e89c491eb6c4b7a2e88138b8119f 100644 (file)
@@ -6809,7 +6809,8 @@ set to accept Standard C; if not, the shell variable
 If the C compiler is not in @acronym{ANSI} C89 (@acronym{ISO} C90) mode by
 default, try to add an option to output variable @code{CC} to make it
 so.  This macro tries various options that select @acronym{ANSI} C89 on
-some system or another.  It considers the compiler to be in
+some system or another, preferring extended functionality modes over
+strict conformance modes.  It considers the compiler to be in
 @acronym{ANSI} C89 mode if it handles function prototypes correctly.
 
 After calling this macro you can check whether the C compiler has been
@@ -6823,7 +6824,8 @@ This macro is called automatically by @code{AC_PROG_CC}.
 @acindex{PROG_CC_C99}
 If the C compiler is not in C99 mode by default, try to add an
 option to output variable @code{CC} to make it so.  This macro tries
-various options that select C99 on some system or another.  It
+various options that select C99 on some system or another, preferring
+extended functionality modes over strict conformance modes.  It
 considers the compiler to be in C99 mode if it handles @code{_Bool},
 @code{//} comments, flexible array members, @code{inline}, signed and
 unsigned @code{long long int}, mixed code and declarations, named