From 955211f040a2e2cb80b2838cbfafdc90d3e045ee Mon Sep 17 00:00:00 2001 From: Michal Rakowski Date: Fri, 10 Sep 2021 17:45:51 +0200 Subject: [PATCH] update autoconf --- bacula/autoconf/config.h.in | 6 ++++++ bacula/autoconf/configure.in | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index 15b8f7e66..f8abfaeb7 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -1125,6 +1125,12 @@ /* Define to 1 if you have NODUMP file flag supported */ #undef HAVE_NODUMP +/* Define to 1 if you have APPEND file flag supported */ +#undef HAVE_APPEND_FL + +/* Define to 1 if you have IMMUTABLE file flag supported */ +#undef HAVE_IMMUTABLE_FL + /* Define to 1 if you have working ldap libraries */ #undef HAVE_LDAP diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 12fbde516..6391cf9e0 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -2567,6 +2567,20 @@ AC_CHECK_DECL( [#include ] ) +AC_CHECK_DECL( + FS_APPEND_FL, + AC_DEFINE(HAVE_APPEND_FL, 1, [Set if append_only file flag can be used]), + , + [#include ] +) + +AC_CHECK_DECL( + FS_IMMUTABLE_FL, + AC_DEFINE(HAVE_IMMUTABLE_FL, 1, [Set if immutable file flag can be used]), + , + [#include ] +) + AC_CHECK_DECL( F_SETLK, AC_DEFINE(HAVE_FCNTL_LOCK, 1, [Set if fcntl supports file locking]), -- 2.47.3