Figure out which versions of automake we have to work with