aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-04-19 17:42:40 +0000
committerKenneth Russel <[email protected]>2008-04-19 17:42:40 +0000
commit4d6e09d82f69d2d3cd5d3fee50b02af986904344 (patch)
treef32dbbb98a7eb60ac9540f6609405d0d3f4c5069 /make
parent2a8dc85eff702dcf5273645b3829fe1f4576b571 (diff)
Fixed Issue 350: build: Use system antlr automatically if jpackage-compatible system
Added available check of /usr/share/java/antlr.jar. Not fully tested. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1606 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/build.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index 974ae7fb3..7bc85ce42 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -81,6 +81,10 @@
<property name="jogl.sourcelevel" value="1.5" />
</target>
+ <!-- On jpackage.org-compatible systems, antlr.jar can be found in /usr/share/java -->
+ <available property="antlr.jar" file="/usr/share/java/antlr.jar"
+ value="/usr/share/java/antlr.jar"/>
+
<!-- ================================================================== -->
<!--
- Load user properties which override build defaults.