You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2008/05/06 22:36:55 UTC

svn commit: r653912 - /incubator/qpid/trunk/qpid/cpp/configure.ac

Author: aconway
Date: Tue May  6 13:36:55 2008
New Revision: 653912

URL: http://svn.apache.org/viewvc?rev=653912&view=rev
Log:
Fix for defining HAS_XML

Modified:
    incubator/qpid/trunk/qpid/cpp/configure.ac

Modified: incubator/qpid/trunk/qpid/cpp/configure.ac
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/configure.ac?rev=653912&r1=653911&r2=653912&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/configure.ac (original)
+++ incubator/qpid/trunk/qpid/cpp/configure.ac Tue May  6 13:36:55 2008
@@ -221,7 +221,8 @@
     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])