zsh-users
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: <nce@SLAC.Stanford.EDU>
Cc: <zsh-users@sunsite.dk>
Subject: RE: inet_{a,p}ton prototypes in Src/Modules/zftp.pro
Date: Tue, 8 May 2001 16:53:33 +0400	[thread overview]
Message-ID: <000101c0d7bd$e3659510$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <20010507211212.A9274@flora01.SLAC.Stanford.EDU>


>
> On Mon, May 07, 2001 at 02:56:19PM +0000, Bart Schaefer wrote:
> > I don't have access to Solaris 7 documentation, and everything on-line
> > at sun.com is already Solaris 8 (and remarkably uninformative).  What
> > librar(y|ies) (is|are) supposed to provide inet_aton() and inet_pton() ?
>
> Both socket and nsl, on all versions of Solaris as far back as I can
> remember.
>
> > For example, it may be necessary to add
> >
> >     AC_CHECK_LIB(socket, inet_pton)
> >                  ^^^^^^
> > 		 or nsl, or something
>
> There's already
> 	AC_SEARCH_LIBS(yp_all, nsl)
> earlier on from
> 	AC_CHECK_LIB(socket, socket)
> but switching those around doesn't seem to help me.

Please, do not swap them. It will break things here.

> I tried a few other things, but I know very little about autoconf,
> so haven't got it to work yet.
>
> One problem I do notice in my config.log is that all the tests link with
> -lnsl before -lsocket, which isn't the right way around.
>

Do you mean it is '-lnsl -lsocket'? Strange:

LIBS            = -lsocket -ldl -lnsl -ltermcap -lm -lg -lc

and our networking code is very similar to Solaris 7.

I'll try to find what I've done once for Solaris. I believe, this issue was
already raised.

-andrej


  reply	other threads:[~2001-05-08 12:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-06 17:45 Paul Ackersviller
2001-05-07  0:03 ` Bart Schaefer
2001-05-07  1:27   ` nce
2001-05-07 14:56     ` Bart Schaefer
2001-05-07 19:12       ` Kenneth Lareau
2001-05-08  4:12       ` nce
2001-05-08 12:53         ` Andrej Borsenkow [this message]
2001-05-09  1:42           ` nce
2001-05-08 14:37 ` Andrej Borsenkow
2001-05-09 19:55 ` PATCH: " Andrej Borsenkow
2001-05-09 20:01   ` Andrej Borsenkow
2001-05-10  3:21   ` nce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000101c0d7bd$e3659510$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=nce@SLAC.Stanford.EDU \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).