php-src/ext/sockets/config.m4

16 lines
331 B
Plaintext
Raw Normal View History

2001-11-30 19:00:13 +00:00
dnl
dnl $Id$
2001-11-30 19:00:13 +00:00
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