autoconf
[Top][All Lists]
Advanced

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

Re: -lsocket -lsnl on solaris 9


From: Lars Hecking
Subject: Re: -lsocket -lsnl on solaris 9
Date: Mon, 26 Jan 2004 16:24:29 +0000
User-agent: Mutt/1.5.5i

> >  Have you checked config.log? Maybe the order of the checks is important.
> >  I've been using the following for ages, and it continues to work on
> >  Solaris 9:
> > 
> > AC_CHECK_FUNCS(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname,,[AC_CHECK_LIB(socket,gethostbyname)])])
> > AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)])
> 
> The checks appear to be working, I checked the logs. -lsocket and -lnsl
> ARE in LIBS, but I need to add @LIBS@ to LDFLAGS in order to get this to
> link. I've never had to do that before...

 It looks to me like the problem is in the Makefile then. You may want to
 post more details, and version numbers of the tools involved, either here
 or on the automake list, whichever is more appropriate.





reply via email to

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