]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | # Copyright (C) 2016 and later: Unicode, Inc. and others. |
2 | # License & terms of use: http://www.unicode.org/copyright.html | |
4388f060 | 3 | # Copyright (C) 1999-2011, International Business Machines Corporation and others. All Rights Reserved. |
729e4ab9 | 4 | s%^\([a-zA-Z0-9\._-]*\)[ ]*+=%\1=$(\1) % |
b75a7d8f | 5 | s%^[A-Z]*_SO_TARG*%## &% |
73c04bcf | 6 | s%^SHARED_OBJECT.*%## &% |
f3c0d7a5 | 7 | s@^_%.*@## &@ |
374ca955 | 8 | s%^LD_SONAME.*%## &% |
b75a7d8f A |
9 | s%$(\([^\)]*\))%${\1}%g |
10 | s%^ %#M# % | |
11 | s@^[a-zA-Z%$.][^=]*$@#M#&@ | |
12 | s@^\([a-zA-Z][-.a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1="\2"@ | |
13 | s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@ | |
14 | s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\-\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@ | |
729e4ab9 | 15 | s@\${\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)}@${\1_\2}@g |
b75a7d8f A |
16 | s@^\(prefix\)=\(.*\)@default_\1=\2\ |
17 | if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@ | |
18 | s@^\(ENABLE_RPATH\)=\(.*\)@default_\1=\2\ | |
19 | if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@ | |
20 | s%^#SH#[ ]*%% | |
4388f060 | 21 | s%'\$\$'%\\\$\\\$%g |