ICU-6627 Added if statements to stop if xlc_r and/or xlC_r is not found to prevent fallback to g++.

X-SVN-Rev: 26434
This commit is contained in:
John Vu 2009-07-24 20:01:52 +00:00
parent 018fea30d7
commit ffb25fd6a9

View File

@ -125,7 +125,13 @@ case $platform in
THE_OS=AIX
THE_COMP="xlC_r"
CC=`which xlc_r`; export CC
if ! [-x $CC]; then
echo "ERROR: xlc_r was not found, please check the PATH to make sure it is correct."; exit 1
fi
CXX=`which xlC_r`; export CXX
if ! [-x $CXX]; then
echo "ERROR: xlC_r was not found, please check the PATH to make sure it is correct."; exit 1
fi
RELEASE_CFLAGS="-O2 -qmaxmem=-1"
RELEASE_CXXFLAGS="-O2 -qmaxmem=-1"
;;