Extensions to .pc files

Tollef Fog Heen tfheen at err.no
Mon Jun 29 18:52:34 PDT 2009


]] Brad Hards 

| I'd like to ask for an opinion on the best way to manage extensions to the 
| normal contents of a .pc file.
| 
| Conceptually, I'd like to be able to get back a path to a particular 
| configuration / script file, which I'm going to (optionally) add to my 
| command line to make the compiler do something different.

This is what, as Dan says, --variable do.  I'm not particularly fond of
the command line syntax for defining variables, but it's what we have
and I don't think we should break backwards compatibility just because
the syntax isn't what I/we like.

I'd rather not add this feature as it's very close to what --variable
does and having features which are essentially just causes confusion.

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



More information about the pkg-config mailing list