ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/Makefile.PL
Revision: 1.8
Committed: Wed Feb 1 23:43:17 2006 UTC (18 years, 3 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-1_73, rel-1_72
Changes since 1.7: +8 -10 lines
Log Message:
*** empty log message ***

File Contents

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