There's actually a couple of things pkg-config does that Libtool doesn't currently do. pkg-config's main job can be summed up simply as enabling parallel-installed -dev packages.
What about non-libtool libraries wanting to benefit from pkg-config? This will require them to spit out .la files rather than .pc files.
Nope, to absorb pkg-config libtool will need to be aware of .pc files too. If libtool can't find a .la file, but there is a suitable .pc file in the search patch, libtool would pull the flags from there.
Just gross!
I do not believe that libtool should ever know about pkg-config or its .pc files. Libtool should only know about compilers, linkers, and standard Unix utilities.
Configure scripts may easily use pkg-config if they need to, and pass any necessary parameters on to libtool. This has been working fine for years.
Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen
_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool