ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/Makefile.PL
Revision: 1.6
Committed: Fri Aug 19 01:07:27 2005 UTC (18 years, 9 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-1_5
Changes since 1.5: +2 -1 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     This package seems to deadlock under FreeBSD. As documentation on FreeBSD
11     threading is sorely lacking and confusing, I'll just call FreeBSD broken
12     with regards to threading.
13    
14     If you get it to work, tell me how (maybe you need to specify magical link
15     flags despite man pthread telling me otherwise, maybe yo need special
16     library, maybe you need magical preprocessor symbols, maybe you need to
17     recompile or re-link perl with threads enabled (a bad idea) - I have no
18     idea, and I no longer care).
19    
20     EOF
21     }
22    
23 root 1.6 autoconf::run_script()
24     and die "\nconfigure failed, check it's output above and autoconf/config.log\n\n";
25 root 1.3
26 root 1.1 my $mm = MM->new({
27     dist => {
28     PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
29     COMPRESS => 'gzip -9v',
30     SUFFIX => '.gz',
31     },
32     NAME => "IO::AIO",
33     VERSION_FROM => "AIO.pm",
34 root 1.2 LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''],
35 root 1.4 clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" },
36 root 1.1 });
37    
38     $mm->flush;
39