adding post event
new envronment support for configure.
update autoconf
clean script.