Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | # Copyright (C) 1999-2011, International Business Machines Corporation and others. All Rights Reserved. |
michael@0 | 2 | s%^\([a-zA-Z0-9\._-]*\)[ ]*+=%\1=$(\1) % |
michael@0 | 3 | s%^[A-Z]*_SO_TARG*%## &% |
michael@0 | 4 | s%^SHARED_OBJECT.*%## &% |
michael@0 | 5 | s%^LD_SONAME.*%## &% |
michael@0 | 6 | s%$(\([^\)]*\))%${\1}%g |
michael@0 | 7 | s%^ %#M# % |
michael@0 | 8 | s@^[a-zA-Z%$.][^=]*$@#M#&@ |
michael@0 | 9 | s@^\([a-zA-Z][-.a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1="\2"@ |
michael@0 | 10 | s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@ |
michael@0 | 11 | s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\-\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@ |
michael@0 | 12 | s@\${\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)}@${\1_\2}@g |
michael@0 | 13 | s@^\(prefix\)=\(.*\)@default_\1=\2\ |
michael@0 | 14 | if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@ |
michael@0 | 15 | s@^\(ENABLE_RPATH\)=\(.*\)@default_\1=\2\ |
michael@0 | 16 | if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@ |
michael@0 | 17 | s%^#SH#[ ]*%% |
michael@0 | 18 | s%'\$\$'%\\\$\\\$%g |