mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-12 07:47:02 +08:00
configure: use seccomp where it is available
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user