Ticket #3187: filezilla-04-socket.diff

File filezilla-04-socket.diff, 604 bytes (added by nonsea, 17 years ago)

rework on patch with checking the library in configure

  • trunk/configure.in

     
    101101  #include <sys/types.h>
    102102  #include <utmp.h>])
    103103
    104   AC_SEARCH_LIBS([socket], [xnet])
     104  AC_SEARCH_LIBS(getaddrinfo, [xnet])
     105  AC_SEARCH_LIBS(in6addr_loopback, [socket])
    105106
    106107  AC_CHECK_FUNCS([getaddrinfo ptsname setresuid strsignal updwtmpx])
    107108  AC_CHECK_FUNCS([gettimeofday ftime])
     109  AC_CHECK_FUNCS([in6addr_loopback in6addr_any])
    108110
    109111AH_BOTTOM([
    110112/* Convert autoconf definitions to ones that PuTTY wants. */