Skip to contentSkip to conversation

configure.ac: fix "missing jni.h" error message

PATCH Mathieu Desnoyers 1 participant 1 message Sep 3, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged, thanks!

Mathieu

----- Original Message -----

Quoted 38 lines

From: "Philippe Proulx" <[email protected]>
To: [email protected]
Sent: Tuesday, September 2, 2014 4:12:55 PM
Subject: [lttng-dev] [PATCH] 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.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index 726c8e9..175a0a6 100644
@@ -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

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com