summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGreg Stein <gstein@lyra.org>2000-07-05 10:38:09 (GMT)
committerGreg Stein <gstein@lyra.org>2000-07-05 10:38:09 (GMT)
commitadf63d6c246ca0356b633e995402b8e4a32f8c0a (patch)
tree82867e23ac3839c765af3acf7e1c64584e0bf939 /configure.in
parenta7acf425f68419066c8673f124703e16e463db29 (diff)
downloadcpython-adf63d6c246ca0356b633e995402b8e4a32f8c0a.zip
cpython-adf63d6c246ca0356b633e995402b8e4a32f8c0a.tar.gz
cpython-adf63d6c246ca0356b633e995402b8e4a32f8c0a.tar.bz2
check for Pth *after* the standard system threading libraries. Pth should
not override those. Submitted by: flight@users.sourceforge.net
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index cbac1bf..0f9452f 100644
--- a/configure.in
+++ b/configure.in
@@ -684,10 +684,6 @@ else
AC_CHECK_HEADER(mach/cthreads.h, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(C_THREADS)
LIBOBJS="$LIBOBJS thread.o"],[
- AC_CHECK_LIB(pth, pth_init, [AC_DEFINE(WITH_THREAD)
- AC_DEFINE(_GNU_PTH)
- LIBS="-lpth $LIBS"
- LIBOBJS="$LIBOBJS thread.o"],[
AC_CHECK_LIB(pthread, pthread_create, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(_POSIX_THREADS)
LIBS="-lpthread $LIBS"
@@ -710,6 +706,10 @@ else
AC_DEFINE(_POSIX_THREADS)
LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS thread.o"], [
+ AC_CHECK_LIB(pth, pth_init, [AC_DEFINE(WITH_THREAD)
+ AC_DEFINE(_GNU_PTH)
+ LIBS="-lpth $LIBS"
+ LIBOBJS="$LIBOBJS thread.o"],[
AC_CHECK_LIB(cma, pthread_create, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(_POSIX_THREADS)
LIBS="$LIBS -lcma"