File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -263,19 +263,14 @@ dnl
263
263
dnl Check if there is a support means of creating a new process and defining
264
264
dnl which handles it receives
265
265
dnl
266
- AC_CHECK_FUNCS ( [ fork CreateProcess] , [
267
- php_can_support_proc_open=yes
268
- break
269
- ] ,[
270
- php_can_support_proc_open=no
271
- ] )
266
+ AC_CHECK_FUNCS ( [ fork CreateProcess] ,
267
+ [ php_can_support_proc_open=yes; break;] ,
268
+ [ php_can_support_proc_open=no] )
272
269
AC_MSG_CHECKING ( [ if your OS can spawn processes with inherited handles] )
273
- if test "$php_can_support_proc_open" = "yes"; then
274
- AC_MSG_RESULT ( yes )
275
- AC_DEFINE ( PHP_CAN_SUPPORT_PROC_OPEN ,1 , [ Define if your system has fork/vfork/CreateProcess] )
276
- else
277
- AC_MSG_RESULT ( no )
278
- fi
270
+ AS_VAR_IF ( [ php_can_support_proc_open] , [ yes] ,
271
+ [ AC_DEFINE ( [ PHP_CAN_SUPPORT_PROC_OPEN] , [ 1] ,
272
+ [ Define to 1 if your system has fork/vfork/CreateProcess.] ) ] )
273
+ AC_MSG_RESULT ( [ $php_can_support_proc_open] )
279
274
280
275
PHP_ENABLE_CHROOT_FUNC=no
281
276
case "$PHP_SAPI" in
You can’t perform that action at this time.
0 commit comments