From 372720db97414ef06e7830f6fc7621e08fe17a67 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 6 May 2008 20:36:55 +0000 Subject: Fix for defining HAS_XML git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653912 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp') 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]) -- cgit v1.2.1