Add autogen.sh, which generates `configure' and runs it optionally.