forked from enlightenment/efl
efl: let's try to force that thread things this way.
This commit is contained in:
parent
1281a8369f
commit
4ff18573a0
|
@ -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.])])])
|
||||
|
|
Loading…
Reference in New Issue