Danek Duvall wrote: > On Fri, Jul 31, 2009 at 11:44:44AM -0500, Mark Martin wrote: > >> I'll only suggest to the team to slap a version number in the .pc file >> name (now and in the future) and conclude my comments on this case. > > Yipes, no, please don't. The names of the files without the .pc extensions > are input arguments to pkg-config, and so are hard-coded in configure > scripts around the world. These names are generally pretty stable as > interfaces go, and modification would make Solaris gratuitously (and > uselessly) different.
Some upstream projects do include the major version number in the file name, so that you can distinguish between ABI incompatible versions, such as gtk+ 1.x and gtk+ 2.x, but putting minor versions would break compatibility needlessly with each minor release. One of the metadata items inside the pc file is the full version information, which can be queried via pkg-config --modversion. -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering