diff options
author | Nicholas Clark <nick@ccl4.org> | 2002-03-04 22:48:38 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-04 22:17:56 +0000 |
commit | 1cb0fb506639f41107792256805556ee04e5463a (patch) | |
tree | edcae7d6f9d2e1e4ca67c0e7cd70b1943e06b734 /ext/GDBM_File | |
parent | 26f1752374957703dbfe054b7fa25c12c67ca6f3 (diff) | |
download | perl-1cb0fb506639f41107792256805556ee04e5463a.tar.gz |
(was Re: [PATCH @13746] h2xs)
Message-ID: <20020304224837.GA4284@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@15023
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r-- | ext/GDBM_File/GDBM_File.xs | 4 | ||||
-rw-r--r-- | ext/GDBM_File/Makefile.PL | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/ext/GDBM_File/GDBM_File.xs b/ext/GDBM_File/GDBM_File.xs index d58feeccef..5684a968e0 100644 --- a/ext/GDBM_File/GDBM_File.xs +++ b/ext/GDBM_File/GDBM_File.xs @@ -77,11 +77,11 @@ output_datum(pTHX_ SV *arg, char *str, int size) #define gdbm_setopt(db,optflag,optval,optlen) not_here("gdbm_setopt") #endif -#include "constants.c" +#include "const-c.inc" MODULE = GDBM_File PACKAGE = GDBM_File PREFIX = gdbm_ -INCLUDE: constants.xs +INCLUDE: const-xs.inc GDBM_File gdbm_TIEHASH(dbtype, name, read_write, mode, fatal_func = (FATALFUNC)croak) diff --git a/ext/GDBM_File/Makefile.PL b/ext/GDBM_File/Makefile.PL index f9dd2d203c..abdceecd5d 100644 --- a/ext/GDBM_File/Makefile.PL +++ b/ext/GDBM_File/Makefile.PL @@ -1,12 +1,11 @@ use ExtUtils::MakeMaker; -use ExtUtils::Constant 0.07 'WriteConstants'; +use ExtUtils::Constant 0.11 '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', |