aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRalph Seichter <abbot@monksofcool.net>2019-06-16 17:18:47 +0200
committerDavid Bremner <david@tethera.net>2019-06-17 07:05:08 +0200
commit4b17201c4fa5ce1b4c46c09659b187164dbc1c12 (patch)
treebfaaa5f80c8d91731b520f8d5f6cb5e61743cd1a /configure
parent20842dfb6d64f4469c554525ab4c27c6571fbdfe (diff)
configure: fix mktemp call for macOS
Add missing template to mktemp, as required by macOS / OS X. Signed-off-by: Ralph Seichter <abbot@monksofcool.net>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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 \