>>>>> "Y" == Yukihiro Matsumoto <matz / ruby-lang.org> writes:

Y> CVS latest is

 Yes, I've looked in CVS before posting, the problem is here

Y>     AC_CHECK_FUNC(nanosleep)
       ^^^^^^^^^^^^^

 AC_CHECK_FUNC define ac_cv_func_nanosleep but don't define HAVE_NANOSLEEP

 this is AC_CHECK_FUNCS which define HAVE_NANOSLEEP and ac_cv_func_nanosleep

Y>     if test x"$ac_cv_func_nanosleep" = xno; then
Y>        AC_CHECK_LIB(rt, nanosleep)
Y>        if test x"$ac_cv_lib_rt_nanosleep" = xyes; then
Y>            AC_DEFINE(HAVE_NANOSLEEP)
Y>        fi
Y>     fi

Guy Decoux