mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-14 08:01:49 +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:
|
install:
|
||||||
echo "Nothing to install here"
|
echo "Nothing to install here"
|
||||||
|
|
|
@ -156,7 +156,7 @@ AC_DEFUN([ARABICA_HAS_BOOST],
|
||||||
AC_SUBST(BOOST_CPPFLAGS)
|
AC_SUBST(BOOST_CPPFLAGS)
|
||||||
AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
|
AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL(HAVE_BOOST, test x$succeeded = xyes)
|
||||||
CPPFLAGS="$CPPFLAGS_SAVED"
|
CPPFLAGS="$CPPFLAGS_SAVED"
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
SUBDIRS = DOM SAX2DOM XPath
|
SUBDIRS = DOM SAX2DOM
|
||||||
|
if HAVE_BOOST
|
||||||
|
SUBDIRS += XPath
|
||||||
|
endif
|
||||||
|
|
||||||
install:
|
install:
|
||||||
echo "Nothing to install here"
|
echo "Nothing to install here"
|
||||||
|
|
Loading…
Reference in a new issue