[ragel-users] Autoconf/automake spport for Ragel
Adrian Thurston
thurston at complang.org
Sat Apr 4 22:04:12 UTC 2009
These are now in a new directory in ragel called 'contrib'.
-Adrian
Diego E. 'Flameeyes' Pettenò wrote:
> Hi everybody,
>
> since I wrote these for a project I'm working on, I thought they might
> be useful to others too; they should be pretty generic and well suited
> for being integrated in other projects.
>
> There are two macros, CHECK_RAGEL and CHECK_RAGEL_AM, the latter will
> enable the HAVE_RAGEL conditional, while the former will just do the
> autoconf check.
>
> The macros both accept a single parameter, the relative path to a source
> file generated by Ragel (i.e.: the .c file not the .rl file) that can be
> checked to be present or not.
>
> The make rule uses RAGELFLAGS to pass extra options to Ragel so the user
> is able to choose a different FSM implementation rather than the default
> -T0.
>
> HTH,
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
More information about the ragel-users
mailing list