configure.ac: Use automake subdir-objects flag

To make automake 1.14 happy

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Handle the case where hostnamed is not active or available

This is code path should be resilient to the hostnamed service
not running. In addition, allows us to test in places where
no systemd is running.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
daemon: Fix link ordering to cope with picky compilers

The gcc compiler in Ubuntu 12.04 complains when linking these
libraries and archives out of order.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Disable various Gio plugins and backends

These are totally not relevant in a daemon process like ours. This
includes gvfs, gsettings, and the proxy resolver.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Add m4 include directory to autogen.sh

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
configure.ac: Don't use PKG_CHECK_VAR from recent pkg.m4

Older versions of pkg-config on some of our target platforms don't
have this macro.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Add support for building with travis-ci.org

This means putting in a .travis.yml file.

We use packages from the latest trusty version of ubuntu in order to
get the build to succeed, as well building jsl as part of our build.
libgsystem and storaged are also not available, so we bring in enough
for cockpit to get past 'make check'

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
configure.ac: Add --enable-strict option to build with Werror

This lets us run our automated testing and personal development
machines in a stricter mode than other builders.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Fix a bunch of warnings that are raised by clang 3.3

Some of these are serious, such as the ones in CockpitRestJson
and others are innocuous, but seem worth fixing so we can rely
on the warnings.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Don't use ifconfig, as it's less available on linux

Use the 'ip' command to test for the presence of an interface
instead.