mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
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
This commit is contained in:
parent
43f05c3361
commit
2ba62328d2
8
configure
vendored
8
configure
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user