aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 22:26:35 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 22:26:35 +0000
commitbfbb20c60302dd4c936d660421348b05d915dbfe (patch)
tree7f18602f1107294fd152ce22ed1556be0c3fbee9 /configure
parent0f93dff543bd6e44294450ae95104a8d91d9629d (diff)
Move declaration of temporary file variables to after the system-specific
variable declarations (preparation for next patch). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24670 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure31
1 files changed, 17 insertions, 14 deletions
diff --git a/configure b/configure
index 55f3d3c2f1..f120743fe4 100755
--- a/configure
+++ b/configure
@@ -1300,20 +1300,6 @@ if test "$_runtime_cpudetection" = yes && not x86 && not ppc; then
die "Runtime CPU detection only works for x86, x86-64 and PPC!"
fi
-for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do
- test "$I" && break
-done
-
-TMPLOG="configure.log"
-TMPC="$I/mplayer-conf-$RANDOM-$$.c"
-TMPCPP="$I/mplayer-conf-$RANDOM-$$.cpp"
-TMPEXE="$I/mplayer-conf-$RANDOM-$$"
-TMPH="$I/mplayer-conf-$RANDOM-$$.h"
-TMPS="$I/mplayer-conf-$RANDOM-$$.S"
-
-rm -f "$TMPLOG"
-echo configuration: $_configuration > "$TMPLOG"
-echo >> "$TMPLOG"
if openbsd ; then
_ldconfig="ldconfig -R"
@@ -1367,6 +1353,23 @@ if qnx ; then
_ld_extra="$_ld_extra -lph"
fi
+for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do
+ test "$I" && break
+done
+
+
+TMPLOG="configure.log"
+TMPC="$I/mplayer-conf-$RANDOM-$$.c"
+TMPCPP="$I/mplayer-conf-$RANDOM-$$.cpp"
+TMPEXE="$I/mplayer-conf-$RANDOM-$$"
+TMPH="$I/mplayer-conf-$RANDOM-$$.h"
+TMPS="$I/mplayer-conf-$RANDOM-$$.S"
+
+rm -f "$TMPLOG"
+echo configuration: $_configuration > "$TMPLOG"
+echo >> "$TMPLOG"
+
+
# Check how to call 'head' and 'tail'. Newer versions spit out warnings
# if used as 'head -1' instead of 'head -n 1', but older versions don't
# know about '-n'.