Home | History | Annotate | Download | only in config
      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 
     11 set -x
     12 which icu-config
     13 icu-config
     14 icu-config -?
     15 icu-config --BAD ARGUMENT
     16 icu-config --bindir               
     17 icu-config --cflags               
     18 icu-config --cxx
     19 icu-config --cc
     20 icu-config --cxxflags               
     21 icu-config --cppflags               
     22 icu-config --cppflags-searchpath
     23 icu-config --incpath
     24 icu-config --invoke
     25 icu-config --invoke=genrb
     26 icu-config --invoke=./myapp
     27 icu-config --invoke=/path/to/myapp
     28 icu-config --ldflags                 
     29 icu-config --ldflags-searchpath
     30 icu-config --ldflags-libsonly
     31 icu-config --ldflags-system          
     32 icu-config --ldflags-ustdio          
     33 icu-config --exec-prefix               
     34 icu-config --prefix               
     35 icu-config --sbindir              
     36 icu-config --sysconfdir
     37 icu-config --mandir
     38 icu-config --icudata
     39 icu-config --icudatadir
     40 icu-config --icudata-mode
     41 icu-config --icudata-install-dir
     42 icu-config --shared-datadir
     43 icu-config --unicode-version      
     44 icu-config --version              
     45 # should fail
     46 icu-config --prefix=/tmp --bindir
     47 # following needs to point to an alternate path that will work 
     48 icu-config --prefix=/Users/srl/II --cflags
     49 icu-config --detect-prefix --ldflags 
     50 
     51