… | |
… | |
5 | |
5 | |
6 | *** |
6 | *** |
7 | *** This module requires phreads (listening to -lpthread) |
7 | *** This module requires phreads (listening to -lpthread) |
8 | *** A pthreads implementation for windows can be found at |
8 | *** A pthreads implementation for windows can be found at |
9 | *** http://sourceware.org/pthreads-win32/ |
9 | *** http://sourceware.org/pthreads-win32/ |
|
|
10 | *** |
|
|
11 | *** Due to bugs in perl, this module does not currently work on windows. |
10 | *** |
12 | *** |
11 | |
13 | |
12 | EOF |
14 | EOF |
13 | |
15 | |
14 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
16 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
… | |
… | |
17 | |
19 | |
18 | warn "your platform is not standards-compliant, you have to port this module first\n"; |
20 | warn "your platform is not standards-compliant, you have to port this module first\n"; |
19 | warn "using some hardcoded config that will not work on your system\n"; |
21 | warn "using some hardcoded config that will not work on your system\n"; |
20 | warn "hint: edit the Makefile.PL\n\n"; |
22 | warn "hint: edit the Makefile.PL\n\n"; |
21 | |
23 | |
22 | $INC = "-I/gtk/include"; |
24 | $INC = "-I/sdk/include -I/vc98/include -I/gtk/include"; |
23 | $LIBS = ["-L/gtk/lib -lpthreadVC2"]; |
25 | $LIBS = ["-L/gtk/lib -lpthreadVC2"]; |
24 | } else { |
26 | } else { |
25 | $INC = ""; |
27 | $INC = ""; |
26 | $LIBS = ['-lpthread'], |
28 | $LIBS = ['-lpthread'], |
27 | } |
29 | } |
… | |
… | |
36 | VERSION_FROM => "Async.pm", |
38 | VERSION_FROM => "Async.pm", |
37 | INC => $INC, |
39 | INC => $INC, |
38 | LIBS => $LIBS, |
40 | LIBS => $LIBS, |
39 | PREREQ_FATAL => 1, |
41 | PREREQ_FATAL => 1, |
40 | PREREQ_PM => { |
42 | PREREQ_PM => { |
41 | EV => 3.6, #TODO bump |
43 | EV => 3.7, |
42 | Async::Interrupt => 0, |
44 | Async::Interrupt => 0.5, |
43 | common::sense => 0, |
45 | common::sense => 0, |
44 | }, |
46 | }, |
45 | META_MERGE => { |
47 | META_MERGE => { |
46 | configure_requires => { |
48 | configure_requires => { |
47 | EV => 2.0, |
49 | EV => 3.7, |
48 | }, |
50 | }, |
49 | }, |
51 | }, |
50 | )}); |
52 | )}); |
51 | |
53 | |
52 | $mm->flush; |
54 | $mm->flush; |