summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/configure8
-rw-r--r--tools/configure.in6
2 files changed, 9 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure
index fef9bf6..f0fa9e9 100755
--- a/tools/configure
+++ b/tools/configure
@@ -12,7 +12,7 @@ ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
- --with-tcl=DIR use Tcl 8.3 binaries from DIR"
+ --with-tcl=DIR use Tcl $DEF_VER binaries from DIR"
# Initialize some variables set by options.
# The variables have the same names as the options, with
@@ -523,7 +523,7 @@ else
fi
-# RCS: @(#) $Id: configure,v 1.1 2000/11/03 01:13:01 hobbs Exp $
+# RCS: @(#) $Id: configure,v 1.2 2001/10/04 20:18:09 hobbs Exp $
# Recover information that Tcl computed with its configure script.
@@ -532,12 +532,14 @@ fi
# not, assume that its top-level directory is a sibling of ours.
#--------------------------------------------------------------------
+DEF_VER=8.4
+
# Check whether --with-tcl or --without-tcl was given.
if test "${with_tcl+set}" = set; then
withval="$with_tcl"
TCL_BIN_DIR=$withval
else
- TCL_BIN_DIR=`cd ../../tcl8.3$TCL_PATCH_LEVEL/unix; pwd`
+ TCL_BIN_DIR=`cd ../../tcl$DEF_VER$TCL_PATCH_LEVEL/unix; pwd`
fi
if test ! -d $TCL_BIN_DIR; then
diff --git a/tools/configure.in b/tools/configure.in
index ff44460..5117b4d 100644
--- a/tools/configure.in
+++ b/tools/configure.in
@@ -2,7 +2,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run to configure the
dnl Makefile in this directory.
AC_INIT(man2tcl.c)
-# RCS: @(#) $Id: configure.in,v 1.8 1999/12/22 22:59:59 hobbs Exp $
+# RCS: @(#) $Id: configure.in,v 1.9 2001/10/04 20:18:09 hobbs Exp $
# Recover information that Tcl computed with its configure script.
@@ -11,7 +11,9 @@ AC_INIT(man2tcl.c)
# not, assume that its top-level directory is a sibling of ours.
#--------------------------------------------------------------------
-AC_ARG_WITH(tcl, [ --with-tcl=DIR use Tcl 8.3 binaries from DIR], TCL_BIN_DIR=$withval, TCL_BIN_DIR=`cd ../../tcl8.3$TCL_PATCH_LEVEL/unix; pwd`)
+DEF_VER=8.4
+
+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`)
if test ! -d $TCL_BIN_DIR; then
AC_MSG_ERROR(Tcl directory $TCL_BIN_DIR doesn't exist)
fi