]> granicus.if.org Git - python/commitdiff
Merged revisions 74044 via svnmerge from
authorAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 17 Jul 2009 06:41:02 +0000 (06:41 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 17 Jul 2009 06:41:02 +0000 (06:41 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74044 | alexandre.vassalotti | 2009-07-17 02:33:51 -0400 (Fri, 17 Jul 2009) | 3 lines

  Double-quote the test case for %zd printf() format support to avoid
  mangling the array declarations in it.
........

configure.in

index 17b89b0ad94521e4e79a481bc37c5868cd8366db..2876eb92a2fe90e5f5363f7221b7c7c8303b95ac 100644 (file)
@@ -3771,7 +3771,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>
 
@@ -3805,9 +3806,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