configure.ac: Require a2x when building from git

Otherwise make in the doc/man7 will fail as the manpages are missing.
Backported from quvi (7301c459).

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>