# HG changeset patch # User reimar # Date 1167991505 0 # Node ID 46462e15ea55f75f248ff95aec561c0490579b67 # Parent 5aaf8dbd177ef26eaf515d44096478db887118c4 move runtime cpu detection check after detection of host architecture, since it uses the host architecture to check if it is supported. diff -r 5aaf8dbd177e -r 46462e15ea55 configure --- 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