IO-AIO

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

   {
      local %ENV = %ENV;

      while (my ($k, $v) = each %Config) {
         $ENV{$k} = $v;
      }

      $ENV{MAKE}     = $Config{make};
      $ENV{SHELL}    = $Config{sh};
      $ENV{CC}       = $Config{cc};
      $ENV{CPPFLAGS} = "$Config{cppflags} -I$Config{archlibexp}/CORE";
      $ENV{CFLAGS}   = $Config{ccflags};
      $ENV{LDFLAGS}  = "$Config{ldflags} $Config{ccdlflags}";
      $ENV{LINKER}   = $Config{ld}; # nonstandard
      $ENV{LIBS}     = "-L$Config{archlibexp}/CORE -L$Config{privlibexp} -lperl $Config{perllibs}";

      system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E"
         and exit $? >> 8;
   }
}

if ($^O =~ /linux/ && $Config{usemymalloc} eq "y") {
   print <<EOF;



( run in 0.228 second using v1.01-cache-2.11-cpan-8d75d55dd25 )