diff options
author | Nicholas Clark <nick@ccl4.org> | 2001-06-16 17:52:47 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-16 16:40:30 +0000 |
commit | 0552bf3aa35a09dc25e478c87373918f99839617 (patch) | |
tree | 00fcae335522c361085f034cccf7c78240bdfe29 /ext/GDBM_File | |
parent | a43e85938a852d8ed7e15de0f6441771e932ab6f (diff) | |
download | perl-0552bf3aa35a09dc25e478c87373918f99839617.tar.gz |
Re: perl@10611
Message-ID: <20010616165247.O98663@plum.flirble.org>
p4raw-id: //depot/perl@10631
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r-- | ext/GDBM_File/Makefile.PL | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/GDBM_File/Makefile.PL b/ext/GDBM_File/Makefile.PL index 2a7256fa41..f9dd2d203c 100644 --- a/ext/GDBM_File/Makefile.PL +++ b/ext/GDBM_File/Makefile.PL @@ -1,8 +1,18 @@ use ExtUtils::MakeMaker; +use ExtUtils::Constant 0.07 'WriteConstants'; WriteMakefile( NAME => 'GDBM_File', LIBS => ["-L/usr/local/lib -lgdbm", "-ldbm"], MAN3PODS => {}, # Pods will be built by installman. XSPROTOARG => '-noprototypes', # XXX remove later? VERSION_FROM => 'GDBM_File.pm', + realclean => {FILES=> 'constants.c constants.xs'}, +); +WriteConstants( + NAME => 'GDBM_File', + DEFAULT_TYPE => 'IV', + BREAKOUT_AT => 8, + NAMES => [qw(GDBM_CACHESIZE GDBM_FAST GDBM_FASTMODE GDBM_INSERT GDBM_NEWDB + GDBM_NOLOCK GDBM_READER GDBM_REPLACE GDBM_WRCREAT + GDBM_WRITER)], ); |