From 2ba62328d24d2df8675182b5e9d7142111b4e83c Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 9 Sep 2010 14:01:48 +0000 Subject: 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 --- configure | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3