summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to '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 ae296069d8..e3dafa0a06 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])