ICU-4153 Fix 64-bit library building on Solaris.
X-SVN-Rev: 16602
This commit is contained in:
parent
1f42f071fc
commit
0e772ac85a
21
icu4c/source/aclocal.m4
vendored
21
icu4c/source/aclocal.m4
vendored
@ -118,22 +118,15 @@ AC_DEFUN(AC_CHECK_64BIT_LIBS,
|
||||
)
|
||||
dnl These results can't be cached because is sets compiler flags.
|
||||
AC_MSG_CHECKING([for 64-bit executable support])
|
||||
if test "$ENABLE_64BIT_LIBS" = no; then
|
||||
case "${host}" in
|
||||
*-*-hpux*)
|
||||
# case "${CXX}" in
|
||||
# *CC)
|
||||
# CFLAGS="${CFLAGS} +DAportable"
|
||||
# CXXFLAGS="${CXXFLAGS} +DAportable"
|
||||
# ;;
|
||||
# esac;;
|
||||
esac
|
||||
else
|
||||
if test "$ENABLE_64BIT_LIBS" != no; then
|
||||
case "${host}" in
|
||||
*-*-solaris*)
|
||||
if test "$GCC" = no; then
|
||||
SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
|
||||
SPARCV9=`isainfo -n 2>&1 | grep sparcv9`
|
||||
if test "$GCC" = yes; then
|
||||
# We could add a check for -m64 depending on the gcc version.
|
||||
ENABLE_64BIT_LIBS=no
|
||||
else
|
||||
SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
|
||||
if test -z "$SOL64" && test -n "$SPARCV9"; then
|
||||
CFLAGS="${CFLAGS} -xtarget=ultra -xarch=v9"
|
||||
CXXFLAGS="${CXXFLAGS} -xtarget=ultra -xarch=v9"
|
||||
@ -142,8 +135,6 @@ AC_DEFUN(AC_CHECK_64BIT_LIBS,
|
||||
else
|
||||
ENABLE_64BIT_LIBS=no
|
||||
fi
|
||||
else
|
||||
ENABLE_64BIT_LIBS=no
|
||||
fi
|
||||
;;
|
||||
ia64-*-linux*)
|
||||
|
309
icu4c/source/configure
vendored
309
icu4c/source/configure
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user