Skip to content

Commit 7d295cb

Browse files
committed
Check socket extension functions in a single Autoconf macro
1 parent 7b7f97b commit 7d295cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/sockets/config.m4

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ PHP_ARG_ENABLE([sockets],
44
[Enable sockets support])])
55

66
if test "$PHP_SOCKETS" != "no"; then
7-
AC_CHECK_FUNCS([hstrerror if_nametoindex if_indextoname])
8-
AC_CHECK_FUNCS(sockatmark)
7+
AC_CHECK_FUNCS([hstrerror if_nametoindex if_indextoname sockatmark])
98
AC_CHECK_HEADERS([sys/sockio.h linux/filter.h])
109
AC_DEFINE([HAVE_SOCKETS], 1, [ ])
1110

0 commit comments

Comments
 (0)