From a5c62dfa5955ad91aa6592c0a5443b93f8432bf3 Mon Sep 17 00:00:00 2001 From: startx2017 Date: Tue, 1 Sep 2020 09:54:26 -0400 Subject: removed --disable-seccomp from ./configure --- configure.ac | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index feb0b38a6..0524651fb 100644 --- a/configure.ac +++ b/configure.ac @@ -76,14 +76,6 @@ AS_IF([test "x$enable_private_home" != "xno"], [ AC_SUBST(HAVE_PRIVATE_HOME) ]) -HAVE_SECCOMP="" -AC_ARG_ENABLE([seccomp], - AS_HELP_STRING([--disable-seccomp], [disable seccomp])) -AS_IF([test "x$enable_seccomp" != "xno"], [ - HAVE_SECCOMP="-DHAVE_SECCOMP" - AC_SUBST(HAVE_SECCOMP) -]) - HAVE_CHROOT="" AC_ARG_ENABLE([chroot], AS_HELP_STRING([--disable-chroot], [disable chroot])) @@ -196,8 +188,7 @@ AS_IF([test "x$enable_selinux" = "xyes"], [ # checking pthread library AC_CHECK_LIB([pthread], [main], [], AC_MSG_ERROR([*** POSIX thread support not installed ***])) AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR([*** POSIX thread support not installed ***])) -AC_CHECK_HEADER([linux/seccomp.h], HAVE_SECCOMP_H="-DHAVE_SECCOMP_H", HAVE_SECCOMP_H="") -AC_SUBST(HAVE_SECCOMP_H) +AC_CHECK_HEADER([linux/seccomp.h],,AC_MSG_ERROR([*** SECCOMP support is not installed (/usr/include/linux/seccomp.h missing) ***])) # set sysconfdir if test "$prefix" = /usr; then @@ -214,8 +205,6 @@ echo echo "Configuration options:" echo " prefix: $prefix" echo " sysconfdir: $sysconfdir" -echo " seccomp: $HAVE_SECCOMP" -echo " : $HAVE_SECCOMP_H" echo " apparmor: $HAVE_APPARMOR" echo " global config: $HAVE_GLOBALCFG" echo " chroot: $HAVE_CHROOT" -- cgit v1.2.3-70-g09d2