From 6a91d1400f271cc1458dea1d2f89aaf86a873e52 Mon Sep 17 00:00:00 2001
From: Sean-M <Smoss117@gmail.com>
Date: Fri, 15 Feb 2013 10:37:04 -0500
Subject: [PATCH] Changed Build-Unix.xml to check if make installed

---
 bindings/java/build-unix.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bindings/java/build-unix.xml b/bindings/java/build-unix.xml
index d1c5e912b..9699738f8 100644
--- a/bindings/java/build-unix.xml
+++ b/bindings/java/build-unix.xml
@@ -27,8 +27,8 @@
         <property environment="env"/>
         <available file="./jni/.libs/libtsk_jni.dylib" property="tsk_dylib.present"/>
         <available file="./jni/.libs/libtsk_jni.so" property="tsk_so.present"/>
-        <!-- TODO: Add a check here to give a warning if none of these are found
-		<fail unless="pres" message="Run make install on The Sleuthkit."/> -->
+		<available file="./jni/.libs/libtsk_jni.a" property="present"/>
+		<fail unless="present" message="Run make install on The Sleuthkit."/>
     </target>
 
     <!-- OS X -->
@@ -47,5 +47,4 @@
         <!-- depends targets take care of the actual copying since the file differs on OS X and Linux -->
         <!-- This assumes that TSK, libewf, and zlib have been installed on the system and those libraries will be with normal loading approaches -->
     </target>
-
 </project>
-- 
GitLab