From 32c6a0bbbbeddc93d14273326ecd3604961d3f0d Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 16 Aug 2020 17:30:24 +0000 Subject: further network libraries detection for Haiku system. Closes GH-5997. --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 45614f8581..116bb6031f 100644 --- a/configure.ac +++ b/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 -- cgit v1.2.1