diff options
-rw-r--r-- | configure.ac | 14 |
1 files 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 |