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 | 372720db97414ef06e7830f6fc7621e08fe17a67 (patch) | |
| tree | c6f4ed7782f9608c52f1480cfcec99b3f26495ba /cpp | |
| parent | 3fa932a1bef60b759f7e77468c989008e662b2c5 (diff) | |
| download | qpid-python-372720db97414ef06e7830f6fc7621e08fe17a67.tar.gz | |
Fix for defining HAS_XML
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653912 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 63513eea12..50fbb5be94 100644 --- a/cpp/configure.ac +++ b/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]) |
