aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:42:04 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:42:04 +0000
commit707d0bfa691319beab423204f1c523a79e1e5781 (patch)
tree64ccb1374c918e51c417ec96a585989d97086a80 /configure.ac
parentefl: remove option to debug threads, now enabled based on build profile. (diff)
downloadefl-707d0bfa691319beab423204f1c523a79e1e5781.tar.gz
minor improvement to last commit (use an intermediate variable want_debug_threads)
SVN revision: 77807
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5c5c8aecb0..52febe8f98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -310,6 +310,7 @@ case "$build_profile" in
have_stringshare_usage="yes"
want_valgrind="no" # TODO: "yes" is not working: relocation R_X86_64_32S against `vgPlain_interim_stack' can not be used when making a shared object; recompile with -fPIC
want_debug_malloc="yes"
+ want_debug_threads="yes"
;;
release)
@@ -317,6 +318,7 @@ case "$build_profile" in
have_stringshare_usage="no"
want_valgrind="no"
want_debug_malloc="no"
+ want_debug_threads="no"
;;
esac
@@ -539,7 +541,7 @@ EFL_CHECK_THREADS
EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS"
AC_SUBST(EINA_CONFIGURE_HAVE_THREADS)
-if test "$build_profile" = "dev"; then
+if test "$want_debug_threads" = "yes"; then
EINA_CONFIGURE_HAVE_DEBUG_THREADS="#define EINA_HAVE_DEBUG_THREADS"
AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call eina_threads_init])
fi