• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2#
3# Copyright (C) 2017 and later: Unicode, Inc. and others.
4# License & terms of use: http://www.unicode.org/copyright.html
5#
6# Copyright (c) 2009 IBM Corp. and Others. All Rights Reserved
7#
8# Sample "super configure"
9# this script is responsible for configuring ICU.
10
11# input variables;
12# $ICU_VER  - the ICU version in underscore format (4_2_0_1)
13
14ICU_SRC="$1"
15ICU_VER="$2"
16
17U_HOST=`hostname`
18U_SYS=`uname || echo unknown`
19#echo $HOST
20
21export rcs=none
22
23case $U_SYS in
24	AIX)
25		# the preferred 'AIX' type to use
26		AIX=AIX
27		case $ICU_VER in
28		4*)
29			#AIX=AIX4.3VA
30			AIX=AIX
31			;;
32		*)
33			AIX=AIX4.3VA
34			;;
35	        1*|2*|3_0*|3_1*)
36			AIX=AIX4.3xlC
37			PATH=/usr/vacpp/bin/:$PATH
38			;;
39		esac
40		rcs=${AIX}
41		;;
42	*)
43		rcs=none
44		;;
45esac
46
47
48
49case $HOST in
50        sys98*)
51                rcs=$AIX
52                ;;
53        hp*)
54                rcs='HP-UX/ACC'
55                ;;
56        merill*|redhat*|sunlight*)
57                rcs='LinuxRedHat'
58                ;;
59        *)
60		echo sh ${ICU_SRC}/configure
61                #echo Unknown host $HOST, edit $0
62                exit 0
63                ;;
64esac
65
66echo sh ${ICU_SRC}/runConfigureICU "${rcs}"
67
68
69
70
71