[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: check for resolv.h
From: |
Paul Eggert |
Subject: |
Re: check for resolv.h |
Date: |
Tue, 30 Nov 2004 00:59:50 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Stepan Kasal <address@hidden> writes:
> I personally didn't done the expertise, I just wrote the macro.
I think I'd feel more comfortable if the people who actually had the
expertise were contributing the macro. As things stand, it sounds a
bit too indirect: I don't have a good feeling that people will
actually use the macro (regardless of whether it's in gnulib or
autoconf). The whole area of <arpa/*> and <netinet/*> etc. is a
fairly large one, one that Autoconf hasn't ever specifically
addressed; I'm not sure it's wise to tackle just one little corner of
it without considering the big picture.
> I think that if we put it to gnulib, noone will actually use it.
But that's also true for Autoconf. :-)
>> For example, with Solaris 9 you are supposed to also include <netdb.h>
>> to get symbols like HOST_NOT_FOUND.
>
> I can add it to the patch.
I don't know if it's a worthwhile addition. I'm not really an expert
in the area.
>> Conversely, with BIND 9.3.0 (the latest edition), you
>> don't need to include <sys/types.h>, <arpa/nameser.h>, or
>> <sys/socket.h>, since <resolv.h> does that for you.
>
> But it doesn't hurt to include them, right?
Sorry, I don't know for sure.