]> granicus.if.org Git - php/commitdiff
- Fixed bug #49809 (time_sleep_until is not available on solaris)
authorJani Taskinen <jani@php.net>
Thu, 8 Oct 2009 14:21:53 +0000 (14:21 +0000)
committerJani Taskinen <jani@php.net>
Thu, 8 Oct 2009 14:21:53 +0000 (14:21 +0000)
configure.in

index 0271a6477f8d8224d21bef1cb69f8b06981f2473..4e20143a0a37940e7e342d009e712b1097e88d56 100644 (file)
@@ -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 \