From: Ralph Seichter Date: Sun, 16 Jun 2019 15:18:47 +0000 (+0200) Subject: configure: fix mktemp call for macOS X-Git-Tag: archive/debian/0.29.2-1~8 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4b17201c4fa5ce1b4c46c09659b187164dbc1c12 configure: fix mktemp call for macOS Add missing template to mktemp, as required by macOS / OS X. Signed-off-by: Ralph Seichter --- 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 \