mirror of https://gitee.com/bigwinds/arangodb
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
dnl -*- mode: Autoconf; -*-
|
|
|
|
dnl -----------------------------------------------------------------------------------------
|
|
dnl enable logger
|
|
dnl -----------------------------------------------------------------------------------------
|
|
|
|
AC_ARG_ENABLE(logger,
|
|
AS_HELP_STRING([--enable-logger], [enable logging and timing (default: yes)]),
|
|
[tr_LOGGER="$enableval"],
|
|
[tr_LOGGER="yes"]
|
|
)
|
|
|
|
if test "x$tr_LOGGER" = xyes; then
|
|
AC_DEFINE_UNQUOTED(TRI_ENABLE_LOGGER, 1, [true if logging is enabled])
|
|
fi
|
|
|
|
AM_CONDITIONAL(ENABLE_LOGGER, test "x$tr_LOGGER" = xyes)
|
|
|
|
dnl -----------------------------------------------------------------------------------------
|
|
dnl informational output
|
|
dnl -----------------------------------------------------------------------------------------
|
|
|
|
if test "x$tr_LOGGER" = xyes; then
|
|
BASIC_INFO="$BASIC_INFO|LOGGER: enabled"
|
|
else
|
|
BASIC_INFO="$BASIC_INFO|LOGGER: disabled"
|
|
fi
|
|
|
|
if test "x$tr_TIMING" = xyes; then
|
|
BASIC_INFO="$BASIC_INFO|TIMING: enabled"
|
|
else
|
|
BASIC_INFO="$BASIC_INFO|TIMING: disabled"
|
|
fi
|
|
|
|
if test "x$tr_FIGURES" = xyes; then
|
|
BASIC_INFO="$BASIC_INFO|FIGURES: enabled"
|
|
else
|
|
BASIC_INFO="$BASIC_INFO|FIGURES: disabled"
|
|
fi
|