From: Jani Taskinen Date: Thu, 8 Oct 2009 14:21:53 +0000 (+0000) Subject: - Fixed bug #49809 (time_sleep_until is not available on solaris) X-Git-Tag: php-5.4.0alpha1~191^2~2533 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a47a5f426582d7c1e58cef96987572fd5fc69cb;p=php - Fixed bug #49809 (time_sleep_until is not available on solaris) --- diff --git a/configure.in b/configure.in index 0271a6477f..4e20143a0a 100644 --- a/configure.in +++ b/configure.in @@ -402,6 +402,8 @@ dnl Check for inet_aton and dn_skipname dnl in -lc, -lbind and -lresolv PHP_CHECK_FUNC(inet_aton, resolv, bind) +dnl Some systems (like OpenSolaris) do not have nanosleep in libc +PHP_CHECK_FUNC(nanosleep, rt) dnl Then headers. dnl ------------------------------------------------------------------------- @@ -621,7 +623,6 @@ tzset \ unlockpt \ unsetenv \ usleep \ -nanosleep \ utime \ vsnprintf \ vasprintf \