]> git.cworth.org Git - notmuch/commit
configure: better error handling on session key check.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 20 May 2019 20:51:59 +0000 (16:51 -0400)
committerDavid Bremner <david@tethera.net>
Mon, 20 May 2019 21:17:18 +0000 (18:17 -0300)
commit7546fd9cf69775cc256bd9d2878b2426fe14248b
tree7e62c2953dd65fbcbf7a0be22a7fa34aa86620fe
parentf4708ce0b1a8a7a4ae73b7e24768d81741f09d8c
configure: better error handling on session key check.

There are a few changes bundled here:

 * say "No." explicitly if there's a failure.

 * try to avoid implying that gpgme-config is necessary to build
   notmuch itself (it's not, though it may be useful if you need to
   rebuild gmime).

 * leave _check_session_keys and _check_session_keys.c around if
   ./configure fails, so that the user can play with it more easily
   for debugging.

 * let error messages show when _check_session_keys.c is built.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Amended by DB: use command -v instead of which.
configure