Mercurial > mplayer.hg
comparison configure @ 2890:1db780ee8117
hmm this is probably a better place for the check, as only the
Intel stuff has to be overwritten.
author | gabucino |
---|---|
date | Wed, 14 Nov 2001 00:33:39 +0000 |
parents | 7be29f66db55 |
children | b7ba83b45fae |
comparison
equal
deleted
inserted
replaced
2889:0d8553a47d1a | 2890:1db780ee8117 |
---|---|
819 die "Your gcc does not support even \"i386\" for '-march' and '-mcpu'." | 819 die "Your gcc does not support even \"i386\" for '-march' and '-mcpu'." |
820 fi | 820 fi |
821 | 821 |
822 _march="-march=$proc" | 822 _march="-march=$proc" |
823 _mcpu="-mcpu=$proc" | 823 _mcpu="-mcpu=$proc" |
824 | |
825 ## | |
826 ## Gabucino : --target takes effect here (hopefully...) by overwriting | |
827 ## autodetected mcpu/march parameters | |
828 ## | |
829 | |
830 if test "$_target" ; then | |
831 _march="-march=$host_arch" | |
832 _mcpu="-mcpu=$host_arch" | |
833 proc="$_target" # a little cosmetic | |
834 fi | |
835 | |
824 #echo "DONE (${proc})." | 836 #echo "DONE (${proc})." |
825 ;; | 837 ;; |
826 | 838 |
827 | 839 |
828 sparc) | 840 sparc) |
883 echo "It seems noone has ported MPlayer to your OS or CPU type yet." | 895 echo "It seems noone has ported MPlayer to your OS or CPU type yet." |
884 die "unsupported architecture $host_arch" | 896 die "unsupported architecture $host_arch" |
885 ;; | 897 ;; |
886 esac | 898 esac |
887 | 899 |
888 ## | |
889 ## Gabucino : --target takes effect here (hopefully...) by overwriting | |
890 ## autodetected mcpu/march parameters | |
891 ## | |
892 | |
893 if test "$_target" ; then | |
894 _march="-march=$host_arch" | |
895 _mcpu="-mcpu=$host_arch" | |
896 proc="$_target" # a little cosmetic | |
897 fi | |
898 | 900 |
899 # --- | 901 # --- |
900 | 902 |
901 # Checking for localization ... | 903 # Checking for localization ... |
902 if test -z "$LINGUAS" ; then | 904 if test -z "$LINGUAS" ; then |