add simple autogen script
minor fix of configure.ac