This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add support for reference members of hashes.
[perl5.git] / ext / threads / shared / Makefile.PL
CommitLineData
b050c948
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
12WriteMakefile(
13 'NAME' => 'threads::shared',
14 'VERSION_FROM' => 'shared.pm', # finds $VERSION
15 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
16 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
17 (ABSTRACT_FROM => 'shared.pm', # retrieve abstract from module
18 AUTHOR => 'Arthur Bergman <arthur@contiller.se>') : ()),
19 'LIBS' => [''], # e.g., '-lm'
20 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
21 # Insert -I. if you add *.h files later:
22 'INC' => '', # e.g., '-I/usr/include/other'
23 # Un-comment this if you add C files to link with later:
24 # 'OBJECT' => '$(O_FILES)', # link all the C files too
25
26);