summaryrefslogtreecommitdiff
path: root/m4/efl_threads.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl_threads.m4')
-rw-r--r--m4/efl_threads.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index acea5a9..e06022d 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -14,7 +14,7 @@ AC_DEFUN([EFL_CHECK_THREADS],
14 14
15dnl Generic thread detection 15dnl Generic thread detection
16 16
17EFL_PTHREAD_CFLAGS="" 17EFL_PTHREAD_CFLAGS="-D_REENTRANT"
18EFL_PTHREAD_LIBS="" 18EFL_PTHREAD_LIBS=""
19 19
20_efl_have_posix_threads="no" 20_efl_have_posix_threads="no"
@@ -127,9 +127,6 @@ if test "x${efl_have_posix_threads_spinlock}" = "xyes" ; then
127 AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that POSIX threads spinlocks are supported]) 127 AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that POSIX threads spinlocks are supported])
128fi 128fi
129 129
130echo "_efl_have_posix_threads: ${_efl_have_posix_threads}"
131echo "_efl_have_win32_threads: ${_efl_have_win32_threads}"
132
133AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"], 130AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"],
134 [$1], 131 [$1],
135 [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])]) 132 [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])])