summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b57dbbb..e73dc92 100755
--- a/configure
+++ b/configure
@@ -5805,7 +5805,7 @@ $as_echo "$as_me: WARNING: Using internal mktemp mechanism. Use option '--with-
if test -z "$INTERNAL_MKTEMP" ; then
{ $as_echo "$as_me:$LINENO: checking whether $MKTEMP -d works" >&5
$as_echo_n "checking whether $MKTEMP -d works... " >&6; }
- if tempdir=`$MKTEMP -d /tmp/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \
+ if tempdir=`$MKTEMP -d ${TMPDIR:-/tmp}/$PACKAGE_NAME.XXXXXX 2>/dev/null` && \
rmdir "$tempdir" ; then
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }