Building shared libraries which depend upon other libraries breaks whenever a dependency found (by something like AC_SEARCH_LIBS) was not built with -fPIC (or whatever the name of this option might be on the platform in question). And, preferably, one might want to check that the dependency is a dynamic library itself.
Are there any gnulib (or autoconf) macros available which can help here? Thinking of writing such a macro myself, it seems that the way to go would be to write test C code to build a shared library, and try building it. But this does not look as something that chains too well with the other tools (i.e. libtool would be the one needed). Best, Dima
signature.asc
Description: PGP signature