blob: 10cdae12299503dd3c65d14bca8aed0ba9834b48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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_DEFINE(HAVE_SOCKETS, 1, [ ])
PHP_EXTENSION(sockets, $ext_shared)
fi
|