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

This commit is contained in:
Martin v. Löwis 2002-03-15 13:48:21 +00:00
parent ff0a7b8ca2
commit 3d2b549d56
2 changed files with 218 additions and 212 deletions

419
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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