Initial commit (preliminary investigation)

Fossil-ID: SVN r2578
Set eol-style to native

Fossil-ID: SVN r2579
Fix executable bits

Fossil-ID: SVN r2583
Move wincompat.[ch] to common

Fossil-ID: SVN r2584
Remove hard coded path to libws2_32

Fossil-ID: SVN r2585
Fix errors appeared when merging from regular 2.4.3 to svn trunk

Fossil-ID: SVN r2586
Set again eol property to native

Fossil-ID: SVN r2587
Remove hack from confpath function.

You have to declare a NUT_CONFPATH environnement variable in your
Windows settings

Fossil-ID: SVN r2588
Remove unneeded debug printf

Fossil-ID: SVN r2589
Better handling of multiple connection on drivers

Fossil-ID: SVN r2590
Rename DATADIR to NUT_DATADIR to avoid conflict with MinGW objidl.h header

Fossil-ID: SVN r2595
Map syslog to Windows's event log.

Fossil-ID: SVN r2641
Remove C++ style comments

Fossil-ID: SVN r2642
upsd behaves like a service by default now

Fossil-ID: SVN r2644
Add Uninstall facility to upsd

Fossil-ID: SVN r2650
Factorization of service code

Fossil-ID: SVN r2658
MinGW socklen detection (by Arnaud Quette)

Fossil-ID: SVN r2659
Make drivers run as service by default

Fossil-ID: SVN r2660
Add regex library check and flags

Fossil-ID: SVN r2667
Checking whether or not we should use the 'regex' library...

...should be done for all USB connected devices (since we use this in
the matcher function). In that case it is much cleaner to add this
check in nut_check_libusb.m4. This also fixes the wrong use of
AC_SEARCH_LIBS, that already adds '-lregex' to LIBS (which means all
binaries are linked against this library).

Fossil-ID: SVN r2668