diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-06-26 10:17:26 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-07-01 11:23:03 +1200 |
commit | 42130a64f02294dc8025af3a51bda518c67ab33d (patch) | |
tree | e81c181770e4cc9d3e87e960a25a870e9a4774f5 /configure.ac | |
parent | 9c9531950c007872d7726f050a1dc0cb6f8f0490 (diff) |
Replace copy coroutine with pthread implementation.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 90b5a75b04..f74dbdccd8 100644 --- a/configure.ac +++ b/configure.ac @@ -2533,10 +2533,10 @@ AS_CASE([$coroutine_type], [yes|''], [ coroutine_type=x86 ], [*-openbsd*], [ - coroutine_type=copy + coroutine_type=pthread ], [*-haiku*], [ - coroutine_type=copy + coroutine_type=pthread ], [*-emscripten*], [ coroutine_type=emscripten @@ -2544,7 +2544,7 @@ AS_CASE([$coroutine_type], [yes|''], [ [ AC_CHECK_FUNCS([getcontext swapcontext makecontext], [coroutine_type=ucontext], - [coroutine_type=copy; break] + [coroutine_type=pthread; break] ) ] ) @@ -2554,7 +2554,7 @@ COROUTINE_H=coroutine/$coroutine_type/Context.h AS_IF([test ! -f "$srcdir/$COROUTINE_H"], [AC_MSG_ERROR('$coroutine_type' is not supported as coroutine)]) AS_CASE([$coroutine_type], - [copy|ucontext], [ + [ucontext|pthread], [ COROUTINE_SRC=coroutine/$coroutine_type/Context.c ], [ |