diff --git a/NEWS b/NEWS index ad8d0ae15ac..5efec222575 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 ba1f73181db..0efb672e634 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