X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=d0d8f18acef8a3d2f5cfbbf2c70361b0410e0af0;hb=ae731c183a64c1b68ceb145417897ae1c32b4971;hp=ddfbbabfe4820f178fe00b592d2a22ac7a6ad284;hpb=b15b96f846dcfabbd0c7f43e741573cfd14ab3c8;p=notmuch diff --git a/configure b/configure index ddfbbabf..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 @@ -680,19 +693,6 @@ else EOF fi -printf "Checking byte order... " -cat> _byteorder.c < -#include -uint32_t test = 0x34333231; -int main() { printf("%.4s\n", (const char*)&test); return 0; } -EOF -${CC} ${CFLAGS} _byteorder.c -o _byteorder > /dev/null 2>&1 -util_byte_order=$(./_byteorder) -echo $util_byte_order - -rm -f _byteorder _byteorder.c - if [ $errors -gt 0 ]; then cat <