[kaffe] [patch] configure.in --with-jikes

Patrick Tullmann tullmann@cs.utah.edu
Sat Jan 18 14:41:01 2003


The --with-jikes option to configure does not honor the value
provided, it just uses the first 'jikes' it finds in the path (i.e.,
--with-jikes=/foo/bar will record 'jikes' as the compiler, not '/foo/bar').

The attached patch should fix it.  configure will need to be
regenerated, too.  (I haven't got the new autotools set up yet, so I
haven't had a chance to actually test it.)

-Pat

Index: configure.in
===================================================================
RCS file: /cvs/kaffe/kaffe/configure.in,v
retrieving revision 1.175
diff -u -b -r1.175 configure.in
--- configure.in        14 Jan 2003 14:52:09 -0000      1.175
+++ configure.in        18 Jan 2003 22:35:40 -0000
@@ -432,7 +432,7 @@
 dnl Use jikes instead of kjc?
 dnl =========================================================================
 
-AC_ARG_WITH(jikes,[  --with-jikes[=JIKES]    Define to use jikes compiler [default=no]])
+AC_ARG_WITH(jikes,[  --with-jikes[=JIKES]    Define to use jikes compiler [default=no]],[JIKES="$withval"],[JIKES=""])
 AC_MSG_CHECKING([whether to use jikes])
 if test x"$with_jikes" = x"" ; then
        use_jikes=no