summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-03-17 18:49:56 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-03-17 18:49:56 +0000
commit707ba1c7b83750d174f5455990ea0a06e86daa79 (patch)
treee9cc2ace3c674246868f5c8a37415073ba1accb4 /cpp/src
parent0e72fcd72e163c32e84e62f999b007b74b64f086 (diff)
downloadqpid-python-707ba1c7b83750d174f5455990ea0a06e86daa79.tar.gz
Fixed previous broken change which attempted to get version at configuration time.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924418 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/qpid/Version.h (renamed from cpp/src/qpid/Version.h.in)8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/src/qpid/Version.h.in b/cpp/src/qpid/Version.h
index b85935a756..b4805a3757 100755
--- a/cpp/src/qpid/Version.h.in
+++ b/cpp/src/qpid/Version.h
@@ -23,10 +23,11 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
+#else
+# error "config.h not generated"
#endif
namespace qpid {
-#ifdef HAVE_CONFIG_H
const std::string product = PACKAGE_NAME;
const std::string version = PACKAGE_VERSION;
# if HAVE_SASL
@@ -34,11 +35,6 @@ namespace qpid {
# else
const std::string saslName = "qpidd-no-sasl";
# endif
-#else
- const std::string product = "qpidc";
- const std::string version = "@VERSION@";
- const std::string saslName = "qpid-broker";
-#endif
}
#endif /*!QPID_VERSION_H*/