tests: Put builddir on our include path

This prevents link errors when builddir is different from sourcedir.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
Remove remnants of waf build system

We use autotools.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
configure: Use %prefix-relative paths everywhere

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
makefile: Install and uninstall properly

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
tests: Source is in srcdir

srcdir might, but might also not, be equivalent to builddir.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
t: Make tests run

I'm not automake's test runner's best friend right now - in fact, I'm
tasting the vomit just thinking about how you'd design a test protocol
that can't sanely accept input files - but this actually seems to do the
job.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
travis: Run regular make check before distcheck

That way, it's more obvious if it's a real issue, or if it's a build
tool issue.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
travis: If make check fails, just bail ASAP

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
test-log: Work around bugs in old check versions

Ubuntu precise runs assert argument twice, so move function calls
outside of assertions.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
checks: Fix memory error in test

Also, just in case, make sure perfdata is initialized to NULL.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>