Fix build with automake 1.12

recent autotools require calling AM_PROG_AR before LT_INIT
this macro needs to be conditionally defined as it is not
present in old versions.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
1 file changed