1
0
Fork 0
arangodb/m4/configure.logging

28 lines
906 B
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