diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 20:42:04 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 20:42:04 +0000 |
commit | 707d0bfa691319beab423204f1c523a79e1e5781 (patch) | |
tree | 64ccb1374c918e51c417ec96a585989d97086a80 /configure.ac | |
parent | 16b14f9ce5205c5c6f9b5fee972819efd7e30e4b (diff) |
minor improvement to last commit (use an intermediate variable want_debug_threads)
SVN revision: 77807
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
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 | |||
310 | have_stringshare_usage="yes" | 310 | have_stringshare_usage="yes" |
311 | 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 | 311 | 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 |
312 | want_debug_malloc="yes" | 312 | want_debug_malloc="yes" |
313 | want_debug_threads="yes" | ||
313 | ;; | 314 | ;; |
314 | 315 | ||
315 | release) | 316 | release) |
@@ -317,6 +318,7 @@ case "$build_profile" in | |||
317 | have_stringshare_usage="no" | 318 | have_stringshare_usage="no" |
318 | want_valgrind="no" | 319 | want_valgrind="no" |
319 | want_debug_malloc="no" | 320 | want_debug_malloc="no" |
321 | want_debug_threads="no" | ||
320 | ;; | 322 | ;; |
321 | esac | 323 | esac |
322 | 324 | ||
@@ -539,7 +541,7 @@ EFL_CHECK_THREADS | |||
539 | EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS" | 541 | EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS" |
540 | AC_SUBST(EINA_CONFIGURE_HAVE_THREADS) | 542 | AC_SUBST(EINA_CONFIGURE_HAVE_THREADS) |
541 | 543 | ||
542 | if test "$build_profile" = "dev"; then | 544 | if test "$want_debug_threads" = "yes"; then |
543 | EINA_CONFIGURE_HAVE_DEBUG_THREADS="#define EINA_HAVE_DEBUG_THREADS" | 545 | 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]) | 546 | AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call eina_threads_init]) |
545 | fi | 547 | fi |