# This Makefile.PL for Crypt-OpenSSL3 was generated by
# Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
# Don't edit it but the dist.ini and plugins used to construct it.

use strict;
use warnings;

use 5.010;
use ExtUtils::MakeMaker 7.12;

use Crypt::OpenSSL::Guess;

my %WriteMakefileArgs = (
  "ABSTRACT" => "A modern OpenSSL wrapper",
  "AUTHOR" => "Leon Timmermans <fawaka\@gmail.com>",
  "BUILD_REQUIRES" => {
    "ExtUtils::ParseXS" => "3.60"
  },
  "CONFIGURE_REQUIRES" => {
    "Crypt::OpenSSL::Guess" => 0,
    "ExtUtils::MakeMaker" => "7.12"
  },
  "DISTNAME" => "Crypt-OpenSSL3",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.010",
  "NAME" => "Crypt::OpenSSL3",
  "PREREQ_PM" => {
    "XSLoader" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => 0,
    "version" => 0
  },
  "VERSION" => "0.005",
  "test" => {
    "TESTS" => "t/*.t"
  }
);

%WriteMakefileArgs = (
    %WriteMakefileArgs,
    LIBS => [openssl_lib_paths() . ' -lssl -lcrypto'],,
    INC  => openssl_inc_paths() . ' -I.',,
    XSMULTI => 1,,
);

my %FallbackPrereqs = (
  "ExtUtils::ParseXS" => "3.60",
  "File::Spec" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "Test::More" => 0,
  "XSLoader" => 0,
  "strict" => 0,
  "version" => 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);
