use strict;
use warnings;
-use ExtUtils::MakeMaker 5.16 ;
+use ExtUtils::MakeMaker ;
use ExtUtils::Constant qw(WriteConstants);
use Config ;
XSPROTOARG => '-noprototypes',
DEFINE => $OS2 || "",
INC => ($^O eq "MacOS" ? "-i ::::db:include" : ""),
- 'depend' => {"version$(OBJ_EXT)" => 'version.c'},
+ ((ExtUtils::MakeMaker->VERSION() gt '6.30')
+ ? ('LICENSE' => 'perl')
+ : ()
+ ),
+ (
+ $] >= 5.005
+ ? (ABSTRACT_FROM => 'DB_File.pm',
+ AUTHOR => 'Paul Marquess <pmqs@cpan.org>')
+ : ()
+ ),
+
+ 'depend' => {'version$(OBJ_EXT)' => 'version.c'},
+ 'clean' => {FILES => 'constants.h constants.xs'},
);
my @names = qw(