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 Socket patch for Solaris 5.8
Date Thu, 06 May 2004 13:59:25 GMT
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_LIB
(socket,gethostbyname)])])
AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)])

Without that the build process crashes on simplesocketserver.


Mime
View raw message