Patch 527434: Avoid double inclusion of thread.o on Sol2.8.
This commit is contained in:
parent
ff0a7b8ca2
commit
3d2b549d56
|
@ -1133,10 +1133,13 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
|
|||
LIBS="$LIBS -lmpc"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue