2003-05-17 23:27:29 +00:00
|
|
|
# Copyright (C) 1999-2003, International Business Machines Corporation and others. All Rights Reserved.
|
2003-06-04 21:28:58 +00:00
|
|
|
s%^\([a-zA-Z\._-]*\)[ ]*+=%\1=$(\1) %
|
2002-05-07 03:10:28 +00:00
|
|
|
s%^[A-Z]*_SO_TARG*%## &%
|
|
|
|
s%$(\([^\)]*\))%${\1}%g
|
|
|
|
s%^ %#M# %
|
|
|
|
s@^[a-zA-Z%$.][^=]*$@#M#&@
|
|
|
|
s@^\([a-zA-Z][-.a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1="\2"@
|
|
|
|
s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@
|
|
|
|
s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\-\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@
|
|
|
|
s@^\(prefix\)=\(.*\)@default_\1=\2\
|
2002-05-08 23:25:08 +00:00
|
|
|
if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
|
2002-05-07 03:10:28 +00:00
|
|
|
s@^\(ENABLE_RPATH\)=\(.*\)@default_\1=\2\
|
2002-05-08 23:25:08 +00:00
|
|
|
if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
|
2002-05-07 03:10:28 +00:00
|
|
|
s%^#SH#[ ]*%%
|