Mercurial > mplayer.hg
comparison configure @ 19060:b508e7ef1ea8
Some systems[1] list the 970 as PPC970 on /proc/cpuinfo, so add support
for this.
[1] namely the PPC64 machine over at powerdev.osuosl.org
author | gpoirier |
---|---|
date | Thu, 13 Jul 2006 13:28:56 +0000 |
parents | 6866e768aef8 |
children | a2f20562aac3 |
comparison
equal
deleted
inserted
replaced
19059:231c0e700597 | 19060:b508e7ef1ea8 |
---|---|
1265 esac | 1265 esac |
1266 fi | 1266 fi |
1267 # gcc 3.2 and up supports 970 | 1267 # gcc 3.2 and up supports 970 |
1268 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then | 1268 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then |
1269 case "$proc" in | 1269 case "$proc" in |
1270 970*) _march='-mcpu=970' _mcpu='-mtune=970' | 1270 970*|PPC970*) _march='-mcpu=970' _mcpu='-mtune=970' |
1271 _def_dcbzl='#undef NO_DCBZL' ;; | 1271 _def_dcbzl='#undef NO_DCBZL' ;; |
1272 *) ;; | 1272 *) ;; |
1273 esac | 1273 esac |
1274 fi | 1274 fi |
1275 # gcc 3.3 and up supports POWER4 | 1275 # gcc 3.3 and up supports POWER4 |