configure.ac: Modernised

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Bump version to v4.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
gitignore: Ignore *~ too

Signed-off-by: Gergely Nagy <algernon@balabit.hu>