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 /m4 | |
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 'm4')
-rw-r--r-- | m4/efl_threads.m4 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4 index b789874c0a..90a5f8ac47 100644 --- a/m4/efl_threads.m4 +++ b/m4/efl_threads.m4 | |||
@@ -117,19 +117,6 @@ if test "x${efl_have_posix_threads_spinlock}" = "xyes" ; then | |||
117 | AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that POSIX threads spinlocks are supported]) | 117 | AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that POSIX threads spinlocks are supported]) |
118 | fi | 118 | fi |
119 | 119 | ||
120 | dnl Check debug threads | ||
121 | |||
122 | _efl_enable_debug_threads="no" | ||
123 | AC_ARG_ENABLE([debug-threads], | ||
124 | [AC_HELP_STRING([--enable-debug-threads], [disable assert when you forgot to call eina_threads_init])], | ||
125 | [_efl_enable_debug_threads="${enableval}"]) | ||
126 | |||
127 | efl_have_debug_threads="no" | ||
128 | if test "x${_efl_have_posix_threads}" = "xyes" && test "x${_efl_enable_debug_threads}" = "xyes"; then | ||
129 | efl_have_debug_threads="yes" | ||
130 | AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call eina_threads_init]) | ||
131 | fi | ||
132 | |||
133 | AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"], | 120 | AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"], |
134 | [$1], | 121 | [$1], |
135 | [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])]) | 122 | [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])]) |