From: Charles Bailey Date: Wed, 15 Mar 2000 03:45:28 +0000 (+0000) Subject: Make DEBUGGING a configurable option X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aaace9be53f792ed8e6d12b1ab7005b74f5d5d26;p=p5sagit%2Fp5-mst-13.2.git Make DEBUGGING a configurable option p4raw-id: //depot/vmsperl@5752 --- diff --git a/configure.com b/configure.com index 8c65d77..f21ce8c 100644 --- a/configure.com +++ b/configure.com @@ -40,7 +40,6 @@ $ ans = "" $ macros = "" $ extra_flags = "" $ user_c_flags = "" -$ use_debugging_perl = "y" $ use_ieee_math = "n" $ be_case_sensitive = "n" $ use_vmsdebug_perl = "n" @@ -1722,6 +1721,24 @@ $ ELSE $ use_vmsdebug_perl = "N" $ ENDIF $! +$! Ask if they want to build with DEBUGGING +$ echo "" +$ echo "Perl can be built with extra runtime debugging enabled. This +$ echo "enables the -D switch, at the cost of some performance. It +$ echo "was mandatory on perl 5.005 and before on VMS, but is now +$ echo "optional. If you don't generally use it you should probably +$ echo "leave this off and gain a bit of extra speed. +$ dflt = "y" +$ rp = "Build a DEBUGGING version of Perl? [''dflt'] " +$ GOSUB myread +$ IF ans.eqs."" then ans = dflt +$ IF F$EXTRACT(0, 1, F$EDIT(ans,"COLLAPSE,UPCASE")) .eqs. "Y" +$ THEN +$ use_debugging_perl = "Y" +$ ELSE +$ use_debugging_perl = "N" +$ ENDIF +$! $! Ask if they want to build with MULTIPLICITY $ echo "" $ echo "The perl interpreter engine can be built in a way that makes it