From da16a2354e764bcdff3ad3fa5b501ba0deae2d40 Mon Sep 17 00:00:00 2001 From: Michal Rakowski Date: Thu, 15 Jul 2021 17:27:28 +0200 Subject: [PATCH] update autoconf for NODUMP flag check --- bacula/autoconf/config.h.in | 3 +++ bacula/autoconf/configure.in | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index 6a4876481..050303ec5 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -1119,6 +1119,9 @@ /* Define to 1 if you have the 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 diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 26e78748d..b57462267 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -2408,6 +2408,13 @@ AC_CHECK_DECL( [#include ] ) +AC_CHECK_DECL( + FS_NODUMP_FL, + AC_DEFINE(HAVE_NODUMP, 1, [Set if nodump can be turned on]), + , + [#include ] +) + AC_CHECK_DECL( F_SETLK, AC_DEFINE(HAVE_FCNTL_LOCK, 1, [Set if fcntl supports file locking]), -- 2.47.3