Add basic autoconf/automake configs.

Signed-off-by: snowwalf <zhj88523@gmail.com>