1# This fragment canonicalizes the machine names for m68k variants. 2 3case "$machine" in 4m680?0) base_machine=m68k machine=m68k/m680x0/$machine ;; 5m68k) variant=`(echo "#ifdef __mcoldfire__" 6 echo "coldfire" 7 echo "#else" 8 echo "m680x0/m68020" 9 echo "#endif") | 10 $CC $CFLAGS $CPPFLAGS -E - | 11 grep '^[a-z]'` 12 if test -z "$variant"; then 13 echo >&2 "Cannot determine m68k processor variant" 14 exit 1 15 fi 16 base_machine=m68k machine=m68k/$variant 17 if test "$variant" = "coldfire"; then 18 with_fp_cond="defined __mcffpu__" 19 fi 20 ;; 21esac 22