From: Andy Dougherty Date: Thu, 6 Mar 1997 16:15:47 +0000 (-0500) Subject: Allow './Configure -Uoptimize' X-Git-Tag: accepted/trunk/20130322.191538~38041^2~261^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59ae47780c168857b216412f8354d10ae6dd0b61;p=platform%2Fupstream%2Fperl.git Allow './Configure -Uoptimize' Subject: Re: miniperl core dumps during build of 5.003_91 on Unisys SVR4 On Thu, 6 Mar 1997, Alan Burlison wrote: > In-Reply-To: > > miniperl dumps core during the build on Unisys SVR4 version 1.4. > Apparently there is a bug in the C compiler optimiser in this version > of the OS. I'll attribute this problem to that, & just turn off Our record in this regard is mixed, at best, I think. (Some problems that appeared to be optimizer problems have been made to go away by fixing possibly-related bugs in the perl source.) Still, if it works . . . . > debugging. I am using Configure -des -Doptimize=' ' to do that. Is > this the best way? -Uoptimize causes Configure to die. Oops. That's not nice. The way I do this is sh Configure -Doptimize=none though your way is quite fine too. In general, there's no particular reason to expect optimize='undef' to do what you want, but it's not hard to handle it gracefully either, so we could apply this low-urgency but low-risk patch: p5p-msgid: Pine.SOL.3.95q.970306110532.11070A-100000@fractal.lafayette.edu private-msgid: Pine.SOL.3.95q.970306110532.11070A-100000@fractal.lafayette. --- diff --git a/Configure b/Configure index 86733d3..5392c79 100755 --- a/Configure +++ b/Configure @@ -3557,7 +3557,7 @@ $rm -f testcpp.c testcpp.out : determine optimize, if desired, or use for debug flag also case "$optimize" in -' ') dflt='none';; +' '|$undef) dflt='none';; '') dflt='-O';; *) dflt="$optimize";; esac