* Do not use -pthread anymore, but instead pass _REENTRANT to the
preprocessor and -lpthread to the linker.
* On Solaris OS, -mt is passed by default and same flags than
linux must be passed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/eina-1.7@79852
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
1.7.2 release
+2012-11-29 Vincent Torri
+
+ * Do not use -pthread anymore, but instead pass _REENTRANT to the
+ preprocessor and -lpthread to the linker.
+ * On Solaris OS, -mt is passed by default and same flags than
+ linux must be passed.
AC_DEFINE([EFL_HAVE_WIN32_THREADS], [1], [Define to mention that Win32 threads are supported])
AC_DEFINE([EFL_HAVE_THREADS], [1], [Define to mention that POSIX or Win32 threads are supported])
;;
- solaris*)
- _efl_enable_posix_threads="yes"
- _efl_threads_cflags="-mt"
- _efl_threads_libs="-mt"
- ;;
*)
_efl_enable_posix_threads="yes"
- _efl_threads_cflags="-pthread"
- _efl_threads_libs="-pthread"
+ _efl_threads_cflags="-D_REENTRANT"
+ _efl_threads_libs="-lpthread"
;;
esac