0a122b
From af94bc39b8a4ce40083d15f660e147fb6a62b404 Mon Sep 17 00:00:00 2001
0a122b
From: Kevin Wolf <kwolf@redhat.com>
0a122b
Date: Thu, 20 Mar 2014 10:59:23 +0100
0a122b
Subject: [PATCH] configure: Fix bugs preventing Ceph inclusion
0a122b
0a122b
RH-Author: Kevin Wolf <kwolf@redhat.com>
0a122b
Message-id: <1395313163-1002-1-git-send-email-kwolf@redhat.com>
0a122b
Patchwork-id: 58164
0a122b
O-Subject: [RHEL-7.0 qemu-kvm PATCH] configure: Fix bugs preventing Ceph inclusion
0a122b
Bugzilla: 1078809
0a122b
RH-Acked-by: Fam Zheng <famz@redhat.com>
0a122b
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
RH-Acked-by: Ademar de Souza Reis Jr. <areis@redhat.com>
0a122b
0a122b
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1078809
0a122b
Brew: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=7230126
0a122b
Upstream status: Fix for downstream-only code
0a122b
0a122b
CONFIG_CEPH_SUPPORT=y never really ended up being set, neither by
0a122b
default nor with an explicit --enable-ceph-support.
0a122b
0a122b
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
0a122b
---
0a122b
 configure | 6 +++---
0a122b
 1 file changed, 3 insertions(+), 3 deletions(-)
0a122b
0a122b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
---
0a122b
 configure |    6 +++---
0a122b
 1 files changed, 3 insertions(+), 3 deletions(-)
0a122b
0a122b
diff --git a/configure b/configure
0a122b
index 3f68220..0ac437c 100755
0a122b
--- a/configure
0a122b
+++ b/configure
0a122b
@@ -952,9 +952,9 @@ for opt do
0a122b
   ;;
0a122b
   --enable-live-block-migration) live_block_migration="yes"
0a122b
   ;;
0a122b
-  --disable-ceph-support) ceph_support=="no"
0a122b
+  --disable-ceph-support) ceph_support="no"
0a122b
   ;;
0a122b
-  --enable-ceph-support) ceph_support=="yes"
0a122b
+  --enable-ceph-support) ceph_support="yes"
0a122b
   ;;
0a122b
   --enable-vhdx) vhdx="yes"
0a122b
   ;;
0a122b
@@ -4039,7 +4039,7 @@ if test "$live_block_migration" = "yes" ; then
0a122b
   echo "CONFIG_LIVE_BLOCK_MIGRATION=y" >> $config_host_mak
0a122b
 fi
0a122b
 
0a122b
-if test "ceph_support" = "yes"; then
0a122b
+if test "$ceph_support" = "yes"; then
0a122b
   echo "CONFIG_CEPH_SUPPORT=y" >> $config_host_mak
0a122b
 fi
0a122b
 
0a122b
-- 
0a122b
1.7.1
0a122b