> I broke my config up into a dozen files (one for peering info, one for
> caching policy, etc..) then I compile them together with gcc -E -x c++
> *.conf > squid.conf
>
> That lets me do #include to grab other files, and to use macros to make
> the policy section more readable.
m4 is usually a much nicer way of doing the above, since it doesn't have the
restrictions of cpp (eg, cpp can't do multi-line macros, it amalgamates them
all onto one line) and provides a much more flexible preprocessing language.
David.
Received on Tue Aug 10 1999 - 22:22:40 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:55 MST