made building XPath stuff conditional on availability of Boost

This commit is contained in:
jez 2006-09-13 21:55:51 +00:00
parent 331fb28ccf
commit 30c53656b8
3 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,7 @@
SUBDIRS = SAX DOM Utils XPath
SUBDIRS = SAX DOM Utils
if HAVE_BOOST
SUBDIRS += XPath
endif
install:
echo "Nothing to install here"

View file

@ -156,7 +156,7 @@ AC_DEFUN([ARABICA_HAS_BOOST],
AC_SUBST(BOOST_CPPFLAGS)
AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
fi
AM_CONDITIONAL(HAVE_BOOST, test x$succeeded = xyes)
CPPFLAGS="$CPPFLAGS_SAVED"
fi
])

View file

@ -1,4 +1,7 @@
SUBDIRS = DOM SAX2DOM XPath
SUBDIRS = DOM SAX2DOM
if HAVE_BOOST
SUBDIRS += XPath
endif
install:
echo "Nothing to install here"