projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4a3db
)
Fallback to /usr/lib/jvm if JAVA_HOME is not set
author
Ruben Kerkhof
<ruben@tilaa.nl>
Sun, 18 Nov 2012 10:38:24 +0000
(11:38 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 28 Apr 2015 05:38:35 +0000
(07:38 +0200)
This makes the java plugin build out of the box
on systems with a JDK installed.
/usr/lib/jvm is the default location for the JDK
on at least Fedora, Red Hat and Debian.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
877ac44
..
bc431fe
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2004,6
+2004,10
@@
fi
# --with-java {{{
with_java_home="$JAVA_HOME"
+if test "x$with_java_home" = "x"
+then
+ with_java_home="/usr/lib/jvm"
+fi
with_java_vmtype="client"
with_java_cflags=""
with_java_libs=""