From b8a070b99ab6beef25d72db92296f77e57cc15bd Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 24 Dec 2006 00:10:19 +0000 Subject: 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 --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3