X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=configure.in;h=fdd0f00bbdb91599fec51f4c69b7eba786623f5b;hb=5354f2d4e6a8226bef82655026c645f0c5be00e2;hp=5929bd539275c6f430af3dacbb2f94b55f1ea177;hpb=a2400cbfc51e381c1dd33eb9e1d3c82feb54d911;p=openldap diff --git a/configure.in b/configure.in index 5929bd5392..fdd0f00bbd 100644 --- a/configure.in +++ b/configure.in @@ -1587,16 +1587,16 @@ dnl [ol_cv_pthread_lpthread_lexc]) AC_MSG_ERROR([pthread_create is not usable, check environment settings]) fi - ol_replace_sched_yeild=no + ol_replace_broken_yield=no case "$target" in *-*-linux*) - ol_replace_sched_yeild=yes + ol_replace_broken_yield=yes ;; esac - if test $ol_replace_sched_yeild = yes ; then - AC_DEFINE([REPLACE_SCHED_YEILD],1, - [define to replace sched_yeild(2)]) + if test $ol_replace_broken_yield = yes ; then + AC_DEFINE([REPLACE_BROKEN_YIELD],1, + [define if sched_yield yields the entire process]) fi dnl Check if select causes an yield @@ -2586,7 +2586,6 @@ AC_CHECK_FUNCS( \ strtoll \ strspn \ sysconf \ - usleep \ waitpid \ wait4 \ write \ @@ -2907,7 +2906,7 @@ if test "$ol_enable_denyop" != no ; then MFLAG=SLAPD_MOD_STATIC SLAPD_STATIC_OVERLAYS="$SLAPD_STATIC_OVERLAYS denyop.o" fi - AC_DEFINE_UNQUOTED(SLAPD_OVER_DENYOP,$MFLAG,[define for Dynamic Group overlay]) + AC_DEFINE_UNQUOTED(SLAPD_OVER_DENYOP,$MFLAG,[define for Deny Operation overlay]) fi if test "$ol_enable_dyngroup" != no ; then