From: <sun...@us...> - 2009-09-02 12:59:58
|
Revision: 32941 http://crystal.svn.sourceforge.net/crystal/?rev=32941&view=rev Author: sunshine Date: 2009-09-02 12:59:45 +0000 (Wed, 02 Sep 2009) Log Message: ----------- When retrieving Java-related paths via the `java` command, checkjava.m4 now ensures that the current directory is mentioned by the class path. This resolves problems with older or broken installations which do not search the current directory by default. Also now captures output of the `javac` command when building `conftest.java` in order to avoid pollution of `configure` output and to ensure that any compilation problems are easily retrievable from `config.log. Resolves #690. Modified Paths: -------------- CS/trunk/mk/autoconf/checkjava.m4 Modified: CS/trunk/mk/autoconf/checkjava.m4 =================================================================== --- CS/trunk/mk/autoconf/checkjava.m4 2009-09-02 12:29:05 UTC (rev 32940) +++ CS/trunk/mk/autoconf/checkjava.m4 2009-09-02 12:59:45 UTC (rev 32941) @@ -97,7 +97,7 @@ } } EOF - $1 conftest.java + AC_RUN_LOG([$1 conftest.java]) ]) @@ -107,7 +107,7 @@ AC_DEFUN([_CS_JAVA_PROPERTY], - [AC_RUN_LOG([$2 conftest $1])]) + [AC_RUN_LOG([CLASSPATH=. $2 conftest $1])]) AC_DEFUN([_CS_JAVA_PLATFORM], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |