Update of /src/master/dx
In directory opendx.watson.ibm.com:/tmp/cvs-serv23914/dx

Modified Files:
        acinclude.m4 configure.in 
Log Message:
Updated acinclude.m4 and configure.in to handle the java stuff as discussed
on the mailing list. This is how it now works--

By default, running configure will do the following

   Search for javac, jar, and javah - these must be in your path.
   Check javac for usability - it must work.
   Run a small program to locate the java root directory and look
     for include/jni.h and for jni_md.h in the architecture's include
     diretory. This will be wrong for some linux's as they don't all
     name their arch genunix in the include directory. This has been
     updated to work with java 1.1.x and 1.2.x.
   Check for a default installation of the jar files in
     /usr/lib/netscape/java/classes.

This can all be overridden two ways.

  1)  Set environment variables for the hard to locate paths
      setenv JNIPATH 
/PathToDirectoryContaining-jni.h:/PathToDirectoryContaining-jni_md.h
      setenv COSMOJAR /PathToCosmoJarFile/cosmoFileName.jar
      setenv JAVA40JAR /PathToJava40JarFile/java40.jar

  2)  And the highest precedence override is directly to configure
      --without-javadx (remove compilation alltogether)
      
--with-jni-path=/PathToDirectoryContaining-jni.h:/PathToDirectoryContaining-jni_md.h
      --with-cosmojar-path=/PathToCosmoJarFile/cosmoFileName.jar
      --with-java40jar-path=/PathToJava40JarFile/java40.jar

The prompting has been completely removed.

Reply via email to