From 421b86ed5ee81f5669d698b5e94f7c96d1246514 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 5 Oct 2010 13:43:35 +0000 Subject: [PATCH] fix bug #50345 (nanosleep not detected properly on some solaris versions) --- NEWS | 2 ++ configure.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ad8d0ae15a..5efec22257 100644 --- a/NEWS +++ b/NEWS @@ -117,6 +117,8 @@ both IPv4 and IPv6 addresses, on Windows). (Gustavo, Pierre) - Fixed bug #50524 (proc_open on Windows does not respect cwd as it does on other platforms). (Pierre) +- Fixed bug #50345 (nanosleep not detected properly on some solaris versions). + (Ulf, Tony) - Fixed bug #49215 (make fails on glob_wrapper). (Felipe) - Fixed bug #48831 (php -i has different output to php --ini). (Richard, Pierre) diff --git a/configure.in b/configure.in index ba1f73181d..0efb672e63 100644 --- a/configure.in +++ b/configure.in @@ -611,7 +611,7 @@ asprintf \ ) dnl Some systems (like OpenSolaris) do not have nanosleep in libc -PHP_CHECK_FUNC(nanosleep, rt) +PHP_CHECK_FUNC_LIB(nanosleep, rt) dnl Check for getaddrinfo, should be a better way, but... dnl Also check for working getaddrinfo -- 2.40.0