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.m48
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/sockets/config.m4 b/ext/sockets/config.m4
index a0a5be72a..8ebd25b92 100644
--- a/ext/sockets/config.m4
+++ b/ext/sockets/config.m4
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.15.4.1 2005/09/23 09:54:31 hyanantha Exp $
+dnl $Id: config.m4,v 1.15.4.1.2.1 2007/07/22 22:18:41 jani Exp $
dnl
PHP_ARG_ENABLE(sockets, whether to enable sockets support,
@@ -18,7 +18,7 @@ if test "$PHP_SOCKETS" != "no"; then
AC_DEFINE(HAVE_CMSGHDR,1,[Whether you have struct cmsghdr])
fi
- AC_CHECK_FUNCS([hstrerror])
+ AC_CHECK_FUNCS([hstrerror socketpair])
AC_CHECK_HEADERS([netdb.h netinet/tcp.h sys/un.h errno.h])
AC_TRY_COMPILE([
#include <sys/types.h>
@@ -30,7 +30,3 @@ if test "$PHP_SOCKETS" != "no"; then
PHP_NEW_EXTENSION([sockets], [sockets.c], [$ext_shared])
fi
-
-PHP_CHECK_FUNC(socketpair)
-PHP_CHECK_FUNC(gethostbyname2)
-