b02877f0e0
X-SVN-Rev: 26647
65 lines
996 B
Bash
Executable File
65 lines
996 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (c) 2009 IBM Corp. and Others. All Rights Reserved
|
|
#
|
|
# Sample "super configure"
|
|
# this script is responsible for configuring ICU.
|
|
|
|
# input variables;
|
|
# $ICU_VER - the ICU version in underscore format (4_2_0_1)
|
|
|
|
|
|
U_HOST=`hostname`
|
|
U_SYS=`uname || echo unknown`
|
|
#echo $HOST
|
|
|
|
export rcs=none
|
|
|
|
case $U_SYS in
|
|
AIX)
|
|
# the preferred 'AIX' type to use
|
|
AIX=AIX
|
|
case $ICU_VER in
|
|
4*)
|
|
#AIX=AIX4.3VA
|
|
AIX=AIX
|
|
;;
|
|
*)
|
|
AIX=AIX4.3VA
|
|
;;
|
|
1*|2*|3_0*|3_1*)
|
|
AIX=AIX4.3xlC
|
|
PATH=/usr/vacpp/bin/:$PATH
|
|
;;
|
|
esac
|
|
rcs=${AIX}
|
|
;;
|
|
*)
|
|
rcs=none
|
|
;;
|
|
esac
|
|
|
|
|
|
|
|
case $HOST in
|
|
sys98*)
|
|
rcs=$AIX
|
|
;;
|
|
hp*)
|
|
rcs='HP-UX/ACC'
|
|
;;
|
|
merill*|redhat*|sunlight*)
|
|
rcs='LinuxRedHat'
|
|
;;
|
|
*)
|
|
echo sh ./configure
|
|
#echo Unknown host $HOST, edit $0
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
echo sh ./runConfigureICU "${rcs}"
|
|
|
|
|
|
|
|
|