Quoth Erik Johansson on Sun, May 07, 2000:
> Vadim Vygonets wrote:
>
> > #define AUTH_USERPW(user, pass)
> ...
> > server_condition = AUTH_USERPW($1, $2)
> >
> > But it's impossible to do in Exim right now.
>
> Will C preprocessing be added to Exim. All that's really needed is a
> change in commenting style, no? (Which can really break things)
Well, you can generate your Exim config file with the C
preprocessor from a file which starts with:
#define X #
X ####################################################################
X Runtime configuration file for Exim #
X ####################################################################
X Specify your host's canonical name here...
After the preprocessing, the file will be parseable by Exim and
still have the usual comments inside. If you don't care for
these comments, you can use classical /* C-style */ comments.
Note: I don't know what the ANSI C or C99 have to say about
"#define X #". It _may_ be discouraged. CCCP (gcc's cpp) eats
it.
Vadik.
--
Any language that involves exposing private parts to friends is a
tad suspect...
-- Geoff Lane in the Monastery, about C++