• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2## -*-sh-*-
3## Copyright (C) 2016 and later: Unicode, Inc. and others.
4## License & terms of use: http://www.unicode.org/copyright.html
5## Copyright (c) 2002, International Business Machines Corporation and
6## others. All Rights Reserved.
7#
8# Just a script to test out icu-config.
9#
10
11set -x
12which icu-config
13icu-config
14icu-config -?
15icu-config --BAD ARGUMENT
16icu-config --bindir
17icu-config --cflags
18icu-config --cxx
19icu-config --cc
20icu-config --cxxflags
21icu-config --cppflags
22icu-config --cppflags-searchpath
23icu-config --incpath
24icu-config --invoke
25icu-config --invoke=genrb
26icu-config --invoke=./myapp
27icu-config --invoke=/path/to/myapp
28icu-config --ldflags
29icu-config --ldflags-searchpath
30icu-config --ldflags-libsonly
31icu-config --ldflags-system
32icu-config --ldflags-ustdio
33icu-config --exec-prefix
34icu-config --prefix
35icu-config --sbindir
36icu-config --sysconfdir
37icu-config --mandir
38icu-config --icudata
39icu-config --icudatadir
40icu-config --icudata-mode
41icu-config --icudata-install-dir
42icu-config --shared-datadir
43icu-config --unicode-version
44icu-config --version
45# should fail
46icu-config --prefix=/tmp --bindir
47# following needs to point to an alternate path that will work
48icu-config --prefix=/Users/srl/II --cflags
49icu-config --detect-prefix --ldflags
50
51