mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
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>
This commit is contained in:
parent
20842dfb6d
commit
4b17201c4f
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -529,7 +529,7 @@ int main () {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
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'
|
printf 'No.\nCould not make tempdir for testing session-key support.\n'
|
||||||
errors=$((errors + 1))
|
errors=$((errors + 1))
|
||||||
elif ${CC} ${CFLAGS} ${gmime_cflags} _check_session_keys.c ${gmime_ldflags} -o _check_session_keys \
|
elif ${CC} ${CFLAGS} ${gmime_cflags} _check_session_keys.c ${gmime_ldflags} -o _check_session_keys \
|
||||||
|
|
Loading…
Reference in a new issue