Subject: Re: debugging with perl
To: Klaus Heinz <k.heinz.mai.zwei@onlinehome.de>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 05/08/2002 07:56:30
On Wed, 8 May 2002, Klaus Heinz wrote:

> 'perl -D' (from perl-5.6.1nb6) tells me
>
>   Recompile perl with -DDEBUGGING to use -D switch
>
> Shouldn't there be some way (mk.conf ?) to decide at package build time
> whether to include this or not?
> Maybe there is a performance penalty for -DDEBUGGING but on
> personal/developer machines the ability to use the debugging flags
> is desirable, IMHO.

This should work:

    CONFIGURE_ARGS=-DDEBUGGING make configure # (or just "make")

but yes, perhaps that would be useful enough to rate it's own hook.

Frederick