[systemd-devel] [PATCH] build: generate pkg-config files during configure

Philip Van Hoof philip at codeminded.be
Thu Mar 12 09:17:37 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/03/2015 8:27, Jeff Waugh wrote:

> 
> Finally, a supporting appeal to authority: If you check
> GNOME-land, practically all pkg-config files are generated at
> configure time. :-)

Yes and no. Certain projects in the confusing land of the gnomes do
something like this:

tracker-miner-$(TRACKER_API_VERSION).pc: tracker-miner.pc
        cp $< $@

to get the version in the filename of the .pc. But yes that
tracker-miner.pc gets generated at configure time.

I wonder if in a few years libsystemd.pc should have been
libsystemd-1.0.pc because a libsystemd-2.0.pc became needed?

ps. In GLib this isn't being done with a cp in Makefile.am and yet
other projects (dconf) don't do API versioning with the .pc filename.

Kind regards,

Philip
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)

iQEcBAEBAgAGBQJVAbwgAAoJEEP2NSGEz4aD5VUIAIQ4D+sQfJjpig7tOCwphjdB
jyqeZINx28mwUCbKLUCFubieYAKcOoA964fJFpvE6TF6mduv1H7KVZ7LXwhXz552
PaTj182PT3J4lqhB3/lzUg9JzaaKqdHyeDkexY06w5hrAjY5QxAhkMUZFLHZr6HG
bKJN++8UZj4eicSxVkdx90pa3jOkkD0KHWuqsLgcJ0WVdnTs1X0JDKxz3yeUb6sb
qrekyp7I3weWcF3HMb6Mipy/NzzclvC5OKMhlPwP4nE6CHwzFCxBvzkFDsc9W55l
sAZPw0/Yda6BpnNVnplgCCQgiRMoriq5qgXf3pfpilXF/5bOi6c+7LDqXtyex5I=
=FF7A
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list