mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
configure: use pkg-config for gpgme
GnuPG upstream has supported pkg-config since gpgme version 1.13 and gpg-error 1.33, and now prefers the use of pkg-config by default, instead of relying on gpg-error-config and gpgme-config. As of libgpg-error 1.46, upstream deliberately does not ship gpg-error-config by default. As of gpgme 1.18.0, upstream does not ship gpgme-config if gpg-error-config is also not present. Both of these versions of upstream libraries are in debian unstable now. To the extent that notmuch is dependent on GnuPG, it should follow GnuPG upstream's lead. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
f4dc32e71b
commit
db4b48f6cc
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -541,8 +541,8 @@ version of GPGME.
|
||||||
Please try to rebuild your version of GMime against a more recent
|
Please try to rebuild your version of GMime against a more recent
|
||||||
version of GPGME (at least GPGME 1.8.0).
|
version of GPGME (at least GPGME 1.8.0).
|
||||||
EOF
|
EOF
|
||||||
if command -v gpgme-config >/dev/null; then
|
if GPGME_VERS="$(pkg-config --modversion gpgme || gpgme-config --version)"; then
|
||||||
printf 'Your current GPGME development version is: %s\n' "$(gpgme-config --version)"
|
printf 'Your current GPGME development version is: %s\n' "$GPGME_VERS"
|
||||||
else
|
else
|
||||||
printf 'You do not have the GPGME development libraries installed.\n'
|
printf 'You do not have the GPGME development libraries installed.\n'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue