Codebase list arping / d0133a4
configure: error out if default seccomp requested but not present Thomas Habets 2 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3434 AC_SEARCH_LIBS([clock_gettime], [rt])
3535
3636 AC_ARG_ENABLE([seccomp], [Enable seccomp priv drops by default (-z to turn on, -Z for off)], [
37 if test "$ac_cv_lib_seccomp_seccomp_init" = "no"; then
38 AC_MSG_ERROR([--enable-seccomp given but seccomp libraries not present])
39 fi
3740 AC_DEFINE([DEFAULT_SECCOMP], [1], [Enable seccomp by default])
3841 ], [
3942 AC_DEFINE([DEFAULT_SECCOMP], [0], [Disable seccomp by default])