summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-22 20:34:27 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-22 20:34:27 (GMT)
commit6400c26fbbcbebfbc39854dfa672c0a991b25d8d (patch)
tree5ed78eece22ac9c6bff452e2c4d0e74ebfe3bbe4 /configure.in
parent0be3e4936f007d00b919d2ead80ee235722e1084 (diff)
downloadcpython-6400c26fbbcbebfbc39854dfa672c0a991b25d8d.zip
cpython-6400c26fbbcbebfbc39854dfa672c0a991b25d8d.tar.gz
cpython-6400c26fbbcbebfbc39854dfa672c0a991b25d8d.tar.bz2
DG/UX specific test for threads.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9106a2b..975631e 100644
--- a/configure.in
+++ b/configure.in
@@ -357,8 +357,13 @@ LIBOBJS="$LIBOBJS thread.o"], [
AC_CHECK_LIB(pthread, pthread_create, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(_POSIX_THREADS)
LIBS="$LIBS -lpthread"
+LIBOBJS="$LIBOBJS thread.o"], [
+AC_CHECK_LIB(thread, __d6_pthread_create, [AC_DEFINE(WITH_THREAD)
+AC_DEFINE(_POSIX_THREADS)
+LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS thread.o"])
-])])
+])])])
+
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lmpc"
LIBOBJS="$LIBOBJS thread.o"])