blob: a31cf77f18007ece5b6aacc41d5901e9f907a8c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# The next line is executed by /bin/sh, but not tcl \
exec tclsh "$0" ${1+"$@"}
set libpath [file dirname [info library]]
set includepath [file dirname $libpath]/include
catch {file delete -force config.cache}
puts "+++ Running 'configure --with-tcl=$libpath --with-tk=$libpath --with-tclinclude=$includepath --with-tkinclude=$includepath' in directory [pwd]..."
catch {exec ./configure \
--with-tcl=$libpath --with-tk=$libpath \
--with-tclinclude=$includepath \
--with-tkinclude=$includepath >@stdout 2>@stderr}
|