diff options
author | netblue30 <netblue30@protonmail.com> | 2022-09-04 10:51:26 -0400 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2022-09-04 10:51:26 -0400 |
commit | c5a052ffa4e2ccaf240635db116a49986808a2b6 (patch) | |
tree | 14a9e860dc00cbb16cd6ec14602e4709c63caba8 /configure.ac | |
parent | fix syntax in configure.ac (diff) | |
download | firejail-c5a052ffa4e2ccaf240635db116a49986808a2b6.tar.gz firejail-c5a052ffa4e2ccaf240635db116a49986808a2b6.tar.zst firejail-c5a052ffa4e2ccaf240635db116a49986808a2b6.zip |
landlock: check for landlock support in glibc
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e06d212ce..58a399597 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -86,6 +86,7 @@ AC_SUBST([HAVE_LANDLOCK]) | |||
86 | AC_ARG_ENABLE([landlock], | 86 | AC_ARG_ENABLE([landlock], |
87 | [AS_HELP_STRING([--enable-landlock], [Landlock self-restriction support])]) | 87 | [AS_HELP_STRING([--enable-landlock], [Landlock self-restriction support])]) |
88 | AS_IF([test "x$enable_landlock" = "xyes"], [ | 88 | AS_IF([test "x$enable_landlock" = "xyes"], [ |
89 | AC_CHECK_HEADER([linux/landlock.h], [], AC_MSG_ERROR([*** LANDLOCK support is not installed (/usr/include/linux/landlock.h missing) ***])) | ||
89 | HAVE_LANDLOCK="-DHAVE_LANDLOCK" | 90 | HAVE_LANDLOCK="-DHAVE_LANDLOCK" |
90 | EXTRA_LDFLAGS="$EXTRA_LDFLAGS" | 91 | EXTRA_LDFLAGS="$EXTRA_LDFLAGS" |
91 | ]) | 92 | ]) |