mirror of
https://github.com/php/php-src.git
synced 2024-12-22 16:30:02 +08:00
679b914dc0
already checked in configure.in
14 lines
331 B
Plaintext
14 lines
331 B
Plaintext
dnl $Id$
|
|
dnl config.m4 for extension sockets
|
|
|
|
PHP_ARG_ENABLE(sockets, whether to enable sockets support,
|
|
[ --enable-sockets Enable sockets support])
|
|
|
|
if test "$PHP_SOCKETS" != "no"; then
|
|
|
|
AC_CHECK_HEADERS(netdb.h netinet/tcp.h sys/un.h errno.h)
|
|
AC_DEFINE(HAVE_SOCKETS, 1, [ ])
|
|
|
|
PHP_EXTENSION(sockets, $ext_shared)
|
|
fi
|