1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

zsh-workers/8241

This commit is contained in:
Tanaka Akira 1999-10-13 19:07:05 +00:00
parent 3af795d1fe
commit 39d3ea13c1

View file

@ -367,7 +367,7 @@ fi
dnl Checking if the compiler supports variable-length arrays
AC_CACHE_CHECK(if the compiler supports variable-length arrays,
zsh_cv_c_variable_length_arrays,
[AC_TRY_COMPILE([int foo();], [int i[foo()];],
[AC_TRY_COMPILE([int foo(), n;], [int i[foo()], a[n+1];],
zsh_cv_c_variable_length_arrays=yes,
zsh_cv_c_variable_length_arrays=no)])
if test $zsh_cv_c_variable_length_arrays = yes; then