Current Path : /usr/src/crypto/heimdal/cf/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/crypto/heimdal/cf/vararray.m4 |
dnl dnl $Id: vararray.m4 14166 2004-08-26 12:35:42Z joda $ dnl dnl Test for variable size arrays. dnl AC_DEFUN([rk_C_VARARRAY], [ AC_CACHE_CHECK([if the compiler supports variable-length arrays],[rk_cv_c_vararray],[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[int x = 0; { int y[x]; }]])], [rk_cv_c_vararray=yes], [rk_cv_c_vararray=no])]) if test "$rk_cv_c_vararray" = yes; then AC_DEFINE([HAVE_VARIABLE_LENGTH_ARRAY], [1], [Define if your compiler supports variable-length arrays.]) fi ])