From: Peter Rabbitson Date: Wed, 31 Oct 2012 10:18:01 +0000 (+0100) Subject: Better check for XS-availability (and bump to M::I which provides it) X-Git-Tag: v0.10007~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=755dd065feaf53aa8c20fff75612b6816106a17a;p=p5sagit%2FClass-Accessor-Grouped.git Better check for XS-availability (and bump to M::I which provides it) --- diff --git a/Makefile.PL b/Makefile.PL index c6ee9cc..3842e22 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,6 @@ use strict; use warnings; -use inc::Module::Install 1; +use inc::Module::Install 1.06; name 'Class-Accessor-Grouped'; license 'perl'; @@ -12,7 +12,7 @@ requires 'Module::Runtime' => '0.012'; requires 'Scalar::Util'; requires 'MRO::Compat' if $] < 5.009_005; -if (can_cc or $Module::Install::AUTHOR) { +if (can_xs or $Module::Install::AUTHOR) { requires 'Sub::Name' => '0.05'; # when changing don't forget to adjust lib/Class/Accessor/Grouped.pm as well