aboutsummaryrefslogtreecommitdiffstats
path: root/m4
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 /m4
parenteina: fix uninitialized data use. (diff)
downloadefl-4ff18573a0ab9d88f00ae4bb456dafc0114e7831.tar.gz
efl: let's try to force that thread things this way.
Diffstat (limited to '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 acea5a9dc3..e06022d037 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -14,7 +14,7 @@ AC_DEFUN([EFL_CHECK_THREADS],
dnl Generic thread detection
-EFL_PTHREAD_CFLAGS=""
+EFL_PTHREAD_CFLAGS="-D_REENTRANT"
EFL_PTHREAD_LIBS=""
_efl_have_posix_threads="no"
@@ -127,9 +127,6 @@ if test "x${efl_have_posix_threads_spinlock}" = "xyes" ; then
AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that POSIX threads spinlocks are supported])
fi
-echo "_efl_have_posix_threads: ${_efl_have_posix_threads}"
-echo "_efl_have_win32_threads: ${_efl_have_win32_threads}"
-
AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"],
[$1],
[m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])])