Add config files for autotools.
Update gitignore file for autotools.
Make the autotools generate pc file. Recreate configure.ac using autoscan.