From: Andrew Price Date: Thu, 7 Dec 2017 11:53:36 +0000 Subject: [Cluster-devel] [PATCH 5/8] gfs2-utils configure: Check for rg_data0, rg_data and rg_bitbytes In-Reply-To: <20171207115339.3797-1-anprice@redhat.com> References: <20171207115339.3797-1-anprice@redhat.com> Message-ID: <20171207115339.3797-6-anprice@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Define GFS2_HAS_RG_RI_FIELDS if the new rg_data0 field is found in struct gfs2_rgrp. This implies that rg_data and rg_bitbytes are also present as they were added at the same time. Signed-off-by: Andrew Price --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 7f8bcca9..4e8518cb 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,8 @@ AC_CHECK_MEMBER([struct gfs2_dirent.de_cookie],[AC_DEFINE([GFS2_HAS_DE_COOKIE],[ [], [[#include ]]) AC_CHECK_MEMBER([struct gfs2_rgrp.rg_skip],[AC_DEFINE([GFS2_HAS_RG_SKIP],[],[Next resource group pointer])], [], [[#include ]]) +AC_CHECK_MEMBER([struct gfs2_rgrp.rg_data0],[AC_DEFINE([GFS2_HAS_RG_RI_FIELDS],[],[Resource group fields duplicated from the rindex])], + [], [[#include ]]) # libuuid is only required if struct gfs2_sb.sb_uuid exists if test "$sb_has_uuid" = "yes" -a "$have_uuid" = "no"; then -- 2.13.6