summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-05 10:05:05 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-05 10:05:05 +0000
commitc9614cb422320c53a16849a54db37ad9c80187d8 (patch)
treeeef83fa5322f4819f64714da2e76aa83fb6ec4a0 /configure
parent1bb883188e1cf9148958a4ba1686aecf8edfdadf (diff)
downloadmpv-c9614cb422320c53a16849a54db37ad9c80187d8.tar.bz2
mpv-c9614cb422320c53a16849a54db37ad9c80187d8.tar.xz
move runtime cpu detection check after detection of host architecture,
since it uses the host architecture to check if it is supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21825 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index ab8a9165fe..946902df8f 100755
--- a/configure
+++ b/configure
@@ -548,10 +548,6 @@ for ac_option do
esac
done
-if test "$_runtime_cpudetection" = yes && not x86 && not ppc; then
- die "Runtime CPU detection only works for x86, x86-64 and PPC!"
-fi
-
# Determine our OS name and CPU architecture
if test -z "$_target" ; then
# OS name
@@ -637,6 +633,10 @@ fi
echo "Detected operating system: $system_name"
echo "Detected host architecture: $host_arch"
+if test "$_runtime_cpudetection" = yes && not x86 && not ppc; then
+ die "Runtime CPU detection only works for x86, x86-64 and PPC!"
+fi
+
# LGB: temporary files
for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do
test "$I" && break