classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake/autoconf


From: Mark Wielaard
Subject: Re: automake/autoconf
Date: Fri, 16 Nov 2001 16:03:03 +0100
User-agent: Mutt/1.3.23i

Hi,

On Mon, Nov 12, 2001 at 11:11:43PM -0500, Brian Jones wrote:
> I'm noticing some problems trying to configure classpath for
> --with-gcj using automake 1.5 and autoconf 2.52.  It looks like for
> some reason autoconf is evaluating @FOUND_JIKES_FALSE@ and
> @FOUND_JIKES_TRUE@ both to "" at the same time.  Could someone else
> who has tried the --with-gcj option comment?

Are you talking about the following from lib/Makefile.am:

#-----------------------------------------------------------------
# handling javac definition including programs like jikes here
#-----------------------------------------------------------------
if FOUND_JIKES
JAVAC = $(JIKES) -nowarn +F $(ARG_CLASSPATH_JAVAC) 
$(top_srcdir):$(top_builddir)/vm/current:.:$(USER_CLASSLIB) -d . @classes
else
if FOUND_GCJ
JAVAC = $(GCJ) -C -d . @classes
else
if FOUND_KJC
JAVAC = $(USER_JABBA) $(ARG_CLASSPATH_VM) $(KJC_CLASSPATH):$(USER_CLASSLIB) 
$(KJC_MAIN) $(ARG_CLASSPATH_JAVAC) .:$(USER_CLASSLIB) -d . @classes
endif 
endif
endif

Which gets transformed to this lib/MAKEFILE.in:

#-----------------------------------------------------------------
# handling javac definition including programs like jikes here
#-----------------------------------------------------------------
@FOUND_GCJ_FALSE@@FOUND_JIKES_FALSE@@address@hidden = $(USER_JABBA) 
$(ARG_CLASSPATH_VM) $(KJC_CLASSPATH):$(USER_CLASSLIB) $(KJC_MAIN) 
$(ARG_CLASSPATH_JAVAC) .:$(USER_CLASSLIB) -d . @classes
@FOUND_GCJ_TRUE@@address@hidden = $(GCJ) -C -d . @classes
@address@hidden = $(JIKES) -nowarn +F $(ARG_CLASSPATH_JAVAC) 
$(top_srcdir):$(top_builddir)/vm/current:.:$(USER_CLASSLIB) -d . @classes

Which in turn becomes the following in lib/Makefile after --with-gcj:

#-----------------------------------------------------------------
# handling javac definition including programs like jikes here
#-----------------------------------------------------------------
#JAVAC = $(USER_JABBA) $(ARG_CLASSPATH_VM) $(KJC_CLASSPATH):$(USER_CLASSLIB) 
$(KJC_MAIN) $(ARG_CLASSPATH_JAVAC) .:$(USER_CLASSLIB) -d . @classes
JAVAC = $(GCJ) -C -d . @classes
JAVAC = $(JIKES) -nowarn +F $(ARG_CLASSPATH_JAVAC) 
$(top_srcdir):$(top_builddir)/vm/current:.:$(USER_CLASSLIB) -d . @classes

Then, yes, I am seeing the same thing.

Mark
-- 
Stuff to read:
    <http://www.toad.com/gnu/whatswrong.html>
  What's Wrong with Copy Protection, by John Gilmore



reply via email to

[Prev in Thread] Current Thread [Next in Thread]