[Python-checkins] python/dist/src configure, 1.416.4.10,
1.416.4.11 configure.in, 1.427.4.9, 1.427.4.10
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Tue Nov 18 14:59:43 EST 2003
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv18918
Modified Files:
Tag: release23-maint
configure configure.in
Log Message:
Patch #836434: Use dlopen/dlsym on AIX if available. Also disable
_XOPEN_SOURCE on AIX 4.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.416.4.10
retrieving revision 1.416.4.11
diff -C2 -d -r1.416.4.10 -r1.416.4.11
*** configure 31 Oct 2003 15:41:46 -0000 1.416.4.10
--- configure 18 Nov 2003 19:59:36 -0000 1.416.4.11
***************
*** 1,4 ****
#! /bin/sh
! # From configure.in Revision: 1.427.4.8 .
# 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.9 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for python 2.3.
***************
*** 1459,1462 ****
--- 1459,1467 ----
FreeBSD/4.8* | Darwin/6* )
define_xopen_source=no;;
+ # On AIX 4, mbstate_t is defined only when _XOPEN_SOURCE == 500 but used in
+ # wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined or
+ # has another value. By not (re)defining it, the defaults come in place.
+ AIX/4)
+ define_xopen_source=no;;
esac
***************
*** 12973,12977 ****
then
case $ac_sys_system/$ac_sys_release in
! AIX*) DYNLOADFILE="dynload_aix.o";;
BeOS*) DYNLOADFILE="dynload_beos.o";;
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
--- 12978,12987 ----
then
case $ac_sys_system/$ac_sys_release in
! AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynload_aix.c
! if test "$ac_cv_func_dlopen" = yes
! then DYNLOADFILE="dynload_shlib.o"
! else DYNLOADFILE="dynload_aix.o"
! fi
! ;;
BeOS*) DYNLOADFILE="dynload_beos.o";;
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.427.4.9
retrieving revision 1.427.4.10
diff -C2 -d -r1.427.4.9 -r1.427.4.10
*** configure.in 31 Oct 2003 15:41:49 -0000 1.427.4.9
--- configure.in 18 Nov 2003 19:59:39 -0000 1.427.4.10
***************
*** 157,160 ****
--- 157,165 ----
FreeBSD/4.8* | Darwin/6* )
define_xopen_source=no;;
+ # On AIX 4, mbstate_t is defined only when _XOPEN_SOURCE == 500 but used in
+ # wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined or
+ # has another value. By not (re)defining it, the defaults come in place.
+ AIX/4)
+ define_xopen_source=no;;
esac
***************
*** 2025,2029 ****
then
case $ac_sys_system/$ac_sys_release in
! AIX*) DYNLOADFILE="dynload_aix.o";;
BeOS*) DYNLOADFILE="dynload_beos.o";;
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
--- 2030,2039 ----
then
case $ac_sys_system/$ac_sys_release in
! AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynload_aix.c
! if test "$ac_cv_func_dlopen" = yes
! then DYNLOADFILE="dynload_shlib.o"
! else DYNLOADFILE="dynload_aix.o"
! fi
! ;;
BeOS*) DYNLOADFILE="dynload_beos.o";;
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
More information about the Python-checkins
mailing list