[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/ext/standard/config.m4 branches/PHP_5_3/ext/standard/config.m4 trunk/ext/standard/config.m4

2009-11-27 Thread Rasmus Lerdorf
rasmus   Fri, 27 Nov 2009 23:41:13 +

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.m42009-11-27 23:34:36 UTC (rev 
291363)
+++ php/php-src/trunk/ext/standard/config.m42009-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

[PHP-CVS] svn: /php/php-src/branches/PHP_5_2/ext/standard/ config.m4

2009-11-25 Thread Rasmus Lerdorf
rasmus   Wed, 25 Nov 2009 16:53:23 +

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

Log:
Missing _cv_ here

Changed paths:
U   php/php-src/branches/PHP_5_2/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-25 16:01:49 UTC 
(rev 291317)
+++ php/php-src/branches/PHP_5_2/ext/standard/config.m4 2009-11-25 16:53:23 UTC 
(rev 291318)
@@ -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_can_support_proc_open,[
+AC_CACHE_VAL(php_cv_can_support_proc_open,[
 AC_CHECK_FUNCS(fork CreateProcess, [
-  php_can_support_proc_open=yes
+  php_cv_can_support_proc_open=yes
   break
 ],[
-  php_can_support_proc_open=no
+  php_cv_can_support_proc_open=no
 ])])
 AC_MSG_CHECKING([if your OS can spawn processes with inherited handles])
-if test "$php_can_support_proc_open" = "yes"; then
+if test "$php_cv_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

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/ext/standard/config.m4 branches/PHP_5_2/scripts/phpize.m4 branches/PHP_5_3/ext/standard/config.m4 branches/PHP_5_3/scripts/phpize.m4 trunk/ext/standard/co

2009-11-24 Thread Rasmus Lerdorf
rasmus   Wed, 25 Nov 2009 01:36:41 +

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

Log:
Missed a few - now it really works with autoconf-2.64+

Changed paths:
U   php/php-src/branches/PHP_5_2/ext/standard/config.m4
U   php/php-src/branches/PHP_5_2/scripts/phpize.m4
U   php/php-src/branches/PHP_5_3/ext/standard/config.m4
U   php/php-src/branches/PHP_5_3/scripts/phpize.m4
U   php/php-src/trunk/ext/standard/config.m4
U   php/php-src/trunk/scripts/phpize.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-25 01:30:06 UTC 
(rev 291283)
+++ php/php-src/branches/PHP_5_2/ext/standard/config.m4 2009-11-25 01:36:41 UTC 
(rev 291284)
@@ -1,6 +1,6 @@
 dnl $Id$ -*- autoconf -*-

-divert(3)dnl
+divert(1003)dnl

 dnl
 dnl Check if flush should be called explicitly after buffered io
@@ -205,7 +205,7 @@
 AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice 
fpclass isinf isnan)
 AC_FUNC_FNMATCH

-divert(5)dnl
+divert(1005)dnl

 dnl
 dnl Check for regex library type

Modified: php/php-src/branches/PHP_5_2/scripts/phpize.m4
===
--- php/php-src/branches/PHP_5_2/scripts/phpize.m4  2009-11-25 01:30:06 UTC 
(rev 291283)
+++ php/php-src/branches/PHP_5_2/scripts/phpize.m4  2009-11-25 01:36:41 UTC 
(rev 291284)
@@ -1,6 +1,6 @@
 dnl This file becomes configure.in for self-contained extensions.

-divert(1)
+divert(1001)

 AC_PREREQ(2.13)
 AC_INIT(config.m4)

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-25 01:30:06 UTC 
(rev 291283)
+++ php/php-src/branches/PHP_5_3/ext/standard/config.m4 2009-11-25 01:36:41 UTC 
(rev 291284)
@@ -1,6 +1,6 @@
 dnl $Id$ -*- autoconf -*-

-divert(3)dnl
+divert(1003)dnl

 dnl
 dnl Check if flush should be called explicitly after buffered io
@@ -220,7 +220,7 @@
 AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice 
fpclass isinf isnan)
 AC_FUNC_FNMATCH

-divert(5)dnl
+divert(1005)dnl

 dnl
 dnl Check if there is a support means of creating a new process

Modified: php/php-src/branches/PHP_5_3/scripts/phpize.m4
===
--- php/php-src/branches/PHP_5_3/scripts/phpize.m4  2009-11-25 01:30:06 UTC 
(rev 291283)
+++ php/php-src/branches/PHP_5_3/scripts/phpize.m4  2009-11-25 01:36:41 UTC 
(rev 291284)
@@ -1,6 +1,6 @@
 dnl This file becomes configure.in for self-contained extensions.

-divert(1)
+divert(1001)

 AC_PREREQ(2.13)
 AC_INIT(config.m4)

Modified: php/php-src/trunk/ext/standard/config.m4
===
--- php/php-src/trunk/ext/standard/config.m42009-11-25 01:30:06 UTC (rev 
291283)
+++ php/php-src/trunk/ext/standard/config.m42009-11-25 01:36:41 UTC (rev 
291284)
@@ -1,6 +1,6 @@
 dnl $Id$ -*- autoconf -*-

-divert(3)dnl
+divert(1003)dnl

 dnl
 dnl Check if flush should be called explicitly after buffered io
@@ -220,7 +220,7 @@
 AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice 
fpclass isinf isnan)
 AC_FUNC_FNMATCH

-divert(5)dnl
+divert(1005)dnl

 dnl
 dnl Check if there is a support means of creating a new process

Modified: php/php-src/trunk/scripts/phpize.m4
===
--- php/php-src/trunk/scripts/phpize.m4 2009-11-25 01:30:06 UTC (rev 291283)
+++ php/php-src/trunk/scripts/phpize.m4 2009-11-25 01:36:41 UTC (rev 291284)
@@ -1,6 +1,6 @@
 dnl This file becomes configure.in for self-contained extensions.

-divert(1)
+divert(1001)

 AC_PREREQ(2.13)
 AC_INIT(config.m4)

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