From b1cad5912a658356bdcb49aa208e15307b3a61a0 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Dec 2015 22:17:43 +0100 Subject: [PATCH] configure.ac: fix previous change to detect libjvm This worked on OSX but failed on Linux. Signed-off-by: Florian Forster --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.30.2