Add configure script

Hi
I just wrote configure.ac and Makefile.am files for this package so users can build on multi platforms in future. Please review and include them for your master branch.

Thanks,

Itaru