efl: let's try to force that thread things this way.
authorCedric Bail <cedric.bail@samsung.com>
Tue, 12 Nov 2013 10:29:45 +0000 (19:29 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Tue, 12 Nov 2013 10:29:45 +0000 (19:29 +0900)
m4/efl_threads.m4

index acea5a9..e06022d 100644 (file)
@@ -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.])])])