echo "$ac_t""no" 1>&6
fi
- for ac_func in strtok_r pthread_init
+ for ac_func in strtok_r sched_yield
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2039: checking for $ac_func" >&5
LTHREAD_LIBS="$LTHREAD_LIBS -lc_r"
fi
else
- for ac_func in strtok_r
+ for ac_func in strtok_r sched_yield
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2098: checking for $ac_func" >&5
if test $ac_cv_lib_pthread_strtok_r = no ; then
AC_CHECK_LIB(c_r,strtok_r)
- AC_CHECK_FUNCS(strtok_r pthread_init)
+ AC_CHECK_FUNCS(strtok_r sched_yield)
if test $ac_cv_lib_c_r_strtok_r = yes ; then
LTHREAD_LIBS="$LTHREAD_LIBS -lc_r"
fi
else
- AC_CHECK_FUNCS(strtok_r)
+ AC_CHECK_FUNCS(strtok_r sched_yield)
fi
LIBS="$save_LIBS"
/* Define if you have the mktime function. */
#undef HAVE_MKTIME
-/* Define if you have the pthread_init function. */
-#undef HAVE_PTHREAD_INIT
+/* Define if you have the sched_yield function. */
+#undef HAVE_SCHED_YIELD
/* Define if you have the select function. */
#undef HAVE_SELECT