This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [ecj] top-level configure unhappy if host or build not set
- From: Tom Tromey <tromey at redhat dot com>
- To: Adam Megacz <adam at megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: 14 Dec 2006 14:57:21 -0700
- Subject: Re: [ecj] top-level configure unhappy if host or build not set
- References: <x38xhbqqyr.fsf@nowhere.com>
- Reply-to: tromey at redhat dot com
>>>>> "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