]> git.saurik.com Git - apple/icu.git/blame - icuSources/config/test-icu-config.sh
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / config / test-icu-config.sh
CommitLineData
b75a7d8f
A
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
9set -x
10which icu-config
11icu-config
12icu-config -?
13icu-config --BAD ARGUMENT
14icu-config --bindir
15icu-config --cflags
16icu-config --cxx
17icu-config --cc
18icu-config --cxxflags
19icu-config --cppflags
20icu-config --cppflags-searchpath
21icu-config --incpath
22icu-config --invoke
23icu-config --invoke=genrb
24icu-config --invoke=./myapp
25icu-config --invoke=/path/to/myapp
26icu-config --ldflags
27icu-config --ldflags-layout
28icu-config --ldflags-searchpath
29icu-config --ldflags-libsonly
30icu-config --ldflags-system
31icu-config --ldflags-ustdio
32icu-config --exec-prefix
33icu-config --prefix
34icu-config --sbindir
35icu-config --sysconfdir
36icu-config --mandir
37icu-config --icudata
38icu-config --icudatadir
39icu-config --icudata-mode
40icu-config --icudata-install-dir
41icu-config --shared-datadir
42icu-config --unicode-version
43icu-config --version
44# should fail
45icu-config --prefix=/tmp --bindir
46# following needs to point to an alternate path that will work
47icu-config --prefix=/Users/srl/II --cflags
48icu-config --detect-prefix --ldflags --ldflags-layout
49