diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 20:40:34 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 20:40:34 +0000 |
commit | 16b14f9ce5205c5c6f9b5fee972819efd7e30e4b (patch) | |
tree | 4c45167eb5efb0751c3404f1bfae3407d7377135 /configure.ac | |
parent | 13375822869fa3fa8e061d1f00904222006793e8 (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.ac | 5 |
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 | |||
539 | EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS" | 539 | EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS" |
540 | AC_SUBST(EINA_CONFIGURE_HAVE_THREADS) | 540 | AC_SUBST(EINA_CONFIGURE_HAVE_THREADS) |
541 | 541 | ||
542 | if test "x${efl_have_debug_threads}" = "xyes"; then | 542 | if 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]) | ||
544 | fi | 545 | fi |
545 | AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS) | 546 | AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS) |
546 | AM_CONDITIONAL([EINA_DEBUG_THREADS], [test "x${efl_have_debug_threads}" = "xyes"]) | ||
547 | 547 | ||
548 | ### Modules | 548 | ### Modules |
549 | EINA_CHECK_MODULE([chained-pool], [static], [chained pool]) | 549 | EINA_CHECK_MODULE([chained-pool], [static], [chained pool]) |
@@ -866,7 +866,6 @@ echo | |||
866 | echo " Thread Support.......: ${efl_have_threads}" | 866 | echo " Thread Support.......: ${efl_have_threads}" |
867 | if test "${efl_have_threads}" = "POSIX" ; then | 867 | if test "${efl_have_threads}" = "POSIX" ; then |
868 | echo " spinlock...........: ${efl_have_posix_threads_spinlock}" | 868 | echo " spinlock...........: ${efl_have_posix_threads_spinlock}" |
869 | echo " debug usage........: ${efl_have_debug_threads}" | ||
870 | fi | 869 | fi |
871 | echo | 870 | echo |
872 | echo "Compilation............: make (or gmake)" | 871 | echo "Compilation............: make (or gmake)" |