updated configure.ac and adjusted the distcheck target of Makefile.in