summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2008-10-03 21:12:18 +0000
committerStephen D. Huston <shuston@apache.org>2008-10-03 21:12:18 +0000
commitd7f6fa01c0e7a538dfa5104e6628b9574cccc746 (patch)
tree478053c48b9f96e7902a4af5e0c5a9a82f3f4283 /cpp/src
parentff5c8a9034026a6d3ae437fa89c9f3cb9a1ba022 (diff)
downloadqpid-python-d7f6fa01c0e7a538dfa5104e6628b9574cccc746.tar.gz
Don't refer to BROKER_SASL_NAME is SASL not configured; refixes QPID-1309
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@701535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/qpid/Version.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/Version.h b/cpp/src/qpid/Version.h
index f046f713e7..9bd561b7a9 100755
--- a/cpp/src/qpid/Version.h
+++ b/cpp/src/qpid/Version.h
@@ -29,7 +29,11 @@ namespace qpid {
#ifdef HAVE_CONFIG_H
const std::string product = PACKAGE_NAME;
const std::string version = PACKAGE_VERSION;
+# if HAVE_SASL
const std::string saslName = BROKER_SASL_NAME;
+# else
+ const std::string saslName = "qpidd-no-sasl";
+# endif
#else
const std::string product = "qpidc";
const std::string version = "0.3";