cross-compile and autotools howto missing

Erik de Castro Lopo mle+tools at mega-nerd.com
Thu Oct 16 13:11:25 PDT 2008


Matěj Týč wrote:

> > Yes, but that behaviour is deprecated and is in the process of 
> > being removed from the default behaviour of autoconf.
> 
> I am on the autoconf mailing list and I have a feeling that this
> "process of being removed" can take ages. 
> Actually, what is going to happen when it is removed? Isn't going to
> break the pkg-config autotools support?

Its only going to break things where people are cross compiling
but using the native pkg-config. Than can be fixed by creating
a <cross-compiler>-pkg-config script like I suggested in my 
blog post.

> > Obviously, this could be fixed now with a little autoconf
> > hackery.
> 
> Do you have an idea what sort of hackery it should be?

Gram the existing pkg.m4 macro, fix it (possibly renaming the
macros) and put it in your source tree.

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"I like modern art and music most, but I dislike most modern art and music."
-- James McCartney


More information about the pkg-config mailing list