correct some AC_LANG_SOURCE/AC_LANG_PROGRAM snafu

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14166 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-08-26 12:35:42 +00:00
parent 0624b4457e
commit c8f892953b
18 changed files with 29 additions and 32 deletions

View File

@@ -6,7 +6,7 @@ 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_SOURCE([[]],[[int x = 0; { int y[x]; }]])],
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