Upgrade DB_File to 1.56:
[p5sagit/p5-mst-13.2.git] / ext / DB_File / Makefile.PL
CommitLineData
88108326 1use ExtUtils::MakeMaker 5.16 ;
2use Config ;
3
4# OS2 is a special case, so check for it now.
5my $OS2 = "-DOS2" if $Config{'osname'} eq 'os2' ;
8e07c86e 6
1f70e1ea 7my $LIB = "-ldb" ;
8# so is win32
9$LIB = "-llibdb" if $^O eq 'MSWin32' ;
10
8e07c86e 11WriteMakefile(
88108326 12 NAME => 'DB_File',
1f70e1ea 13 LIBS => ["-L/usr/local/lib $LIB"],
88108326 14 MAN3PODS => ' ', # Pods will be built by installman.
15 #INC => '-I/usr/local/include',
c07a80fd 16 VERSION_FROM => 'DB_File.pm',
88108326 17 XSPROTOARG => '-noprototypes',
18 DEFINE => "$OS2",
19 );
8e07c86e 20