X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=d0d8f18acef8a3d2f5cfbbf2c70361b0410e0af0;hp=fa77eb8fd4b7b406f2b3a097137c4c5001c285f9;hb=9951598d11f9e883374d295f886009cdb64d8f63;hpb=0e037c34dd4b7eb9be96e62e0ee18260291de1b2 diff --git a/configure b/configure index fa77eb8f..d0d8f18a 100755 --- a/configure +++ b/configure @@ -612,6 +612,19 @@ if [ $WITH_DOCS = "1" ] ; then fi fi +have_gpgconf_socketdir=0 +printf "Checking for gpgconf --{create,remove}-socketdir... " +if gpgconf --dump-options > /dev/null ; then + if gpgconf --dump-options | grep -q create-socketdir ; then + printf "Yes.\n" + have_gpgconf_socketdir=1 + else + printf "No.\n" + fi +else + printf "No. (missing or broken gpgconf?)\n" +fi + if [ $WITH_DESKTOP = "1" ]; then printf "Checking if desktop-file-install is available... " if command -v desktop-file-install > /dev/null; then @@ -1186,6 +1199,9 @@ NOTMUCH_PYTHON=${python} # Are the ruby development files (and ruby) available? If not skip # building/testing ruby bindings. NOTMUCH_HAVE_RUBY_DEV=${have_ruby_dev} + +# Recent enough gnupg to support gpgconf --create-socketdir? +NOTMUCH_HAVE_GPGCONF_SOCKETDIR=${have_gpgconf_socketdir} EOF # Finally, after everything configured, inform the user how to continue.