0.003
+ - avoid some Makefile.PL warnings
+ - use Imager in Makefile.PL since I'd prefer to error on that
+ rather than Imager::ExtUtils
+ - work around Debian strangeness
- the x11 capture wasn't releasing the XImage or the line
and color buffers.
- x11_open() incorrectly reset the error handler to junk
#!perl -w
use strict;
use ExtUtils::MakeMaker;
+use Imager 0.54;
use Imager::ExtUtils;
use Config;
use File::Spec;
$opts{LIBS} = "@lflags" if @lflags;
$opts{INC} .= " @cflags" if @cflags;
-if ($ExtUtils::MakeMaker::VERSION > 6.06) {
+# avoid "... isn't numberic in numeric gt ..." warnings for dev versions
+my $eu_mm_version = eval $ExtUtils::MakeMaker::VERSION;
+if ($eu_mm_version > 6.06) {
$opts{AUTHOR} = 'Tony Cook <tonyc@cpan.org>';
$opts{ABSTRACT} = 'Screen/Window capture to Imager images';
}
-if ($ExtUtils::MakeMaker::VERSION > 6.30) {
+# LICENSE was introduced in 6.30_01, but Debian etch includes
+# (as of 2007/01/12) an ExtUtils::MakeMaker versioned 6.30_01 without
+# LICENSE support
+if ($eu_mm_version > 6.3001) {
$opts{LICENSE} = 'perl';
}