mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-6241 check for using native assemble w/ gcc.
X-SVN-Rev: 24062
This commit is contained in:
parent
c1a5e8a58b
commit
7e8bdad178
1 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
dnl -*-m4-*-
|
||||
dnl configure.in for ICU
|
||||
dnl Copyright (c) 1999-2007, International Business Machines Corporation and
|
||||
dnl Copyright (c) 1999-2008, International Business Machines Corporation and
|
||||
dnl others. All Rights Reserved.
|
||||
dnl Stephen F. Booth, heavily modified by Yves and others
|
||||
|
||||
|
@ -425,8 +425,15 @@ i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*|i*86-pc-gnu)
|
|||
fi ;;
|
||||
i*86-*-solaris*)
|
||||
if test "$GCC" = yes; then
|
||||
dnl We're using gcc, and the simple -a gcc command line works for genccode
|
||||
GENCCODE_ASSEMBLY="-a gcc"
|
||||
dnl When using gcc, look if we're also using GNU as.
|
||||
dnl When using GNU as, the simple -a gcc command line works for genccode.
|
||||
asv=`"${CC}" -print-prog-name=as 2>/dev/null`
|
||||
asv=`"${asv}" --version 2>/dev/null`
|
||||
case "X${asv}" in
|
||||
X*GNU*) GENCCODE_ASSEMBLY="-a gcc" ;;
|
||||
X*) GENCCODE_ASSEMBLY="-a sun-x86" ;;
|
||||
esac
|
||||
unset asv
|
||||
else
|
||||
GENCCODE_ASSEMBLY="-a sun-x86"
|
||||
fi ;;
|
||||
|
|
Loading…
Add table
Reference in a new issue