]> git.notmuchmail.org Git - notmuch/blobdiff - configure
Merge branch 'release'
[notmuch] / configure
index 554e10c9ad599f20763484d9a163465be00f8dc6..1e7b9f7a47e1a2efc40e6dc1d8f513bb0a73a672 100755 (executable)
--- 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 \