]> git.saurik.com Git - apple/icu.git/blob - icuSources/config/test-icu-config.sh
ICU-551.24.tar.gz
[apple/icu.git] / icuSources / config / test-icu-config.sh
1 #!/bin/sh
2 ## -*-sh-*-
3 ## Copyright (c) 2002, International Business Machines Corporation and
4 ## others. All Rights Reserved.
5 #
6 # Just a script to test out icu-config.
7 #
8
9 set -x
10 which icu-config
11 icu-config
12 icu-config -?
13 icu-config --BAD ARGUMENT
14 icu-config --bindir
15 icu-config --cflags
16 icu-config --cxx
17 icu-config --cc
18 icu-config --cxxflags
19 icu-config --cppflags
20 icu-config --cppflags-searchpath
21 icu-config --incpath
22 icu-config --invoke
23 icu-config --invoke=genrb
24 icu-config --invoke=./myapp
25 icu-config --invoke=/path/to/myapp
26 icu-config --ldflags
27 icu-config --ldflags-layout
28 icu-config --ldflags-searchpath
29 icu-config --ldflags-libsonly
30 icu-config --ldflags-system
31 icu-config --ldflags-ustdio
32 icu-config --exec-prefix
33 icu-config --prefix
34 icu-config --sbindir
35 icu-config --sysconfdir
36 icu-config --mandir
37 icu-config --icudata
38 icu-config --icudatadir
39 icu-config --icudata-mode
40 icu-config --icudata-install-dir
41 icu-config --shared-datadir
42 icu-config --unicode-version
43 icu-config --version
44 # should fail
45 icu-config --prefix=/tmp --bindir
46 # following needs to point to an alternate path that will work
47 icu-config --prefix=/Users/srl/II --cflags
48 icu-config --detect-prefix --ldflags --ldflags-layout
49