]> git.saurik.com Git - apple/icu.git/blame - icuSources/config/make2sh.sed
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / config / make2sh.sed
CommitLineData
b75a7d8f
A
1# Copyright (C) 1999-2003, International Business Machines Corporation and others. All Rights Reserved.
2s%^\([a-zA-Z\._-]*\)[ ]*+=%\1=$(\1) %
3s%^[A-Z]*_SO_TARG*%## &%
4s%$(\([^\)]*\))%${\1}%g
5s%^ %#M# %
6s@^[a-zA-Z%$.][^=]*$@#M#&@
7s@^\([a-zA-Z][-.a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1="\2"@
8s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@
9s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\-\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@
10s@^\(prefix\)=\(.*\)@default_\1=\2\
11if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
12s@^\(ENABLE_RPATH\)=\(.*\)@default_\1=\2\
13if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
14s%^#SH#[ ]*%%