X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=73ebec3aa9f572b608802fba8e27a26e8e6f5dbb;hb=a4e8b6a17640e1eaec51801fd0f61aef4cd287d9;hp=2a9b84a9a5e13ed4daa19cdcfef5c4484c1de1fe;hpb=8dfaf98cde62e42d4c245400c68ae9c825a2fe68;p=collectd.git diff --git a/configure.ac b/configure.ac index 2a9b84a9..73ebec3a 100644 --- a/configure.ac +++ b/configure.ac @@ -2227,7 +2227,7 @@ then fi AC_MSG_CHECKING([for libjvm.so]) - TMPVAR=`find -L "$with_java_home" -name libjvm.so -type f -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])