# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012.
use strict;
use warnings;

# inserted by Dist::Zilla::Plugin::FFI::CheckLib 1.04
use FFI::CheckLib;
check_lib_or_exit(
  lib => 'rtmidi',
);



use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT" => "Bindings for librtmidi - Realtime MIDI library",
  "AUTHOR" => "John Barrett <john\@jbrt.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0,
    "FFI::CheckLib" => "0.11"
  },
  "DISTNAME" => "MIDI-RtMidi-FFI",
  "LICENSE" => "perl",
  "NAME" => "MIDI::RtMidi::FFI",
  "PREREQ_PM" => {
    "FFI::CheckLib" => 0,
    "FFI::Platypus" => 0,
    "FFI::Platypus::Buffer" => 0,
    "FFI::Platypus::Memory" => 0,
    "FFI::Platypus::Record" => 0,
    "MIDI::Event" => 0
  },
  "TEST_REQUIRES" => {
    "FindBin" => 0,
    "Test::More" => "0.88",
    "Time::HiRes" => 0,
    "lib" => 0
  },
  "VERSION" => "0.01",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "FFI::CheckLib" => 0,
  "FFI::Platypus" => 0,
  "FFI::Platypus::Buffer" => 0,
  "FFI::Platypus::Memory" => 0,
  "FFI::Platypus::Record" => 0,
  "FindBin" => 0,
  "MIDI::Event" => 0,
  "Test::More" => "0.88",
  "Time::HiRes" => 0,
  "lib" => 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);
