aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-09-09 14:01:48 +0000
committerWillem Jan Palenstijn2010-09-09 14:01:48 +0000
commit2ba62328d24d2df8675182b5e9d7142111b4e83c (patch)
tree77ca3995aa5eb93292f55098c87336f0f6f35f16 /configure
parent43f05c3361825ce01b3e3301b6b5354c6f5107d2 (diff)
downloadscummvm-rg350-2ba62328d24d2df8675182b5e9d7142111b4e83c.tar.gz
scummvm-rg350-2ba62328d24d2df8675182b5e9d7142111b4e83c.tar.bz2
scummvm-rg350-2ba62328d24d2df8675182b5e9d7142111b4e83c.zip
BUILD: Create configure temp files in build dir
This fixes detection issues with a noexec /tmp (bug #3009167), and matches what autoconf does. There should be no need to randomize temp file names in the build dir. svn-id: r52659
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure b/configure
index dff605e9f1..f380b94ff4 100755
--- a/configure
+++ b/configure
@@ -193,12 +193,8 @@ _host_alias=""
_srcdir=`dirname $0`
_port_mk="ports.mk"
-# Determine a tmp file name, using mktemp(1) when available.
-if type mktemp > /dev/null 2>&1 ; then
- TMPO=`mktemp /tmp/scummvm-conf.XXXXXXXXXX`
-else
- TMPO=./scummvm-conf
-fi
+# Use temp files in the build directory
+TMPO=./scummvm-conf
TMPC=${TMPO}.cpp
TMPLOG=config.log