summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac8f02a)
raw | patch | inline | side by side (parent: ac8f02a)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Dec 2015 21:17:43 +0000 (22:17 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 5 Dec 2015 22:11:40 +0000 (23:11 +0100) |
This worked on OSX but failed on Linux.
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index c9e98e153e33db8d06ec965483cb69aee58fe337..6cdfcd6fb7b22e11dacf86374f5ba5701005d349 100644 (file)
--- a/configure.ac
+++ b/configure.ac
fi
AC_MSG_CHECKING([for libjvm.so])
- TMPVAR=`find -L "$with_java_home" -type f -name libjvm.so -o -name libjvm.dylib -exec 'dirname' '{}' ';' 2>/dev/null | head -n 1`
+ TMPVAR=`find -L "$with_java_home" -type f \( -name libjvm.so -o -name libjvm.dylib \) -exec 'dirname' '{}' ';' 2>/dev/null | head -n 1`
if test "x$TMPVAR" != "x"
then
AC_MSG_RESULT([found in $TMPVAR])