]> granicus.if.org Git - php/commitdiff
- Merge: #49809 (time_sleep_until is not available on solaris)
authorPierre Joye <pajoye@php.net>
Thu, 15 Oct 2009 21:06:51 +0000 (21:06 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 15 Oct 2009 21:06:51 +0000 (21:06 +0000)
configure.in

index 0f5782d72b70880612665bae52475f6229237099..accd29465c7e123ef746659c7825fbcd150fb94c 100644 (file)
@@ -402,6 +402,8 @@ dnl Check for inet_aton
 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 \