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


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/


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