[Dovecot] Antispam plugin, compile under Solaris

Martijn de Munnik martijndemunnik at gmail.com
Wed Jul 16 21:03:04 EEST 2008


On Jul 16, 2008, at 6:54 PM, Johannes Berg wrote:

> [please trim your quotes]
>
> On Wed, 2008-07-16 at 18:50 +0200, Martijn de Munnik wrote:
>
>> I've found a mkdtemp.c in http://www.r-project.org/ which seems to do
>> the same as the one in libc. Is it possible to use that?
>
> probably. Just add a lines
>
> objs += mdtemp.c
>
> in the Makefile somewhere around "# main make rules"
>
> johannes
It works!

I've used mkdtemp.c from r-project.org and added/modified these lines  
in Makefile

INCS += -DHAVE_CONFIG_H -DHAVE_GETTIMEOFDAY -DHAVE_SYS_TIME_H
objs += mkdtemp.c

thank you for your help,

Martijn


More information about the dovecot mailing list