diff options
author | Cedric Bail <cedric.bail@samsung.com> | 2013-11-12 19:29:45 +0900 |
---|---|---|
committer | Cedric Bail <cedric.bail@samsung.com> | 2013-11-12 19:29:45 +0900 |
commit | 4ff18573a0ab9d88f00ae4bb456dafc0114e7831 (patch) | |
tree | 05e01e903c061e019083de5780b8e3871bfafefc /m4/efl_threads.m4 | |
parent | 1281a8369f5200c2723fb027edc1625a4a939874 (diff) |
efl: let's try to force that thread things this way.
Diffstat (limited to '')
-rw-r--r-- | m4/efl_threads.m4 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4 index acea5a9dc3..e06022d037 100644 --- a/m4/efl_threads.m4 +++ b/m4/efl_threads.m4 | |||
@@ -14,7 +14,7 @@ AC_DEFUN([EFL_CHECK_THREADS], | |||
14 | 14 | ||
15 | dnl Generic thread detection | 15 | dnl Generic thread detection |
16 | 16 | ||
17 | EFL_PTHREAD_CFLAGS="" | 17 | EFL_PTHREAD_CFLAGS="-D_REENTRANT" |
18 | EFL_PTHREAD_LIBS="" | 18 | EFL_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]) |
128 | fi | 128 | fi |
129 | 129 | ||
130 | echo "_efl_have_posix_threads: ${_efl_have_posix_threads}" | ||
131 | echo "_efl_have_win32_threads: ${_efl_have_win32_threads}" | ||
132 | |||
133 | AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"], | 130 | AS_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.])])]) |