push(@conditional_params, 'DEFINE' => '-DHAS_PPPORT_H');
}
+my $prereqs;
-# Create Makefile
-WriteMakefile(
- 'NAME' => 'threads',
- 'AUTHOR' => 'Artur Bergman, Jerry D. Hedden <jdhedden AT cpan DOT org>',
- 'VERSION_FROM' => 'threads.pm',
- 'ABSTRACT_FROM' => 'threads.pm',
- 'PM' => {
- 'threads.pm' => '$(INST_LIBDIR)/threads.pm',
- },
- 'PREREQ_PM' => {
+if (!$ENV{PERL_CORE}) {
+ my $prereqs = {
'strict' => 0,
'warnings' => 0,
'overload' => 0,
'XSLoader' => 0,
'ExtUtils::testlib' => 0,
-# 'Hash::Util' => 0,
-# 'IO::File' => 0,
+ 'Hash::Util' => 0,
+ 'IO::File' => 0,
+ };
+}
+
+# Create Makefile
+WriteMakefile(
+ 'NAME' => 'threads',
+ 'AUTHOR' => 'Artur Bergman, Jerry D. Hedden <jdhedden AT cpan DOT org>',
+ 'VERSION_FROM' => 'threads.pm',
+ 'ABSTRACT_FROM' => 'threads.pm',
+ 'PM' => {
+ 'threads.pm' => '$(INST_LIBDIR)/threads.pm',
},
+ 'PREREQ_PM' => $prereqs,
'INSTALLDIRS' => 'perl',
((ExtUtils::MakeMaker->VERSION() lt '6.25') ?