[Python-checkins] python/dist/src configure, 1.452, 1.453 configure.in, 1.465, 1.466

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Sun Aug 15 16:08:27 CEST 2004


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

Modified Files:
	configure configure.in 
Log Message:
Match the def'n of _XOPEN_SOURCE on Solaris 8/9 to suppress redefinition
warning from GCC.  Closes patch #1006629.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.452
retrieving revision 1.453
diff -C2 -d -r1.452 -r1.453
*** configure	12 Aug 2004 13:45:08 -0000	1.452
--- configure	15 Aug 2004 14:08:22 -0000	1.453
***************
*** 1,9 ****
  #! /bin/sh
! # From configure.in Revision: 1.464 .
  # Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.57 for python 2.4.
  #
! # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! # Free Software Foundation, Inc.
  # This configure script is free software; the Free Software Foundation
  # gives unlimited permission to copy, distribute and modify it.
--- 1,8 ----
[...12750 lines suppressed...]
      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
***************
*** 19414,19421 ****
        as_dir=`(dirname "$as_dir") 2>/dev/null ||
  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
!          X"$as_dir" : 'X\(//\)[^/]' \| \
!          X"$as_dir" : 'X\(//\)$' \| \
!          X"$as_dir" : 'X\(/\)' \| \
!          .     : '\(.\)' 2>/dev/null ||
  echo X"$as_dir" |
      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
--- 21217,21224 ----
        as_dir=`(dirname "$as_dir") 2>/dev/null ||
  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 	 X"$as_dir" : 'X\(//\)[^/]' \| \
! 	 X"$as_dir" : 'X\(//\)$' \| \
! 	 X"$as_dir" : 'X\(/\)' \| \
! 	 .     : '\(.\)' 2>/dev/null ||
  echo X"$as_dir" |
      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.465
retrieving revision 1.466
diff -C2 -d -r1.465 -r1.466
*** configure.in	12 Aug 2004 13:45:08 -0000	1.465
--- configure.in	15 Aug 2004 14:08:23 -0000	1.466
***************
*** 171,176 ****
  if test $define_xopen_source = yes
  then
!   AC_DEFINE(_XOPEN_SOURCE, 600, 
!             Define to the level of X/Open that your system supports)
  
    # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
--- 171,186 ----
  if test $define_xopen_source = yes
  then
!   # On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
!   # defined precisely as g++ defines it
!   case $ac_sys_system/$ac_sys_release in
!     SunOS/5.8|SunOS/5.9)
!       AC_DEFINE(_XOPEN_SOURCE, 500, 
!                 Define to the level of X/Open that your system supports)
!       ;;
!     *)
!       AC_DEFINE(_XOPEN_SOURCE, 600, 
!                 Define to the level of X/Open that your system supports)
!       ;;
!   esac
  
    # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires



More information about the Python-checkins mailing list