From 5a7811ecd23a3ab1af62b243c82d362431793a57 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Tue, 30 Aug 2011 19:30:19 +0200
Subject: Use GlueGen's setenv-build-jogl scripts from commit
 4a75b64107e157ff1db3991cf89bf8d856ddc0e6

---
 make/scripts/make.jogl.all.linux-x86_64.sh | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

(limited to 'make/scripts/make.jogl.all.linux-x86_64.sh')

diff --git a/make/scripts/make.jogl.all.linux-x86_64.sh b/make/scripts/make.jogl.all.linux-x86_64.sh
index 3ae48f598..6fe80312b 100755
--- a/make/scripts/make.jogl.all.linux-x86_64.sh
+++ b/make/scripts/make.jogl.all.linux-x86_64.sh
@@ -1,15 +1,9 @@
 #! /bin/sh
 
-if [ -z "$ANT_PATH" ] ; then
-    if [ -e /usr/share/ant/bin/ant -a -e /usr/share/ant/lib/ant.jar ] ; then
-        ANT_PATH=/usr/share/ant
-        export ANT_PATH
-        echo autosetting ANT_PATH to $ANT_PATH
-    fi
-fi
-if [ -z "$ANT_PATH" ] ; then
-    echo ANT_PATH does not exist, set it
-    exit
+SDIR=`dirname $0` 
+
+if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then
+    . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh
 fi
 
 if [ "$1" = "-libdir" ] ; then
-- 
cgit v1.2.3