changeset 21807:46462e15ea55

move runtime cpu detection check after detection of host architecture, since it uses the host architecture to check if it is supported.
author reimar
date Fri, 05 Jan 2007 10:05:05 +0000
parents 5aaf8dbd177e
children eaf6ed9cb5ab
files configure
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jan 04 20:42:02 2007 +0000
+++ b/configure	Fri Jan 05 10:05:05 2007 +0000
@@ -548,10 +548,6 @@
   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 @@
 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