From 53d6ed8a6be74a4d2e11e83bbac780ccd67fc0f6 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 14 Aug 2024 20:05:18 +0200 Subject: [PATCH] Autotools: Fix typo in FPM TCP_CONNECTION_INFO check (#15411) Otherwise, the check even works with such typo, but this fixes the TCP_CONNECTION_INFO check on macOS machines for FPM. --- sapi/fpm/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/fpm/config.m4 b/sapi/fpm/config.m4 index 3648cae63af..97138280c07 100644 --- a/sapi/fpm/config.m4 +++ b/sapi/fpm/config.m4 @@ -235,7 +235,7 @@ AC_DEFUN([PHP_FPM_LQ], AS_VAR_IF([php_cv_have_TCP_INFO], [yes], [AC_DEFINE([HAVE_LQ_TCP_INFO], [1], [Define to 1 if you have 'TCP_INFO'.])]) -AC_CACHE_CHECK([for TCP_CONNECTION_INFO], [php_cv_have_TCP_CONNECTION_INFO] +AC_CACHE_CHECK([for TCP_CONNECTION_INFO], [php_cv_have_TCP_CONNECTION_INFO], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], [ struct tcp_connection_info ti; int x = TCP_CONNECTION_INFO;