simplify configure check for nanosleep()

This commit is contained in:
Antony Dovgal 2010-04-13 12:41:46 +00:00
parent 036c5f9f31
commit 913970cebf

View File

@ -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