]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - configure.ac
Merge branch 'PR/libsmartcols-cell-data' of github.com:karelzak/util-linux-work
[thirdparty/util-linux.git] / configure.ac
index b6941cd2fa3081ceb42587eeffafeb258fb38633..6ed1f7822803d7e55942534446019454cc67d6e3 100644 (file)
@@ -183,9 +183,6 @@ AC_SUBST([BSD_WARN_CFLAGS])
 UL_WARN_ADD([-Wno-cast-function-type], [PYTHON_WARN_CFLAGS])
 AC_SUBST([PYTHON_WARN_CFLAGS])
 
-UL_WARN_ADD([-Wno-unused-parameter], [NO_UNUSED_WARN_CFLAGS])
-AC_SUBST([NO_UNUSED_WARN_CFLAGS])
-
 
 AC_ARG_ENABLE([asan],
   AS_HELP_STRING([--enable-asan], [compile with Address Sanitizer]),
@@ -328,6 +325,7 @@ AC_CHECK_HEADERS([ \
        linux/falloc.h \
        linux/fd.h \
        linux/fiemap.h \
+       linux/landlock.h \
        linux/kcmp.h \
        linux/net_namespace.h \
        linux/nsfs.h \
@@ -591,6 +589,9 @@ AC_CHECK_FUNCS([ \
        getttynam \
        inotify_init \
        jrand48 \
+       landlock_create_ruleset \
+       landlock_add_rule \
+       landlock_restrict_self \
        lchown \
        lgetxattr \
        llistxattr \
@@ -609,6 +610,7 @@ AC_CHECK_FUNCS([ \
        posix_fadvise \
        prctl \
        qsort_r \
+       reallocarray \
        rpmatch \
        scandirat \
        sched_setattr \
@@ -648,6 +650,7 @@ AC_CHECK_FUNCS([reboot], [have_reboot=yes],[have_reboot=no])
 AC_CHECK_FUNCS([updwtmpx updwtmpx], [have_gnu_utmpx=yes], [have_gnu_utmpx=no])
 
 AM_CONDITIONAL([HAVE_OPENAT], [test "x$have_openat" = xyes])
+AM_CONDITIONAL([HAVE_LINUX_LANDLOCK_H], [test "x$ac_cv_header_linux_landlock_h" = xyes])
 
 have_setns_syscall="yes"
 UL_CHECK_SYSCALL([setns])