This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Yes, I'm having trouble figuring out where that comes from, though.
There doesn't appear to be any corresponding stuff in configure.in...

  - a


Per Bothner <per@bothner.com> writes:
> 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/
>

-- 
PGP/GPG: 5C9F F366 C9CF 2145 E770  B1B8 EFB1 462D A146 C380


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]