os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/tools/configure.in
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/tools/configure.in	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +dnl	This file is an input file used by the GNU "autoconf" program to
     1.5 +dnl	generate the file "configure", which is run to configure the
     1.6 +dnl	Makefile in this directory.
     1.7 +AC_INIT(man2tcl.c)
     1.8 +# RCS: @(#) $Id: configure.in,v 1.9 2001/10/04 20:18:09 hobbs Exp $
     1.9 +
    1.10 +# Recover information that Tcl computed with its configure script.
    1.11 +
    1.12 +#--------------------------------------------------------------------
    1.13 +#       See if there was a command-line option for where Tcl is;  if
    1.14 +#       not, assume that its top-level directory is a sibling of ours.
    1.15 +#--------------------------------------------------------------------
    1.16 +
    1.17 +DEF_VER=8.4
    1.18 +
    1.19 +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`)
    1.20 +if test ! -d $TCL_BIN_DIR; then
    1.21 +    AC_MSG_ERROR(Tcl directory $TCL_BIN_DIR doesn't exist)
    1.22 +fi
    1.23 +if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
    1.24 +    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?)
    1.25 +fi
    1.26 +
    1.27 +. $TCL_BIN_DIR/tclConfig.sh
    1.28 +
    1.29 +TCL_WIN_VERSION=$TCL_MAJOR_VERSION$TCL_MINOR_VERSION
    1.30 +AC_SUBST(TCL_WIN_VERSION)
    1.31 +CC=$TCL_CC
    1.32 +AC_SUBST(CC)
    1.33 +AC_SUBST(TCL_VERSION)
    1.34 +AC_SUBST(TCL_PATCH_LEVEL)
    1.35 +AC_SUBST(TCL_SRC_DIR)
    1.36 +AC_SUBST(TCL_BIN_DIR)
    1.37 +
    1.38 +AC_OUTPUT(Makefile tcl.hpj)