configure: use seccomp where it is available

This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-15 08:28:08 +01:00
parent a07be822ac
commit 53b9bbe603

View File

@@ -283,9 +283,6 @@ AC_ARG_ENABLE(seccomp,
if [ test "$seccomp_enabled" = "yes" ];then
AC_LIB_HAVE_LINKFLAGS(seccomp,, [#include <seccomp.h>
#if !defined(__i386__) && !defined(__arm__) && !defined(__x86_64__)
# error 1
#endif
], [seccomp_init(0);])
if [ test -z "$LIBSECCOMP" ];then
seccomp_enabled="no"