summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-12-15 15:27:20 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-12-15 16:01:51 +0900
commit1f75cfc3cfea087433b10df14fdfc355ae84fc4a (patch)
tree49c1cebcfd75c9249f0b34a15c319cec850db434 /configure.ac
parent6bc24b4794ebe1bd0d40a155f136d1597a2a0ada (diff)
Eina log: Disable backtrace by default for dev builds
The EINA_LOG_BACKTRACE thing is aimed at production environments, so we can extract a backtrace from a log file post-mortem, but not for continuous development of EFL itself. I know this should make a few people happy.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 05b836c..08976a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,12 +85,17 @@ case "${build_profile}" in
85esac 85esac
86 86
87prefer_assert="no" 87prefer_assert="no"
88eina_log_backtrace="yes"
88case "${build_profile}" in 89case "${build_profile}" in
89 dev|debug) 90 dev|debug)
90 prefer_assert="yes" 91 prefer_assert="yes"
92 eina_log_backtrace="no"
91 ;; 93 ;;
92esac 94esac
93 95
96# Enable CRI & ERR backtrace by default for release but not for dev/debug
97AC_DEFINE_IF([EINA_LOG_BACKTRACE_ENABLE], [test "x${eina_log_backtrace}" = "xyes"], [1], [Default log level triggering backtraces])
98
94# TODO: add some build "profile" (server, full, etc...) 99# TODO: add some build "profile" (server, full, etc...)
95 100
96AC_ARG_WITH([crypto], 101AC_ARG_WITH([crypto],