summaryrefslogtreecommitdiff
path: root/m4
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 /m4
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 'm4')
-rw-r--r--m4/efl_threads.m413
1 files changed, 0 insertions, 13 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index b789874..90a5f8a 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])
118fi 118fi
119 119
120dnl Check debug threads
121
122_efl_enable_debug_threads="no"
123AC_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
127efl_have_debug_threads="no"
128if 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])
131fi
132
133AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"], 120AS_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.])])])