From f95365b1b3249553aba52ee28cd188e5c27a3dd4 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Tue, 1 Aug 2000 00:39:55 +0000 Subject: [PATCH] ICU-519 check c++ and c compilers for sparcv9 X-SVN-Rev: 2083 --- icu4c/source/configure | 2 +- icu4c/source/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/configure b/icu4c/source/configure index 0e32f5455e..7b454aa5dd 100755 --- a/icu4c/source/configure +++ b/icu4c/source/configure @@ -1166,7 +1166,7 @@ case "${host}" in if test "$ac_cv_prog_gcc" = no; then echo $ac_n "checking if we have a 64-bit (sparcv9) compiler""... $ac_c" 1>&6 echo "configure:1169: checking if we have a 64-bit (sparcv9) compiler" >&5 - SOL64=`$CXX -xarch=v9 2>&1` + SOL64=`$CXX -xarch=v9 && $CC -xarch=v9 2>&1 |grep -v usage:` if test -z "$SOL64"; then echo "$ac_t""yes" 1>&6 SOL64=yes diff --git a/icu4c/source/configure.in b/icu4c/source/configure.in index 9deacd32b5..b7271872f9 100644 --- a/icu4c/source/configure.in +++ b/icu4c/source/configure.in @@ -40,7 +40,7 @@ case "${host}" in *-*-solaris*) if test "$ac_cv_prog_gcc" = no; then AC_MSG_CHECKING([if we have a 64-bit (sparcv9) compiler]) - SOL64=`$CXX -xarch=v9 2>&1` + SOL64=`$CXX -xarch=v9 && $CC -xarch=v9 2>&1 |grep -v usage:` if test -z "$SOL64"; then AC_MSG_RESULT(yes) SOL64=yes