[Python-checkins] python/dist/src configure,1.392,1.393 configure.in,1.403,1.404
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sat, 03 May 2003 04:25:45 -0700
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv7925
Modified Files:
configure configure.in
Log Message:
Patch #730170: Check for sem_init in -lpthread. Fixes #727051.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.392
retrieving revision 1.393
diff -C2 -d -r1.392 -r1.393
*** configure 3 May 2003 10:32:17 -0000 1.392
--- configure 3 May 2003 11:25:40 -0000 1.393
***************
*** 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.
--- 1,4 ----
#! /bin/sh
! # From configure.in Revision: 1.403 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
***************
*** 9716,9720 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_sem_init" = no; then
! for ac_lib in rt posix4; do
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
--- 9716,9720 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_sem_init" = no; then
! for ac_lib in pthread rt posix4; do
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
***************
*** 9772,9777 ****
fi
! # 'Real Time' functions on Solaris,
! # posix4 on Solaris 2.6
# checks for system dependent C++ extensions support
--- 9772,9778 ----
fi
! # 'Real Time' functions on Solaris
! # posix4 on Solaris 2.6
! # pthread (first!) on Linux
# checks for system dependent C++ extensions support
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.403
retrieving revision 1.404
diff -C2 -d -r1.403 -r1.404
*** configure.in 3 May 2003 10:32:18 -0000 1.403
--- configure.in 3 May 2003 11:25:43 -0000 1.404
***************
*** 1249,1254 ****
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
! AC_SEARCH_LIBS(sem_init, rt posix4) # 'Real Time' functions on Solaris,
! # posix4 on Solaris 2.6
# checks for system dependent C++ extensions support
--- 1249,1255 ----
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
! AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
! # posix4 on Solaris 2.6
! # pthread (first!) on Linux
# checks for system dependent C++ extensions support