Use configure --localstatedir=BASEDIR to set path to /var

This is helpful to test make uninstall with --prefix=/private/dir as
unprivileged user. No change in behaviour is expected by this change.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Add configure --enable-rpath

This fixes the tools when xen is configured with --prefix=/odd/path

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Add configure --with-linux-backend-modules="mod1 mod2"

This replaces config/Linux.modules with a configure option. As a result
of this change only a single xencomons.in is required, instead of a
xencomons.in.in and sed hackery.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Add configure --with-bash_completion-dir=DIR

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Make XENFIRMWAREDIR a subdir of libexecdir

Put the firmware files below libexecdir. This is essentially just a new
name for the existing path. It has the benefit that it can be configured
via --libexecdir= if required.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Use just PREFIX to reference the path in Paths.mk

Signed-off-by: Olaf Hering <olaf@aepfle.de>
tools: remove private copies of includedir and libdir from libxenstat

They are wrong and unused.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Use Paths.mk for docs, stubdom and tools build

Paths.mk contains just directories set by configure.
Source this file first when building docs,stubdom or tools.
Remove unused path variables from Paths.mk

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Move xenconsoled to libexec

xenconsoled is started by runlevel scripts, its not supposed to be
called by admin.  So move it out of the way into LIBEXEC_BIN.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Move xenstored to libexec

xenstored is started by runlevel scripts, its not supposed to be
called by admin.  So move it out of the way into LIBEXEC_BIN.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Move xenwatchdogd to libexec

xenwatchdogd is started by runlevel scripts, its not supposed to be
called by admin.  So move it out of the way into LIBEXEC_BIN.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
tools: use XEN_LIB_STORED instead of hardcoded path

Signed-off-by: Olaf Hering <olaf@aepfle.de>
rerun autogen.sh

Signed-off-by: Olaf Hering <olaf@aepfle.de>