version 1.1.1.2, 2012/05/29 12:34:43
|
version 1.1.1.3, 2013/10/14 08:02:34
|
Line 358 else
|
Line 358 else
|
AC_MSG_RESULT(no) |
AC_MSG_RESULT(no) |
fi |
fi |
|
|
if test "$PHP_SAPI" = "cgi" || test "$PHP_SAPI" = "cli" || test "$PHP_SAPI" = "embed"; then | PHP_ENABLE_CHROOT_FUNC=no |
| case "$PHP_SAPI" in |
| embed) |
| PHP_ENABLE_CHROOT_FUNC=yes |
| ;; |
| |
| none) |
| for PROG in $PHP_BINARIES; do |
| case "$PROG" in |
| cgi|cli) |
| PHP_ENABLE_CHROOT_FUNC=yes |
| ;; |
| |
| *) |
| PHP_ENABLE_CHROOT_FUNC=no |
| break |
| ;; |
| esac |
| done |
| ;; |
| esac |
| |
| if test "$PHP_ENABLE_CHROOT_FUNC" = "yes"; then |
AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function]) |
AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function]) |
fi |
fi |
|
|