From: Philippe Proulx Date: Tue, 2 Sep 2014 20:12:55 +0000 (-0400) Subject: configure.ac: fix "missing jni.h" error message X-Git-Tag: v2.6.0-rc1~15 X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=commitdiff_plain;h=76831356de1c6784eae8b9cffdc23aa9844e09e1 configure.ac: fix "missing jni.h" error message DIR in --with-java-jdk=DIR must point to the JDK base directory, not the actual JDK include directory. Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 726c8e91..175a0a65 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"])