From: Michal Rakowski Date: Thu, 15 Jul 2021 15:27:28 +0000 (+0200) Subject: update autoconf for NODUMP flag check X-Git-Tag: Release-11.3.2~412 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da16a2354e764bcdff3ad3fa5b501ba0deae2d40;p=thirdparty%2Fbacula.git update autoconf for NODUMP flag check --- 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]),