Craig A. Berry [Wed, 13 Jun 2001 13:24:28 +0000 (08:24 -0500)]
Message-Id: <5.1.0.14.0.
20010613131907.01bbc210@mail.mac.com>
p4raw-id: //depot/perl@10575
# 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';
}