configure.ac: remove --with_max_log_level

If one don't want logs, it can already be done at efl's level.
I wasted too much time on that stupid setting.
This commit is contained in:
Boris Faure 2016-10-17 22:32:35 +02:00
parent 65cdb5437e
commit 6907ecf9f2
1 changed files with 0 additions and 17 deletions

View File

@ -135,23 +135,6 @@ CFLAGS=$orig_cflags
EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
with_max_log_level="EINA_LOG_LEVEL_ERR"
AC_ARG_WITH(maximum-log-level,
[AC_HELP_STRING([--with-maximum-log-level=NUMBER],
[limit terminology log level to the given number, any call to EINA_LOG() with values greater than this will be compiled out, ignoring runtime settings, but saving function calls.])],
[
if test "x${withval}" != "xno"; then
if echo "${withval}" | grep -E '^[[0-9]]+$' >/dev/null 2>/dev/null; then
AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
with_max_log_level="${withval}"
else
AC_MSG_ERROR([--with-maximum-log-level takes a decimal number, got "${withval}" instead.])
fi
fi
], [:])
AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${with_max_log_level}, [if set, logging is limited to this amount.])
AC_CONFIG_FILES([
terminology.spec
pkgbuild/PKGBUILD