From 186a07f04454f433b3bc4cf9c445644554585154 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 19 Sep 2023 10:52:34 -0700 Subject: [PATCH] Fix too many arguments in FPM ACL compile check (#12242) The AC_COMPILE_IFELSE takes 3 arguments unlike AC_RUN_IFELSE which needs the 4th argument for cross-compilation. --- sapi/fpm/config.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sapi/fpm/config.m4 b/sapi/fpm/config.m4 index 77dc32c56a908..c3e409947158d 100644 --- a/sapi/fpm/config.m4 +++ b/sapi/fpm/config.m4 @@ -591,7 +591,7 @@ if test "$PHP_FPM" != "no"; then return 0; } ]])], [ - AC_CHECK_LIB(acl, acl_free, + AC_CHECK_LIB(acl, acl_free, [PHP_ADD_LIBRARY(acl) have_fpm_acl=yes AC_MSG_RESULT([yes]) @@ -615,12 +615,12 @@ if test "$PHP_FPM" != "no"; then ], [ have_fpm_acl=no AC_MSG_RESULT([no]) - ], [AC_MSG_RESULT([skipped])]) + ], [AC_MSG_RESULT([skipped (cross-compiling)])]) ]) ], [ have_fpm_acl=no AC_MSG_RESULT([no]) - ], [AC_MSG_RESULT([skipped (cross-compiling)])]) + ]) if test "$have_fpm_acl" = "yes"; then AC_DEFINE([HAVE_FPM_ACL], 1, [do we have acl support?])