559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
|
AC_MSG_ERROR(No supported threads found!)
])
;;
esac
AC_DEFINE(OF_HAVE_THREADS, 1, [Whether we have threads])
AC_SUBST(USE_SRCS_THREADS, '${SRCS_THREADS}')
AC_SUBST(USE_INCLUDES_THREADS, '${INCLUDES_THREADS}')
AC_ARG_ENABLE(compiler-tls,
AS_HELP_STRING([--disable-compiler-tls],
[disable compiler thread local storage]))
AS_IF([test x"$enable_compiler_tls" != x"no"], [
AC_CHECK_HEADERS(threads.h, [
AC_DEFINE(OF_HAVE_THREADS_H, 1,
|
<
|
559
560
561
562
563
564
565
566
567
568
569
570
571
572
|
AC_MSG_ERROR(No supported threads found!)
])
;;
esac
AC_DEFINE(OF_HAVE_THREADS, 1, [Whether we have threads])
AC_SUBST(USE_SRCS_THREADS, '${SRCS_THREADS}')
AC_ARG_ENABLE(compiler-tls,
AS_HELP_STRING([--disable-compiler-tls],
[disable compiler thread local storage]))
AS_IF([test x"$enable_compiler_tls" != x"no"], [
AC_CHECK_HEADERS(threads.h, [
AC_DEFINE(OF_HAVE_THREADS_H, 1,
|