mirror of https://gitee.com/bigwinds/arangodb
Get rid of switch --enable-cluster.
Always compile with TRI_ENABLE_CLUSTER enabled.
This commit is contained in:
parent
f3d12fdd35
commit
cc75da03dd
|
@ -105,6 +105,7 @@ endif ()
|
|||
|
||||
math(EXPR BITS "8*${CMAKE_SIZEOF_VOID_P}")
|
||||
add_definitions("-DTRI_BITS=${BITS}")
|
||||
add_definitions("-DTRI_ENABLE_CLUSTER=1")
|
||||
|
||||
## -----------------------------------------------------------------------------
|
||||
## --SECTION-- OPTIONS
|
||||
|
|
|
@ -252,7 +252,7 @@ pack-winXX-cmake:
|
|||
### @brief cmake build
|
||||
################################################################################
|
||||
|
||||
.PHONY: cmake-setpup
|
||||
.PHONY: cmake-setup
|
||||
|
||||
cmake-setup:
|
||||
test -d Build || mkdir Build
|
||||
|
|
|
@ -4,17 +4,8 @@ dnl ----------------------------------------------------------------------------
|
|||
dnl --SECTION-- CLUSTER
|
||||
dnl ----------------------------------------------------------------------------
|
||||
|
||||
AC_ARG_ENABLE(cluster,
|
||||
AS_HELP_STRING([--enable-cluster], [enable cluster features (default: yes)]),
|
||||
[tr_CLUSTER="$enableval"],
|
||||
[tr_CLUSTER="yes"]
|
||||
)
|
||||
|
||||
if test "x$tr_CLUSTER" = xyes; then
|
||||
AC_DEFINE_UNQUOTED(TRI_ENABLE_CLUSTER, 1, [true if cluster is enabled])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(ENABLE_CLUSTER, test "x$tr_CLUSTER" = xyes)
|
||||
AC_DEFINE_UNQUOTED(TRI_ENABLE_CLUSTER, 1, [always true])
|
||||
AM_CONDITIONAL(ENABLE_CLUSTER, [test yes = yes])
|
||||
|
||||
dnl ----------------------------------------------------------------------------
|
||||
dnl --SECTION-- END-OF-FILE
|
||||
|
|
Loading…
Reference in New Issue