[Python-checkins] r85349 - in python/branches/py3k: Misc/ACKS Misc/NEWS configure configure.in

antoine.pitrou python-checkins at python.org
Sun Oct 10 10:10:16 CEST 2010


Author: antoine.pitrou
Date: Sun Oct 10 10:10:16 2010
New Revision: 85349

Log:
Some platforms provide uintptr_t in inttypes.h.  Patch by
Akira Kitada.



Modified:
   python/branches/py3k/Misc/ACKS
   python/branches/py3k/Misc/NEWS
   python/branches/py3k/configure
   python/branches/py3k/configure.in

Modified: python/branches/py3k/Misc/ACKS
==============================================================================
--- python/branches/py3k/Misc/ACKS	(original)
+++ python/branches/py3k/Misc/ACKS	Sun Oct 10 10:10:16 2010
@@ -435,6 +435,7 @@
 Magnus Kessler
 Lawrence Kesteloot
 Vivek Khera
+Akira Kitada
 Mads Kiilerich
 Taek Joo Kim
 Paul Kippes

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Sun Oct 10 10:10:16 2010
@@ -346,6 +346,9 @@
 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 #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)

Modified: python/branches/py3k/configure
==============================================================================
--- python/branches/py3k/configure	(original)
+++ python/branches/py3k/configure	Sun Oct 10 10:10:16 2010
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 84752 .
+# From configure.in Revision: 84946 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.65 for python 3.2.
 #
@@ -7113,6 +7113,9 @@
 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 :
 

Modified: python/branches/py3k/configure.in
==============================================================================
--- python/branches/py3k/configure.in	(original)
+++ python/branches/py3k/configure.in	Sun Oct 10 10:10:16 2010
@@ -1483,6 +1483,9 @@
    [AC_CHECK_SIZEOF(uintptr_t, 4)], 
    [], [#ifdef HAVE_STDINT_H
         #include <stdint.h>
+        #endif
+        #ifdef HAVE_INTTYPES_H
+        #include <inttypes.h>
         #endif])
 
 AC_CHECK_SIZEOF(off_t, [], [


More information about the Python-checkins mailing list