summaryrefslogtreecommitdiff
path: root/ext/standard/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/config.m4')
-rw-r--r--ext/standard/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 621a84785f..86ceb9d5be 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -304,7 +304,7 @@ dnl AC_CHECK_FUNCS(getopt_long getopt_long_only)
AC_CHECK_FUNCS(glob strfmon nice)
-if test "$PHP_SAPI" = "cgi" -o "$PHP_SAPI" = "cli" -o "$PHP_SAPI" = "embed"; then
+if test "$PHP_SAPI" = "cgi" || test "$PHP_SAPI" = "cli" || test "$PHP_SAPI" = "embed"; then
AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function])
fi