From fcd30500790eac0266ffb70d83ee17b23aeaf209 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Mon, 12 May 2014 13:57:20 +1000 Subject: [PATCH] look for "jni.h" in gcj-jdk path, needed to find "jni.h" with gcj-jdk_4.9.0 Signed-off-by: Dmitry Smirnov (cherry picked from commit 0f4120c0115e7977ae7c03458addcc2b2916db07) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 36312cf2b01..8a467c165f7 100644 --- a/configure.ac +++ b/configure.ac @@ -392,7 +392,7 @@ if test "x$enable_cephfs_java" = "xyes"; then # setup defaults for Debian default-jdk package (without --with-jdk-dir) AS_IF([test -z "$with_jdk_dir"], [ # This works with Debian's and CentOS' default-jdk package - for dir in '/usr/lib/jvm/default-java/' '/usr/lib/jvm/java/' ; do + for dir in '/usr/lib/jvm/default-java/' '/usr/lib/jvm/java/' '/usr/lib/jvm/java-gcj/'; do # only test if a suitable path has not yet been found AS_IF([test "$EXTRA_JDK_BIN_DIR" == ""], [ AS_IF([test -x "$javac_prog"], [ -- 2.47.3