STAR_PATH_TCLTK([minversion=0], [options=''])
Finds a tclsh, and the associated libraries, optionally searching for Tk as well.
Sets substitution variable TCL_CFLAGS
to the
C compiler flags necessary to compile with Tcl,
TCL_LIBS
to the required library flags, and
variable TCLSH
to the full path of the
matching tclsh
executable
and TCL_VERSION
to the major.minor
version number; if Tk is
requested, it similarly sets TK_CFLAGS
,
TK_LIBS
and WISH
. Define the
cpp variable TCL_MISSING
to 1 if the required
programs and libraries are not available (that is, it is
also set if Tcl is available but a suitable version of Tk
isn't).
If argument minversion
is present, it specifies the
minimum Tcl/Tk version number required.
If the argument options
is present, it is a
space-separated list of the words tk
and
itcl
. If one or both of these is present,
then the macro will find a Tcl location which also has Tk
or itcl installed (note that the itcl test doesn't do
anything at present).
The macro searches first in the path, and then in a
selection of platform-specific standard locations. The
configure option
--with-tcl
allows
you to
provide a path to a tclsh
binary, which is
put at the head of the list of locations to search.
Option --without-tcl
suppresses the search,
and results in no variables being substituted.
This is intended to be similar to macro
AC_PATH_XTRA
.