2009-02-11 15:02:40 -05:00
|
|
|
# Set appropriate default compiler options if using xlc
|
|
|
|
|
# Note: configure will add -qnoansialias if the compiler accepts it,
|
|
|
|
|
# even if user specifies a non-default CFLAGS setting.
|
2003-10-09 18:55:46 -04:00
|
|
|
if test "$GCC" != yes ; then
|
2000-07-15 11:54:52 -04:00
|
|
|
case $host_os in
|
2003-11-01 15:45:30 -05:00
|
|
|
aix3.2.5 | aix4.1*)
|
2004-12-02 13:11:40 -05:00
|
|
|
CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
|
2003-11-01 15:45:30 -05:00
|
|
|
;;
|
|
|
|
|
*)
|
2015-07-17 03:01:14 -04:00
|
|
|
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg"
|
2003-11-01 15:45:30 -05:00
|
|
|
;;
|
2000-07-15 11:54:52 -04:00
|
|
|
esac
|
2003-10-09 10:40:37 -04:00
|
|
|
fi
|
2006-02-03 08:53:15 -05:00
|
|
|
|
2006-02-03 08:56:20 -05:00
|
|
|
# Native memset() is faster, tested on:
|
|
|
|
|
# AIX 5.1 and 5.2, XLC 6.0 (IBM's cc)
|
|
|
|
|
# AIX 5.3 ML3, gcc 4.0.1
|
2006-02-03 08:53:15 -05:00
|
|
|
MEMSET_LOOP_LIMIT=0
|