File tree 1 file changed +2
-13
lines changed
1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,6 @@ AC_DEFUN([AC_FPM_STDLIBS],
12
12
AC_SEARCH_LIBS ( inet_addr , nsl )
13
13
] )
14
14
15
- AC_DEFUN ( [ AC_FPM_SETPFLAGS] ,
16
- [
17
- AC_MSG_CHECKING ( [ for setpflags] )
18
-
19
- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ #include <priv.h>] ] , [ [ setpflags(0, 0);] ] ) ] , [
20
- AC_DEFINE ( [ HAVE_SETPFLAGS] , 1 , [ do we have setpflags?] )
21
- AC_MSG_RESULT ( [ yes] )
22
- ] , [
23
- AC_MSG_RESULT ( [ no] )
24
- ] )
25
- ] )
26
-
27
15
AC_DEFUN ( [ AC_FPM_CLOCK] ,
28
16
[
29
17
have_clock_gettime=no
@@ -507,7 +495,6 @@ if test "$PHP_FPM" != "no"; then
507
495
AC_MSG_RESULT ( $PHP_FPM )
508
496
509
497
AC_FPM_STDLIBS
510
- AC_FPM_SETPFLAGS
511
498
AC_FPM_CLOCK
512
499
AC_FPM_TRACE
513
500
AC_FPM_BUILTIN_ATOMIC
@@ -520,6 +507,8 @@ if test "$PHP_FPM" != "no"; then
520
507
AC_FPM_EPOLL
521
508
AC_FPM_SELECT
522
509
510
+ AC_CHECK_HEADER ( [ priv.h] , [ AC_CHECK_FUNCS ( [ setpflags] ) ] )
511
+
523
512
PHP_ARG_WITH([ fpm-user] ,,
524
513
[ AS_HELP_STRING ( [ [ --with-fpm-user[ =USER] ] ] ,
525
514
[ Set the user for php-fpm to run as. (default: nobody)] ) ] ,
You can’t perform that action at this time.
0 commit comments