Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] missing res_state

2013-10-02 by manu@...

Bruncsak, Attila <attila.bruncsak@...> wrote:

> I am not an autoconf expert.
> May anybody help to write the test for the existence of res_state?

Use existing tests. Add this to configure.ac:
AC_CHECK_TYPE (res_state)

Run autoconf && autoheader && ./configure

config.h should have a HAVE_RES_STATE set or unset, depending whether
configure found it or not. Check config.log to make sure the test did
not fail for a missing header. (you may have to use AC_INCLUDES_DEFAULT
in that case)

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.