mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
further network libraries detection for Haiku system.
Closes GH-5997.
This commit is contained in:
parent
c925028d49
commit
32c6a0bbbb
1 changed files with 7 additions and 7 deletions
14
configure.ac
14
configure.ac
|
@ -342,13 +342,13 @@ dnl Some systems (OpenServer 5) dislike -lsocket -lnsl, so we try to avoid -lnsl
|
|||
dnl checks, if we already have the functions which are usually in libnsl. Also,
|
||||
dnl uClibc will bark at linking with glibc's libnsl.
|
||||
|
||||
PHP_CHECK_FUNC(socket, socket)
|
||||
PHP_CHECK_FUNC(socketpair, socket)
|
||||
PHP_CHECK_FUNC(htonl, socket)
|
||||
PHP_CHECK_FUNC(gethostname, nsl)
|
||||
PHP_CHECK_FUNC(gethostbyaddr, nsl)
|
||||
PHP_CHECK_FUNC(dlopen, dl)
|
||||
PHP_CHECK_FUNC(dlsym, dl)
|
||||
PHP_CHECK_FUNC(socket, socket, network)
|
||||
PHP_CHECK_FUNC(socketpair, socket, network)
|
||||
PHP_CHECK_FUNC(htonl, socket, network)
|
||||
PHP_CHECK_FUNC(gethostname, nsl, network)
|
||||
PHP_CHECK_FUNC(gethostbyaddr, nsl, network)
|
||||
PHP_CHECK_FUNC(dlopen, dl, root)
|
||||
PHP_CHECK_FUNC(dlsym, dl, root)
|
||||
if test "$ac_cv_func_dlopen" = "yes"; then
|
||||
AC_DEFINE(HAVE_LIBDL, 1, [ ])
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue