add -Wall ... to compiling CFLAGS
drop -O2 from CC_CHECK_CFLAGS_APPEND

autotools adds its own -O2, so it appeared twice
adding extra -W flags
git ignore tags
remove declaration warning
remove 64 bit %ll warning