Re: libgcrypt: detect libgpg-error with pkg-config

Andreas Metzler <[email protected]> Sun, 3 May 2026 07:29:22 +0200
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
On 2026-05-03 Vincent Torri via Gcrypt-devel <[email protected]> wrote:
> Hello

> in libgpg-error's configure.ac : 'gpg-error-config command is deprecated.'
> So, pkg-config detection should be used


Misleadingly shortened quote. The actual text in libgpg-error's
configure.ac is:
# We used to provide gpg-error-config command always.  Now, it's
# gpgrt-config command with gpg-error.pc configuration file, which
# does same thing.  gpg-error-config command is deprecated.

libgcrypt uses AM_PATH_GPG_ERROR which will prefer gpgrt-config over
gpg-error-config.

cu Andreas

-- 
"You people are noisy," Nia said.
I made the gesture of agreement.