From 4b17201c4fa5ce1b4c46c09659b187164dbc1c12 Mon Sep 17 00:00:00 2001 From: Ralph Seichter Date: Sun, 16 Jun 2019 17:18:47 +0200 Subject: [PATCH] configure: fix mktemp call for macOS Add missing template to mktemp, as required by macOS / OS X. Signed-off-by: Ralph Seichter --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.43.0