Author: shuston
Date: Fri Oct 3 14:12:18 2008
New Revision: 701535
URL: http://svn.apache.org/viewvc?rev=701535&view=rev
Log:
Don't refer to BROKER_SASL_NAME is SASL not configured; refixes QPID-1309
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/Version.h
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/Version.h
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/Version.h?rev=701535&r1=701534&r2=701535&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/Version.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/Version.h Fri Oct 3 14:12:18 2008
@@ -29,7 +29,11 @@
#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";