5 use ExtUtils::MakeMaker;
9 if ($Config{d_cplusplus}) {
10 print STDERR <<'FAILPLUSPLUS';
11 Configuration aborted: C++ compilers are not supported
13 Your perl has been built with a C++ compiler, which is then handed to
14 XS extensions as if it were a proper C compiler. This extension is
15 written in C, and naturally only supports C compilers, so it cannot be
18 Note that building perl with a C++ compiler is only supposed to be done
19 by core developers in order to check that the perl headers can be
20 included from C++ code. Its use in the wild is not supported by the
21 perl5 porters. If your vendor has built its perl binary with a C++
22 compiler, please consider reporting this issue to them.
24 This text will be displayed 10 seconds, and then the configuration
33 # Fork emulation got "fixed" in 5.10.1
34 if ($^O eq 'MSWin32' && "$]" < 5.010_001) {
35 push @DEFINES, '-DXSH_FORKSAFE=0';
38 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
40 my $dist = 're-engine-Plugin';
42 (my $name = $dist) =~ s{-}{::}g;
48 my %BUILD_REQUIRES = (
50 'ExtUtils::MakeMaker' => 0,
57 configure_requires => {
59 'ExtUtils::MakeMaker' => 0,
66 bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
67 homepage => "http://search.cpan.org/dist/$dist/",
68 license => 'http://dev.perl.org/licenses/',
69 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
74 "\x{C6}var Arnfj\x{F6}r\x{F0} Bjarmason <avar\@cpan.org>",
75 'Vincent Pit <perl@profvince.com>',
78 my $AUTHOR = $ExtUtils::MakeMaker::VERSION < 6.58 ? $AUTHORS[0]
85 ABSTRACT_FROM => 'Plugin.pod',
86 VERSION_FROM => 'Plugin.pm',
89 PREREQ_PM => \%PREREQ_PM,
90 MIN_PERL_VERSION => '5.010',
93 PREOP => 'pod2text -u Plugin.pod > $(DISTVNAME)/README',
94 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
97 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
100 TESTS => 't/*.t t/*/*.t t/*/*/*.t',