Don't enable SECCOMP by default on !Linux systems.
Signed-off-by: Gleb Popov <6yearold@gmail.com> Change-Id: Ib971a94d3ff18353cdb2a2024f78875e9ff6d8b5pull/3252/head
parent
913ba9318a
commit
b88708aac3
|
@ -1065,7 +1065,7 @@ AS_IF([test "$ENABLE_IOSAPP" != "true" -a "$ENABLE_ANDROIDAPP" != "true"],
|
|||
[],
|
||||
[AC_MSG_ERROR([header Poco/Net/WebSocket.h not found, perhaps you want to use --with-poco-includes])])
|
||||
DISABLE_SECCOMP=
|
||||
if test "$enable_seccomp" != "no"; then
|
||||
if test "$enable_seccomp" != "no" -a `uname -s` = "Linux"; then
|
||||
AC_CHECK_HEADERS([linux/seccomp.h],
|
||||
[],
|
||||
[AC_MSG_ERROR([critical security header linux/seccomp.h not found. If kernel on target system does not support SECCOMP, you can use --disable-seccomp, but mind the security consequences.])])
|
||||
|
|
Loading…
Reference in New Issue