summaryrefslogtreecommitdiff
path: root/m4/efl_threads.m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:24:45 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:24:45 +0000
commita6acf1b2d0f219676366cba73bfff9da4bba04fd (patch)
treee9900cfd630c7ae443165b35e007a8e08f60e882 /m4/efl_threads.m4
parenta3d116ab37d8c0e611ae799c21b75965ea8c0416 (diff)
efl: simplify threads step 1 - make it mandatory.
remove the eina_inline_lock_void.x fallback as it's not used anymore. still keep the EINA_HAVE_THREADS in the source code. SVN revision: 77796
Diffstat (limited to 'm4/efl_threads.m4')
-rw-r--r--m4/efl_threads.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index ae29606..e3dafa0 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -145,5 +145,8 @@ if test "x${_efl_have_posix_threads}" = "xyes" && test "x${_efl_enable_debug_thr
145 AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call eina_threads_init]) 145 AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call eina_threads_init])
146fi 146fi
147 147
148AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"], [$1], [$2]) 148AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"],
149 [$1],
150 [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])])
151
149]) 152])