comparison configure @ 17443:7ec749924f80

AIX compiler CPU-option improvements patch by Derek E. Lewis < dlewis &&@&& solnetworks &&.&& net >
author diego
date Fri, 20 Jan 2006 21:15:28 +0000
parents ac71efc665f0
children f70d4718090e
comparison
equal deleted inserted replaced
17442:7442443767ce 17443:7ec749924f80
1235 esac 1235 esac
1236 fi 1236 fi
1237 # gcc 3.3 and up supports POWER4 1237 # gcc 3.3 and up supports POWER4
1238 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then 1238 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
1239 case "$proc" in 1239 case "$proc" in
1240 POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4' 1240 POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4' ;;
1241 _def_dcbzl='#undef NO_DCBZL' ;; 1241 *) ;;
1242 esac
1243 fi
1244 # gcc 4.0 and up supports POWER5
1245 if test "$_cc_major" -ge "4"; then
1246 case "$proc" in
1247 POWER5) _march='-mcpu=power5' _mcpu='-mtune=power5' ;;
1242 *) ;; 1248 *) ;;
1243 esac 1249 esac
1244 fi 1250 fi
1245 fi 1251 fi
1246 1252