[lttng-dev] [PATCH] configure.ac: fix "missing jni.h" error message
Philippe Proulx
eeppeliteloop at gmail.com
Tue Sep 2 16:12:55 EDT 2014
DIR in --with-java-jdk=DIR must point to the JDK base
directory, not the actual JDK include directory.
Signed-off-by: Philippe Proulx <eeppeliteloop at gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 726c8e9..175a0a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -272,7 +272,7 @@ AS_IF([test "x$jni_interface" = "xyes"],[
AC_CHECK_HEADERS([jni.h],[],[
AC_MSG_ERROR([missing jni.h
Make sure Sun Java, OpenJDK or GCJ is installed and that this header file exists in the system path.
-Use the --with-java-jdk=DIR flag to point to your Java include files, or disable the JNI interface.])
+Use the --with-java-jdk=DIR option to point to your JDK directory, or disable the JNI interface.])
])
])
AM_CONDITIONAL([BUILD_JNI_INTERFACE], [test "x$jni_interface" = "xyes"])
--
2.1.0
More information about the lttng-dev
mailing list