diff options
author | Craig A. Berry <craigberry@mac.com> | 2001-06-13 08:24:28 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-13 18:05:09 +0000 |
commit | 5a7729841b0243958cde95082f62715e0ec969cc (patch) | |
tree | ba0074a04fb348119426dc83ce9e63b3eec3db01 /ext/re/Makefile.PL | |
parent | cd040c5e5361532c72bb6628047b8d6c97fee51b (diff) | |
download | perl-5a7729841b0243958cde95082f62715e0ec969cc.tar.gz |
Re: [PATCH perl@10538] make ext/re play nice with DEBUGGING override
Message-Id: <5.1.0.14.0.20010613131907.01bbc210@mail.mac.com>
p4raw-id: //depot/perl@10575
Diffstat (limited to 'ext/re/Makefile.PL')
-rw-r--r-- | ext/re/Makefile.PL | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/re/Makefile.PL b/ext/re/Makefile.PL index 9706cc5742..f54f1cd726 100644 --- 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'; } |