rasmus                                   Fri, 27 Nov 2009 23:41:13 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=291364

Log:
Fix bug #50315

Bug: http://bugs.php.net/50315 (Open) Use of config.cache causes missing 
HAVE_FORK define
      
Changed paths:
    U   php/php-src/branches/PHP_5_2/ext/standard/config.m4
    U   php/php-src/branches/PHP_5_3/ext/standard/config.m4
    U   php/php-src/trunk/ext/standard/config.m4

Modified: php/php-src/branches/PHP_5_2/ext/standard/config.m4
===================================================================
--- php/php-src/branches/PHP_5_2/ext/standard/config.m4 2009-11-27 23:34:36 UTC 
(rev 291363)
+++ php/php-src/branches/PHP_5_2/ext/standard/config.m4 2009-11-27 23:41:13 UTC 
(rev 291364)
@@ -282,15 +282,15 @@
 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

Modified: php/php-src/branches/PHP_5_3/ext/standard/config.m4
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/config.m4 2009-11-27 23:34:36 UTC 
(rev 291363)
+++ php/php-src/branches/PHP_5_3/ext/standard/config.m4 2009-11-27 23:41:13 UTC 
(rev 291364)
@@ -226,15 +226,15 @@
 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

Modified: php/php-src/trunk/ext/standard/config.m4
===================================================================
--- php/php-src/trunk/ext/standard/config.m4    2009-11-27 23:34:36 UTC (rev 
291363)
+++ php/php-src/trunk/ext/standard/config.m4    2009-11-27 23:41:13 UTC (rev 
291364)
@@ -226,15 +226,15 @@
 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

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

Reply via email to