mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
7055827b8f
This makes it clearer that we always want to do heimdal changes via the lorikeet-heimdal repository. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> Autobuild-User(master): Joseph Sutton <jsutton@samba.org> Autobuild-Date(master): Wed Jan 19 21:41:59 UTC 2022 on sn-devel-184
17 lines
456 B
Plaintext
17 lines
456 B
Plaintext
dnl
|
|
dnl $Id$
|
|
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
|
|
])
|