.pc file should be generated at "make" time, not "configure" time

Tollef Fog Heen tfheen at err.no
Mon Aug 16 23:28:50 PDT 2010

]] Enrico Weigelt 

| * Ben Denckla <bdenckla at oblong.com> schrieb:
| > I think this is the standard, but arguably suboptimal way 
| > of doing it. 
| Yes, you're right. But for autotools-based packages it's just
| easier (less to type) to simply add yet another AC_OUTPUT()
| call than writing separate make rules.

I also don't believe in the GNU coding standards, but that's a separate
discussion.  If somebody comes up with the patch to the man page to show
how to implement it, I'll take a look at applying it.

| Perhaps we could provide some new macro PKG_CONFIG_OUTPUT() which
| hides all the logic and adds proper rules into the Makefile output ?
| Maybe there could even be a macro which takes all the required
| information as parameter, so no more .pc.in files have to to 
| maintained ?

Patches accepted. :-)

Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

More information about the pkg-config mailing list