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

_______________________________________________
Help-shishi mailing list
Help-shishi@gnu.org
https://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to