Commit | Line | Data |
fc6e75a2 |
1 | use ExtUtils::MakeMaker; |
2 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence |
3 | # the contents of the Makefile that is written. |
4 | |
5 | use Config; |
6 | |
7 | |
8 | unless($Config{'useithreads'} eq 'define') { |
b1edfb69 |
9 | die "We need a perl that is built with USEITHREADS!\n"; |
fc6e75a2 |
10 | } |
11 | |
12 | |
13 | WriteMakefile( |
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>') : ()), |
0665918f |
20 | 'MAN3PODS' => {}, # Pods will be built by installman |
fc6e75a2 |
21 | 'LIBS' => [''], # e.g., '-lm' |
22 | 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' |
23 | # Insert -I. if you add *.h files later: |
24 | # 'INC' => '', # e.g., '-I/usr/include/other' |
25 | # Un-comment this if you add C files to link with later: |
26 | # 'OBJECT' => '$(O_FILES)', # link all the C files too |
27 | ); |
28 | |