Code

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 c4483792b016ce3436dd3b58d44394a8c39e4a40..a3acac712fba59993ce6af169e4eb9900b7f844c 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"