Use autotools step 1

The old configure now is config.local and is executed at the
end of the configure process, after config.status.

The new configure.ac allows one to specify the place in which
libevent is installed, using --with-libevent=foo.

Add empty directory, m4, in which m4 files are saved.