According to the documentation building is a simple matter of calling first autogen.sh. But there are dependencies and so if you try to run this on OSX you get this:
./autogen.sh: line 9: aclocal: command not found
./autogen.sh: line 10: autoheader: command not found
./autogen.sh: line 11: automake: command not found
./autogen.sh: line 12: autoconf: command not found
That's not very helpful.
As an aside, if you install autoconf but haven't got aclocal installed the autogen.sh script doesn't actually quit on the (presumably fatal) error that it can't run aclocal, it just continues running.