X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=6e73b22ef68d044f63074bbd7b9a1775a23e12af;hb=75328e4fecf48ed935f9f6cc8a513fa2c25c5c03;hp=8b80f0e0890ff54ee0f80b136af601d09bab9a0e;hpb=2669117ad75105c475f4c5850d9bf7a79dde9101;p=notmuch diff --git a/configure b/configure index 8b80f0e0..6e73b22e 100755 --- a/configure +++ b/configure @@ -529,7 +529,7 @@ int main () { return 0; } EOF - if ! TEMP_GPG=$(mktemp -d); then + if ! TEMP_GPG=$(mktemp -d "${TMPDIR:-/tmp}/notmuch.XXXXXX"); then printf 'No.\nCould not make tempdir for testing session-key support.\n' errors=$((errors + 1)) elif ${CC} ${CFLAGS} ${gmime_cflags} _check_session_keys.c ${gmime_ldflags} -o _check_session_keys \