+2009-12-08 6.5.8-5 <kmx@volny...>
+ * A couple of minor changes to Makefile.PL to support Strawberry Perl.
+
2009-12-06 6.5.8-4 Cristy <quetzlzacatenango@image...>
* Support the crop() gravity option.
unlink "$wrkdir/libMagickCore.def", "$wrkdir/libMagickCore.a";
system("pexports \"$d\" >\"$wrkdir/libMagickCore.def\" 2>$devnull");
open(DEF, "<$wrkdir/libMagickCore.def");
- my @found = grep(/InitializeMagickResources/, <DEF>); #checking if we have taken the right DLL
+ my @found = grep(/MagickCoreGenesis/, <DEF>); #checking if we have taken the right DLL
close(DEF);
next unless(@found);
print STDERR "Gonna create 'libMagickCore.a' from '$d'\n";
unlink "$wrkdir/libMagickCore.def", "$wrkdir/libMagickCore.a";
system("pexports \"$d\" >\"$wrkdir/libMagickCore.def\" 2>$devnull");
open(DEF, "<$wrkdir/libMagickCore.def");
- my @found = grep(/InitializeMagickResources/, <DEF>); #checking if we have taken the right DLL
+ my @found = grep(/MagickCoreGenesis/, <DEF>); #checking if we have taken the right DLL
close(DEF);
next unless(@found);
print STDERR "Gonna create 'libMagickCore.a' from '$d'\n";
\r
# 1) Test reading and displaying an image\r
#\r
-if ( defined($ENV{'DISPLAY'}) ) {\r
+if ( defined($ENV{'DISPLAY'}) && ($^O ne 'MSWin32') ) {\r
$image=Image::Magick->new;\r
$x=$image->ReadImage('congrats.miff');\r
if( "$x" ) {\r