diff options
| author | Stephen D. Huston <shuston@apache.org> | 2008-10-03 21:12:18 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2008-10-03 21:12:18 +0000 |
| commit | ef6f4a5da6e664f73675c5e55d9d392688f22495 (patch) | |
| tree | 3aa24fcd17ccebc44b5276977c8531244b89b24d /qpid/cpp/src | |
| parent | 2f6a1d8f0a4614ff56cac9e5a75c20f2d244c243 (diff) | |
| download | qpid-python-ef6f4a5da6e664f73675c5e55d9d392688f22495.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@701535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rwxr-xr-x | qpid/cpp/src/qpid/Version.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/Version.h b/qpid/cpp/src/qpid/Version.h index f046f713e7..9bd561b7a9 100755 --- a/qpid/cpp/src/qpid/Version.h +++ b/qpid/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"; |
