diff options
| author | Alan Conway <aconway@apache.org> | 2008-05-06 20:36:55 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-05-06 20:36:55 +0000 |
| commit | 328d705d29ce55bd98ce87c42b0df608fde7c9ae (patch) | |
| tree | dee638c74eb8384e7e44746663baa6fa54ebce02 | |
| parent | be27b4690096741eab9bc5a78628fc5a01585a6e (diff) | |
| download | qpid-python-328d705d29ce55bd98ce87c42b0df608fde7c9ae.tar.gz | |
Fix for defining HAS_XML
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@653912 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | qpid/cpp/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac index 63513eea12..50fbb5be94 100644 --- a/qpid/cpp/configure.ac +++ b/qpid/cpp/configure.ac @@ -221,7 +221,8 @@ if test $use_xml != no; then AC_MSG_ERROR([XML Exchange requested, but XQilla or Xerces-C not available]) # Else XQilla is available - use it to build - AC_DEFINE([HAVE_XML], [1], [Compile-in XML Exchange support.]) + test $use_xml = yes && + AC_DEFINE([HAVE_XML], [1], [Compile-in XML Exchange support.]) fi AM_CONDITIONAL([HAVE_XML], [test $use_xml = yes]) |
