File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -330,18 +330,6 @@ AC_DEFUN([AC_FPM_LQ],
330
330
fi
331
331
] )
332
332
333
- AC_DEFUN ( [ AC_FPM_TIMES] ,
334
- [
335
- AC_MSG_CHECKING ( [ for times] )
336
-
337
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ #include <sys/times.h>] ] , [ [ struct tms t; times(&t);] ] ) ] ,[
338
- AC_DEFINE ( [ HAVE_TIMES] , 1 , [ do we have times?] )
339
- AC_MSG_RESULT ( [ yes] )
340
- ] , [
341
- AC_MSG_RESULT ( [ no] )
342
- ] )
343
- ] )
344
-
345
333
AC_DEFUN ( [ AC_FPM_KQUEUE] ,
346
334
[
347
335
AC_MSG_CHECKING ( [ for kqueue] )
@@ -479,7 +467,6 @@ if test "$PHP_FPM" != "no"; then
479
467
AC_FPM_TRACE
480
468
AC_FPM_BUILTIN_ATOMIC
481
469
AC_FPM_LQ
482
- AC_FPM_TIMES
483
470
AC_FPM_KQUEUE
484
471
AC_FPM_PORT
485
472
AC_FPM_DEVPOLL
@@ -489,6 +476,7 @@ if test "$PHP_FPM" != "no"; then
489
476
AC_CHECK_FUNCS ( [ clearenv setproctitle setproctitle_fast] )
490
477
491
478
AC_CHECK_HEADER ( [ priv.h] , [ AC_CHECK_FUNCS ( [ setpflags] ) ] )
479
+ AC_CHECK_HEADER ( [ sys/times.h] , [ AC_CHECK_FUNCS ( [ times] ) ] )
492
480
493
481
PHP_ARG_WITH([ fpm-user] ,,
494
482
[ AS_HELP_STRING ( [ [ --with-fpm-user[ =USER] ] ] ,
You can’t perform that action at this time.
0 commit comments