From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12730 invoked from network); 8 May 2001 04:12:32 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 May 2001 04:12:32 -0000 Received: (qmail 23017 invoked by alias); 8 May 2001 04:12:19 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3860 Received: (qmail 23001 invoked from network); 8 May 2001 04:12:17 -0000 Date: Mon, 07 May 2001 21:12:13 -0700 From: nce@SLAC.Stanford.EDU Subject: Re: inet_{a,p}ton prototypes in Src/Modules/zftp.pro In-reply-to: <1010507145620.ZM27687@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Mon, May 07, 2001 at 02:56:19PM +0000 To: Bart Schaefer Cc: zsh-users@sunsite.dk Message-id: <20010507211212.A9274@flora01.SLAC.Stanford.EDU> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: 7BIT User-Agent: Mutt/1.2.5i References: <20010506104546.A13094@flora01.SLAC.Stanford.EDU> <1010507000351.ZM26959@candle.brasslantern.com> <20010506182741.A11025@flora01.SLAC.Stanford.EDU> <1010507145620.ZM27687@candle.brasslantern.com> 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. 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. -- Paul Ackersviller