This helps some distros (e.g. Archlinux) where openjdk is installed in
java-MAJOR-openjdk directories, without any "default version" symlink.
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1d93ca0..fa26924 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1251,6 +1251,8 @@ if test "x$with_java" != "xno"; then
for d in \
/usr/lib/jvm/java \
/usr/lib/jvm/default-java \
+ /usr/lib/jvm/java-8-openjdk \
+ /usr/lib/jvm/java-7-openjdk \
/usr/lib/jvm/java-6-openjdk
do
if test -d $d && test -f $d/bin/java; then
--
1.9.3