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
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
Factorization of service code

Fossil-ID: SVN r2658
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
Correct integration of WinSock library (by Arnaud Quette)

Fossil-ID: SVN r2675
This 3 lines has been duplicated instead of being removed.

Fossil-ID: SVN r2676
Finish removing hard-coded paths to winsock2 library (as in [[SVN:2674]])

[[SVN:2674]] = 2010-11-05T09:10:19Z!adkorte-guest@alioth.debian.org

Fossil-ID: SVN r2677
More factorization and fix a bug in drivers services stop

Fossil-ID: SVN r2678
We need to register one driver service per ups in upsd.conf.

So these drivers need to have different names and command line arguments.

Fossil-ID: SVN r2691