mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
simplify configure check for nanosleep()
This commit is contained in:
parent
036c5f9f31
commit
913970cebf
@ -611,7 +611,7 @@ asprintf \
|
||||
)
|
||||
|
||||
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)])
|
||||
PHP_CHECK_FUNC(nanosleep, rt)
|
||||
|
||||
dnl Check for getaddrinfo, should be a better way, but...
|
||||
dnl Also check for working getaddrinfo
|
||||
|
Loading…
Reference in New Issue
Block a user