From: Ruben Kerkhof Date: Sat, 5 Dec 2015 21:17:43 +0000 (+0100) Subject: configure.ac: fix previous change to detect libjvm X-Git-Tag: collectd-5.5.1~23^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b1cad5912a658356bdcb49aa208e15307b3a61a0;p=collectd.git configure.ac: fix previous change to detect libjvm This worked on OSX but failed on Linux. Signed-off-by: Florian Forster --- diff --git a/configure.ac b/configure.ac index c9e98e15..6cdfcd6f 100644 --- a/configure.ac +++ b/configure.ac @@ -2185,7 +2185,7 @@ then 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])