mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +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:
@@ -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?])
|
||||
|
||||
Reference in New Issue
Block a user