configure: support Automake 1.12

Signed-off-by: Jonathan Dieter <jdieter@lesbg.com>
Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
Merge pull request #1051 from kdreyer-inktank/automake-1.12

configure: support Automake 1.12