--- configure.in.orig +++ configure.in @@ -15,10 +15,10 @@ dnl Check for BSD sockets AC_CHECK_FUNC(connect, , - AC_CHECK_LIB(nsl, gethostbyname, ,) + [AC_CHECK_LIB(nsl, gethostbyname, ,) AC_CHECK_LIB(socket, connect, , AC_ERROR([Can't compile without BSD sockets!!!]) - ) + )] )