summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-24 00:10:19 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-24 00:10:19 +0000
commitb8a070b99ab6beef25d72db92296f77e57cc15bd (patch)
treef6d16971891782d846d50c47ec99fb53c4ac60ff /configure
parent69891eb99083f89897761e7bfe5fea393fbd2c01 (diff)
downloadmpv-b8a070b99ab6beef25d72db92296f77e57cc15bd.tar.bz2
mpv-b8a070b99ab6beef25d72db92296f77e57cc15bd.tar.xz
Exit when runtime CPU detection is requested on unsupported arches.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21754 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 059b781306..b85b453237 100755
--- a/configure
+++ b/configure
@@ -548,6 +548,10 @@ 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