782
783
784
785
786
787
788
789
790
791
792
793
794
795
|
dnl When disabling __thread, it doesn't freeze, but all symbols
dnl are wrong.
;;
*)
AC_CHECK_FUNCS(dladdr)
;;
esac
AC_ARG_ENABLE(threads,
AS_HELP_STRING([--disable-threads], [disable thread support]))
AS_IF([test x"$enable_threads" != x"no"], [
AC_MSG_CHECKING(for threads)
case "$host_os" in
|
>
>
>
|
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
|
dnl When disabling __thread, it doesn't freeze, but all symbols
dnl are wrong.
;;
*)
AC_CHECK_FUNCS(dladdr)
;;
esac
AC_CHECK_HEADERS(sys/mman.h)
AC_CHECK_FUNCS(mmap mlock)
AC_ARG_ENABLE(threads,
AS_HELP_STRING([--disable-threads], [disable thread support]))
AS_IF([test x"$enable_threads" != x"no"], [
AC_MSG_CHECKING(for threads)
case "$host_os" in
|