summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:40:34 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:40:34 +0000
commit16b14f9ce5205c5c6f9b5fee972819efd7e30e4b (patch)
tree4c45167eb5efb0751c3404f1bfae3407d7377135 /configure.ac
parent13375822869fa3fa8e061d1f00904222006793e8 (diff)
efl: remove option to debug threads, now enabled based on build profile.
If --with-profile=dev, we enable threads debug. SVN revision: 77806
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 16326505a2..5c5c8aecb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -539,11 +539,11 @@ EFL_CHECK_THREADS
539EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS" 539EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS"
540AC_SUBST(EINA_CONFIGURE_HAVE_THREADS) 540AC_SUBST(EINA_CONFIGURE_HAVE_THREADS)
541 541
542if test "x${efl_have_debug_threads}" = "xyes"; then 542if test "$build_profile" = "dev"; then
543 EINA_CONFIGURE_HAVE_DEBUG_THREADS="#define EINA_HAVE_DEBUG_THREADS" 543 EINA_CONFIGURE_HAVE_DEBUG_THREADS="#define EINA_HAVE_DEBUG_THREADS"
544 AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call eina_threads_init])
544fi 545fi
545AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS) 546AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS)
546AM_CONDITIONAL([EINA_DEBUG_THREADS], [test "x${efl_have_debug_threads}" = "xyes"])
547 547
548### Modules 548### Modules
549EINA_CHECK_MODULE([chained-pool], [static], [chained pool]) 549EINA_CHECK_MODULE([chained-pool], [static], [chained pool])
@@ -866,7 +866,6 @@ echo
866echo " Thread Support.......: ${efl_have_threads}" 866echo " Thread Support.......: ${efl_have_threads}"
867if test "${efl_have_threads}" = "POSIX" ; then 867if test "${efl_have_threads}" = "POSIX" ; then
868echo " spinlock...........: ${efl_have_posix_threads_spinlock}" 868echo " spinlock...........: ${efl_have_posix_threads_spinlock}"
869echo " debug usage........: ${efl_have_debug_threads}"
870fi 869fi
871echo 870echo
872echo "Compilation............: make (or gmake)" 871echo "Compilation............: make (or gmake)"