[ecj] top-level configure unhappy if host or build not set

Tom Tromey tromey@redhat.com
Thu Dec 14 23:09:00 GMT 2006


>>>>> "Adam" == Adam Megacz <adam@megacz.com> writes:

Adam> I don't know if this is just on the ecj branch or not, but in the
Adam> top-level configure script, line 2093, we have
Adam> if test $host != $build; then
Adam> which doesn't work if either host="" or build="".
I see this same code on mainline.
Adam> Any recommendations on how I should go about fixing this?
Offhand I'd say that it shouldn't be possible for either of these to
be empty. How is that happening?
It is hard to read configure but it looks to me like these are
unconditionally computed; look around line 645. For debugging, in
case you need to know :), I'll often edit in a 'set -x'/'set +x' pair
to see what is really going on...
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /