comparison configure @ 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
comparison
equal deleted inserted replaced
21737:42aae1adb3a4 21738:f0d5f349a2ea
545 --disable-debug) 545 --disable-debug)
546 _debug= 546 _debug=
547 ;; 547 ;;
548 esac 548 esac
549 done 549 done
550
551 if test "$_runtime_cpudetection" = yes && not x86 && not ppc; then
552 die "Runtime CPU detection only works for x86, x86-64 and PPC!"
553 fi
550 554
551 # Determine our OS name and CPU architecture 555 # Determine our OS name and CPU architecture
552 if test -z "$_target" ; then 556 if test -z "$_target" ; then
553 # OS name 557 # OS name
554 system_name=`uname -s 2>&1` 558 system_name=`uname -s 2>&1`