Title: FW: Socket patch for Solaris 5.8

Was not accepted by message sever by some reason...

     -----Original Message-----
    From:   Shuvalov, Andrew V 
    Sent:   Thursday, May 06, 2004 9:59 AM
    To:     '[email protected]'
    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_LIB(socket,gethostbyname)])])
    AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)])

    Without that the build process crashes on simplesocketserver.

Reply via email to