X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=configure;fp=configure;h=c3629a73a4f3536993329ab1770a6622ab6fcb93;hp=be69b34d87e967dc7ca7b26b45f1564e343fd58e;hb=db4b48f6cc033255d0214c76bc72a05d61bff118;hpb=f4dc32e71b6fbaca933e0c7edd6d08b65feed0ec diff --git a/configure b/configure index be69b34d..c3629a73 100755 --- a/configure +++ b/configure @@ -541,8 +541,8 @@ version of GPGME. Please try to rebuild your version of GMime against a more recent version of GPGME (at least GPGME 1.8.0). EOF - if command -v gpgme-config >/dev/null; then - printf 'Your current GPGME development version is: %s\n' "$(gpgme-config --version)" + if GPGME_VERS="$(pkg-config --modversion gpgme || gpgme-config --version)"; then + printf 'Your current GPGME development version is: %s\n' "$GPGME_VERS" else printf 'You do not have the GPGME development libraries installed.\n' fi