… | |
… | |
6 | |
6 | |
7 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
7 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
8 | |
8 | |
9 | # configuration on windows is hardcoded - as always |
9 | # configuration on windows is hardcoded - as always |
10 | |
10 | |
11 | die "your platform is not standards-compliant, you have to port this module first\n";#d# |
11 | warn "your platform is not standards-compliant, you have to port this module first\n"; |
|
|
12 | warn "using some hardcoded config that will not work on your system\n"; |
|
|
13 | |
|
|
14 | $INC = "-I/Perl/lib/CORE -I/sdk/include -I/vc98/include -I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2"; |
|
|
15 | $LIBS = ["-L/gtk/lib"]; # -lpthreadVC2"]; |
12 | |
16 | |
13 | } else { |
17 | } else { |
|
|
18 | |
|
|
19 | $INC = ""; |
|
|
20 | $LIBS = ['-lpthread -lrt', '-lpthread', '-lpthreads', '-lpthreadVC2', '']; |
14 | |
21 | |
15 | if ($^O =~ /freebsd/i) { |
22 | if ($^O =~ /freebsd/i) { |
16 | print <<EOF; |
23 | print <<EOF; |
17 | |
24 | |
18 | This package seems to deadlock or otherwise misbehave under FreeBSD. As |
25 | This package seems to deadlock or otherwise misbehave under FreeBSD. As |
… | |
… | |
57 | COMPRESS => 'gzip -9v', |
64 | COMPRESS => 'gzip -9v', |
58 | SUFFIX => '.gz', |
65 | SUFFIX => '.gz', |
59 | }, |
66 | }, |
60 | NAME => "IO::AIO", |
67 | NAME => "IO::AIO", |
61 | VERSION_FROM => "AIO.pm", |
68 | VERSION_FROM => "AIO.pm", |
62 | LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], |
69 | INC => $INC, |
|
|
70 | LIBS => $LIBS, |
63 | PM => { |
71 | PM => { |
64 | 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', |
72 | 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', |
65 | }, |
73 | }, |
66 | clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, |
74 | clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, |
67 | }); |
75 | }); |