[m-rev.] For review: Have configure decide whether to install the Java grade

Julien Fischer juliensf at students.cs.mu.OZ.AU
Tue Feb 10 17:04:07 AEDT 2004


On Tue, 10 Feb 2004, James Goddard wrote:

> > We currently rely on some features of J2SE 1.2, right?
> >
> > I think it would be a good idea for configure to test
> > that you can compile and run a simple test program conftest.java
> > which uses those features, similar to the way we check $BOOTSTRAP_MC.
>
> I've added such a program, but instead of checking for each required
> feature we use from J2SE 1.2 (of which I believe there are many many)
> I've got it just checking the appropriate runtime constant for the
> version (java.specification.version) is  >= 1.2.  All 'compatible' Java
> implementations should have this constant, since it's part of the API
> specification.
> I've also added a check for the java interpreter.
>

You are using jar on the runtime and library now aren't you?  It
might be a good idea to check that it's around as well.

Also is configure checking for different java compilers,
e.g. jikes, gcj or just javac at the moment?

Julien.


--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list