diff options
author | Jonathan Robie <jonathan@apache.org> | 2010-03-05 21:52:42 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2010-03-05 21:52:42 +0000 |
commit | dff88653df69fcb98561260cfba0d5a6f127a8e2 (patch) | |
tree | 37eb19842eb6588e73133273cbe9604866f25b14 /cpp | |
parent | 6fbc5fc019402cf53bd3ef960660b58511943a81 (diff) | |
download | qpid-python-dff88653df69fcb98561260cfba0d5a6f127a8e2.tar.gz |
Tests for presence of xqilla/ast/XQEffectiveBooleanValue.hpp; if not
present, sets a constant to enable legacy API for effective boolean
value.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919632 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 8c8efc1917..fee657e0b0 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -346,6 +346,8 @@ esac test $want_xml = no && use_xml=no + + # If the user doesn't say not to use XML, see if it's available. if test $use_xml != no; then # Then see if XQilla is available @@ -364,6 +366,13 @@ if test $use_xml != no; then # Else XQilla is available - use it to build test $use_xml = yes && AC_DEFINE([HAVE_XML], [1], [Compile-in XML Exchange support.]) + + # Check to see if we need to use legacy calls for effective boolean value + xqilla_has_ebv=yes + AC_CHECK_HEADER([xqilla/ast/XQEffectiveBooleanValue.hpp], , [xqilla_has_ebv=no]) + test $xqilla_has_ebv = no && + AC_DEFINE([XQILLA_2_1_3], [1], [Use the old XQilla 2.1.3 API to get effective boolean value.]) + fi AM_CONDITIONAL([HAVE_XML], [test $use_xml = yes]) |