I have some C++ project build by autotools.
The project uses some libraries, also written by me. Source of libraries are imported to the project as submodules of git. Each library has its own autotools files.
Say, I have:
src/<my src files>
modules/libfoo/
libbar/
Makefile.am
Configure.in
<other autotools junk>
What I want is to somehow include libraries into main project compilation chain. I guess that just including subdir to Makefile.am is not enough, because some checks can be reformed in configure.am.