ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/BDB/Makefile.PL
(Generate patch)

Comparing BDB/Makefile.PL (file contents):
Revision 1.3 by root, Tue Feb 6 01:52:58 2007 UTC vs.
Revision 1.4 by root, Sun Jul 8 11:12:12 2007 UTC

1use ExtUtils::MakeMaker; 1use ExtUtils::MakeMaker;
2 2
3use Config; 3use Config;
4
5if ($^O =~ /win32/i or $^O =~ /mswin/) {
6
7 # configuration on windows is hardcoded - as always
8
9 warn "your platform is not standards-compliant, you have to port this module first\n";
10 warn "using some hardcoded config that will not work on your system\n";
11
12 $INC = "-I/Perl/lib/CORE -I/sdk/include -I/vc98/include -I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2";
13 $LIBS = ["-L/gtk/lib -ldb44"]; # -lpthreadVC2"];
14} else {
15 $INC = "";
16 $LIBS = ['-lpthread -ldb'],
17}
4 18
5if ($^O =~ /linux/ && $Config{usemymalloc} eq "y") { 19if ($^O =~ /linux/ && $Config{usemymalloc} eq "y") {
6 print <<EOF; 20 print <<EOF;
7 21
8*** 22***
28 COMPRESS => 'gzip -9v', 42 COMPRESS => 'gzip -9v',
29 SUFFIX => '.gz', 43 SUFFIX => '.gz',
30 }, 44 },
31 NAME => "BDB", 45 NAME => "BDB",
32 VERSION_FROM => "BDB.pm", 46 VERSION_FROM => "BDB.pm",
33 LIBS => ['-lpthread -ldb'], 47 INC => $INC,
48 LIBS => $LIBS,
34 PM => { 49 PM => {
35 'BDB.pm' => '$(INST_LIBDIR)/BDB.pm', 50 'BDB.pm' => '$(INST_LIBDIR)/BDB.pm',
36 }, 51 },
37}); 52});
38 53

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines