From 84bc7c449c593edbf395aeabdf98652eae7d5429 Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Wed, 2 Dec 2009 08:54:50 +0000 Subject: [PATCH] - Fixed bug #50345 (nanosleep not detected properly on some solaris versions) --- NEWS | 3 +++ configure.in | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 1c43512403..536a38855e 100644 --- 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) diff --git a/configure.in b/configure.in index ac5a607e08..6122038c35 100644 --- a/configure.in +++ b/configure.in @@ -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, -- 2.50.1