summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-01-17 03:04:46 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-01-17 03:04:46 (GMT)
commitf8712e5fc3e133f5cb627164866b7a207d921868 (patch)
treecd611ea4de358d9078860039cf7b87cb1fcd79ae
parent4d474becd8cbe76e8a72e4b834be285a156a3787 (diff)
downloadcpython-f8712e5fc3e133f5cb627164866b7a207d921868.zip
cpython-f8712e5fc3e133f5cb627164866b7a207d921868.tar.gz
cpython-f8712e5fc3e133f5cb627164866b7a207d921868.tar.bz2
Remove support for systems defining __d6_pthread_create.
-rwxr-xr-xconfigure71
-rw-r--r--configure.in9
2 files changed, 2 insertions, 78 deletions
diff --git a/configure b/configure
index 0589db7..33eacde 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.443 .
+# 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.
#
@@ -11164,73 +11164,6 @@ _ACEOF
THREADOBJ="Python/thread.o"
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
if test "${ac_cv_lib_pthread___pthread_create_system+set}" = set; then
@@ -11371,8 +11304,6 @@ fi
fi
-fi
-
fi
diff --git a/configure.in b/configure.in
index 602b864..412befb 100644
--- a/configure.in
+++ b/configure.in
@@ -1642,13 +1642,6 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
posix_threads=yes
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
LIBS="$LIBS -lpthread"
@@ -1658,7 +1651,7 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
LIBS="$LIBS -lcma"
THREADOBJ="Python/thread.o"],[
USE_THREAD_MODULE="#"])
- ])])])])])])])])])])])
+ ])])])])])])])])])])
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lmpc"