Commit 3d2b549d authored by Martin v. Löwis's avatar Martin v. Löwis

Patch 527434: Avoid double inclusion of thread.o on Sol2.8.

parent ff0a7b8c
This diff is collapsed.
......@@ -1133,10 +1133,13 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
LIBS="$LIBS -lmpc"
LIBOBJS="$LIBOBJS thread.o"
USE_THREAD_MODULE=""])
AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS thread.o"
USE_THREAD_MODULE=""])
if test $posix_threads != "yes"; then
AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS thread.o"
USE_THREAD_MODULE=""])
fi
if test "$USE_THREAD_MODULE" != "#"
then
......
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