1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

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.
This commit is contained in:
Peter Kokot
2023-09-19 10:52:34 -07:00
committed by GitHub
parent 9652889b43
commit 186a07f044

View File

@@ -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?])