summaryrefslogtreecommitdiff
path: root/src/bin/pgtclsh/mkMakefile.tkdefs.sh.in
blob: 3b5fd2402f49e8195e795282ca039f80fa43d870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

if [ ! -f @TK_CONFIG_SH@ ]; then
    echo "@TK_CONFIG_SH@ not found"
    echo "I need this file! Please make a symbolic link to this file"
    echo "and start make again."
    exit 1
fi

. @TK_CONFIG_SH@

cat @TK_CONFIG_SH@ |
    egrep '^TK_' |
    while read inp
    do
	    eval eval echo $inp
    done >Makefile.tkdefs

exit 0