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: Per Bothner <per at bothner dot com>
- To: Adam Megacz <adam at megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 13 Dec 2006 17:21:41 -0800
- Subject: Re: [ecj] top-level configure unhappy if host or build not set
- References: <x38xhbqqyr.fsf@nowhere.com>
Adam Megacz wrote:
I don't know if this is just on the ecj branch or not, but in the
top-level configure script, line 2093, we have
if test $host != $build; then
which doesn't work if either host="" or build="".
Any recommendations on how I should go about fixing this?
If I understand your problem right, the traditional/correct
way of writing these is one of:
if test "$host" != "$build"; then
or
if test x$host != x$build; then
I personally prefer the former.
--
--Per Bothner
per@bothner.com http://per.bothner.com/