summaryrefslogtreecommitdiff
path: root/ext/sockets/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/config.m4')
-rw-r--r--ext/sockets/config.m421
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/sockets/config.m4 b/ext/sockets/config.m4
deleted file mode 100644
index ed5a318f21..0000000000
--- a/ext/sockets/config.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-dnl
-dnl $Id$
-dnl
-
-PHP_ARG_ENABLE(sockets, whether to enable sockets support,
-[ --enable-sockets Enable sockets support])
-
-if test "$PHP_SOCKETS" != "no"; then
-
- AC_CHECK_FUNCS([hstrerror])
- AC_CHECK_HEADERS([netdb.h netinet/tcp.h sys/un.h errno.h])
- AC_TRY_COMPILE([
-#include <sys/types.h>
-#include <sys/socket.h>
- ], [static struct msghdr tp; int n = (int) tp.msg_flags; return n],[],
- [AC_DEFINE(MISSING_MSGHDR_MSGFLAGS, 1, [ ])]
- )
- AC_DEFINE([HAVE_SOCKETS], 1, [ ])
-
- PHP_NEW_EXTENSION([sockets], [sockets.c], [$ext_shared])
-fi