]> granicus.if.org Git - php/commitdiff
- Fixed bug #50345 (nanosleep not detected properly on some solaris versions)
authorJani Taskinen <jani@php.net>
Wed, 2 Dec 2009 08:54:50 +0000 (08:54 +0000)
committerJani Taskinen <jani@php.net>
Wed, 2 Dec 2009 08:54:50 +0000 (08:54 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index 1c43512403ade3a6b3021788ea152f4e746c113d..536a38855eb70a25936d5a0a28177e0a48e3ee21 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,11 +6,14 @@ PHP                                                                        NEWS
 
 - Improved fix for bug #50006 (Segfault caused by uksort()). (Stas)
 
+- Fixed bug #50345 (nanosleep not detected properly on some solaris versions).
+  (Jani)
 - Fixed bug #50266 (conflicting types for llabs). (Jani)
 - Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to
   non-existent file). (Dmitry)
 - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
 
+
 27 Nov 2009, PHP 5.2.12RC3
 - Fixed break in the build chain introduced in 5.2.12RC2 (Jani)
 
index ac5a607e08554e03906e356a9e4ceb5373599a13..6122038c359a1b47442bd5daf99a8054cba33612 100644 (file)
@@ -359,9 +359,6 @@ dnl in -lc, -lbind and -lresolv
 PHP_CHECK_FUNC(inet_aton, resolv, bind)
 PHP_CHECK_FUNC(dn_skipname, resolv, bind)
 
-dnl Some systems (like OpenSolaris) do not have nanosleep in libc
-PHP_CHECK_FUNC(nanosleep, rt)
-
 dnl Then headers.
 dnl -------------------------------------------------------------------------
 
@@ -594,6 +591,9 @@ utime \
 vsnprintf \
 )
 
+dnl Some systems (like OpenSolaris) do not have nanosleep in libc
+AC_CACHE_CHECK([for nanosleep], ac_cv_func_nanosleep, [PHP_CHECK_FUNC_LIB(nanosleep, rt)])
+
 dnl Check for getaddrinfo, should be a better way, but...
 dnl Also check for working getaddrinfo
 AC_CACHE_CHECK([for getaddrinfo], ac_cv_func_getaddrinfo,