added configure.ac
added config and distclean target to Makefile