Coda File System

Re: Coda for Darwin/MacOS X needs configure patch + kludges for resolver?

From: Jan Harkes <>
Date: Fri, 6 Aug 2004 13:27:21 -0400
On Fri, Aug 06, 2004 at 06:10:34PM +0900, Stephen J. Turnbull wrote:
> This patch gets configure to do the right thing, and I would guess
> it's TheRightThang to put in Coda, too.


> Next, it seems that Panther defaults to BIND 9 in a separate library,
> libresolv, but supplies old functions in the main libc.  So configure
> decides that no extra library is needed.  I think the right thing to
> do is to not use AC_CHECK_FUNCS for res_init(), but instead test it

I guess you mean that the following two tests don't trigger linking
against libresolv

    AC_SEARCH_LIBS(gethostbyname, resolv)
    AC_SEARCH_LIBS(res_search, resolv)

This would mean that both gethostbyname and res_search are provided by
libc, but some other functions are not. For some reason I thought
res_init could be a #define, so I picked res_search.

We could test for dn_expand or res_init, but I don't know what your libc

Received on 2004-08-06 13:32:22