Commit bad86cb4 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix test for sched_yield/pthread_yield(), needed $LTHREAD_LIBS added to $LIBS.

parent f32239e8
This diff is collapsed.
......@@ -295,7 +295,10 @@ dnl AC_DEFINE(HAVE_LINUX_THREADS,1)
dnl All POSIX Thread (final) implementations should have
dnl sched_yield instead of pthread yield.
dnl check for both
save_LIBS="$LIBS"
LIBS="$LTHREAD_LIBS $LIBS"
AC_CHECK_FUNCS(sched_yield pthread_yield)
LIBS="$save_LIBS"
if test $ac_cv_func_sched_yield = no -a \
$ac_cv_func_pthread_yield = no ; then
......
Supports Markdown
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