summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--win/configure.in12
2 files changed, 16 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index df783c5..1185d3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-07-07 Mo DeJong <mdejong@redhat.com>
+
+ * win/configure.in: Fix subst of TK_SHARED_BUILD
+ variable in tkConfig.sh.in. Fix definition of
+ TK_SRC_DIR variable so that it matches the
+ unix version.
+
2000-07-05 Mo DeJong <mdejong@redhat.com>
* generic/tkFileFilter.c (AddClause): Cast to match function prototype.
diff --git a/win/configure.in b/win/configure.in
index 435caf3..abb14f2 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -2,7 +2,7 @@
# generate the file "configure", which is run during Tk installation
# to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.18 2000/06/13 21:07:35 ericm Exp $
+# RCS: @(#) $Id: configure.in,v 1.19 2000/07/07 11:20:33 mo Exp $
AC_INIT(../generic/tk.h)
@@ -88,6 +88,12 @@ SC_LOAD_TCLCONFIG
SC_PROG_TCLSH
+#------------------------------------------------------------------------
+# tkConfig.sh refers to this by a different name
+#------------------------------------------------------------------------
+
+TK_SHARED_BUILD=${SHARED_BUILD}
+
#--------------------------------------------------------------------
# Perform final evaluations of variables with possible substitutions.
#--------------------------------------------------------------------
@@ -96,7 +102,7 @@ TK_SHARED_LIB_SUFFIX="\${NODOT_VERSION}${DLLSUFFIX}"
TK_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
TK_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
-eval "TK_SRC_DIR=`cd $srcdir; pwd`"
+eval "TK_SRC_DIR=`cd $srcdir/..; pwd`"
eval "TK_STUB_LIB_FILE=${LIBPREFIX}tkstub$VER${LIBSUFFIX}"
eval "TK_DLL_FILE=tk$VER${DLLSUFFIX}"
eval "TK_LIB_FILE=${LIBPREFIX}tk$VER${LIBSUFFIX}"
@@ -138,7 +144,7 @@ AC_SUBST(TCL_DBGX)
AC_SUBST(CFG_TK_SHARED_LIB_SUFFIX)
AC_SUBST(CFG_TK_UNSHARED_LIB_SUFFIX)
AC_SUBST(CFG_TK_EXPORT_FILE_SUFFIX)
-dnl AC_SUBST(TCL_SHARED_BUILD)
+AC_SUBST(TK_SHARED_BUILD)
AC_SUBST(PATHTYPE)
AC_SUBST(CYGPATH)