[Python-checkins] python/dist/src configure,1.391,1.392 configure.in,1.402,1.403 pyconfig.h.in,1.77,1.78

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 03 May 2003 03:32:20 -0700


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv5610

Modified Files:
	configure configure.in pyconfig.h.in 
Log Message:
Patch #730826: Enable extensions on NetBSD 2.0.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.391
retrieving revision 1.392
diff -C2 -d -r1.391 -r1.392
*** configure	3 May 2003 10:12:42 -0000	1.391
--- configure	3 May 2003 10:32:17 -0000	1.392
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.401 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53 for python 2.3.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.402 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53 for python 2.3.
***************
*** 1250,1253 ****
--- 1250,1262 ----
  cat >>confdefs.h <<\_ACEOF
  #define _GNU_SOURCE 1
+ _ACEOF
+ 
+ 
+ # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
+ # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
+ # them.
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define _NETBSD_SOURCE 1
  _ACEOF
  

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.402
retrieving revision 1.403
diff -C2 -d -r1.402 -r1.403
*** configure.in	3 May 2003 10:12:45 -0000	1.402
--- configure.in	3 May 2003 10:32:18 -0000	1.403
***************
*** 35,38 ****
--- 35,43 ----
  AC_DEFINE(_GNU_SOURCE, 1, [Define on Linux to activate all library features])
  
+ # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
+ # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
+ # them.
+ AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features])
+ 
  define_xopen_source=yes
  

Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** pyconfig.h.in	3 May 2003 10:12:45 -0000	1.77
--- pyconfig.h.in	3 May 2003 10:32:18 -0000	1.78
***************
*** 818,821 ****
--- 818,824 ----
  #undef _MINIX
  
+ /* Define on NetBSD to activate all library features */
+ #undef _NETBSD_SOURCE
+ 
  /* Define _OSF_SOURCE to get the makedev macro. */
  #undef _OSF_SOURCE