This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Replace all reads of RXf_UTF8 with RX_UTF8().
[perl5.git] / ext / NDBM_File / Makefile.PL
1 use Config;
2 use ExtUtils::MakeMaker;
3
4 my $define = "";
5
6 if($Config{i_gdbm} && $Config{i_gdbm} eq 'define') {
7     $define .= " -DHAS_GDBM";
8 }
9
10 WriteMakefile(
11     NAME        => 'NDBM_File',
12     LIBS => ["-L/usr/local/lib -lndbm", "-ldbm -lucb"],
13     DEFINE => $define,
14     MAN3PODS    => {},  # Pods will be built by installman.
15     XSPROTOARG => '-noprototypes',              # XXX remove later?
16     VERSION_FROM => 'NDBM_File.pm',
17     INC => ($^O eq "MacOS" ? "-i ::::db:include" : "")
18 );