1 diff -dur otp_src_R9C-2.orig/erts/configure.in otp_src_R9C-2/erts/configure.in
2 --- otp_src_R9C-2.orig/erts/configure.in 2004-05-24 08:05:38.000000000 +0200
3 +++ otp_src_R9C-2/erts/configure.in 2004-10-10 23:11:12.516218543 +0200
5 /bin/rm -f $ERL_TOP/lib/$a/SKIP
8 -AC_CHECK_PROGS(JAVAC, javac.sh javac guavac gcj jikes bock)
10 +AC_ARG_WITH([java],AS_HELP_STRING([--with-java],[use Java (default is auto)]),
11 + [],[with_java=auto])
13 +if test "x$with_java" != "xno" ; then
14 + AC_CHECK_PROGS(JAVAC, javac.sh javac guavac gcj jikes bock)
16 if test -n "$JAVAC"; then
17 dnl Make sure it's at least JDK 1.2
18 AC_CACHE_CHECK(for JDK version 1.2,
19 @@ -1274,7 +1280,13 @@
22 if test -z "$JAVAC"; then
23 - AC_MSG_WARN([Could not find any usable java compiler, will skip: jinterface])
24 + if test "x$with_java" = "xyes" ; then
25 + AC_MSG_ERROR([could not find any usable java compiler])
26 + elif test "x$with_java" != "xno" ; then
27 + AC_MSG_WARN([Could not find any usable java compiler, will skip: jinterface])
29 + AC_MSG_WARN([Java support disabled, will skip: jinterface])
32 for a in $need_java ; do
33 echo "No Java compiler found" > $ERL_TOP/lib/$a/SKIP
34 Only in otp_src_R9C-2/erts: configure.in~