Makefile.am: Use AM_CPPFLAGS instead of INCLUDES

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Add m4 stuff, to silence auto*

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
.gitignore: Add a few files from newer autotools

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Makefile.am: Fix the test suite under newer automake

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>