Skip to content

Commit 4c64bb7

Browse files
committed
add new file.
1 parent 7a9312b commit 4c64bb7

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
if [ ! -f @TCL_CONFIG_SH@ ]; then
3+
echo "@TCL_CONFIG_SH@ not found"
4+
echo "I need this file! Please make a symbolic link to this file"
5+
echo "and start make again."
6+
exit 1
7+
fi
8+
9+
if [ ! -f @TK_CONFIG_SH@ ]; then
10+
echo "@TK_CONFIG_SH@ not found"
11+
echo "I need this file! Please make a symbolic link to this file"
12+
echo "and start make again."
13+
exit 1
14+
fi
15+
16+
. @TCL_CONFIG_SH@
17+
. @TK_CONFIG_SH@
18+
19+
set |
20+
egrep '^TCL_|^TK_' |
21+
sed -e 's/=/="/' -e 's/$/"/' |
22+
while read v
23+
do
24+
eval "$v"
25+
v1=`echo $v | sed -e 's/=.*//'`
26+
eval "echo $v1 = \"\$$v1\""
27+
done >Makefile.tcltkdefs
28+
29+
exit 0

0 commit comments

Comments
 (0)