Revert "landlock: check for landlock support in glibc"

This reverts commit c5a052ffa4.

Part of reverting commits with Landlock-related changes.
This commit is contained in:
Kelvin M. Klann 2022-09-05 01:06:38 -03:00
parent 5b206611c0
commit 26c74796f3
4 changed files with 342 additions and 392 deletions

View file

@ -86,7 +86,6 @@ AC_SUBST([HAVE_LANDLOCK])
AC_ARG_ENABLE([landlock],
[AS_HELP_STRING([--enable-landlock], [Landlock self-restriction support])])
AS_IF([test "x$enable_landlock" = "xyes"], [
AC_CHECK_HEADER([linux/landlock.h], [], AC_MSG_ERROR([*** LANDLOCK support is not installed (/usr/include/linux/landlock.h missing) ***]))
HAVE_LANDLOCK="-DHAVE_LANDLOCK"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS"
])