AC_PROG_CC_C11: new macro, which AC_PROG_CC_STDC now defaults to
commitdb36f6df60b6aa4e692be7163407ef83c1de1afb
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Aug 2012 19:45:39 +0000 (23 12:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Aug 2012 19:46:20 +0000 (23 12:46 -0700)
tree962dcbe20d88ceae62fa1d37f934228824d1a095
parent1bb104167ed88a355a1c66e3e86cd49d9128cc4b
AC_PROG_CC_C11: new macro, which AC_PROG_CC_STDC now defaults to

* NEWS:
* doc/autoconf.texi (C Compiler): Document this.
(Gnulib, Function Portability, Particular Functions)
(Header Portability, Particular Headers, Defining Symbols)
(Printing Messages, Limitations of Usual Tools)
(Preprocessor Arithmetic, Volatile Objects, Exiting Portably):
Modernize wording for C11.
* lib/autoconf/c.m4 (_AC_C_C99_TEST_HEADER, _AC_C_C99_TEST_BODY):
New macros, taken from _AC_PROG_CC_C99.  These are so that we can
also include the C99 tests in the C11 test program.
(_AC_PROG_CC_C99): Use them.
(_AC_PROG_CC_C11, AC_PROG_CC_C11): New macros.
(AC_PROG_CC_STDC): Prefer C11 to C99 or C89.
NEWS
doc/autoconf.texi
lib/autoconf/c.m4