[Pkg-libvirt-commits] [libguestfs] 134/156: configure: add java-8-openjdk and java-7-openjdk as locations for java
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:26:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 7e7df51a9046165a8bc6b35f3759b38793ecf9f8
Author: Pino Toscano <ptoscano at redhat.com>
Date: Thu Aug 14 16:46:12 2014 +0200
configure: add java-8-openjdk and java-7-openjdk as locations for java
This helps some distros (e.g. Archlinux) where openjdk is installed in
java-MAJOR-openjdk directories, without any "default version" symlink.
(cherry picked from commit 1d9388b80066529f58b873bc601eab92ebd3c8a6)
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index bcbada9..f8d2ab7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1257,6 +1257,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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list