cleanup configure.ac (from master/Kevin Zheng)
update ChangeLog
sync with SVN trunk
fix signed compare warning.