switched to autotools to generate Makevars

switched to autotools to generate Makevars

Signed-off-by: Stefan Schlager <zarquon42@gmail.com>