On 04/10/2010 03:04 AM, Juha Heinanen wrote:
Alex Balashov writes:
However, this very same argument could be made against features like 'include_file' and #!ifdef& friends, and some other things that have made Kamailio 3.x much better than 1.x from a code management perspective. These features have revolutionised our deployment, standardisation and maintenance process.
i agree and since i'm using M4 is have had no use of #!ifdef& friends, because (as you point out) those alone are not powerful enough. so either embed all M4 features in sr or none and use M4 instead.
I think there may be an attractive middle ground here: support a preprocessor feature set natively that is roughly equivalent to the one provided by many other packages whose configuration files are semi-programmatic in nature, but leave the really advanced metaprogramming for those that need it to m4.