- prevent warnings from Makefile.PL when there's no libraries found
- Imager no longer assumes that MSVC is the only native Win32
compiler, MinGW can be used to build Imager.
+- fixed an inverted condition checking the giflib version, and
+ replaced a manual test skip in t/t105gif.t
=================================================================
my $gifver = Imager::i_giflib_version();
SKIP:
{
- skip("giflib3 doesn't support callbacks", 4) if $gifver >= 4.0;
+ skip("giflib3 doesn't support callbacks", 4) unless $gifver >= 4.0;
# reading with a callback
# various sizes to make sure the buffering works
# requested size
my $can_write_callback = 0;
unlink $buggy_giflib_file;
- if ($gifver >= 4.0) {
+ SKIP:
+ {
+ skip("giflib3 doesn't support callbacks", 1) unless $gifver >= 4.0;
++$can_write_callback;
my $good = ext_test(14, <<'ENDOFCODE');
use Imager;
EOS
}
}
- else {
- print "ok 14 # skip giflib3 doesn't support callbacks\n";
- }
@imgs = ();
my $c = i_color_new(0,0,0,0);
for my $g (0..3) {