Autotools feature

Added autotools build based on automake and autoconf.

The scfipt `autogen.sh` regenerates the configure script.