add configure.ac and Makefile.am