Skip to content

Commit 14c70e0

Browse files
author
Jani Taskinen
committed
- Fixed bug #50345 (nanosleep not detected properly on some solaris versions)
1 parent 4944354 commit 14c70e0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ PHP NEWS
2626
- Fixed memory leak in extension loading when an error occurs on Windows.
2727
(Pierre)
2828

29+
- Fixed bug #50345 (nanosleep not detected properly on some solaris versions).
30+
(Jani)
2931
- Fixed bug #50340 (php.ini parser does not allow spaces in ini keys). (Jani)
3032
- Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays).
3133
(Felipe)

configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,6 @@ dnl Check for inet_aton
387387
dnl in -lc, -lbind and -lresolv
388388
PHP_CHECK_FUNC(inet_aton, resolv, bind)
389389

390-
dnl Some systems (like OpenSolaris) do not have nanosleep in libc
391-
PHP_CHECK_FUNC(nanosleep, rt)
392-
393390
dnl Then headers.
394391
dnl -------------------------------------------------------------------------
395392

@@ -614,6 +611,9 @@ vasprintf \
614611
asprintf \
615612
)
616613

614+
dnl Some systems (like OpenSolaris) do not have nanosleep in libc
615+
AC_CACHE_CHECK([for nanosleep], ac_cv_func_nanosleep, [PHP_CHECK_FUNC_LIB(nanosleep, rt)])
616+
617617
dnl Check for getaddrinfo, should be a better way, but...
618618
dnl Also check for working getaddrinfo
619619
AC_CACHE_CHECK([for getaddrinfo], ac_cv_func_getaddrinfo,

0 commit comments

Comments
 (0)