mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into cmakification
This commit is contained in:
commit
7f86efa003
|
@ -71,6 +71,12 @@
|
||||||
/// is returned if the collection specified by *collection* is unknown. The
|
/// is returned if the collection specified by *collection* is unknown. The
|
||||||
/// response body contains an error document in this case.
|
/// response body contains an error document in this case.
|
||||||
///
|
///
|
||||||
|
/// @RESTRETURNCODE{409}
|
||||||
|
/// is returned if a document with the same qualifiers in
|
||||||
|
/// an indexed attribute conflicts with an already existing document
|
||||||
|
/// and thus violating that uniq constraint.
|
||||||
|
/// The response body contains an error document in this case.
|
||||||
|
///
|
||||||
/// @EXAMPLES
|
/// @EXAMPLES
|
||||||
///
|
///
|
||||||
/// Create a document in a collection named *products*. Note that the
|
/// Create a document in a collection named *products*. Note that the
|
||||||
|
|
|
@ -340,7 +340,7 @@ unittests-config:
|
||||||
|
|
||||||
.PHONY: unittests-boost
|
.PHONY: unittests-boost
|
||||||
|
|
||||||
if ENABLE_MAINTAINER_MODE
|
if ENABLE_BOOST_TESTS
|
||||||
|
|
||||||
unittests-boost: UnitTests/basics_suite UnitTests/geo_suite
|
unittests-boost: UnitTests/basics_suite UnitTests/geo_suite
|
||||||
@echo
|
@echo
|
||||||
|
@ -420,7 +420,7 @@ unittests-boost:
|
||||||
@echo "================================================================================"
|
@echo "================================================================================"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
@echo "to enable boost unit-tests, install Boost test and configure with --enable-maintainer-mode"
|
@echo "to enable boost unit-tests, install Boost test and configure with --enable-boost-tests"
|
||||||
|
|
||||||
@echo
|
@echo
|
||||||
endif
|
endif
|
||||||
|
|
10
configure.ac
10
configure.ac
|
@ -422,13 +422,21 @@ dnl ----------------------------------------------------------------------------
|
||||||
BOOST_VERSION="1.58.0"
|
BOOST_VERSION="1.58.0"
|
||||||
BOOST_CPPFLAGS="-I${srcdir}/3rdParty/boost/${BOOST_VERSION}"
|
BOOST_CPPFLAGS="-I${srcdir}/3rdParty/boost/${BOOST_VERSION}"
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(boost-tests,
|
||||||
|
AS_HELP_STRING([--enable-boost-tests], [generate the unittests based on boost (default: $USE_MAINTAINER_MODE)]),
|
||||||
|
[tr_BOOST_TESTS="${enableval:-yes}"],
|
||||||
|
[tr_BOOST_TESTS="$USE_MAINTAINER_MODE"]
|
||||||
|
)
|
||||||
|
|
||||||
|
AM_CONDITIONAL(ENABLE_BOOST_TESTS, test "x$tr_BOOST_TESTS" = xyes)
|
||||||
|
|
||||||
AC_SUBST(BOOST_VERSION)
|
AC_SUBST(BOOST_VERSION)
|
||||||
AC_SUBST(BOOST_CPPFLAGS)
|
AC_SUBST(BOOST_CPPFLAGS)
|
||||||
|
|
||||||
LIB_INFO="$LIB_INFO|BOOST: 3rdParty version"
|
LIB_INFO="$LIB_INFO|BOOST: 3rdParty version"
|
||||||
LIB_INFO="$LIB_INFO|BOOST VERSION: ${BOOST_VERSION}"
|
LIB_INFO="$LIB_INFO|BOOST VERSION: ${BOOST_VERSION}"
|
||||||
|
|
||||||
LIB_INFO="$LIB_INFO|BOOST_CPPFLAGS: ${BOOST_CPPFLAGS}"
|
LIB_INFO="$LIB_INFO|BOOST_CPPFLAGS: ${BOOST_CPPFLAGS}"
|
||||||
|
LIB_INFO="$LIB_INFO|BOOST_TESTS: ${tr_BOOST_TESTS}"
|
||||||
LIB_INFO="$LIB_INFO|."
|
LIB_INFO="$LIB_INFO|."
|
||||||
|
|
||||||
dnl ----------------------------------------------------------------------------
|
dnl ----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue