aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJonathan Gray2004-09-19 09:57:24 +0000
committerJonathan Gray2004-09-19 09:57:24 +0000
commit8906d3a3bff6a56dea3ed81f7ffaa24166d671b7 (patch)
tree7c72f7a3b685cf83a9e86021703d2a83dba9ff6a /configure
parentfe2f551952e71bcc469a24a67989eb550ae8c842 (diff)
downloadscummvm-rg350-8906d3a3bff6a56dea3ed81f7ffaa24166d671b7.tar.gz
scummvm-rg350-8906d3a3bff6a56dea3ed81f7ffaa24166d671b7.tar.bz2
scummvm-rg350-8906d3a3bff6a56dea3ed81f7ffaa24166d671b7.zip
Don't break when /tmp is nonexec pointed out in gentoo bug #64550. Don't submit to stupidity of recent coreutils tail behaviour just yet however, have yet to see a system ship without support for -1 including gentoo
svn-id: r15186
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 6 insertions, 5 deletions
diff --git a/configure b/configure
index 066f1d889c..415e2d99fd 100755
--- a/configure
+++ b/configure
@@ -9,11 +9,6 @@
# * detect whether the chosen backend is available (e.g. call sdl-config)
# * ....
-# TODO: We should really use mktemp(1) to determine a random tmp file name.
-# However, that tool might not be available everywhere.
-TMPO=/tmp/scummvm-conf
-TMPC=${TMPO}.cpp
-TMPLOG=config.log
# use environment vars if set
CXXFLAGS="$CXXFLAGS $CPPFLAGS"
@@ -59,6 +54,12 @@ _prefix=/usr/local
_srcdir=`dirname $0`
+# TODO: We should really use mktemp(1) to determine a random tmp file name.
+# However, that tool might not be available everywhere.
+TMPO=${_srcdir}/scummvm-conf
+TMPC=${TMPO}.cpp
+TMPLOG=${_srcdir}/config.log
+
# For cross compiling
_host=""
_host_cpu=""