I know how to build a project or how to create a library using autoconf.
What I want to achive is to generate a static library and use this library to build a project in a single configure/make/make install run.
I want some source files to be put into library and the rest to be compiled using this library.
How do I modify makefile.am files and configure.ac to get it working?