X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FIO%2FMakefile.PL;h=095d7c2b5110b0f5bfaedb14b77d6b12ea48c9da;hb=06bf62c76633176572262d33d1b4072ea6d227a8;hp=05c7227dcb9f123f002dc20e2fac688284df1d03;hpb=cf7fe8a27ac6ee8776974a7c83e80425f2ec0ff8;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/IO/Makefile.PL b/ext/IO/Makefile.PL index 05c7227..095d7c2 100644 --- a/ext/IO/Makefile.PL +++ b/ext/IO/Makefile.PL @@ -1,24 +1,9 @@ use ExtUtils::MakeMaker; use Config qw(%Config); -#--- Attempt to find - -my $define = ""; - -my @inc = split(/\s+/, join(" ",$Config{'usrinc'},$Config{'incpth'},$Config{'locincpth'})); -foreach $path (@inc) { - if(-f $path . "/poll.h") { - $define .= "-DI_POLL "; - last; - } -} - -#--- Write the Makefile - WriteMakefile( VERSION_FROM => "IO.pm", NAME => "IO", OBJECT => '$(O_FILES)', - DEFINE => $define, MAN3PODS => {}, # Pods will be built by installman. );