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.
Message
Re: We need you for autoconf hacking (was: Re: [milter-greylist] memory consumption)
2010-02-18 by Johann E. Klasek