systemd support: Hook up installation in autotools setup.

Installs lirc as two separate systemd services lircd.socket
and lircmd.service. Systemd's requires/wants declarations
doesn't really fit the bill for an overall lirc service.

Part of this is a Fedora setup: the systemd environment is in
/etc/sysconfig/lirc, and this file is referenced in lircd.service.
This could be generalized with e. g., an user option to configure,
but as of now this is left to downstream to patch.
Fixing FTBS when using -Werror=format-security

Fedora moves to using above flag for security reasons. Simple
fix to get rid of compilation error.
hw_uirt2_raw: Hold DTR until all data recieved.

This bug applies to Debian 13.04, but I can't imagine it not impacting
any Linux LIRC install using the UIRT2 via the /dev/ttyUSB0.  The
UIRT2 code raises DTR (which powers down the emitter) before all
the bits are transmitted, keeping the receiving device from reliably
receiving the bit stream.

Supplied patch is WRT git trunk.  This patch is extracted from a larger
patch submitted by John Wehle in 2010.  Danger of causing other
regressions is small, as all it does is insert a small delay before
letting the UIRT2 de-init (which fiddles the DTR signal) happen.

Andy Valencia
hw_fdti.c: Fix for deprecated setbitbang and static time_left().

20 nov 2010 update by albert@huitsing.nl: hw-ftdi.c for deprecated
setbitbang and static time_left().
irrecord: Update address where to send new configs.
irrecord: Add command line used to config file header.
Add m4 directory, make included m4 file name more obvious.

Modern autotools setups wants a m4 directory rather than a single
include file; without this there are annoying warnings.
m4/ac-path-kernel-source.m4: Updates

This macro does not longer work. It does not have sensible
defaults for Debian, and the generated Makefiles does not
work due to kernel updates.

Try also debian defaults, and use simple grepping in the
kernel Makefile to understand version/patchlevel. If this
should fail it's a minor issue, it's just to support kernels
< 2.5; there shouldn't be many of those out there.
Merge branch 'misc-fixes' into upstream
doc: Adding a configuration guide.
Adding generate-lircrc script.

This script simplifies both checking that lircd.conf conforms
to using symbols in the the namespace and creating .lircrc
templates for some well-known applications.
doc: configuration guide: Update, add a note on devinput addressing.
Merge branch 'docs': A configuration guide + a helper script.
gitignore: skip git generated stuff and garbage.
Fix whitespace issues, new fix-whitespace script and pre-commit hook.

For sources use tabs instead of spaces, strip trailing whitespace
(i. e., kernel formatting conventions ).

All other files (besides Makefile*) uses space for indentation and
also strips trailing whitespace.

Add a pre-commit hook which fixes this if installed as
.git/hooks/pre-commit (use git commit --no-verify to disable).

The fix-whitespace filter can be used as a tree-filter to
enforce rules on garbled trees.
Removing old .cvsignore cruft.
Fix a valid ChangeLog
All sources: Remove not-used Id: lines

Sine the data ins invalid it's better to remove these.
Cleanup: convert stray iso-8859-1 files to utf-8.

A few files are iso-8859-1 encoded despite that the overall
project encoding is utf-8. Fix it.
Handle compiler warnings.

Mostly unused variables, some more esoteric stuff as well.

Warnings left in drivers:
  - hw_irman: bogus warning for variable text set-but-not-used.
  - hw_commandir: countless, too many to fix.
  - below in hw_audio_alsa. Potentially dangerous and should be
    fixed, but by someone who knows this better.

hw_audio_alsa.c: In function ‘alsa_sig_io’:
hw_audio_alsa.c:388:11: warning: dereferencing type-punned
    pointer will break strict-aliasing rules [-Wstrict-aliasing]
           bytes_per_sample * alsa_hw.channel]) >> 8);

Other warnings: man2html: odd, really odd #ifdefs creates warning.

Fix compiler warnings