[Python-checkins] python/dist/src configure, 1.416.4.14, 1.416.4.15 configure.in, 1.427.4.13, 1.427.4.14 pyconfig.h.in, 1.83.4.4, 1.83.4.5

loewis at users.sourceforge.net loewis at users.sourceforge.net
Thu Aug 12 15:44:57 CEST 2004


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17406

Modified Files:
      Tag: release23-maint
	configure configure.in pyconfig.h.in 
Log Message:
Define _BSD_TYPES. Fixes #1005308.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.416.4.14
retrieving revision 1.416.4.15
diff -C2 -d -r1.416.4.14 -r1.416.4.15
*** configure	7 May 2004 19:13:40 -0000	1.416.4.14
--- configure	12 Aug 2004 13:44:25 -0000	1.416.4.15
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.427.4.12 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.57 for python 2.3.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.427.4.13 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.57 for python 2.3.
***************
*** 1350,1353 ****
--- 1350,1361 ----
  
  
+ # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
+ # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define _BSD_TYPES 1
+ _ACEOF
+ 
+ 
  define_xopen_source=yes
  

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.427.4.13
retrieving revision 1.427.4.14
diff -C2 -d -r1.427.4.13 -r1.427.4.14
*** configure.in	7 May 2004 19:13:47 -0000	1.427.4.13
--- configure.in	12 Aug 2004 13:44:44 -0000	1.427.4.14
***************
*** 51,54 ****
--- 51,58 ----
  AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
  
+ # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
+ # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
+ AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
+ 
  define_xopen_source=yes
  

Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.83.4.4
retrieving revision 1.83.4.5
diff -C2 -d -r1.83.4.4 -r1.83.4.5
*** pyconfig.h.in	22 Mar 2004 20:20:32 -0000	1.83.4.4
--- pyconfig.h.in	12 Aug 2004 13:44:44 -0000	1.83.4.5
***************
*** 824,827 ****
--- 824,830 ----
  #endif
  
+ /* Define on Irix to enable u_int */
+ #undef _BSD_TYPES
+ 
  /* This must be set to 64 on some systems to enable large file support. */
  #undef _FILE_OFFSET_BITS



More information about the Python-checkins mailing list