summaryrefslogtreecommitdiff
path: root/vms/gen_shrfls.pl
diff options
context:
space:
mode:
authorCharles Lane <lane@DUPHY4.Physics.Drexel.Edu>2001-11-07 04:23:28 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-07 13:33:16 +0000
commitac25e0e7a2e75fb7e53fc4dc4ebe4a9553c700b9 (patch)
tree8f62b96a03536a6e17238514f7719553dd64889d /vms/gen_shrfls.pl
parent0ac0412a111b224c7f0c310960dde8b2a3fdad89 (diff)
downloadperl-ac25e0e7a2e75fb7e53fc4dc4ebe4a9553c700b9.tar.gz
vms/gen_shrfls.pl more general config.sh parsing
Message-Id: <011107092325.11726@DUPHY4.Physics.Drexel.Edu> (Also i seems that an unrelated experimental patch to lib/ExtUtils/MM_Unix.pm was accidentally included.) p4raw-id: //depot/perl@12883
Diffstat (limited to 'vms/gen_shrfls.pl')
-rw-r--r--vms/gen_shrfls.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/vms/gen_shrfls.pl b/vms/gen_shrfls.pl
index d393b0f0cc..a0ade7e835 100644
--- a/vms/gen_shrfls.pl
+++ b/vms/gen_shrfls.pl
@@ -75,13 +75,13 @@ if ($docc) {
$config = $dir . "config.sh";
open CONFIG, "< $config";
while(<CONFIG>) {
- $use_threads++ if /usethreads='define'/;
- $use_mymalloc++ if /usemymalloc='Y'/;
- $care_about_case++ if /d_vms_case_sensitive_symbols='define'/;
- $debugging_enabled++ if /usedebugging_perl='Y'/;
- $hide_mymalloc++ if /embedmymalloc='Y'/;
+ $use_threads++ if /usethreads='(define|yes|true|t|y|1)'/i;
+ $use_mymalloc++ if /usemymalloc='(define|yes|true|t|y1)'/i;
+ $care_about_case++ if /d_vms_case_sensitive_symbols='(define|yes|true|t|y|1)'/i;
+ $debugging_enabled++ if /usedebugging_perl='(define|yes|true|t|y|1)'/i;
+ $hide_mymalloc++ if /embedmymalloc='(define|yes|true|t|y|1)'/i;
$isgcc++ if /gccversion='[^']/;
- $use_perlio++ if /useperlio='define'/;
+ $use_perlio++ if /useperlio='(define|yes|true|t|y|1)'/i;
}
close CONFIG;