replace AC_TRY_COMPILE with AC_COMPILE_IFELSE

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14151 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-08-25 14:30:18 +00:00
parent 4cd9bc7b99
commit 4560513573
10 changed files with 38 additions and 41 deletions

View File

@@ -6,8 +6,7 @@ dnl
AC_DEFUN([rk_C_VARARRAY], [
AC_CACHE_CHECK([if the compiler supports variable-length arrays],[rk_cv_c_vararray],[
AC_TRY_COMPILE([],
[int x = 0; { int y[x]; }],
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]],[[int x = 0; { int y[x]; }]])],
[rk_cv_c_vararray=yes],
[rk_cv_c_vararray=no])])
if test "$rk_cv_c_vararray" = yes; then