--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> Ugo Bellavance <iolubik@...> wrote:
>
> > According to Howe, the define() statements replace the previous
> > values, overriding values needed by other software.
>
> So the question is what should we use instead of define so that the
> macros are added instead of removing. It seems that
> define(`foo', foo`bar') happily append bar to foo definition.
>
> Any m4 user for testing what happens with things like this:
> define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`j,
> {if_addr}')
>
> What happens if if_addr or j was already defined? It will end up
> duplicated in sendmail.cf, does sendmail actually cope with that?
>
> Maybe a m4 hacker in the room knows how to avoid the duplicates?
>
I'd be eager to help, but I don't understand exactly what you need to
do. JUst put
define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`j,
{if_addr}')
In my sendmail.mc file , do a m4 sendmail.mc>sendmail.cf and do a diff
on the sendmail.cf file?
--
UgoMessage
Re: m4 user needed
2006-06-07 by Ugo Bellavance
Attachments
- No local attachments were found for this message.