revise autogen.sh