help-shishi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detection of <resolv.h> in BSD.


From: Mats Erik Andersson
Subject: Re: Detection of <resolv.h> in BSD.
Date: Wed, 15 Aug 2012 11:58:09 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

fredag den 10 augusti 2012 klockan 09:47 skrev Simon Josefsson detta:
> Mats, could you please re-try whether -lresolv detection works on BSDs?
> I have changed it to use AC_LIB_HAVE_LINKFLAGS instead which should be
> more reliable and flexible.  What I'm uncertain about is: doesn't BSDs
> provide libresolv at all?

Answer, first installment for convenience:

  DragonflyBSD, FreeBSD, and OpenBSD

    * do not provide libresolv at all;

    * res_query() is avaliable in libc;

    * __res_query is only a guard fence,
      used to prevent use of res_query()
      in very special situations.

  NetBSD

    * does provide libresolv, but the only
      public symbol is gethostbyname2(),
      which is duplicate from libc. All other
      symbols in libresolv are private.

    * both properties of res_query() mentioned
      above also aply here.

I will report on archive build configuration
in another message.


Regards,

  Mats E A



reply via email to

[Prev in Thread] Current Thread [Next in Thread]