Skip to content

Commit b515f34

Browse files
committed
removed -lnsl and -lsocket checks from zend
1 parent 3912318 commit b515f34

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

Zend/acconfig.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@
126126
/* Define if you have and want to use libcrypt */
127127
#define HAVE_LIBCRYPT 0
128128

129-
/* Define if you have and want to use libnsl */
130-
#define HAVE_LIBNSL 0
131-
132-
/* Define if you have and want to use libsocket */
133-
#define HAVE_LIBSOCKET 0
134-
135129
/* Define if you have and want to use libpam */
136130
#define HAVE_LIBPAM 0
137131

Zend/config.h.in

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,9 @@
4646
/* define ulong by configure if it is missed (most probably is) */
4747
#undef ulong
4848

49-
/* Define if you have the resolv library (-lresolv). */
50-
#define HAVE_LIBRESOLV 0
51-
5249
/* Define if you have libdl (used for dynamic linking) */
5350
#define HAVE_LIBDL 0
5451

55-
/* Define if you have and want to use libnsl */
56-
#define HAVE_LIBNSL 0
57-
58-
/* Define if you have and want to use libsocket */
59-
#define HAVE_LIBSOCKET 0
60-
6152
#undef ZEND_DEBUG
6253

6354
/* Define if you want to enable memory limit support */
@@ -269,6 +260,3 @@
269260

270261
/* Define if you have the m library (-lm). */
271262
#undef HAVE_LIBM
272-
273-
/* Define if you have the resolv library (-lresolv). */
274-
#undef HAVE_LIBRESOLV

Zend/configure.in

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ if test -d /usr/pkg/include -a -d /usr/pkg/lib ; then
7070
LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
7171
fi
7272

73-
AC_CHECK_LIB(c, socket, [:], [
74-
AC_CHECK_LIB(socket, socket, [
75-
LIBS="-lsocket $LIBS"
76-
AC_DEFINE(HAVE_LIBSOCKET) ], []) ])
77-
7873
AC_CHECK_LIB(c, dlopen, [
7974
# fake it
8075
AC_DEFINE(HAVE_LIBDL) ], [

0 commit comments

Comments
 (0)