ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/Makefile.PL
(Generate patch)

Comparing Coro/Coro/Makefile.PL (file contents):
Revision 1.72 by root, Wed Nov 26 09:29:06 2008 UTC vs.
Revision 1.73 by root, Thu Dec 4 17:29:40 2008 UTC

64 # netbsd is totally broken (pthreads are incomaptible with ucontext or 64 # netbsd is totally broken (pthreads are incomaptible with ucontext or
65 # other stack switching mechanisms) therefore, default to pthread - 65 # other stack switching mechanisms) therefore, default to pthread -
66 # hey, it might actually work, with some hacks 66 # hey, it might actually work, with some hacks
67 $iface = "p"; 67 $iface = "p";
68 68
69} elsif ($^O =~ /openbsd/) { 69} elsif ($^O =~ /(openbsd|mirbsd)/) {
70 # openbsd:
70 # asm seems to work, setjmp might, ucontext is missing, threads lets not talk about 71 # asm seems to work, setjmp might, ucontext is missing, threads lets not talk about
71 $iface = $iface_asm || "s"; 72 # try setjmp/longjmp on 4.4, but pthread on earlier
72 73 # mirbsd:
73} elsif ($^O =~ /mirbsd/) {
74 # seems to be bug-to-bug compatible openbsd fork, 74 # seems to be bug-to-bug compatible openbsd fork,
75 # with the name change being the biggets difference. 75 # with the name change being the biggest difference.
76 $iface = $iface_asm || "s"; 76 $iface = $iface_asm || ($Config{osvers} >= 4.4 ? "s" : "p");
77 77
78} elsif ($^O =~ /solaris/) { 78} elsif ($^O =~ /solaris/) {
79 # setjmp, ucontext seem to work, as well as asm 79 # setjmp, ucontext seem to work, as well as asm
80 $iface = $iface_asm || "s"; 80 $iface = $iface_asm || "s";
81 81

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines