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