diff options
Diffstat (limited to 'tool/m4')
-rw-r--r-- | tool/m4/ruby_thread.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/m4/ruby_thread.m4 b/tool/m4/ruby_thread.m4 index 3831bc4c06..2e58eddb98 100644 --- a/tool/m4/ruby_thread.m4 +++ b/tool/m4/ruby_thread.m4 @@ -8,6 +8,9 @@ AC_ARG_WITH(thread, [mingw*], [ THREAD_MODEL=win32 ], + [wasi*], [ + THREAD_MODEL=none + ], [ AS_IF([test "$rb_with_pthread" = "yes"], [ THREAD_MODEL=pthread @@ -19,6 +22,7 @@ AC_ARG_WITH(thread, AS_CASE(["$THREAD_MODEL"], [pthread], [AC_CHECK_HEADERS(pthread.h)], [win32], [], +[none], [], [""], [AC_MSG_ERROR(thread model is missing)], [AC_MSG_ERROR(unknown thread model $THREAD_MODEL)]) |