projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd040c5
)
Re: [PATCH perl@10538] make ext/re play nice with DEBUGGING override
author
Craig A. Berry
<craigberry@mac.com>
Wed, 13 Jun 2001 13:24:28 +0000
(08:24 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 13 Jun 2001 18:05:09 +0000
(18:05 +0000)
Message-Id: <5.1.0.14.0.
20010613131907
.
01bbc210
@mail.mac.com>
p4raw-id: //depot/perl@10575
ext/re/Makefile.PL
patch
|
blob
|
history
diff --git
a/ext/re/Makefile.PL
b/ext/re/Makefile.PL
index
9706cc5
..
f54f1cd
100644
(file)
--- a/
ext/re/Makefile.PL
+++ b/
ext/re/Makefile.PL
@@
-10,7
+10,8
@@
my $defines = '-DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG';
# not but we need to remember that we pretended so we can avoid
# linking to things that aren't there.
-if ($Config{'usedebugging_perl'} ne 'Y') {
+if ( (($Config{'ccflags'} !~ /DEBUGGING/) && $^O ne 'VMS') ||
+ (exists($Config{'usedebugging_perl'}) && $Config{'usedebugging_perl'} ne 'Y') ) {
$defines .= ' -DDEBUGGING -DWAS_NOT_DEBUGGING';
}