How to generate .pc files with Autotools

Murilo Belluzzo murilo.belluzzo at gmail.com
Tue Aug 28 10:16:57 PDT 2007


Hi everybody,

I'm using the AutoTools to build a lib for the first time.  After many days
of study and work, I finally made my library compile and install properly
with "./configure and make".

Now, I want to use pkg-config to make it easy for anyone to use my lib with
PKG_CHECK_MODULES(). But, I get stuck on it because I couldn't find any
tutorial or howto that teaches what I have to do to create the right .pc
files for my lib and install them in the right place (even when ${prefix} is
set to a path that is not the default).

Can anyone tell me where I can find such information? Can anyone help me,
plz! :-)

Cheers,
-- 
Murilo Pinoti Belluzzo
Engenharia de Computação - UNICAMP
Campinas, SP

"Talk is cheap. Show me the code." Linus Torvalds.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/pkg-config/attachments/20070828/f1b3eadd/attachment.html 


More information about the pkg-config mailing list