diff options
author | Calvin <calvin@openmailbox.org> | 2017-02-14 20:07:52 +0300 |
---|---|---|
committer | Calvin <calvin@openmailbox.org> | 2017-02-27 18:27:50 +0300 |
commit | 3e2a367d9154f01d3b4fc1dffc0c694415539cd1 (patch) | |
tree | ac1519a92a1d45d652c5259ad4f47b7b288239d8 | |
parent | 68c190b1d6a167e5255e4d6dce76683b40a62326 (diff) |
Polish on configure script
* Set boehm to disabled
* Set threading to use pthreads, not __thread
(causes static TLS issues)
* Add the library needs for locale
(FIXME: does this apply to eglib?)
-rw-r--r-- | configure.ac | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9f211b3f9e6..1ad5cd6d37d 100644 --- a/configure.ac +++ b/configure.ac @@ -334,9 +334,14 @@ case "$host" in CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE" libmono_cflags="-D_REENTRANT -D_THREAD_SAFE" libdl= - LIBS="$LIBS -lnetwork" + dnl FIXME: Does eglib pick this up? + LIBS="$LIBS -lnetwork -;textencoding" need_link_unlink=yes AC_DEFINE(PTHREAD_POINTER_ID) + dnl Haiku does not support static TLS with __thread + with_tls=pthread + dnl Boehm is too much work to backport Haiku support for + support_boehm=no libgc_threads=pthreads use_sigposix=yes ;; @@ -1911,7 +1916,7 @@ if test x$host_win32 = xno; then # case "${host}" in *-*-*haiku*) - # Haiku has pthread in libroot (libc equiv) + dnl Haiku has pthread in libroot (libc equiv) AC_CHECK_LIB(pthread, main, LIBS="$LIBS") ;; *-*-*freebsd*) |