From 59ae47780c168857b216412f8354d10ae6dd0b61 Mon Sep 17 00:00:00 2001 From: Andy Dougherty Date: Thu, 6 Mar 1997 11:15:47 -0500 Subject: [PATCH] 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. --- Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4