ffa151c
From 69e888fa5c103588ee9f23ac4cec4bfc2285eb08 Mon Sep 17 00:00:00 2001
ffa151c
From: Boris Ranto <branto@redhat.com>
ffa151c
Date: Fri, 13 Jan 2017 01:15:42 +0100
ffa151c
Subject: [PATCH] hack: do not test for libxfs, assume it is present
ffa151c
ffa151c
---
ffa151c
 configure.ac | 3 ++-
ffa151c
 1 file changed, 2 insertions(+), 1 deletion(-)
ffa151c
ffa151c
diff --git a/configure.ac b/configure.ac
ffa151c
index 32e273f..050e754 100644
ffa151c
--- a/configure.ac
ffa151c
+++ b/configure.ac
ffa151c
@@ -882,7 +882,7 @@ AC_ARG_WITH([libxfs],
ffa151c
   [AS_HELP_STRING([--without-libxfs], [disable libxfs use by FileStore])],
ffa151c
   [],
ffa151c
   [with_libxfs=yes])
ffa151c
-AS_IF([test "x$with_libxfs" != "xno"], [
ffa151c
+AS_IF([test "x$with_libxfs" = "hack..."], [
ffa151c
   # xfs/xfs.h presence and XFS_XFLAG_EXTSIZE define
ffa151c
   AC_CHECK_HEADER([xfs/xfs.h], [], AC_MSG_ERROR(
ffa151c
     [xfs/xfs.h not found (--without-libxfs to disable)]))
ffa151c
@@ -900,6 +900,7 @@ AS_IF([test "x$with_libxfs" != "xno"], [
ffa151c
     AC_MSG_ERROR([XFS_XFLAG_EXTSIZE not found (--without-libxfs to disable)])
ffa151c
   ])
ffa151c
 ])
ffa151c
+AC_DEFINE([HAVE_LIBXFS], [1], [Define to 1 if you have libxfs])
ffa151c
 AM_CONDITIONAL(WITH_LIBXFS, [test "x$with_libxfs" != "xno"])
ffa151c
 
ffa151c
 # use libzfs
ffa151c
-- 
ffa151c
2.7.4
ffa151c