X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..f3c0d7a59d99c2a94c6b8822291f0e42be3773c9:/icuSources/config/icu-config-bottom diff --git a/icuSources/config/icu-config-bottom b/icuSources/config/icu-config-bottom index 0f0319a4..20d0cdd8 100644 --- a/icuSources/config/icu-config-bottom +++ b/icuSources/config/icu-config-bottom @@ -1,11 +1,13 @@ ## -*-sh-*- ## BEGIN of icu-config-bottom. -## Copyright (c) 2002-2011, International Business Machines Corporation and +## Copyright (C) 2016 and later: Unicode, Inc. and others. +## License & terms of use: http://www.unicode.org/copyright.html +## Copyright (c) 2002-2013, International Business Machines Corporation and ## others. All Rights Reserved. ICUUC_FILE="${libdir}/${ICULIBS_COMMON_LIB_NAME}" ICUUC_FILE_A="${libdir}/${ICULIBS_COMMON_LIB_NAME_A}" - + # echo ENABLE RPATH $ENABLE_RPATH and RPATHLDFLAGS=${RPATH_LDFLAGS} if [ "x$PKGDATA_MODE" = "x" ]; then PKGDATA_MODE=dll @@ -42,9 +44,8 @@ allflags() echo " --icudata-mode Print default ICU pkgdata mode (dll) - use as --mode option to pkgdata(1)." echo " --icudatadir Print path to packaged archive data. Can set as [ICU_DATA]" echo " --invoke Print commands to invoke an ICU program" - echo " --invoke= Print commands to invoke an ICU program named (ex: genrb)" + echo " --invoke= Print commands to invoke an ICU program named (ex: genrb)" echo " --ldflags Print -L search path and -l libraries to link with ICU [LDFLAGS]. This is for the data, uc (common), and i18n libraries only. " - echo " --ldflags-layout Print ICU layout engine link directive. Use in addition to --ldflags" echo " --ldflags-libsonly Same as --ldflags, but only the -l directives" echo " --ldflags-searchpath Print only -L (search path) directive" echo " --ldflags-system Print only system libs ICU links with (-lpthread, -lm)" @@ -85,10 +86,13 @@ usage() echo "Usage:" allflags - echo + echo echo " [Brackets] show MAKE variable equivalents, (parenthesis) show example output" echo - echo "Copyright (c) 2002, International Business Machines Corporation and others. All Rights Reserved." + echo "Copyright (c) 2002-2013, International Business Machines Corporation and others. All Rights Reserved." + echo + echo "NOTE: Please consider using the pkg-config (.pc) files instead of icu-config." + echo " See: " } ## Check the sanity of current variables @@ -125,7 +129,7 @@ case "$1" in ;; esac -case "$1" in +case "$1" in *prefix*) IGNORE_ICUUC_FILE_CHECK="yes" ;; @@ -139,7 +143,7 @@ loaddefs if [ $# -gt 0 -a $1 = "--selfcheck" ]; then echo "passed" - exit + exit # EXIT for self check fi @@ -156,12 +160,12 @@ do --debug) set -x ;; - + --noverify) echo "### $ME: Error: --noverify must be the first argument." 1>&2 exit 1 ;; - + --so) echo $SO ;; @@ -194,8 +198,8 @@ do QUOT="\"" CMD="${var}" - # If it's not a locally executable command (1st choice) then - # search for it in the ICU directories. + # If it's not a locally executable command (1st choice) then + # search for it in the ICU directories. if [ ! -x ${CMD} ]; then if [ -x ${bindir}/${var} ]; then CMD="${bindir}/${var}" @@ -216,11 +220,11 @@ do --cflags) echo $ECHO_N "${CFLAGS} ${ECHO_C}" ;; - + --cc) echo $ECHO_N "${CC} ${ECHO_C}" ;; - + --cxx) echo $ECHO_N "${CXX} ${ECHO_C}" ;; @@ -255,7 +259,7 @@ do ;; --ldflags) - echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${LIBS} ${ECHO_C}" + echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${ECHO_C}" # $RPATH_LDFLAGS ;; @@ -276,7 +280,8 @@ do ;; --ldflags-layout) - echo $ECHO_N "${ICULIBS_LAYOUT} ${ICULIBS_LAYOUTEX} ${ECHO_C}" + echo ${ME}: ERROR: the old layout engine has been removed. use HarfBuzz. + exit 1 ;; --ldflags-searchpath) @@ -338,7 +343,7 @@ do --icudata-install-dir) echo $ECHO_N "${ICUPKGDATA_DIR} ${ECHO_C}" ;; - + --icudatadir) echo $ECHO_N "${ICUDATA_DIR} ${ECHO_C}" ;; @@ -358,7 +363,7 @@ do --unicode-version) echo $ECHO_N $UNICODE_VERSION ;; - + --host) echo $host exit 0 @@ -393,7 +398,7 @@ do ;; esac shift - + # Reset the ignore icuuc file check flag if [ $IGNORE_ICUUC_FILE_CHECK = "yes" ]; then IGNORE_ICUUC_FILE_CHECK="no" @@ -406,4 +411,3 @@ sanity ## END of icu-config-bottom exit 0 -