summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-10-09 21:05:44 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-10-09 21:05:44 +0000
commitc33913d4582d968a8e91925f7ab4c47d6349b3a4 (patch)
treef166063b5211f4a6794e45bd0c5dbc8a501dea4c /tools
parentcae9a32cbcc4c133301d64f49d36709ccbc994da (diff)
downloadclasspath-c33913d4582d968a8e91925f7ab4c47d6349b3a4.tar.gz
Minor ANTLR fixes.
2008-10-06 Andrew John Hughes <gnu_andrew@member.fsf.org> * m4/ac_prog_antlr: Check for cantlr as well. * tools/Makefile.am: Only build GJDoc parser when both CREATE_GJDOC and CREATE_GJDOC_PARSER are on.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 30c9be6d8..50909536c 100755
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -313,12 +313,14 @@ dist-hook:
$(TOOLS_ZIP): $(ALL_TOOLS_FILES)
@rm -rf classes asm
@mkdir_p@ classes asm
+if CREATE_GJDOC
if CREATE_GJDOC_PARSER
## Generate antlr sources.
@mkdir_p@ generated/gnu/classpath/tools/gjdoc/expr
$(ANTLR) -o generated/gnu/classpath/tools/gjdoc/expr \
$(srcdir)/gnu/classpath/tools/gjdoc/expr/java-expression.g
endif
+endif
## Compile ASM separately as it is latin-1 encoded.
find $(srcdir)/external/asm -name '*.java' -print > asm.lst
AC=`echo $(JCOMPILER) | sed -e 's/UTF-8/ISO-8859-1/g'`; \