autoconf
[Top][All Lists]
Advanced

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

Re: undefined macro: AF_INET ?


From: Russ Allbery
Subject: Re: undefined macro: AF_INET ?
Date: 17 Jan 2001 07:09:13 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Akim Demaille <address@hidden> writes:
>>>>>> "Assar" == Assar Westerlund <address@hidden> writes:

> Assar> Isn't there some way of adding this to the autoconf files
> Assar> instead of having to have it in every configure.in?  

> Put it inside the macro that checks for AF_INET!

One normally never checks for AF_INET.  It doesn't vary.  Either the
system has Berkeley networking support, in which case it will have AF_INET
since that stuff didn't vary between the various branches of Unix, or it
won't, in which case anything written to that API is going to break
horribly in so many different ways that there's no worthwhile checking one
can do and it's unlikely that someone will even try to compile normal
socket code on it in the first place.

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

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