AC_PROG_RANLIB
AC_CHECK_HEADERS(sys/select.h libgen.h socks.h netinet6/in6.h)
-AC_CHECK_FUNCS(strtoul memmove basename getaddrinfo)
AC_CHECK_LIB(nsl, gethostbyname)
AC_CHECK_LIB(socket, socket)
+AC_CHECK_FUNCS(strtoul memmove basename getaddrinfo)
+
AC_CHECK_TYPE(fd_set, int)
dnl checking if the system supports ipv6 address space or not