[Python-checkins] r74044 - python/trunk/configure.in
alexandre.vassalotti
python-checkins at python.org
Fri Jul 17 08:33:51 CEST 2009
Author: alexandre.vassalotti
Date: Fri Jul 17 08:33:51 2009
New Revision: 74044
Log:
Double-quote the test case for %zd printf() format support to avoid
mangling the array declarations in it.
Modified:
python/trunk/configure.in
Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in (original)
+++ python/trunk/configure.in Fri Jul 17 08:33:51 2009
@@ -3777,7 +3777,8 @@
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 @@
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
More information about the Python-checkins
mailing list