summaryrefslogtreecommitdiffstats
path: root/win/configure.in
diff options
context:
space:
mode:
authormo <mo@noemail.net>2000-07-21 16:27:33 (GMT)
committermo <mo@noemail.net>2000-07-21 16:27:33 (GMT)
commit32d0f1ab5fec752725f1efc71b9b2a5964e5caa6 (patch)
tree71b06808b5b376da47056dd33d586b85ae9eaa2d /win/configure.in
parenta4a7218798daf35b0f99d65f93bfa8f5e59ae601 (diff)
downloadtk-32d0f1ab5fec752725f1efc71b9b2a5964e5caa6.zip
tk-32d0f1ab5fec752725f1efc71b9b2a5964e5caa6.tar.gz
tk-32d0f1ab5fec752725f1efc71b9b2a5964e5caa6.tar.bz2
* win/configure.in: Add TK_STUB_LIB_FLAG and
TK_BUILD_STUB_LIB_SPEC. These are needed to build a stub enabled extension. FossilOrigin-Name: ab40709ae90c1b35d25fe45bcb62d68ce37d8c4b
Diffstat (limited to 'win/configure.in')
-rw-r--r--win/configure.in25
1 files changed, 20 insertions, 5 deletions
diff --git a/win/configure.in b/win/configure.in
index abb14f2..57681f6 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.19 2000/07/07 11:20:33 mo Exp $
+# RCS: @(#) $Id: configure.in,v 1.20 2000/07/21 16:27:35 mo Exp $
AC_INIT(../generic/tk.h)
@@ -103,13 +103,24 @@ TK_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
TK_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
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}"
-eval "TCL_STUB_LIB_FILE=${LIBPREFIX}tclstub$VER${LIBSUFFIX}"
-eval "TCL_DLL_FILE=tcl$VER${DLLSUFFIX}"
-eval "TCL_LIB_FILE=${LIBPREFIX}tcl$VER${LIBSUFFIX}"
+eval "TK_STUB_LIB_FILE=${LIBPREFIX}tkstub${VER}${LIBSUFFIX}"
+# FIXME: All of this var junk needs to be done in tcl.m4 !!!!
+# I left out the other vars that also need to get defined here.
+# we also need to double check about including DBGX in lib names
+# and spaces in file or directory names for the eval
+eval "TK_STUB_LIB_FLAG=\"-ltkstub${VER}${LIBSUFFIX}\""
+eval "TK_BUILD_STUB_LIB_SPEC=\"-L`pwd` ${TK_STUB_LIB_FLAG}\""
+
+eval "TCL_DLL_FILE=\"tcl$VER${DLLSUFFIX}\""
+eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl$VER${LIBSUFFIX}\""
+
+eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\""
+eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBSUFFIX}\""
+eval "TCL_BUILD_STUB_LIB_SPEC=\"-L`pwd` ${TCL_STUB_LIB_FLAG}\""
eval "DLLSUFFIX=${DLLSUFFIX}"
eval "LIBPREFIX=${LIBPREFIX}"
@@ -128,6 +139,8 @@ AC_SUBST(TK_DBGX)
AC_SUBST(TK_LIB_FILE)
AC_SUBST(TK_DLL_FILE)
AC_SUBST(TK_STUB_LIB_FILE)
+AC_SUBST(TK_STUB_LIB_FLAG)
+AC_SUBST(TK_BUILD_STUB_LIB_SPEC)
AC_SUBST(TK_SRC_DIR)
AC_SUBST(TK_BIN_DIR)
@@ -138,6 +151,8 @@ AC_SUBST(TCL_PATCH_LEVEL)
AC_SUBST(TCL_LIB_FILE)
AC_SUBST(TCL_DLL_FILE)
AC_SUBST(TCL_STUB_LIB_FILE)
+AC_SUBST(TCL_STUB_LIB_FLAG)
+AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
AC_SUBST(TCL_SRC_DIR)
AC_SUBST(TCL_BIN_DIR)
AC_SUBST(TCL_DBGX)