X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fvararrays.m4;h=c1c8e1ffbc9db3559c3bb7dde56f61a6b159bb96;hb=772a6b7e3fa813310c645f81e83842f598bbc2e7;hp=65fb4d963b953b7dd1ba4a53a05af02c888e74a9;hpb=30dccb610124997ff5776d80979d24375f39b12a;p=gnulib.git diff --git a/m4/vararrays.m4 b/m4/vararrays.m4 index 65fb4d963..c1c8e1ffb 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, 2010 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