Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
bad86cb4
Commit
bad86cb4
authored
Sep 21, 1998
by
Kurt Zeilenga
Browse files
Fix test for sched_yield/pthread_yield(), needed $LTHREAD_LIBS added to $LIBS.
parent
f32239e8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
configure
View file @
bad86cb4
This diff is collapsed.
Click to expand it.
configure.in
View file @
bad86cb4
...
@@ -295,7 +295,10 @@ dnl AC_DEFINE(HAVE_LINUX_THREADS,1)
...
@@ -295,7 +295,10 @@ dnl AC_DEFINE(HAVE_LINUX_THREADS,1)
dnl All POSIX Thread (final) implementations should have
dnl All POSIX Thread (final) implementations should have
dnl sched_yield instead of pthread yield.
dnl sched_yield instead of pthread yield.
dnl check for both
dnl check for both
save_LIBS="$LIBS"
LIBS="$LTHREAD_LIBS $LIBS"
AC_CHECK_FUNCS(sched_yield pthread_yield)
AC_CHECK_FUNCS(sched_yield pthread_yield)
LIBS="$save_LIBS"
if test $ac_cv_func_sched_yield = no -a \
if test $ac_cv_func_sched_yield = no -a \
$ac_cv_func_pthread_yield = no ; then
$ac_cv_func_pthread_yield = no ; then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment