intl/icu/source/config/make2sh.sed

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 # Copyright (C) 1999-2011, International Business Machines  Corporation and others.  All Rights Reserved.
     2 s%^\([a-zA-Z0-9\._-]*\)[ 	]*+=%\1=$(\1) %
     3 s%^[A-Z]*_SO_TARG*%## &%
     4 s%^SHARED_OBJECT.*%## &%
     5 s%^LD_SONAME.*%## &%
     6 s%$(\([^\)]*\))%${\1}%g
     7 s%^	%#M#	%
     8 s@^[a-zA-Z%$.][^=]*$@#M#&@
     9 s@^\([a-zA-Z][-.a-zA-Z_0-9-]*\)[	 ]*=[ 	]*\(.*\)@\1="\2"@
    10 s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)[	 ]*=[ 	]*\(.*\)@\1_\2=\3@
    11 s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\-\([a-zA-Z_0-9-]*\)[	 ]*=[ 	]*\(.*\)@\1_\2=\3@
    12 s@\${\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)}@${\1_\2}@g
    13 s@^\(prefix\)=\(.*\)@default_\1=\2\
    14 if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
    15 s@^\(ENABLE_RPATH\)=\(.*\)@default_\1=\2\
    16 if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
    17 s%^#SH#[ ]*%%
    18 s%'\$\$'%\\\$\\\$%g

mercurial