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

Per Bothner per@bothner.com
Thu Dec 14 01:21:00 GMT 2006


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/


More information about the Java mailing list

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