On Mon, 14 Feb 2005, Kevin wrote:
I've explored the possibility of generating "squid.conf" via M4 or cpp, but making the existing comment lines fully compatible with a pre-processor would require significant effort.
Why you want to keep the existing comments?
Also, translating the comments to M4 style isn't that hard..
perl -i -p -e 's/^#/dnl #/' squid.conf.m4
Note: Squid-3.0 will have the ability to preprocess the config file with a selected preprocessor (already implemented in the development snapshots).
Regards Henrik