revert: pidfd_open check
This change confused the pidfd_open check with the existance of NR_pidfd_open
This commit is contained in:
parent
17f94796a9
commit
d9c3e3676d
@ -160,7 +160,7 @@ AC_TRY_COMPILE([#include <errno.h>],
|
|||||||
AC_MSG_RESULT(yes),
|
AC_MSG_RESULT(yes),
|
||||||
AC_MSG_RESULT(no))
|
AC_MSG_RESULT(no))
|
||||||
|
|
||||||
AC_CHECK_FUNCS([pidfd_open], [enable_pidwait=yes], [
|
AC_CHECK_FUNC([pidfd_open], [enable_pidwait=yes], [
|
||||||
AC_MSG_CHECKING([for __NR_pidfd_open])
|
AC_MSG_CHECKING([for __NR_pidfd_open])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
|
||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user