Kaydet (Commit) 8d6e8af1 authored tarafından Guido van Rossum's avatar Guido van Rossum

Hack to force -lpthread instead instead of -lcma on HPUX, by Philipp

Jocham.  Philipp asks: "Are there any success stories with HP-UX 11.00
and -lcma?  Maybe libcma is broken."
üst 6b4ec513
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -790,12 +790,16 @@ else
AC_DEFINE(_POSIX_THREADS)
LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS thread.o"], [
AC_CHECK_LIB(pthread, __pthread_create_system, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(_POSIX_THREADS)
LIBS="$LIBS -lpthread"
LIBOBJS="$LIBOBJS thread.o"], [
AC_CHECK_LIB(cma, pthread_create, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(_POSIX_THREADS)
LIBS="$LIBS -lcma"
LIBOBJS="$LIBOBJS thread.o"],[
USE_THREAD_MODULE="#"])
])])])])])])])])
])])])])])])])])])
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lmpc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment