From 7f6b3ae4aef9e5b2156a09fb9068f56fef0db94b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 12 Feb 2009 22:28:33 +0000 Subject: Enable --cluster-cman option if built with libcman support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743909 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/ClusterPlugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/ClusterPlugin.cpp') diff --git a/cpp/src/qpid/cluster/ClusterPlugin.cpp b/cpp/src/qpid/cluster/ClusterPlugin.cpp index 266e7f00b0..132043f91a 100644 --- a/cpp/src/qpid/cluster/ClusterPlugin.cpp +++ b/cpp/src/qpid/cluster/ClusterPlugin.cpp @@ -16,6 +16,7 @@ * */ +#include "config.h" #include "Connection.h" #include "ConnectionCodec.h" #include "ClusterSettings.h" @@ -67,7 +68,7 @@ struct ClusterOptions : public Options { ("cluster-username", optValue(settings.username, ""), "Username for connections between brokers") ("cluster-password", optValue(settings.password, ""), "Password for connections between brokers") ("cluster-mechanism", optValue(settings.mechanism, ""), "Authentication mechanism for connections between brokers") -#if HAVE_LIBCMAN +#if HAVE_LIBCMAN_H ("cluster-cman", optValue(settings.quorum), "Integrate with Cluster Manager (CMAN) cluster.") #endif ("cluster-read-max", optValue(settings.readMax,"N"), -- cgit v1.2.1