… | |
… | |
14 | $DEFINE = " -DCORO_LOOSE"; |
14 | $DEFINE = " -DCORO_LOOSE"; |
15 | } elsif ($^O =~ /irix/) { |
15 | } elsif ($^O =~ /irix/) { |
16 | $iface = "i"; |
16 | $iface = "i"; |
17 | } elsif ($^O =~ /linux/) { |
17 | } elsif ($^O =~ /linux/) { |
18 | # default to setjmp/longjmp on non-x86... |
18 | # default to setjmp/longjmp on non-x86... |
19 | $iface = $Config{archname} =~ /^i[3456]86-/ ? "l" : "s"; |
19 | $iface = $Config{archname} =~ /^(i[3456]86|amd64)-/ ? "l" : "s"; |
20 | } elsif ($^O =~ /(free|net|open)bsd/) { |
20 | } elsif ($^O =~ /(free|net|open)bsd/) { |
21 | # FreeBSD 4.x has ucontext.h but no makecontext et al (see BUGS section of |
21 | # FreeBSD 4.x has ucontext.h but no makecontext et al (see BUGS section of |
22 | # man context). Assume the same problem for all other BSDs. |
22 | # man context). Assume the same problem for all other BSDs. |
23 | $iface = "s"; |
23 | $iface = "s"; |
24 | } elsif ($^O =~ /solaris/) { |
24 | } elsif ($^O =~ /solaris/) { |