From: Braden M. <br...@us...> - 2005-11-04 07:47:39
|
Update of /cvsroot/openvrml/openvrml/m4 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12837/m4 Modified Files: Makefile.am Added Files: antlr.m4 Log Message: Generate the antlr-generated sources as part of the build rather than storing them in the repository. These changes should continue to include these generated files in release tarballs; so release tarball users will not need to have antlr installed. Index: Makefile.am =================================================================== RCS file: /cvsroot/openvrml/openvrml/m4/Makefile.am,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Makefile.am 11 Aug 2005 22:50:13 -0000 1.14 --- Makefile.am 4 Nov 2005 07:47:29 -0000 1.15 *************** *** 5,7 **** ax_lang_compiler_ms.m4 \ jdk.m4 \ ! ov_cxx_visibility.m4 --- 5,8 ---- ax_lang_compiler_ms.m4 \ jdk.m4 \ ! ov_cxx_visibility.m4 \ ! antlr.m4 --- NEW FILE: antlr.m4 --- AC_DEFUN([OV_PROG_ANTLR], [AC_REQUIRE([OV_PROG_JAVA]) AC_ARG_VAR([ANTLR]) AC_PATH_PROG([ANTLR], [antlr]) if test -z "$ANTLR"; then cat <<EOF > conftest.g class TestParser extends Parser; rule:; EOF AS_IF([$JAVA antlr.Tool conftest.g], [ANTLR="$JAVA antlr.Tool"], []) rm -rf conftest.g TestParser.java TestParserTokenTypes.java TestParserTokenTypes.txt fi ]) |