summaryrefslogtreecommitdiff
path: root/ext/Sys
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-06-16 17:52:47 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-16 16:40:30 +0000
commit0552bf3aa35a09dc25e478c87373918f99839617 (patch)
tree00fcae335522c361085f034cccf7c78240bdfe29 /ext/Sys
parenta43e85938a852d8ed7e15de0f6441771e932ab6f (diff)
downloadperl-0552bf3aa35a09dc25e478c87373918f99839617.tar.gz
Re: perl@10611
Message-ID: <20010616165247.O98663@plum.flirble.org> p4raw-id: //depot/perl@10631
Diffstat (limited to 'ext/Sys')
-rw-r--r--ext/Sys/Syslog/Makefile.PL13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/Sys/Syslog/Makefile.PL b/ext/Sys/Syslog/Makefile.PL
index e5edf3e1ba..5824dfbcfb 100644
--- a/ext/Sys/Syslog/Makefile.PL
+++ b/ext/Sys/Syslog/Makefile.PL
@@ -1,4 +1,5 @@
use ExtUtils::MakeMaker;
+use ExtUtils::Constant 0.07 'WriteConstants';
WriteMakefile(
NAME => 'Sys::Syslog',
@@ -6,3 +7,15 @@ WriteMakefile(
MAN3PODS => {}, # Pods will be built by installman.
XSPROTOARG => '-noprototypes',
);
+WriteConstants(
+ NAME => 'GDBM_File',
+ NAMES => [qw(LOG_ALERT LOG_AUTH LOG_AUTHPRIV LOG_CONS LOG_CRIT LOG_CRON
+ LOG_DAEMON LOG_DEBUG LOG_EMERG LOG_ERR LOG_FACMASK LOG_FTP
+ LOG_INFO LOG_KERN LOG_LFMT LOG_LOCAL0 LOG_LOCAL1 LOG_LOCAL2
+ LOG_LOCAL3 LOG_LOCAL4 LOG_LOCAL5 LOG_LOCAL6 LOG_LOCAL7 LOG_LPR
+ LOG_MAIL LOG_NDELAY LOG_NEWS LOG_NFACILITIES LOG_NOTICE
+ LOG_NOWAIT LOG_ODELAY LOG_PERROR LOG_PID LOG_PRIMASK LOG_SYSLOG
+ LOG_USER LOG_UUCP LOG_WARNING),
+ {name=>"_PATH_LOG", type=>"PV", default=>["PV", '""']},
+ ],
+);