Message-ID: <Pine.SOL.4.10.
10111201240270.15132-100000@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@13134
my $defines = '-DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG';
-# We need to pretend that DEBUGGING is in effect even if it's
-# not but we need to remember that we pretended so we can avoid
-# linking to things that aren't there.
-
-if ( (($Config{'ccflags'} !~ /DEBUGGING/) && $^O ne 'VMS') ||
- (exists($Config{'usedebugging_perl'}) && $Config{'usedebugging_perl'} ne 'Y') ) {
- $defines .= ' -DDEBUGGING -DWAS_NOT_DEBUGGING';
-}
-
WriteMakefile(
NAME => 're',
VERSION_FROM => 're.pm',
+#if defined(PERL_EXT_RE_DEBUG) && !defined(DEBUGGING)
+# define DEBUGGING
+#endif
+
#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"