Add m4 and autoconf
Add automake
Use autoconf in mesa