The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# This Makefile.PL for Set-IntervalTree was generated by
# Dist::Zilla::Plugin::MakeMaker::Awesome 0.38.
# Don't edit it but the dist.ini and plugins used to construct it.

use strict;
use warnings;

use 5.006001;
use ExtUtils::MakeMaker;

use ExtUtils::CppGuess;
my $guess = ExtUtils::CppGuess->new;

my %WriteMakefileArgs = (
  "ABSTRACT" => "Perform range-based lookups on sets of ranges",
  "AUTHOR" => "Benjamin Booth <benbooth\@cpan.org>, Stephan Loyd <sloyd\@cpan.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::CppGuess" => 0,
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Set-IntervalTree",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.006001",
  "NAME" => "Set::IntervalTree",
  "PREREQ_PM" => {
    "AutoLoader" => 0,
    "Carp" => 0,
    "Exporter" => 0,
    "XSLoader" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Test::More" => 0
  },
  "VERSION" => "0.11",
  "test" => {
    "TESTS" => "t/*.t"
  }
);

%WriteMakefileArgs = (
    %WriteMakefileArgs,
    $guess->makemaker_options,
    XSOPT => '-C++',
    TYPEMAPS => ['perlobject.map'],
    # to prevent min/max macro issue with MSVC,
    DEFINE => '-DNOMINMAX',
    # may be needed on older versions of gcc,
    ($guess->is_gcc? ( CC => 'g++') : ()),
);

my %FallbackPrereqs = (
  "AutoLoader" => 0,
  "Carp" => 0,
  "Exporter" => 0,
  "Test::More" => 0,
  "XSLoader" => 0,
  "strict" => 0,
  "warnings" => 0
);

unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);