Adding autoconf support for the sample project.