autotools: set XA versions in configure.ac and configure header file