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

Comparing IO-AIO/Makefile.PL (file contents):
Revision 1.2 by root, Tue Jul 12 11:02:54 2005 UTC vs.
Revision 1.9 by root, Mon May 8 17:10:27 2006 UTC

1use ExtUtils::MakeMaker; 1use ExtUtils::MakeMaker;
2 2
3use Config; 3use Config;
4
5require "autoconf.pm";
6
7if ($^O =~ /win32/i or $^O =~ /mswin/) {
8
9 # configuration on windows is hardcoded - as always
10
11 die "your platform is not standards-compliant, you have to port this module first\n";#d#
12
13} else {
14
15 if ($^O =~ /freebsd/i) {
16 print <<EOF;
17
18This package seems to deadlock or otherwise misbehave under FreeBSD. As
19documentation on FreeBSD threading is sorely lacking and confusing, I'll
20just call FreeBSD broken with regards to threading.
21
22If you find out whats wrong, please tell me.
23
24Some people had luck with using OPTIMIZE=-O instead of -O2, so you might
25want to try that.
26
27EOF
28 }
29
30 autoconf::run_script()
31 and die "\nconfigure failed, check it's output above and autoconf/config.log\n\n";
32}
4 33
5my $mm = MM->new({ 34my $mm = MM->new({
6 dist => { 35 dist => {
7 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 36 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
8 COMPRESS => 'gzip -9v', 37 COMPRESS => 'gzip -9v',
9 SUFFIX => '.gz', 38 SUFFIX => '.gz',
10 }, 39 },
11 NAME => "IO::AIO", 40 NAME => "IO::AIO",
12 VERSION_FROM => "AIO.pm", 41 VERSION_FROM => "AIO.pm",
13 LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], 42 LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''],
43 clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" },
14}); 44});
15 45
16$mm->flush; 46$mm->flush;
17 47

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines