aboutsummaryrefslogtreecommitdiff
path: root/src/pl/tcl/mkMakefile.tcldefs
blob: ba1a9c63af9efa222711bf68116f70e99a2bd02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
if [ -f ./tclConfig.sh ]; then
    . ./tclConfig.sh
else
    if [ -f /usr/lib/tclConfig.sh ]; then
	echo "using tclConfig.sh from /usr/lib"
	. /usr/lib/tclConfig.sh
    else
	if [ -f /usr/local/lib/tclConfig.sh ]; then
	    echo "using tclConfig.sh from /usr/local/lib"
	    . /usr/local/lib/tclConfig.sh
	else
	    echo "tclConfig.sh not found in /usr/lib or /usr/local/lib"
	    echo "I need this file! Please make a symbolic link to this file"
	    echo "and start make again."
	    exit 1
        fi
    fi
fi

set | grep '^TCL' >Makefile.tcldefs
exit 0