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@@FOUND_KJC_TRUE@JAVAC = $(USER_JABBA)
$(ARG_CLASSPATH_VM) $(KJC_CLASSPATH):$(USER_CLASSLIB) $(KJC_MAIN)
$(ARG_CLASSPATH_JAVAC) .:$(USER_CLASSLIB) -d . @classes
@FOUND_GCJ_TRUE@@FOUND_JIKES_FALSE@JAVAC = $(GCJ) -C -d . @classes
@FOUND_JIKES_TRUE@JAVAC = $(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
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath