[Python-checkins] python/dist/src configure, 1.434,
1.435 configure.in, 1.444, 1.445
montanaro at users.sourceforge.net
montanaro at users.sourceforge.net
Fri Jan 16 22:04:49 EST 2004
- Previous message: [Python-checkins] python/dist/src configure, 1.433,
1.434 configure.in, 1.443, 1.444
- Next message: [Python-checkins] python/dist/src configure, 1.435,
1.436 configure.in, 1.445, 1.446 pyconfig.h.in, 1.88, 1.89
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv12993
Modified Files:
configure configure.in
Log Message:
Remove support for systems defining __d6_pthread_create.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.434
retrieving revision 1.435
diff -C2 -d -r1.434 -r1.435
*** configure 17 Jan 2004 00:29:21 -0000 1.434
--- configure 17 Jan 2004 03:04:45 -0000 1.435
***************
*** 1,4 ****
#! /bin/sh
! # From configure.in Revision: 1.443 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for python 2.4.
--- 1,4 ----
#! /bin/sh
! # From configure.in Revision: 1.444 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for python 2.4.
***************
*** 11165,11235 ****
else
- echo "$as_me:$LINENO: checking for __d6_pthread_create in -lthread" >&5
- echo $ECHO_N "checking for __d6_pthread_create in -lthread... $ECHO_C" >&6
- if test "${ac_cv_lib_thread___d6_pthread_create+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lthread $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- /* confdefs.h. */
- _ACEOF
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-
- /* Override any gcc2 internal prototype to avoid an error. */
- #ifdef __cplusplus
- extern "C"
- #endif
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char __d6_pthread_create ();
- int
- main ()
- {
- __d6_pthread_create ();
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_lib_thread___d6_pthread_create=yes
- else
- echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_lib_thread___d6_pthread_create=no
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- echo "$as_me:$LINENO: result: $ac_cv_lib_thread___d6_pthread_create" >&5
- echo "${ECHO_T}$ac_cv_lib_thread___d6_pthread_create" >&6
- if test $ac_cv_lib_thread___d6_pthread_create = yes; then
- cat >>confdefs.h <<\_ACEOF
- #define WITH_THREAD 1
- _ACEOF
-
- echo Systems with __d6_pthread_create are not supported anymore.
- echo See README
- exit 1
- posix_threads=yes
- LIBS="$LIBS -lthread"
- THREADOBJ="Python/thread.o"
- else
-
echo "$as_me:$LINENO: checking for __pthread_create_system in -lpthread" >&5
echo $ECHO_N "checking for __pthread_create_system in -lpthread... $ECHO_C" >&6
--- 11165,11168 ----
***************
*** 11372,11377 ****
fi
- fi
-
fi
--- 11305,11308 ----
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.444
retrieving revision 1.445
diff -C2 -d -r1.444 -r1.445
*** configure.in 17 Jan 2004 00:29:32 -0000 1.444
--- configure.in 17 Jan 2004 03:04:46 -0000 1.445
***************
*** 1643,1653 ****
LIBS="$LIBS -lc_r"
THREADOBJ="Python/thread.o"], [
- AC_CHECK_LIB(thread, __d6_pthread_create, [AC_DEFINE(WITH_THREAD)
- echo Systems with __d6_pthread_create are not supported anymore.
- echo See README
- exit 1
- posix_threads=yes
- LIBS="$LIBS -lthread"
- THREADOBJ="Python/thread.o"], [
AC_CHECK_LIB(pthread, __pthread_create_system, [AC_DEFINE(WITH_THREAD)
posix_threads=yes
--- 1643,1646 ----
***************
*** 1659,1663 ****
THREADOBJ="Python/thread.o"],[
USE_THREAD_MODULE="#"])
! ])])])])])])])])])])])
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
--- 1652,1656 ----
THREADOBJ="Python/thread.o"],[
USE_THREAD_MODULE="#"])
! ])])])])])])])])])])
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
- Previous message: [Python-checkins] python/dist/src configure, 1.433,
1.434 configure.in, 1.443, 1.444
- Next message: [Python-checkins] python/dist/src configure, 1.435,
1.436 configure.in, 1.445, 1.446 pyconfig.h.in, 1.88, 1.89
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list