]> git.ipfire.org Git - thirdparty/autoconf.git/commit
autoconf: modernize AC_C_VARARRAYS for C11
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Aug 2014 00:16:40 +0000 (17:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Aug 2014 00:17:25 +0000 (17:17 -0700)
commitf6156ba05083625751a23fe2df1cd6694f42f356
tree59e3f453152104a1b9a6e2f791ab1ee4b6b1d92a
parent8a8e0756756e0981d8b33c63ff55cd08182b3d67
autoconf: modernize AC_C_VARARRAYS for C11

* lib/autoconf/c.m4 (AC_C_VARARRAYS): Define __STDC_NO_VLA__ if
VLAs are not supported, as this is what C11 does.  The old macro
HAVE_C_VARARRAYS is still defined if they are supported, but is
now obsolescent.  Also, check for VLA bug in GCC 3.4.3.
* doc/autoconf.texi (C Compiler), NEWS: Document the above.
NEWS
doc/autoconf.texi
lib/autoconf/c.m4