libgcrypt: detect libgpg-error with pkg-config

Andreas Metzler ametzler at bebt.de
Sun May 3 07:29:22 CEST 2026


On 2026-05-03 Vincent Torri via Gcrypt-devel <gcrypt-devel at gnupg.org> 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.



More information about the Gcrypt-devel mailing list