Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: inet_{a,p}ton prototypes in Src/Modules/zftp.pro



On Mon, May 07, 2001 at 12:03:50AM +0000, Bart Schaefer wrote:
> On May 6, 10:45am, Paul Ackersviller wrote:
> }
> } I just tried building zsh on Solaris 7 from the latest source off
> } of CVS.  Sun's compiler doesn't like inet_aton and inet_pton being
> } declared as static.
> 
> Those declarations should be used only if HAVE_INET_PTON and HAVE_INET_ATON
> are not defined.  Obviously you do have them, or at least you have a header
> that declares them, or you couldn't have the conflict in the first place.
> 
> So the real question is, why are HAVE_INET_{A,P}TON not defined?  Was an
> old config.cache used, or is there a library missing from the link that
> is needed in order for configure to find them?

I just tried making a completely clean start so there was nothing old
left over, but had the same problem.  The command-line in config.log
looks good to me, but you're right that the confidence test for those
routines fails.  I tried hacking around with the configure script to
get some more information, but didn't get anywhere.  Any hints?

-- 
Paul Ackersviller



Messages sorted by: Reverse Date, Date, Thread, Author