We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c925028 commit 32c6a0bCopy full SHA for 32c6a0b
configure.ac
@@ -342,13 +342,13 @@ dnl Some systems (OpenServer 5) dislike -lsocket -lnsl, so we try to avoid -lnsl
342
dnl checks, if we already have the functions which are usually in libnsl. Also,
343
dnl uClibc will bark at linking with glibc's libnsl.
344
345
-PHP_CHECK_FUNC(socket, socket)
346
-PHP_CHECK_FUNC(socketpair, socket)
347
-PHP_CHECK_FUNC(htonl, socket)
348
-PHP_CHECK_FUNC(gethostname, nsl)
349
-PHP_CHECK_FUNC(gethostbyaddr, nsl)
350
-PHP_CHECK_FUNC(dlopen, dl)
351
-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)
352
if test "$ac_cv_func_dlopen" = "yes"; then
353
AC_DEFINE(HAVE_LIBDL, 1, [ ])
354
fi
0 commit comments