X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fvararrays.m4;h=3d7b56769c931dbb9c2da12f0d2cde5d59caf2cd;hb=53a617f5e118ec5642daa3da45fcef0bf5593b12;hp=65fb4d963b953b7dd1ba4a53a05af02c888e74a9;hpb=30dccb610124997ff5776d80979d24375f39b12a;p=gnulib.git diff --git a/m4/vararrays.m4 b/m4/vararrays.m4 index 65fb4d963..3d7b56769 100644 --- a/m4/vararrays.m4 +++ b/m4/vararrays.m4 @@ -4,7 +4,7 @@ # From Paul Eggert -# Copyright (C) 2001, 2009 Free Software Foundation, Inc. +# Copyright (C) 2001, 2009-2013 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -14,8 +14,8 @@ AC_DEFUN([AC_C_VARARRAYS], AC_CACHE_CHECK([for variable-length arrays], ac_cv_c_vararrays, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [], - [[static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];]])], + [], + [[static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];]])], ac_cv_c_vararrays=yes, ac_cv_c_vararrays=no)]) if test $ac_cv_c_vararrays = yes; then