Autoconf/Automake-ize everything.