[Pkg-libvirt-commits] [libguestfs] 21/266: configure: look for "default-java" as directory for Java

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit f4026d779e9736b5446f80d5b4d68eaa13fd07bd
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Thu Jul 17 16:24:52 2014 +0200

    configure: look for "default-java" as directory for Java
    
    In Debian-based systems, /usr/lib/jvm/default-java is a symlink
    pointing to the location of the default Java version.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index ec98e4b..932bad1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1250,6 +1250,7 @@ if test "x$with_java" != "xno"; then
         # Look for Java in some likely locations.
         for d in \
             /usr/lib/jvm/java \
+            /usr/lib/jvm/default-java \
             /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