Again, that is the expected behaviour for any software using autoconf and automake. configure checks if libraries are available by compiling and linking code snippets. So you will have to run the configure in the same environment that the compiled software is supposed to run.
These checks are however not being performed if configure is aware of the fact that you are cross-compiling.
Nevertheless there should exist a better solution to cross-compile a library that depends on other cross-compiled shared libraries that to fiddle around with the .pc and .la files after each build step.
If someone knows one please tell me.
Jos� Gon�alves
