This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Forgot the makefile
[perl5.git] / ext / threads / Makefile.PL
CommitLineData
fc6e75a2
AB
1use ExtUtils::MakeMaker;
2# See lib/ExtUtils/MakeMaker.pm for details of how to influence
3# the contents of the Makefile that is written.
4
5use Config;
6
7
8unless($Config{'useithreads'} eq 'define') {
9 die "We need a perl that is built with USEITHREAD!\n";
10}
11
12
13WriteMakefile(
14 'NAME' => 'threads',
15 'VERSION_FROM' => 'threads.pm', # finds $VERSION
16 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
17 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
18 (ABSTRACT_FROM => 'threads.pm', # retrieve abstract from module
19 AUTHOR => 'Artur Bergman <artur@contiller.se>') : ()),
20 'LIBS' => [''], # e.g., '-lm'
21 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
22 # Insert -I. if you add *.h files later:
23# 'INC' => '', # e.g., '-I/usr/include/other'
24 # Un-comment this if you add C files to link with later:
25 # 'OBJECT' => '$(O_FILES)', # link all the C files too
26);
27