Fix link_protocol_is_local_ipv46 for ipv4 on some ipv6-enabled machines

Ensure that saddr is compared to an ipv4 local_addr, not to an ipv6 one,
by setting hints.ai_family before calling getaddrinfo().

https://bugzilla.gnome.org/show_bug.cgi?id=693636
make 'make check' work again
Remove -DG_DISABLE_DEPRECATED to build with newer GLib releases
Move configure.in to configure.ac and remove -D_G_DISABLE_DEPRECATED to
make it build with newer GLib versions.
Use AM_CPPFLAGS instead of INCLUDES and remove hardcoded -DG_DISABLE_DEPRECATED to make it build with newer GLib
Use AM_CPPFLAGS instead of INCLUDES and fix problem using
Use AM_CPPFLAGS instead of INCLUDES
Some updates
Raise autoconf req to 2.60 and add AC_HEADER_RESOLV to fix some build problems on older Mac
Commit patch from bug #662623 to fix connection failures on heavily loaded systems. Patch from Red Hat support.
bug#732275: rename func_data to gfunc_data for AIX