Skip to content

Commit

Permalink
Allow actually disabling landlock support. Fixes undefined macro
Browse files Browse the repository at this point in the history
HAVE_LANDLOCK when --disable-landlock is passed.
  • Loading branch information
tobhe authored and cjeker committed Sep 12, 2023
1 parent b43f79a commit 6cf0102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ if test "x$enable_landlock" = "xyes"; then
if test "x$ac_cv_header_linux_landlock_h" = xyes; then
AC_DEFINE([HAVE_LANDLOCK])
fi
AM_CONDITIONAL([HAVE_LANDLOCK], [test "x$ac_cv_header_linux_landlock_h" = xyes])
fi
AM_CONDITIONAL([HAVE_LANDLOCK], [test "x$ac_cv_header_linux_landlock_h" = xyes])

AC_ARG_WITH([user],
AS_HELP_STRING([--with-user=user],
Expand Down

0 comments on commit 6cf0102

Please sign in to comment.