Double-quote the test case for %zd printf() format support to avoid

mangling the array declarations in it.
This commit is contained in:
Alexandre Vassalotti 2009-07-17 06:33:51 +00:00
parent 1a3d085008
commit e7cf1183fe
1 changed files with 5 additions and 4 deletions

View File

@ -3777,7 +3777,8 @@ fi
AC_MSG_CHECKING(for %zd printf() format support)
AC_CACHE_VAL(ac_cv_have_size_t_format,
AC_TRY_RUN([#include <stdio.h>
AC_TRY_RUN([[
#include <stdio.h>
#include <stddef.h>
#include <string.h>
@ -3811,9 +3812,9 @@ int main()
return 0;
}
], ac_cv_have_size_t_format=yes,
ac_cv_have_size_t_format=no,
ac_cv_have_size_t_format=no)
]], ac_cv_have_size_t_format=yes,
ac_cv_have_size_t_format=no,
ac_cv_have_size_t_format=no)
)
AC_MSG_RESULT($ac_cv_have_size_t_format)
if test $ac_cv_have_size_t_format = yes