summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2009-11-27 23:41:13 +0000
committerRasmus Lerdorf <rasmus@php.net>2009-11-27 23:41:13 +0000
commitc4ec9018f5f1e231e514731b6ead33ea098890ee (patch)
tree62fdd7620cb0963e2c8778e3ac2512eb0a4463a8
parentabb6a035d396cf72c5655c29070fc23f375a3489 (diff)
downloadphp-git-c4ec9018f5f1e231e514731b6ead33ea098890ee.tar.gz
Fix bug #50315
-rw-r--r--ext/standard/config.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 6009634b81..510dd471ba 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -282,15 +282,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