build_parsers. Added the ragel and kelbt sources to EXTRA_DIST. Fixed the
wrapper around the checks for ragel and kelbt in the configure script.
git-svn-id: http://svn.complang.org/ragel/trunk@786
052ea7fc-9027-0410-9066-
f65837a77df0
dist_doc_DATA = ChangeLog
-sed_script = 's/build_parsers=yes/build_parsers=no/;s/build_manual=yes/build_manual=no/;'
-
-dist-hook:
- cp $(top_distdir)/configure $(top_distdir)/configure.tmp
- cp $(top_distdir)/configure.in $(top_distdir)/configure.in.tmp
- sed $(sed_script) $(top_distdir)/configure.tmp > $(top_distdir)/configure
- sed $(sed_script) $(top_distdir)/configure.in.tmp > $(top_distdir)/configure.in
- rm $(top_distdir)/configure.tmp $(top_distdir)/configure.in.tmp
build_parsers=yes;
AM_CONDITIONAL(BUILD_PARSERS, [test "x$build_parsers" = "xyes"])
+dnl Set to true if the manual should be built.
build_manual=yes;
AM_CONDITIONAL(BUILD_MANUAL, [test "x$build_manual" = "xyes"])
dnl Check for definition of MAKE.
AC_PROG_MAKE_SET
-if test "x$enable_parsers" = "xyes"; then
+if test "x$build_parsers" = "xyes"; then
dnl Check for Ragel
AC_CHECK_PROG(RAGEL, ragel, ragel)
echo '#define VERSION "$(PACKAGE_VERSION)"' > version.h
echo '#define PUBDATE "$(PUBDATE)"' >> version.h
+EXTRA_DIST = rlscan.rl rlparse.kh rlparse.kl
+
if BUILD_PARSERS
CLEANFILES = \