[ragel-users] [PATCH 0/6] Port the build system to autotools

Adrian Thurston thurs... at cs.queensu.ca
Mon Oct 6 17:25:02 UTC 2008


Sorry I don't want to use automake for ragel.

Adrian

Diego 'Flameeyes' Pettenò wrote:
> Since I found quite a few problems trying to put ragel inside a chain
> of packages to build for a project, I decided to go on and port it to
> automake already.
> 
> The attached patches (which might require a bit of work to apply on
> SVN because of removed and renamed files) replace the custom tailored
> build system with a much more stable autotools-based one; it's not
> perfect yet but it's certainly better than it was before for most
> distribution and end-user uses.
> 
> I guess I'd have to do the same to kelbt (as wella s fixing one code
> generation problem: char * vs const char const*), so that I can put
> all in a single chain, and it's going to be a bit of a problem to get
> ragel to bootstrap as it needs itself.
> 
> I'll also see if I can get something better for the tests.
> 
> Testing of these patches is very welcome by everybody, I can improve
> them if I missed something.
> 
> ---
> 
> Diego 'Flameeyes' Pettenò (6):
>       Make the configure.in look more like an autoconf script.
>       Replace custom makefiles with automake.
>       Remove need for version.mk file.
>       Make it possible to enable/disable parsers generation at ./configure
>       Remove files generated by autotools.
>       Don't use AC_DEFINE to pass the commands for the compilers to the runtest script.
> 
> 
>  Makefile.am               |   21 
>  Makefile.in               |   78 -
>  common/Makefile.am        |   12 
>  common/Makefile.in        |   72 -
>  common/config.h.in        |   40 
>  configure                 | 4680 ---------------------------------------------
>  configure.in              |  109 +
>  doc/Makefile.am           |   13 
>  doc/Makefile.in           |   81 -
>  doc/ragel.1.in            |    2 
>  doc/rlgen-cd.1.in         |    2 
>  doc/rlgen-dot.1.in        |    2 
>  doc/rlgen-java.1.in       |    2 
>  doc/rlgen-ruby.1.in       |    2 
>  doc/version.tex.in        |    2 
>  examples/Makefile         |  142 -
>  examples/Makefile.am      |   38 
>  examples/cppscan.lex      |  143 -
>  examples/cppscan.rec      |  183 --
>  examples/lex-cppscan.l    |  143 +
>  examples/re2c-cppscan.rec |  183 ++
>  ragel/Makefile.am         |   38 
>  ragel/Makefile.in         |  101 -
>  ragel/main.cpp            |    2 
>  ragel/parsedata.cpp       |    4 
>  redfsm/Makefile.am        |   29 
>  redfsm/Makefile.in        |   87 -
>  redfsm/xmlparse.kl        |    2 
>  rlgen-cd/Makefile.am      |   12 
>  rlgen-cd/Makefile.in      |   71 -
>  rlgen-csharp/Makefile.am  |   12 
>  rlgen-csharp/Makefile.in  |   71 -
>  rlgen-csharp/main.cpp     |    2 
>  rlgen-dot/Makefile.am     |    7 
>  rlgen-dot/Makefile.in     |   68 -
>  rlgen-java/Makefile.am    |    8 
>  rlgen-java/Makefile.in    |   68 -
>  rlgen-ruby/Makefile.am    |   11 
>  rlgen-ruby/Makefile.in    |   69 -
>  test/Makefile.am          |   23 
>  test/Makefile.in          |   30 
>  test/runtests             |  320 ---
>  test/runtests.in          |  320 +++
>  version.mk                |    2 
>  44 files changed, 934 insertions(+), 6373 deletions(-)
>  create mode 100644 Makefile.am
>  delete mode 100644 Makefile.in
>  create mode 100644 common/Makefile.am
>  delete mode 100644 common/Makefile.in
>  delete mode 100644 common/config.h.in
>  delete mode 100755 configure
>  create mode 100644 doc/Makefile.am
>  delete mode 100644 doc/Makefile.in
>  create mode 100644 doc/version.tex.in
>  delete mode 100644 examples/Makefile
>  create mode 100644 examples/Makefile.am
>  delete mode 100644 examples/cppscan.lex
>  delete mode 100644 examples/cppscan.rec
>  create mode 100644 examples/lex-cppscan.l
>  create mode 100644 examples/re2c-cppscan.rec
>  create mode 100644 ragel/Makefile.am
>  delete mode 100644 ragel/Makefile.in
>  create mode 100644 redfsm/Makefile.am
>  delete mode 100644 redfsm/Makefile.in
>  create mode 100644 rlgen-cd/Makefile.am
>  delete mode 100644 rlgen-cd/Makefile.in
>  create mode 100644 rlgen-csharp/Makefile.am
>  delete mode 100644 rlgen-csharp/Makefile.in
>  create mode 100644 rlgen-dot/Makefile.am
>  delete mode 100644 rlgen-dot/Makefile.in
>  create mode 100644 rlgen-java/Makefile.am
>  delete mode 100644 rlgen-java/Makefile.in
>  create mode 100644 rlgen-ruby/Makefile.am
>  delete mode 100644 rlgen-ruby/Makefile.in
>  create mode 100644 test/Makefile.am
>  delete mode 100644 test/Makefile.in
>  delete mode 100755 test/runtests
>  create mode 100755 test/runtests.in
>  delete mode 100644 version.mk
> 
> 



More information about the ragel-users mailing list