wez             Thu Feb 13 08:37:05 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/standard  config.m4 
  Log:
  MFH: cli should be allowed to use chroot() function.
  
  
Index: php4/ext/standard/config.m4
diff -u php4/ext/standard/config.m4:1.47 php4/ext/standard/config.m4:1.47.2.1
--- php4/ext/standard/config.m4:1.47    Wed Oct 30 10:11:11 2002
+++ php4/ext/standard/config.m4 Thu Feb 13 08:37:05 2003
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.47 2002/10/30 15:11:11 hholzgra Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.47.2.1 2003/02/13 13:37:05 wez Exp $ -*- sh -*-
 
 divert(3)dnl
 
@@ -233,7 +233,7 @@
 
 AC_CHECK_FUNCS(glob strfmon)
 
-if test "$PHP_SAPI" = "cgi"; then
+if test "$PHP_SAPI" = "cgi" -o "$PHP_SAPI" = "cli" -o "$PHP_SAPI" = "embed"; then
   AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function])
 fi
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to