summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-20 21:15:28 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-20 21:15:28 +0000
commitdf4e24e34b601cc5ad9596c5a1476ef905d9acf9 (patch)
treecda6c055a15eb83683712a311988fe11e228878d /configure
parent62828b129dd904759883f9f1ac3f290f7a3fbbde (diff)
downloadmpv-df4e24e34b601cc5ad9596c5a1476ef905d9acf9.tar.bz2
mpv-df4e24e34b601cc5ad9596c5a1476ef905d9acf9.tar.xz
AIX compiler CPU-option improvements
patch by Derek E. Lewis < dlewis &&@&& solnetworks &&.&& net > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17444 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure
index c66cf56d19..3bd4ecdf7e 100755
--- a/configure
+++ b/configure
@@ -1237,8 +1237,14 @@ EOF
# gcc 3.3 and up supports POWER4
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
case "$proc" in
- POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4'
- _def_dcbzl='#undef NO_DCBZL' ;;
+ POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4' ;;
+ *) ;;
+ esac
+ fi
+ # gcc 4.0 and up supports POWER5
+ if test "$_cc_major" -ge "4"; then
+ case "$proc" in
+ POWER5) _march='-mcpu=power5' _mcpu='-mtune=power5' ;;
*) ;;
esac
fi