ICU-974 changes to runConfigureICU to include Alpha specific setup
X-SVN-Rev: 4801
This commit is contained in:
parent
ebbf95a3ef
commit
3262c2ff32
6
icu4c/source/aclocal.m4
vendored
6
icu4c/source/aclocal.m4
vendored
@ -23,6 +23,12 @@ case "${host}" in
|
||||
fi
|
||||
fi ;;
|
||||
*-*-mips*) icu_cv_host_frag=mh-irix ;;
|
||||
alpha*-*-linux-gnu)
|
||||
if test "$ac_cv_prog_gcc" = yes; then
|
||||
icu_cv_host_frag=mh-alpha-linux-gcc
|
||||
else
|
||||
icu_cv_host_frag=mh-alpha-linux-cc
|
||||
fi ;;
|
||||
*-*-linux*) icu_cv_host_frag=mh-linux ;;
|
||||
*-*-freebsd*|*-*-netbsd*) icu_cv_host_frag=mh-bsd-gcc ;;
|
||||
*-*-aix*)
|
||||
|
282
icu4c/source/configure
vendored
282
icu4c/source/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@ dnl Copyright (c) 1999-2000, International Business Machines Corporation and
|
||||
dnl others. All Rights Reserved.
|
||||
dnl Stephen F. Booth, heavily modified by Yves and others
|
||||
|
||||
dnl $Id: configure.in,v 1.105 2001/05/08 17:29:51 emader Exp $
|
||||
dnl $Id: configure.in,v 1.106 2001/05/25 18:00:38 rviswanadha Exp $
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script
|
||||
AC_INIT(common/unicode/utypes.h)
|
||||
@ -81,10 +81,10 @@ case "${host}" in
|
||||
SOL64=no
|
||||
fi
|
||||
fi ;;
|
||||
alpha*-*-linux-gnu)
|
||||
CFLAGS="${CFLAGS} -mieee -O2"
|
||||
CXXFLAGS="${CXXFLAGS} -mieee -O2"
|
||||
;;
|
||||
#alpha*-*-linux-gnu)
|
||||
# CFLAGS="${CFLAGS} -mieee -O2"
|
||||
# CXXFLAGS="${CXXFLAGS} -mieee -O2"
|
||||
# ;;
|
||||
esac
|
||||
|
||||
ICU_CHECK_MH_FRAG
|
||||
|
@ -40,6 +40,8 @@ The following names can be supplied as the argument for platform:
|
||||
HP/UX11CC Use HP's C++ compiler on HP-UX 11
|
||||
HP/UX11ACC Use the Advanced C++ compiler on HP-UX 11
|
||||
PTX Use C++ on Dynix/PTX v4.5
|
||||
ALPHA/LINUXGCC Use GCC on Alpha/Linux systems
|
||||
ALPHA/LINUXCCC Use Compaq C compiler on Alpha/Linux systems
|
||||
EOE
|
||||
fi
|
||||
|
||||
@ -86,6 +88,9 @@ rm -f config.cache
|
||||
rm -f config.log
|
||||
rm -f config.status
|
||||
|
||||
DEBUG_CFLAGS='-g'
|
||||
DEBUG_CXXFLAGS='-g'
|
||||
|
||||
if test x$configure = x
|
||||
then
|
||||
if test -f ./configure
|
||||
@ -219,39 +224,52 @@ case $platform in
|
||||
fi
|
||||
configure="$configure --prefix=$XMLINSTALL"
|
||||
;;
|
||||
ALPHA/LINUXCCC)
|
||||
THE_OS="Linux"
|
||||
THE_COMP="Compaq's CC"
|
||||
CC=ccc; export CC
|
||||
CXX=cxx; export CXX
|
||||
;;
|
||||
ALPHA/LINUXGCC)
|
||||
THE_OS="Linux"
|
||||
THE_COMP="the GNU C++"
|
||||
CXX=g++; export CXX
|
||||
CC=gcc; export CC
|
||||
;;
|
||||
*)
|
||||
>&2 echo "$me: unrecognized platform \"$platform\" (use --help for help)"
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
|
||||
# Tweak flags
|
||||
|
||||
if test $release -eq 1
|
||||
then
|
||||
if test "$RELEASE_CFLAGS" = ""
|
||||
then
|
||||
case $CC in
|
||||
gcc|*/gcc|*-gcc-*|*/*-gcc-*)
|
||||
RELEASE_CFLAGS=-O3
|
||||
;;
|
||||
esac
|
||||
case $CC in
|
||||
gcc|*/gcc|*-gcc-*|*/*-gcc-*)
|
||||
RELEASE_CFLAGS=-O3
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test "$RELEASE_CFLAGS" != ""
|
||||
then
|
||||
CFLAGS="$CFLAGS $RELEASE_CFLAGS"
|
||||
CFLAGS="$CFLAGS $RELEASE_CFLAGS"
|
||||
fi
|
||||
export CFLAGS
|
||||
if test "$RELEASE_CXXFLAGS" = ""
|
||||
then
|
||||
case $CXX in
|
||||
g++|*/g++|*-g++-*|*/*-g++-*)
|
||||
RELEASE_CXXFLAGS=-O
|
||||
;;
|
||||
esac
|
||||
case $CXX in
|
||||
g++|*/g++|*-g++-*|*/*-g++-*)
|
||||
RELEASE_CXXFLAGS=-O
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test "$RELEASE_CXXFLAGS" != ""
|
||||
then
|
||||
CXXFLAGS="$CXXFLAGS $RELEASE_CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $RELEASE_CXXFLAGS"
|
||||
fi
|
||||
export CXXFLAGS
|
||||
fi
|
||||
@ -260,12 +278,12 @@ if test $debug -eq 1
|
||||
then
|
||||
if test "$DEBUG_CFLAGS" != ""
|
||||
then
|
||||
CFLAGS="$CFLAGS $DEBUG_CFLAGS"
|
||||
CFLAGS="$CFLAGS $DEBUG_CFLAGS"
|
||||
fi
|
||||
export CFLAGS
|
||||
if test "$DEBUG_CXXFLAGS" != ""
|
||||
then
|
||||
CXXFLAGS="$CXXFLAGS $DEBUG_CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $DEBUG_CXXFLAGS"
|
||||
fi
|
||||
export CXXFLAGS
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user