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.6 by root, Fri Aug 19 01:07:27 2005 UTC vs.
Revision 1.9 by root, Mon May 8 17:10:27 2006 UTC

2 2
3use Config; 3use Config;
4 4
5require "autoconf.pm"; 5require "autoconf.pm";
6 6
7if ($^O =~ /freebsd/i) { 7if ($^O =~ /win32/i or $^O =~ /mswin/) {
8 print <<EOF;
9 8
10This package seems to deadlock under FreeBSD. As documentation on FreeBSD 9 # configuration on windows is hardcoded - as always
11threading is sorely lacking and confusing, I'll just call FreeBSD broken
12with regards to threading.
13 10
14If you get it to work, tell me how (maybe you need to specify magical link 11 die "your platform is not standards-compliant, you have to port this module first\n";#d#
15flags despite man pthread telling me otherwise, maybe yo need special 12
16library, maybe you need magical preprocessor symbols, maybe you need to 13} else {
17recompile or re-link perl with threads enabled (a bad idea) - I have no 14
18idea, and I no longer care). 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.
19 26
20EOF 27EOF
28 }
29
30 autoconf::run_script()
31 and die "\nconfigure failed, check it's output above and autoconf/config.log\n\n";
21} 32}
22
23autoconf::run_script()
24 and die "\nconfigure failed, check it's output above and autoconf/config.log\n\n";
25 33
26my $mm = MM->new({ 34my $mm = MM->new({
27 dist => { 35 dist => {
28 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 . ;',
29 COMPRESS => 'gzip -9v', 37 COMPRESS => 'gzip -9v',

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines