Mercurial > mplayer.hg
comparison configure @ 30297:111076138c5e
Allow anything starting with "arm" to be used as --target for ARM CPUs
author | reimar |
---|---|
date | Sat, 16 Jan 2010 23:22:43 +0000 |
parents | 11cf732119e4 |
children | a9e53df6d8f1 |
comparison
equal
deleted
inserted
replaced
30296:826441351ad5 | 30297:111076138c5e |
---|---|
165 esac | 165 esac |
166 } | 166 } |
167 | 167 |
168 arm() { | 168 arm() { |
169 case "$host_arch" in | 169 case "$host_arch" in |
170 arm) return 0;; | 170 arm*) return 0;; |
171 *) return 1;; | 171 *) return 1;; |
172 esac | 172 esac |
173 } | 173 } |
174 | 174 |
175 # Use this before starting a check | 175 # Use this before starting a check |
2124 fi | 2124 fi |
2125 _mcpu="-mcpu=$proc" | 2125 _mcpu="-mcpu=$proc" |
2126 _optimizing="$proc" | 2126 _optimizing="$proc" |
2127 ;; | 2127 ;; |
2128 | 2128 |
2129 arm|armv4l|armv5tel) | 2129 arm*) |
2130 _arch='ARM' | 2130 _arch='ARM' |
2131 _target_arch='ARCH_ARM = yes' | 2131 _target_arch='ARCH_ARM = yes' |
2132 iproc='arm' | 2132 iproc='arm' |
2133 ;; | 2133 ;; |
2134 | 2134 |