ruby-changes:65527
From: Yusuke <ko1@a...>
Date: Fri, 19 Mar 2021 12:43:20 +0900 (JST)
Subject: [ruby-changes:65527] e79b42c9b2 (master): configure.ac: don't use pthread_sigmask in emscripten
https://git.ruby-lang.org/ruby.git/commit/?id=e79b42c9b2 From e79b42c9b21abbd73aa97aec21f817704d37fd7d Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Fri, 19 Mar 2021 12:32:33 +0900 Subject: configure.ac: don't use pthread_sigmask in emscripten --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b5b2397..0110896 100644 --- a/configure.ac +++ b/configure.ac @@ -2566,7 +2566,8 @@ AS_IF([test x"$enable_pthread" = xyes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L2566 pthread_get_stackaddr_np pthread_get_stacksize_np \ thr_stksegment pthread_stackseg_np pthread_getthrds_np \ pthread_condattr_setclock \ - pthread_sigmask pthread_setname_np pthread_set_name_np) + pthread_setname_np pthread_set_name_np) + AS_CASE(["$target_os"],[emscripten*],[ac_cv_func_pthread_sigmask=no],[AC_CHECK_FUNCS(pthread_sigmask)]) AS_CASE(["$target_os"],[aix*],[ac_cv_func_pthread_getattr_np=no],[AC_CHECK_FUNCS(pthread_getattr_np)]) set_current_thread_name= AS_IF([test "$ac_cv_func_pthread_setname_np" = yes], [ -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/