Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: We need you for autoconf hacking (was: Re: [milter-greylist] memory consumption)

2010-02-18 by Johann E. Klasek

On Thu, Feb 18, 2010 at 09:19:48PM +0100, manu@... wrote:
> Bob Friesenhahn <bfriesen@...> wrote:
> 
> > AC_CHECK_FUNCS([res_ninit res_ndestroy res_nclose])
> 
> I tried that, but they are not found. The problem is that res_ninit is a
> macro that expands to __res_ninit in the library.

Not in general - this holds at least for Linux, NetBSD but not for Solaris.
Probably we must combine the check for a macro and existance of a function ...

#if (defined(HAVE_RES_NINIT) || defined(res_ninit)) 
#define HAVE_RESN 1
...


Johann E. K.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.