]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
update autoconf
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Fri, 10 Sep 2021 15:45:51 +0000 (17:45 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:56 +0000 (13:56 +0200)
bacula/autoconf/config.h.in
bacula/autoconf/configure.in

index 15b8f7e66d1b9ff2ab80f6f2a20b496a41842206..f8abfaeb7ed92a978e52d78cdbe35852ebd5c23a 100644 (file)
 /* 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
 
index 12fbde516b4f2f73a82c1a6589f4a42754bfd6da..6391cf9e002095438c912f87daf494741fd30d1c 100644 (file)
@@ -2567,6 +2567,20 @@ AC_CHECK_DECL(
     [#include <linux/fs.h>]
 )
 
+AC_CHECK_DECL(
+    FS_APPEND_FL,
+    AC_DEFINE(HAVE_APPEND_FL, 1, [Set if append_only file flag can be used]),
+    ,
+    [#include <linux/fs.h>]
+)
+
+AC_CHECK_DECL(
+    FS_IMMUTABLE_FL,
+    AC_DEFINE(HAVE_IMMUTABLE_FL, 1, [Set if immutable file flag can be used]),
+    ,
+    [#include <linux/fs.h>]
+)
+
 AC_CHECK_DECL(
     F_SETLK,
     AC_DEFINE(HAVE_FCNTL_LOCK, 1, [Set if fcntl supports file locking]),