mirror of https://gitee.com/bigwinds/arangodb
28 lines
970 B
Plaintext
28 lines
970 B
Plaintext
dnl -*- mode: Autoconf; -*-
|
|
|
|
dnl -----------------------------------------------------------------------------------------
|
|
dnl option for zone debug
|
|
dnl -----------------------------------------------------------------------------------------
|
|
|
|
AC_ARG_ENABLE(zone-debug,
|
|
AS_HELP_STRING([--enable-zone-debug], [enables memory zone debugging (default: no)]),
|
|
tr_ZONE_DEBUG="${enableval:-yes}",
|
|
tr_ZONE_DEBUG=no
|
|
)
|
|
|
|
if test "x$tr_ZONE_DEBUG" = xyes; then
|
|
AC_DEFINE_UNQUOTED(TRI_ENABLE_ZONE_DEBUG, 1, [true if memory zone debug is enabled])
|
|
fi
|
|
|
|
AM_CONDITIONAL(ENABLE_ZONE_DEBUG, test "x$tr_ZONE_DEBUG" = xyes)
|
|
|
|
dnl -----------------------------------------------------------------------------------------
|
|
dnl informational output
|
|
dnl -----------------------------------------------------------------------------------------
|
|
|
|
if test "x$tr_ZONE_DEBUG" = xyes; then
|
|
BASIC_INFO="$BASIC_INFO|ZONE_DEBUG: enabled"
|
|
else
|
|
BASIC_INFO="$BASIC_INFO|ZONE_DEBUG: disabled"
|
|
fi
|