mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
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.
This commit is contained in:
@@ -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 <netinet/tcp.h>], [
|
||||
struct tcp_connection_info ti;
|
||||
int x = TCP_CONNECTION_INFO;
|
||||
|
||||
Reference in New Issue
Block a user