From: Craig A. Berry Date: Wed, 13 Jun 2001 13:24:28 +0000 (-0500) Subject: Re: [PATCH perl@10538] make ext/re play nice with DEBUGGING override X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a7729841b0243958cde95082f62715e0ec969cc;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/ext/re/Makefile.PL b/ext/re/Makefile.PL index 9706cc5..f54f1cd 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'; }