aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=""