Java plugin: clarify error message
authorRuben Kerkhof <ruben@tilaa.com>
Fri, 11 Dec 2015 17:31:08 +0000 (18:31 +0100)
committerRuben Kerkhof <ruben@tilaa.com>
Fri, 11 Dec 2015 17:31:08 +0000 (18:31 +0100)
It is possible that we've found libjvm, but it doesn't have
the right function.

configure.ac

index c448379..a3acac7 100644 (file)
@@ -2330,7 +2330,7 @@ if test "x$with_java" = "xyes"
 then
        AC_CHECK_LIB(jvm, JNI_CreateJavaVM,
        [with_java="yes"],
-       [with_java="no (libjvm not found)"],
+       [with_java="no (Symbol 'JNI_CreateJavaVM' not found)"],
        [$JAVA_LIBS])
 fi
 if test "x$with_java" = "xyes"