Modernize the build system. Recent versions of autoconf and automake were giving a lot of warnings. This is sort of a backport of similar build system changes from the 1.1 banch: - Fix all autoconf/automake warnings. - Merge lib/ into src/. - Don't use symlinks for device.c any more, but use automake conditionals. - Use explicit paths to local header files. - Get rid of alloca.c/malloc.c/memcmp.c/realloc.c.
Remove all occurences of $Id$.
Allow compiling for Windows XP and higher. This allows us to use getaddrinfo(), getnameinfo() and related functions, which allow tinc to make connections over existing IPv6 networks. These functions are not available on Windows 2000 however. By default, support is enabled, but when compiling for Windows 2000 the configure switch --with-windows2000 should be used. Since getaddrinfo() et al. are not functions but macros on Windows, we have to use AC_CHECK_DECLS() instead of AC_CHECK_FUNCS() in configure.in.
Update copyrights, links, email addresses and let Subversion update $Id$ keywords.
Big header file cleanup: everything that has to do with standard system libraries is moved to system.h.
Simplify logging, update copyrights and some minor cleanups.
Include complete fake-getname/addrinfo from OpenSSH.