Misc thread cleanup

This commit is contained in:
Kurt Zeilenga 2002-01-21 03:12:40 +00:00
parent 68e58d15de
commit 041e3d1ed4
2 changed files with 311 additions and 305 deletions

613
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1618,6 +1618,7 @@ if test $ol_with_threads = auto -o $ol_with_threads = yes \
if test $ol_cv_cthread_all_load = yes ; then
LTHREAD_LIBS="$LTHREAD_LIBS -all_load"
ol_link_threads=mach
ol_with_threads=found
fi
fi
@ -1636,6 +1637,7 @@ if test $ol_with_threads = auto -o $ol_with_threads = yes \
if test $ol_link_threads = yes ; then
LTHREAD_LIBS="-lthreads"
ol_link_threads=mach
ol_with_threads=found
else
AC_MSG_ERROR([could not link with Mach CThreads])
fi
@ -1664,6 +1666,7 @@ if test $ol_with_threads = auto -o $ol_with_threads = yes \
AC_DEFINE(HAVE_GNU_PTH,1,[if you have GNU Pth])
LTHREAD_LIBS="$LTHREAD_LIBS -lpth"
ol_link_threads=pth
ol_with_threads=found
if test $ol_with_yielding_select = auto ; then
ol_with_yielding_select=yes