| skipped 529 lines |
530 | 530 | | } |
531 | 531 | | define-feature gpgme |
532 | 532 | | |
533 | | - | msg-checking "Checking for gpg-error..." |
534 | | - | if {1} { |
| 533 | + | if {![get-define want-pkgconf] || ![pkgconf false gpg-error]} { |
535 | 534 | | # Locate gpg-error-config |
| 535 | + | msg-checking "Checking for gpg-error..." |
536 | 536 | | set gpg_error_config_guess [file join $gpgme_prefix bin gpg-error-config] |
537 | 537 | | if {[file-isexec $gpg_error_config_guess]} { |
538 | 538 | | define GPG-ERROR-CONFIG $gpg_error_config_guess |
| skipped 20 lines |
559 | 559 | | user-error "Could not derive --libs from $gpg_error_config" |
560 | 560 | | } |
561 | 561 | | define-append LIBS $res |
| 562 | + | msg-result $gpg_error_version |
562 | 563 | | } |
563 | | - | msg-result $gpg_error_version |
564 | 564 | | |
565 | 565 | | define CRYPT_BACKEND_GPGME |
566 | 566 | | } |
| skipped 854 lines |