os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/tools/configure.in
Update contrib.
1 dnl This file is an input file used by the GNU "autoconf" program to
2 dnl generate the file "configure", which is run to configure the
3 dnl Makefile in this directory.
5 # RCS: @(#) $Id: configure.in,v 1.9 2001/10/04 20:18:09 hobbs Exp $
7 # Recover information that Tcl computed with its configure script.
9 #--------------------------------------------------------------------
10 # See if there was a command-line option for where Tcl is; if
11 # not, assume that its top-level directory is a sibling of ours.
12 #--------------------------------------------------------------------
16 AC_ARG_WITH(tcl, [ --with-tcl=DIR use Tcl $DEF_VER binaries from DIR], TCL_BIN_DIR=$withval, TCL_BIN_DIR=`cd ../../tcl$DEF_VER$TCL_PATCH_LEVEL/unix; pwd`)
17 if test ! -d $TCL_BIN_DIR; then
18 AC_MSG_ERROR(Tcl directory $TCL_BIN_DIR doesn't exist)
20 if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
21 AC_MSG_ERROR(There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?)
24 . $TCL_BIN_DIR/tclConfig.sh
26 TCL_WIN_VERSION=$TCL_MAJOR_VERSION$TCL_MINOR_VERSION
27 AC_SUBST(TCL_WIN_VERSION)
31 AC_SUBST(TCL_PATCH_LEVEL)
35 AC_OUTPUT(Makefile tcl.hpj)