dnl Generic thread detection
-EFL_PTHREAD_CFLAGS=""
+EFL_PTHREAD_CFLAGS="-D_REENTRANT"
EFL_PTHREAD_LIBS=""
_efl_have_posix_threads="no"
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.])])])