From c7bac30989d99225a726cdd275ce713f637f17fc Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 14 Aug 2024 19:03:40 +0200 Subject: [PATCH] Autotools: Fix typo in FPM TCP_CONNECTION_INFO check 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 3648cae63af10..97138280c0708 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;