mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-26 21:58:39 +01:00
made building XPath stuff conditional on availability of Boost
This commit is contained in:
parent
331fb28ccf
commit
30c53656b8
3 changed files with 9 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
])
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
SUBDIRS = DOM SAX2DOM XPath
|
||||
SUBDIRS = DOM SAX2DOM
|
||||
if HAVE_BOOST
|
||||
SUBDIRS += XPath
|
||||
endif
|
||||
|
||||
install:
|
||||
echo "Nothing to install here"
|
||||
|
|
Loading…
Reference in a new issue