From a770f9043323b61d7d5e223a406bb8e52f2afb72 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Mon, 22 Jul 2002 19:07:11 +0000 Subject: [PATCH] ICU-1900 Make it easier to use Visual Age when it's not installed in a standard location. X-SVN-Rev: 9280 --- icu4c/source/runConfigureICU | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/icu4c/source/runConfigureICU b/icu4c/source/runConfigureICU index 18ce2c3279..e928d08051 100755 --- a/icu4c/source/runConfigureICU +++ b/icu4c/source/runConfigureICU @@ -136,8 +136,8 @@ case $platform in AIX4.3VA) THE_OS=AIX THE_COMP="xlC_r" - CC=/usr/vacpp/bin/xlc_r; export CC - CXX=/usr/vacpp/bin/xlC_r; export CXX + CC=`which xlc_r`; export CC + CXX=`which xlC_r`; export CXX RELEASE_CFLAGS="-O2 -qmaxmem=-1" RELEASE_CXXFLAGS="-O2 -qmaxmem=-1" #LDFLAGS=-L/usr/lpp/xlC/lib; export LDFLAGS @@ -145,8 +145,9 @@ case $platform in AIX4.3VA_nothreads) THE_OS=AIX THE_COMP="xlC" - CC=/usr/vacpp/bin/xlc; export CC - CXX=/usr/vacpp/bin/xlC; export CXX + # Only in Visual Age, there is no different between xlc and xlc_r. + CC=`which xlc`; export CC + CXX=`which xlC`; export CXX OPTS="$OPTS --enable-threads=no" RELEASE_CFLAGS="-O2 -qmaxmem=-1" RELEASE_CXXFLAGS="-O2 -qmaxmem=-1"