configure.ac: call AM_PROG_AR if available