update configure.ac, add .gitignore