]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
update autoconf for NODUMP flag check
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Thu, 15 Jul 2021 15:27:28 +0000 (17:27 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:03 +0000 (09:03 +0100)
bacula/autoconf/config.h.in
bacula/autoconf/configure.in

index 6a48764813b787d9dcb785afaa06e2e26fd0b963..050303ec530cfd736050691c5fab093748b98f1b 100644 (file)
 /* Define to 1 if you have the <zlib.h> header file. */
 #undef HAVE_ZLIB_H
 
+/* Define to 1 if you have NODUMP file flag supported */
+#undef HAVE_NODUMP
+
 /* Define to 1 if you have working ldap libraries */
 #undef HAVE_LDAP
 
index 26e78748d4fa2afd1de80cb7861aa1f355561884..b57462267cc9df4675941b43f5426a08eff40155 100644 (file)
@@ -2408,6 +2408,13 @@ AC_CHECK_DECL(
     [#include <fcntl.h>]
 )
 
+AC_CHECK_DECL(
+    FS_NODUMP_FL,
+    AC_DEFINE(HAVE_NODUMP, 1, [Set if nodump can be turned on]),
+    ,
+    [#include <linux/fs.h>]
+)
+
 AC_CHECK_DECL(
     F_SETLK,
     AC_DEFINE(HAVE_FCNTL_LOCK, 1, [Set if fcntl supports file locking]),