@objs = qw(Imager.o draw.o image.o io.o iolayer.o log.o
gaussian.o conv.o pnm.o raw.o feat.o font.o
filters.o dynaload.o stackmach.o datatypes.o
- regmach.o trans2.o quant.o);
+ regmach.o trans2.o quant.o error.o convert.o
+ map.o);
%opts=(
'NAME' => 'Imager',
'OBJECT' => join(' ', @objs, $F_OBJECT)
);
+if ($] ge '5.005') {
+ $opts{AUTHOR} = 'Arnar M. Hrafnkelsson, addi@umich.edu';
+ $opts{ABSTRACT} = 'Perl extension for Generating 24 bit Images';
+}
+
if ($VERBOSE) { print Dumper(\%opts); }
mkdir('testout',0777); # since we cannot include it in the archive.
WriteMakefile(%opts);
+
exit;
}
# we need the version in a #ifdefable form
-
+
$F_DEFINE .= "-DIM_GIFMAJOR=$major -DIM_GIFMINOR=$minor";
}
order=>'21',
def=>'HAVE_LIBJPEG',
inccheck=>sub { $_[0] eq 'jpeglib.h' },
- libcheck=>sub { $_[0] eq 'libjpeg.a' or $_ eq "libjpeg.$lext" },
+ libcheck=>sub { $_[0] eq "libjpeg$aext" or $_ eq "libjpeg.$lext" },
libfiles=>'-ljpeg',
objfiles=>'jpeg.o',
docs=>q{
order=>'23',
def=>'HAVE_LIBTIFF',
inccheck=>sub { $_[0] eq 'tiffio.h' },
- libcheck=>sub { $_[0] eq 'libtiff.a' or $_ eq "libtiff.$lext" },
+ libcheck=>sub { $_[0] eq "libtiff$aext" or $_ eq "libtiff.$lext" },
libfiles=>'-ltiff',
objfiles=>'tiff.o',
docs=>q{
order=>'20',
def=>'HAVE_LIBGIF',
inccheck=>sub { $_[0] eq 'gif_lib.h' },
- libcheck=>sub { $_[0] eq 'libgif.a' or $_[0] eq "libgif.$lext" },
+ libcheck=>sub { $_[0] eq "libgif$aext" or $_[0] eq "libgif.$lext" },
libfiles=>'-lgif',
objfiles=>'gif.o',
docs=>q{
order=>'21',
def=>'HAVE_LIBGIF',
inccheck=>sub { $_[0] eq 'gif_lib.h' },
- libcheck=>sub { $_[0] eq 'libungif.a' or $_[0] eq "libungif.$lext" },
+ libcheck=>sub { $_[0] eq "libungif$aext" or $_[0] eq "libungif.$lext" },
libfiles=>'-lungif',
objfiles=>'gif.o',
docs=>q{