autotools example, code, docs
here