summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-10 08:15:08 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-10 08:15:08 (GMT)
commitc15835437d23bfa8b6665dafeeb64123df0a1625 (patch)
tree54a5faf85417120271cb8210bdc36a4791344afa
parente6788dbfdc7f745cfb6a0122a0c301e5f7d4914c (diff)
downloadcpython-c15835437d23bfa8b6665dafeeb64123df0a1625.zip
cpython-c15835437d23bfa8b6665dafeeb64123df0a1625.tar.gz
cpython-c15835437d23bfa8b6665dafeeb64123df0a1625.tar.bz2
Merged revisions 85349 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85349 | antoine.pitrou | 2010-10-10 10:10:16 +0200 (dim., 10 oct. 2010) | 4 lines Some platforms provide uintptr_t in inttypes.h. Patch by Akira Kitada. ........
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
-rwxr-xr-xconfigure7
-rw-r--r--configure.in3
4 files changed, 12 insertions, 2 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 0c48237..95dbb9e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -411,6 +411,7 @@ Randall Kern
Magnus Kessler
Lawrence Kesteloot
Vivek Khera
+Akira Kitada
Mads Kiilerich
Taek Joo Kim
Paul Kippes
diff --git a/Misc/NEWS b/Misc/NEWS
index a76b995..3b76452 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -600,6 +600,9 @@ Extension Modules
Build
-----
+- Issue #10054: Some platforms provide uintptr_t in inttypes.h. Patch by
+ Akira Kitada.
+
- Issue #10055: Make json C89-compliant in UCS4 mode.
- Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
diff --git a/configure b/configure
index 4a2f352..068bb33 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 84682 .
+# From configure.in Revision: 85251 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.1.
#
@@ -7073,6 +7073,9 @@ fi
ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+ #endif
"
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
@@ -9007,7 +9010,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
$as_echo "$with_doc_strings" >&6; }
-# Check for Python-specific malloc support
+# Check if eval loop should use timestamp counter profiling
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tsc" >&5
$as_echo_n "checking for --with-tsc... " >&6; }
diff --git a/configure.in b/configure.in
index 6587bee..2863b8d 100644
--- a/configure.in
+++ b/configure.in
@@ -1472,6 +1472,9 @@ AC_CHECK_TYPES(uintptr_t,
[AC_CHECK_SIZEOF(uintptr_t, 4)],
[], [#ifdef HAVE_STDINT_H
#include <stdint.h>
+ #endif
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
#endif])