summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/runConfigureICU
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2007-11-21 12:29:46 +0000
committerJonathan Kew <jfkthame@googlemail.com>2007-11-21 12:29:46 +0000
commit952d69f85d43b087ce9fa79d3fc6f1c076000bc7 (patch)
treedd6937a6486e80e1638618308481075efab000ae /Build/source/libs/icu-xetex/runConfigureICU
parent888236cb9df7b7d7b5a3e2d784037a9a59511c53 (diff)
updated icu-xetex library for XeTeX 0.997
git-svn-id: svn://tug.org/texlive/trunk@5536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu-xetex/runConfigureICU')
-rwxr-xr-xBuild/source/libs/icu-xetex/runConfigureICU96
1 files changed, 27 insertions, 69 deletions
diff --git a/Build/source/libs/icu-xetex/runConfigureICU b/Build/source/libs/icu-xetex/runConfigureICU
index 88c34c710f5..c59e507fa5b 100755
--- a/Build/source/libs/icu-xetex/runConfigureICU
+++ b/Build/source/libs/icu-xetex/runConfigureICU
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (c) 1999-2005, International Business Machines Corporation and
+# Copyright (c) 1999-2006, International Business Machines Corporation and
# others. All Rights Reserved.
# runConfigureICU: This script will run the "configure" script for the appropriate platform
@@ -39,19 +39,16 @@ The following names can be supplied as the argument for platform:
HP-UX/ACC Use the HP ANSI C/Advanced C++ compilers on HP-UX 11
Linux Use the GNU gcc/g++ compilers on Linux
Linux/ECC Use the Intel ECC compiler on Linux
- Linux/ICC6 Use the Intel ICC 6 and older compilers on Linux
Linux/ICC Use the Intel ICC compiler on Linux
Linux/VA Use the IBM Visual Age compiler on Power PC Linux
MacOSX Use the GNU gcc/g++ compilers on MacOS X (Darwin)
QNX Use the QNX QCC compiler on QNX/Neutrino
Solaris Use the Sun cc/CC compilers on Solaris
- Solaris/W4.2 Use the Sun Workshop 4.2 CC (old) compiler on Solaris
Solaris/GCC Use the GNU gcc/g++ compilers on Solaris
SolarisX86 Use the Sun cc/CC compilers on Solaris x86
TRU64V5.1/CXX Use the Compaq cxx compiler on Tru64 (OSF)
zOS Use the IBM cxx compiler on z/OS (os/390)
zOSV1R2 Use the IBM cxx compiler for z/OS 1.2
- OS390V2R10 Use the IBM cxx compiler for OS/390 2.10
EOE
fi
@@ -133,9 +130,9 @@ case $platform in
;;
AIX/GCC)
THE_OS=AIX
- THE_COMP="gcc"
- CC=`which gcc`; export CC
- CXX=`which g++`; export CXX
+ THE_COMP="the GNU C++"
+ CC=gcc; export CC
+ CXX=g++; export CXX
;;
Solaris)
THE_OS=SOLARIS
@@ -145,29 +142,19 @@ case $platform in
RELEASE_CFLAGS="-xO4 -xlibmil"
RELEASE_CXXFLAGS="-O4 -xlibmil"
;;
- Solaris/W4.2)
- THE_OS=SOLARIS
- THE_COMP="Sun's CC"
- CC=`which cc`; export CC
- CXX=`which CC`; export CXX
- RELEASE_CFLAGS="-xO4 -xlibmil"
- RELEASE_CXXFLAGS="-O4 -xlibmil +d"
- ;;
Solaris/GCC)
THE_OS=SOLARIS
THE_COMP="the GNU C++"
- CXXFLAGS="$CXXFLAGS -I/usr/local/include/g++"; export CXXFLAGS
- LDFLAGS="$LDFLAGS -R/usr/local/lib"; export LDFLAGS
- RELEASE_CXXFLAGS=-O
- RELEASE_CFLAGS=-O3
+ CC=gcc; export CC
+ CXX=g++; export CXX
+ RELEASE_CFLAGS=-O1
+ RELEASE_CXXFLAGS=-O3
;;
SolarisX86)
THE_OS="SOLARIS X86"
THE_COMP="Sun's CC"
CC=`which cc`; export CC
CXX=`which CC`; export CXX
- CXX_FLAGS="-w";export CXX_FLAGS
- C_FLAGS="-w";export C_FLAGS
LDFLAGS="-L -lCrun";export LDFLAGS
RELEASE_CFLAGS=-xO3
RELEASE_CXXFLAGS=-O3
@@ -188,19 +175,11 @@ case $platform in
RELEASE_CFLAGS='-O2'
RELEASE_CXXFLAGS='-O2'
;;
- Linux/ICC6)
- THE_OS="Linux"
- THE_COMP="Intel ICC 6.0"
- CC=icc; export CC
- CXX=icpc; export CXX
- RELEASE_CFLAGS='-O0'
- RELEASE_CXXFLAGS='-O0'
- ;;
Linux/ICC)
THE_OS="Linux"
- THE_COMP="Intel ICC 8.0"
- CC=icc; export CC
- CXX=icpc; export CXX
+ THE_COMP="Intel ICC 9.0"
+ CC=`which icc`; export CC
+ CXX=`which icpc`; export CXX
RELEASE_CFLAGS='-O'
RELEASE_CXXFLAGS='-O'
;;
@@ -229,11 +208,11 @@ case $platform in
THE_COMP="Microsoft Visual C++"
CC=cl; export CC
CXX=cl; export CXX
- RELEASE_CFLAGS='/O2 /Ob2'
- RELEASE_CXXFLAGS='/O2 /Ob2'
- # The real debug flags are defined by the mh file because configure can't handle them.
- DEBUG_CFLAGS=
- DEBUG_CXXFLAGS=
+ RELEASE_CFLAGS='/O2 /Ob2 /Op'
+ RELEASE_CXXFLAGS='/O2 /Ob2 /Op'
+ DEBUG_CFLAGS='/Zi'
+ DEBUG_CXXFLAGS='/Zi'
+ DEBUG_LDFLAGS='/DEBUG'
;;
Cygwin/ICL)
THE_OS="Windows with Cygwin"
@@ -243,9 +222,9 @@ case $platform in
# The Intel compiler has optimization bugs. So we disable optimization.
RELEASE_CFLAGS='/Od'
RELEASE_CXXFLAGS='/Od'
- # The real debug flags are defined by the mh file because configure can't handle them.
- DEBUG_CFLAGS=
- DEBUG_CXXFLAGS=
+ DEBUG_CFLAGS='/Zi'
+ DEBUG_CXXFLAGS='/Zi'
+ DEBUG_LDFLAGS='/DEBUG'
;;
MacOSX)
THE_OS="MacOS X (Darwin)"
@@ -265,14 +244,6 @@ case $platform in
CC=cc; export CC
CXX=cxx; export CXX
;;
-# ALPHA/LINUXCCC)
-# THE_OS="Linux"
-# THE_COMP="Compaq's CC"
-# CC=ccc; export CC
-# CXX=cxx; export CXX
-# RELEASE_CFLAGS='-O4'
-# RELEASE_CXXFLAGS='-O4'
-# ;;
QNX)
THE_OS="QNX"
THE_COMP="QNX cc"
@@ -296,11 +267,11 @@ case $platform in
;;
zOS)
THE_OS="z/OS (OS/390)"
- THE_COMP="z/OS 1.2 (through OS/390 v2r10) C/C++"
+ THE_COMP="z/OS C/C++"
CC=cc; export CC
CXX=cxx; export CXX
- export RELEASE_CFLAGS='-2'
- export RELEASE_CXXFLAGS='-2'
+ export RELEASE_CFLAGS="-2 -Wc,'inline(auto,noreport,500,2500)'"
+ export RELEASE_CXXFLAGS="-2 -Wc,'inline(auto,noreport,300,2500)'"
;;
zOSV1R2)
THE_OS="z/OS 1.2"
@@ -309,24 +280,11 @@ case $platform in
CXX=cxx; export CXX
export COMPILE_LINK_ENVVAR='_CXX_CVERSION=0x41020000 _C89_CVERSION=0x41020000 _CC_CVERSION=0x41020000 _CXX_PVERSION=0x41020000 _C89_PVERSION=0x41020000 _CC_PVERSION=0x41020000'
export _CXX_CVERSION=0x41020000 _C89_CVERSION=0x41020000 _CC_CVERSION=0x41020000 _CXX_PVERSION=0x41020000 _C89_PVERSION=0x41020000 _CC_PVERSION=0x41020000
- export LDFLAGS=-Wl,"compat=pm3"
- export CFLAGS='-Wc,"target(zOSV1R2)"'
- export CXXFLAGS='-Wc,"target(zOSV1R2)"'
- export RELEASE_CFLAGS='-2'
- export RELEASE_CXXFLAGS='-2'
- ;;
- OS390V2R10)
- THE_OS="OS/390 2.10"
- THE_COMP="OS/390 2.10 C/C++"
- CC=cc; export CC
- CXX=cxx; export CXX
- export COMPILE_LINK_ENVVAR='_CXX_CVERSION=0x220A0000 _C89_CVERSION=0x220A0000 _CC_CVERSION=0x220A0000 _CXX_PVERSION=0x220A0000 _C89_PVERSION=0x220A0000 _CC_PVERSION=0x220A0000'
- export _CXX_CVERSION=0x220A0000 _C89_CVERSION=0x220A0000 _CC_CVERSION=0x220A0000 _CXX_PVERSION=0x220A0000 _C89_PVERSION=0x220A0000 _CC_PVERSION=0x220A0000
- export LDFLAGS=-Wl,"compat=pm3"
- export CFLAGS='-Wc,"target(OSV2R10)"'
- export CXXFLAGS='-Wc,"target(OSV2R10)"'
- export RELEASE_CFLAGS='-2'
- export RELEASE_CXXFLAGS='-2'
+ export LDFLAGS="-Wl,'compat=pm3'"
+ export CFLAGS="-Wc,'target(zOSV1R2)'"
+ export CXXFLAGS="-Wc,'target(zOSV1R2)'"
+ export RELEASE_CFLAGS="-2 -Wc,'inline(auto,noreport,500,2500)'"
+ export RELEASE_CXXFLAGS="-2 -Wc,'inline(auto,noreport,300,2500)'"
;;
*)
>&2 echo "$me: unrecognized platform \"$platform\" (use --help for help)"