summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-11-12 19:29:45 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-12 19:29:45 +0900
commit4ff18573a0ab9d88f00ae4bb456dafc0114e7831 (patch)
tree05e01e903c061e019083de5780b8e3871bfafefc
parent1281a8369f5200c2723fb027edc1625a4a939874 (diff)
efl: let's try to force that thread things this way.
-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.])])])