From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Sat, 8 Jan 2022 17:02:29 +0330 Subject: [PATCH] Teach configure about serenity Co-Authored-By: Eric Seifert Co-Authored-By: Tim Schumacher --- configure | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure b/configure index db34b7918baf98119bc1b2de420b7f36f9692260..fc20a056a1acb046bffece2458aeddb9389fc48c 100755 --- a/configure +++ b/configure @@ -29485,6 +29485,10 @@ esac ;; #( *-haiku*) : + coroutine_type=pthread + ;; #( + *-serenity*) : + coroutine_type=pthread ;; #( *-emscripten*) : @@ -30227,7 +30231,7 @@ esac fi case "$target_os" in #( - linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu) : + linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu | serenity*) : if test "$rb_cv_binary_elf" = no then : @@ -30417,7 +30421,7 @@ fi *) : ;; esac ;; #( - linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku*) : + linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu | haiku* | serenity*) : : ${LDSHARED='$(CC) -shared'} if test "$rb_cv_binary_elf" = yes @@ -31614,7 +31618,7 @@ esac LIBRUBY_ALIASES='$(LIBRUBY_SONAME) lib$(RUBY_SO_NAME).$(SOEXT)' ;; #( - linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu | haiku*) : + linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu | haiku* | serenity*) : # RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS) for rb_opt in '-Wl,-soname,$(LIBRUBY_SONAME)' "$LDFLAGS_OPTDIR"; do