changeset 21738:f0d5f349a2ea

Exit when runtime CPU detection is requested on unsupported arches.
author diego
date Sun, 24 Dec 2006 00:10:19 +0000
parents 42aae1adb3a4
children e75482a7009a
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Dec 24 00:08:57 2006 +0000
+++ b/configure	Sun Dec 24 00:10:19 2006 +0000
@@ -548,6 +548,10 @@
   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