[PATCH Libgpg-error] gpg-error.m4: support pkg-config

NIIBE Yutaka gniibe at fsij.org
Wed Oct 31 07:14:16 CET 2018

Alon Bar-Lev <alon.barlev at gmail.com> wrote:
> This thread is about modifying the build so that it will have an
> option to use pkg-config instead of config scripts if downstream
> maintainer chooses to.

I know.

I don't argue this point.

I pointed out that the important technical things (no use of
--with-*-prefix/SYSROOT with *-config scripts, to build GnuPG and its
related libraries) can be already achieved with no new dependency to
pkg-config.  (I mean, gnupg in master.  It's not yet applied
to stable branch.)

My point is, people don't need to use libraries' *-config scripts any
more, but only a single gpgrt-config script now.

In the past, there are *-config script from libraries, and for some
build environment, there are even prefixed versions for supported hosts,
like i686-linux-gnu-gpg-error-config and sh4-linux-gnu-libassuan-config.
Now, we only have a gpgrt-config.

Still *-config script in each library is not removed, so that it can
still support existing software, but it's no need any more when we build
gnupg master.

More information about the Gnupg-devel mailing list