summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig S. Bakken <stig@php.net>1999-04-19 13:51:13 +0000
committerStig S. Bakken <stig@php.net>1999-04-19 13:51:13 +0000
commitb515f34dd1d5956aeb758cc3f636c183c8adcc73 (patch)
tree7c13d64b854f96d89f1d665804fffa14d17849e1
parent3912318923c93262b5f0af18c9407a508eecd136 (diff)
downloadphp-git-b515f34dd1d5956aeb758cc3f636c183c8adcc73.tar.gz
removed -lnsl and -lsocket checks from zend
-rw-r--r--Zend/acconfig.h6
-rw-r--r--Zend/config.h.in12
-rw-r--r--Zend/configure.in5
3 files changed, 0 insertions, 23 deletions
diff --git a/Zend/acconfig.h b/Zend/acconfig.h
index bbb425aa64..b5a369dab8 100644
--- a/Zend/acconfig.h
+++ b/Zend/acconfig.h
@@ -126,12 +126,6 @@
/* Define if you have and want to use libcrypt */
#define HAVE_LIBCRYPT 0
-/* Define if you have and want to use libnsl */
-#define HAVE_LIBNSL 0
-
-/* Define if you have and want to use libsocket */
-#define HAVE_LIBSOCKET 0
-
/* Define if you have and want to use libpam */
#define HAVE_LIBPAM 0
diff --git a/Zend/config.h.in b/Zend/config.h.in
index 9a8d7b7b89..1791ba610b 100644
--- a/Zend/config.h.in
+++ b/Zend/config.h.in
@@ -46,18 +46,9 @@
/* define ulong by configure if it is missed (most probably is) */
#undef ulong
-/* Define if you have the resolv library (-lresolv). */
-#define HAVE_LIBRESOLV 0
-
/* Define if you have libdl (used for dynamic linking) */
#define HAVE_LIBDL 0
-/* Define if you have and want to use libnsl */
-#define HAVE_LIBNSL 0
-
-/* Define if you have and want to use libsocket */
-#define HAVE_LIBSOCKET 0
-
#undef ZEND_DEBUG
/* Define if you want to enable memory limit support */
@@ -269,6 +260,3 @@
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
-
-/* Define if you have the resolv library (-lresolv). */
-#undef HAVE_LIBRESOLV
diff --git a/Zend/configure.in b/Zend/configure.in
index 7a126467a5..ff5bad8c9f 100644
--- a/Zend/configure.in
+++ b/Zend/configure.in
@@ -70,11 +70,6 @@ if test -d /usr/pkg/include -a -d /usr/pkg/lib ; then
LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
fi
-AC_CHECK_LIB(c, socket, [:], [
- AC_CHECK_LIB(socket, socket, [
- LIBS="-lsocket $LIBS"
- AC_DEFINE(HAVE_LIBSOCKET) ], []) ])
-
AC_CHECK_LIB(c, dlopen, [
# fake it
AC_DEFINE(HAVE_LIBDL) ], [