summaryrefslogtreecommitdiff
path: root/m4/efl_threads.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl_threads.m4')
-rw-r--r--m4/efl_threads.m49
1 files changed, 2 insertions, 7 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index bba617f..a657500 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -28,15 +28,10 @@ case "$host_os" in
28 AC_DEFINE([EFL_HAVE_WIN32_THREADS], [1], [Define to mention that Win32 threads are supported]) 28 AC_DEFINE([EFL_HAVE_WIN32_THREADS], [1], [Define to mention that Win32 threads are supported])
29 AC_DEFINE([EFL_HAVE_THREADS], [1], [Define to mention that POSIX or Win32 threads are supported]) 29 AC_DEFINE([EFL_HAVE_THREADS], [1], [Define to mention that POSIX or Win32 threads are supported])
30 ;; 30 ;;
31 solaris*)
32 _efl_enable_posix_threads="yes"
33 _efl_threads_cflags="-mt"
34 _efl_threads_libs="-mt"
35 ;;
36 *) 31 *)
37 _efl_enable_posix_threads="yes" 32 _efl_enable_posix_threads="yes"
38 _efl_threads_cflags="-pthread" 33 _efl_threads_cflags="-D_REENTRANT"
39 _efl_threads_libs="-pthread" 34 _efl_threads_libs="-lpthread"
40 ;; 35 ;;
41esac 36esac
42 37