pkg.m4 doesn't behave in a very rational way, when configured with --host=xyzzy
All the PKG_CHECK_MODULES macros continue to find the local modules, not the ones for target xyzzy. Consequently, the build fails when the compiler/linker can't find the header/library for the necessary packages. Of course, one can get around this by setting the PKG_CONFIG_LIBDIR environment variable prior to running ./configure but I think that most people won't know that it's necessary, and it seems redundant to me, because of the --host flag. Shouldn't PKG_CONFIG_* find only packages pertaining to the target architecture? J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature