Cleanup from Billy.

This commit is contained in:
Bruce Momjian 1998-10-12 04:45:22 +00:00
parent 2facf5460f
commit 0f78649ccc
2 changed files with 8 additions and 16 deletions

View File

@ -16,14 +16,11 @@ fi
. @TCL_CONFIG_SH@
. @TK_CONFIG_SH@
set |
egrep '^TCL_|^TK_' |
sed -e 's/=/="/' -e 's/$/"/' |
while read v
cat @TCL_CONFIG_SH@ @TK_CONFIG_SH@ |
egrep '^TCL_|^TK_' |
while read inp
do
eval "$v"
v1=`echo $v | sed -e 's/=.*//'`
eval "echo $v1 = \"\$$v1\""
eval eval echo $inp
done >Makefile.tcltkdefs
exit 0

View File

@ -6,16 +6,11 @@ if [ ! -f @TCL_CONFIG_SH@ ]; then
exit 1
fi
. @TCL_CONFIG_SH@
set |
egrep '^TCL_|^TK_' |
sed -e 's/=[ ]*/="/' -e 's/[ ]*$/"/' |
while read v
cat @TCL_CONFIG_SH@ |
egrep '^TCL_|^TK_' |
while read inp
do
eval "$v"
v1=`echo $v | sed -e 's/=.*//'`
eval "echo $v1 = \"\$$v1\""
eval eval echo $inp
done >Makefile.tcldefs
exit 0