2001-11-30 19:00:13 +00:00
|
|
|
dnl
|
2000-07-03 04:35:57 +00:00
|
|
|
dnl $Id$
|
2001-11-30 19:00:13 +00:00
|
|
|
dnl
|
2000-07-03 04:35:57 +00:00
|
|
|
|
|
|
|
PHP_ARG_ENABLE(sockets, whether to enable sockets support,
|
2000-10-02 17:36:01 +00:00
|
|
|
[ --enable-sockets Enable sockets support])
|
2000-07-03 04:35:57 +00:00
|
|
|
|
|
|
|
if test "$PHP_SOCKETS" != "no"; then
|
|
|
|
|
2001-06-12 04:42:01 +00:00
|
|
|
AC_CHECK_FUNCS(hstrerror)
|
2001-04-04 00:06:49 +00:00
|
|
|
AC_CHECK_HEADERS(netdb.h netinet/tcp.h sys/un.h errno.h)
|
2000-07-03 04:35:57 +00:00
|
|
|
AC_DEFINE(HAVE_SOCKETS, 1, [ ])
|
2001-04-04 00:06:49 +00:00
|
|
|
|
2002-03-12 16:44:00 +00:00
|
|
|
PHP_NEW_EXTENSION(sockets, sockets.c, $ext_shared)
|
2000-07-03 04:35:57 +00:00
|
|
|
fi
|