use chrono
put scripts into 'build-aux' and 'm4' directories'
remove some tests.
fix redefine macro name
refactor code line.