aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
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])