From: Rasmus Lerdorf Date: Fri, 27 Nov 2009 23:41:13 +0000 (+0000) Subject: Fix bug #50315 X-Git-Tag: php-5.4.0alpha1~191^2~2332 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca86ded7072db384aba234fb04bc620466eba071;p=php Fix bug #50315 --- diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 17448936ed..1b8421b78e 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -226,15 +226,15 @@ dnl dnl Check if there is a support means of creating a new process dnl and defining which handles it receives dnl -AC_CACHE_VAL(php_cv_can_support_proc_open,[ AC_CHECK_FUNCS(fork CreateProcess, [ - php_cv_can_support_proc_open=yes + php_can_support_proc_open=yes break ],[ - php_cv_can_support_proc_open=no -])]) + php_can_support_proc_open=no +]) + AC_MSG_CHECKING([if your OS can spawn processes with inherited handles]) -if test "$php_cv_can_support_proc_open" = "yes"; then +if test "$php_can_support_proc_open" = "yes"; then AC_MSG_RESULT(yes) AC_DEFINE(PHP_CAN_SUPPORT_PROC_OPEN,1, [Define if your system has fork/vfork/CreateProcess]) else