generate src/last-revision.h at ./configure time

See automake info pages, section 9.4.1 "Built Sources Example".