aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-09-04 10:51:26 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2022-09-04 10:51:26 -0400
commitc5a052ffa4e2ccaf240635db116a49986808a2b6 (patch)
tree14a9e860dc00cbb16cd6ec14602e4709c63caba8 /configure.ac
parentfix syntax in configure.ac (diff)
downloadfirejail-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.ac1
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])
86AC_ARG_ENABLE([landlock], 86AC_ARG_ENABLE([landlock],
87 [AS_HELP_STRING([--enable-landlock], [Landlock self-restriction support])]) 87 [AS_HELP_STRING([--enable-landlock], [Landlock self-restriction support])])
88AS_IF([test "x$enable_landlock" = "xyes"], [ 88AS_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])