… | |
… | |
8 | |
8 | |
9 | $DEFINE = ""; |
9 | $DEFINE = ""; |
10 | |
10 | |
11 | $DEFINE .= " -DHAVE_MMAP" if $Config{d_mmap} eq "define" && $Config{d_munmap} eq "define"; |
11 | $DEFINE .= " -DHAVE_MMAP" if $Config{d_mmap} eq "define" && $Config{d_munmap} eq "define"; |
12 | |
12 | |
13 | if ($^O =~ /win32/i) { |
13 | if ($^O =~ /win32/i or $^O =~ /cygwin/) { |
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 | $iface = "l"; |
18 | $iface = "l"; |
… | |
… | |
68 | l Older GNU/Linux systems (glibc-2.1 and below) need this hack. Since it is |
68 | l Older GNU/Linux systems (glibc-2.1 and below) need this hack. Since it is |
69 | very linux-specific it is also quite fast for newer versions; when it |
69 | very linux-specific it is also quite fast for newer versions; when it |
70 | works, that is... |
70 | works, that is... |
71 | |
71 | |
72 | i IRIX. For some reason, SGI really does not like to follow the unix |
72 | i IRIX. For some reason, SGI really does not like to follow the unix |
73 | standard (does that surprise you?), so this techniquee should be fast |
73 | standard (does that surprise you?), so this technique should be fast |
74 | and safe (althogh s and u should also work now). |
74 | and safe (although s and u should also work now). |
75 | |
75 | |
76 | EOF |
76 | EOF |
77 | |
77 | |
78 | retry: |
78 | retry: |
79 | print "Use which implementation,\n", |
79 | print "Use which implementation,\n", |