mirror of
https://github.com/python/cpython.git
synced 2026-04-28 23:00:40 +00:00
Double-quote the test case for %zd printf() format support to avoid
mangling the array declarations in it.
This commit is contained in:
parent
1a3d085008
commit
e7cf1183fe
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue