Title: 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_LIB(socket,gethostbyname)])])
AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)])

Without that the build process crashes on simplesocketserver.

Reply via email to