From a22df57bb78caa4ce2d95d4fc04cccb892b40c2f Mon Sep 17 00:00:00 2001 From: klueska Date: Fri, 27 Jun 2008 02:47:02 +0000 Subject: [PATCH] Added forced check for amd64 directory when performing a tos-locate-jre --- tools/configure.ac | 2 +- tools/tinyos/misc/tos-locate-jre | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/configure.ac b/tools/configure.ac index acc2e7b2..62eab0a8 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -88,7 +88,7 @@ case $host in *) JNIPREFIX=lib JNISUFFIX=so - JNIVERSIONS="-32. -64." + JNIVERSIONS="-64." INSTALLJNI="install" AC_MSG_RESULT(no) esac diff --git a/tools/tinyos/misc/tos-locate-jre b/tools/tinyos/misc/tos-locate-jre index 9bfbe047..4f93dd79 100755 --- a/tools/tinyos/misc/tos-locate-jre +++ b/tools/tinyos/misc/tos-locate-jre @@ -121,8 +121,10 @@ if [ "$jni" = "yes" ]; then arch=`uname -m` jnilocate "$jhome/jre/lib/$arch" || \ jnilocate "$jhome/jre/lib/i386" || \ + jnilocate "$jhome/jre/lib/amd64" || \ jnilocate "$jhome/lib/$arch" || \ - jnilocate "$jhome/lib/i386" + jnilocate "$jhome/lib/i386" || \ + jnilocate "$jhome/lib/amd64" fi elif [ "$javac" = "yes" ]; then if [ `uname` = "Darwin" ]; then -- 2.39.2