logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shuvalov, Andrew V" <Andrew.Shuva...@gs.com>
Subject FW: Socket patch for Solaris 5.8
Date Thu, 06 May 2004 15:51:34 GMT
Was not accepted by message sever by some reason...

>  -----Original Message-----
> From: 	Shuvalov, Andrew V  
> Sent:	Thursday, May 06, 2004 9:59 AM
> To:	'log4cxx-user@logging.apache.org'
> Subject:	Socket patch for Solaris 5.8
> 
> Hi,
> 
> Apparently configure does not pick -lsocket and -lnsl, required for
> Solaris, at least 5.8, which I'm using. The patch is:
> 
> Remove the line in configure.in:
> 
> AC_CHECK_FUNC(socket)
> 
> Replace it with:
> 
> AC_CHECK_FUNCS(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname,,[AC_CHECK_L
> IB(socket,gethostbyname)])])
> AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)])
> 
> Without that the build process crashes on simplesocketserver.
> 

Mime
View raw message