1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Check socket extension functions in a single Autoconf macro

This commit is contained in:
Peter Kokot
2024-02-26 12:32:43 +01:00
parent 7b7f97b518
commit 7d295cbefb

View File

@@ -4,8 +4,7 @@ PHP_ARG_ENABLE([sockets],
[Enable sockets support])])
if test "$PHP_SOCKETS" != "no"; then
AC_CHECK_FUNCS([hstrerror if_nametoindex if_indextoname])
AC_CHECK_FUNCS(sockatmark)
AC_CHECK_FUNCS([hstrerror if_nametoindex if_indextoname sockatmark])
AC_CHECK_HEADERS([sys/sockio.h linux/filter.h])
AC_DEFINE([HAVE_SOCKETS], 1, [ ])