From d5fb28c5d2128fe9ab8d1849ccebace8c2e36c22 Mon Sep 17 00:00:00 2001 From: Brian Carrier <carrier@sleuthkit.org> Date: Thu, 2 Apr 2015 23:33:17 -0400 Subject: [PATCH] WARN instead of ERROR if java does not run. Caused issue on OS X w/out real java installed --- m4/ac_prog_java_works.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/ac_prog_java_works.m4 b/m4/ac_prog_java_works.m4 index cc71eb286..1de52a169 100644 --- a/m4/ac_prog_java_works.m4 +++ b/m4/ac_prog_java_works.m4 @@ -57,7 +57,7 @@ if test x$ac_cv_prog_uudecode_base64 != xyes; then rm -f Test.class AC_MSG_WARN([I have to compile Test.class from scratch]) if test x$ac_cv_prog_javac_works = xno; then - AC_MSG_ERROR([Cannot compile java source. $JAVAC does not work properly]) + AC_MSG_WARN([Cannot compile java source. $JAVAC does not work properly]) fi if test x$ac_cv_prog_javac_works = x; then AC_PROG_JAVAC @@ -83,7 +83,7 @@ if test x$ac_cv_prog_uudecode_base64 != xyes; then else echo "configure: failed program was:" >&AC_FD_CC cat $JAVA_TEST >&AC_FD_CC - AC_MSG_ERROR(The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)) + AC_MSG_WARN(The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)) fi fi if AC_TRY_COMMAND($JAVA $JAVAFLAGS $TEST) >/dev/null 2>&1; then @@ -91,7 +91,7 @@ fi else echo "configure: failed program was:" >&AC_FD_CC cat $JAVA_TEST >&AC_FD_CC - AC_MSG_ERROR(The Java VM $JAVA failed (see config.log, check the CLASSPATH?)) + AC_MSG_WARN(The Java VM $JAVA failed (see config.log, check the CLASSPATH?)) fi rm -fr $JAVA_TEST $CLASS_TEST Test.uue]) AC_PROVIDE([$0])dnl -- GitLab