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 Bob Friesenhahn

On Thu, 18 Feb 2010, manu@... wrote:

> Emmanuel Dreyfus <manu@...> wrote:
>
>> #ifndef res_ndestroy
>> #define res_ndestroy(res)       res_nclose(res)   /* <--- XXXhereXXX */
>> #endif
>
> Is there an autoconf hecker in the room?
>
> Obviously we need autoconf to check for res_ninit, res_ndestroy,
> res_nclose and devine HAVE_res_ndestroy so that we can use it. But I
> have little success with it. Any hint?

Are these assured to be normal library functions?  After you have 
added any necessary resolver libraries to LIBS, you should be able to 
use

AC_CHECK_FUNCS([res_ninit res_ndestroy res_nclose])

Bob
--
Bob Friesenhahn
bfriesen@..., http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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.