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.15 by root, Sat May 10 18:06:41 2008 UTC vs.
Revision 1.16 by root, Sun May 11 00:01:03 2008 UTC

1use v5.8.8;
2
1use ExtUtils::MakeMaker; 3use ExtUtils::MakeMaker;
2 4
3use Config; 5use Config;
4 6
5if ($^O =~ /win32/i or $^O =~ /mswin/) { 7if ($^O =~ /win32/i or $^O =~ /mswin/) {
46 $ENV{CFLAGS} = $Config{ccflags}; 48 $ENV{CFLAGS} = $Config{ccflags};
47 $ENV{LDFLAGS} = $Config{ldflags}; 49 $ENV{LDFLAGS} = $Config{ldflags};
48 $ENV{LIBS} = $Config{libs}; 50 $ENV{LIBS} = $Config{libs};
49 $ENV{LINKER} = $Config{ld}; # nonstandard 51 $ENV{LINKER} = $Config{ld}; # nonstandard
50 52
51 system $ENV{SHELL}, -c => "cd libeio && ./configure --prefix \Q$Config{prefixexp}\E" 53 system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E"
52 and exit $? >> 8; 54 and exit $? >> 8;
53 } 55 }
54} 56}
55 57
56if ($^O =~ /linux/ && $Config{usemymalloc} eq "y") { 58if ($^O =~ /linux/ && $Config{usemymalloc} eq "y") {
78 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', 80 PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
79 COMPRESS => 'gzip -9v', 81 COMPRESS => 'gzip -9v',
80 SUFFIX => '.gz', 82 SUFFIX => '.gz',
81 }, 83 },
82 depend => { 84 depend => {
83 "AIO.c" => "libeio/eio.h libeio/eio.c libeio/config.h", 85 "AIO.c" => "libeio/eio.h libeio/xthread.h libeio/eio.c libeio/config.h",
84 }, 86 },
85 NAME => "IO::AIO", 87 NAME => "IO::AIO",
86 VERSION_FROM => "AIO.pm", 88 VERSION_FROM => "AIO.pm",
87 INC => $INC, 89 INC => $INC,
88 LIBS => $LIBS, 90 LIBS => $LIBS,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines