]> Savannah Git Hosting - gnulib.git/commit
vararrays: modernize AC_C_VARARRAYS for C11
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Aug 2014 00:25:28 +0000 (17:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Aug 2014 00:25:52 +0000 (17:25 -0700)
commite8e10012c00e6e92496f11289a6e1ffc5503db77
tree335b2e42c168759f080372e2b8f4e323dcdef2a9
parent07e0415ba7376a8e474ba4f533505057cfbb5f85
vararrays: modernize AC_C_VARARRAYS for C11

This backports a change I recently made to Autoconf.
* m4/vararrays.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.
ChangeLog
m4/vararrays.m4