As we're not passing over (or copying in) a NUL, don't need that extra
[p5sagit/p5-mst-13.2.git] / ext / threads / Makefile.PL
index aeecbde..34fdb9f 100755 (executable)
@@ -58,7 +58,19 @@ if (grep { $_ eq 'PERL_CORE=1' } @ARGV) {
         die("No 'C' compiler found to build 'threads'\n");
     }
 
-    push(@conditional_params, 'DEFINE' => '-DHAS_PPPORT_H');
+    push(@conditional_params, 'DEFINE' => '-DHAS_PPPORT_H',
+                              'PREREQ_PM'         => {
+                                    'strict'            => 0,
+                                    'warnings'          => 0,
+                                    'overload'          => 0,
+                                    'Config'            => 0,
+                                    'Carp'              => 0,
+                                    'XSLoader'          => 0,
+
+                                    'ExtUtils::testlib' => 0,
+                                    'Hash::Util'        => 0,
+                                    'IO::File'          => 0,
+                              });
 }
 
 
@@ -71,18 +83,6 @@ WriteMakefile(
     'PM' => {
         'threads.pm'    => '$(INST_LIBDIR)/threads.pm',
     },
-    'PREREQ_PM'         => {
-        'strict'          => 0,
-        'warnings'        => 0,
-        'overload'        => 0,
-        'Config'          => 0,
-        'Carp'            => 0,
-        'XSLoader'        => 0,
-
-        'ExtUtils::testlib' => 0,
-#        'Hash::Util'        => 0,
-#        'IO::File'          => 0,
-    },
     'INSTALLDIRS'       => 'perl',
 
     ((ExtUtils::MakeMaker->VERSION() lt '6.25') ?