aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornick evans <nicholas.evans@gmail.com>2022-06-05 13:33:49 -0400
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-06 11:30:13 +0900
commitd8790ecd04a31e377967fe9cbdfb815cae16e81a (patch)
tree305295c7e9b055ed87ce0b2b51b3f823be93a751
parent5ce0be022f7c499a948869fe3c06dc79c5fe9c55 (diff)
downloadruby-d8790ecd04a31e377967fe9cbdfb815cae16e81a.tar.gz
Export RbConfig::CONFIG["COROUTINE_TYPE"]
THREAD_MODEL is exported already, so this matches that. Exporting this is simpler than inspecting configure_args and arch and matching that up with a specific configure.ac. Fix GH-5976
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bddb5a4f40..e862bf9397 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4007,6 +4007,7 @@ AC_SUBST(EXPORT_PREFIX)
AC_SUBST(SYMBOL_PREFIX)
AC_SUBST(MINIOBJS)
AC_SUBST(THREAD_MODEL)
+AC_SUBST(COROUTINE_TYPE, ${coroutine_type})
AC_SUBST(PLATFORM_DIR)
firstmf=`echo $FIRSTMAKEFILE | sed 's/:.*//'`