[Python-checkins] python/dist/src pyconfig.h.in, 1.89, 1.90 configure.in, 1.446, 1.447

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Sat Jan 17 09:19:45 EST 2004


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

Modified Files:
	pyconfig.h.in configure.in 
Log Message:
Remove support for SunOS 4.
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).


Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** pyconfig.h.in	17 Jan 2004 04:04:12 -0000	1.89
--- pyconfig.h.in	17 Jan 2004 14:19:43 -0000	1.90
***************
*** 13,20 ****
  #undef ATHEOS_THREADS
  
- /* Define if your <unistd.h> contains bad prototypes for exec*() (as it does
-    on SGI IRIX 4.x) */
- #undef BAD_EXEC_PROTOTYPES
- 
  /* Define this if you have BeOS threads. */
  #undef BEOS_THREADS
--- 13,16 ----

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.446
retrieving revision 1.447
diff -C2 -d -r1.446 -r1.447
*** configure.in	17 Jan 2004 04:04:12 -0000	1.446
--- configure.in	17 Jan 2004 14:19:43 -0000	1.447
***************
*** 333,337 ****
  # Check for unsupported systems
  case $ac_sys_system/$ac_sys_release in
! SunOS/4*|Linux*/1*)
     echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
     echo See README for details.
--- 333,337 ----
  # Check for unsupported systems
  case $ac_sys_system/$ac_sys_release in
! Linux*/1*)
     echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
     echo See README for details.
***************
*** 1222,1226 ****
  AC_MSG_RESULT($SO)
  # LDSHARED is the ld *command* used to create shared library
! # -- "ld" on SunOS 4.x.x, "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
  # (Shared libraries in this instance are shared modules to be loaded into
  # Python, as opposed to building Python itself as a shared library.)
--- 1222,1226 ----
  AC_MSG_RESULT($SO)
  # LDSHARED is the ld *command* used to create shared library
! # -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
  # (Shared libraries in this instance are shared modules to be loaded into
  # Python, as opposed to building Python itself as a shared library.)
***************
*** 1239,1243 ****
  	IRIX/5*) LDSHARED="ld -shared";;
  	IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
- 	SunOS/4*) LDSHARED="ld";;
  	SunOS/5*) 
  		if test "$GCC" = "yes"
--- 1239,1242 ----
***************
*** 2427,2442 ****
  AC_MSG_RESULT($works)
  
- if test "$have_prototypes" = yes; then
- bad_prototypes=no
- AC_MSG_CHECKING(for bad exec* prototypes)
- AC_TRY_COMPILE([#include <unistd.h>], [char **t;execve("@",t,t);], ,
-     AC_DEFINE(BAD_EXEC_PROTOTYPES, 1,
-     [Define if your <unistd.h> contains bad prototypes for exec*()
-     (as it does on SGI IRIX 4.x)]) 
-     bad_prototypes=yes
- )
- AC_MSG_RESULT($bad_prototypes)
- fi
- 
  # check if sockaddr has sa_len member
  AC_MSG_CHECKING(if sockaddr has sa_len member)
--- 2426,2429 ----





More information about the Python-checkins mailing list