summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-04-07 21:06:40 (GMT)
committerhobbs <hobbs>2004-04-07 21:06:40 (GMT)
commit7b36dfe875aaaba766ae2102b110a4e8ea04ae32 (patch)
treed51ae145d88af896493d6933c4dff76e63a8d7dc /win/configure
parent82711132056d4b6c2b27b8a1d7772534c8b0de1d (diff)
downloadtcl-7b36dfe875aaaba766ae2102b110a4e8ea04ae32.zip
tcl-7b36dfe875aaaba766ae2102b110a4e8ea04ae32.tar.gz
tcl-7b36dfe875aaaba766ae2102b110a4e8ea04ae32.tar.bz2
* win/configure:
* win/configure.in: define TCL_LIB_FLAG, TCL_BUILD_LIB_SPEC, TCL_LIB_SPEC and TCL_PACKAGE_PATH in tclConfig.sh.
Diffstat (limited to 'win/configure')
-rwxr-xr-xwin/configure20
1 files changed, 16 insertions, 4 deletions
diff --git a/win/configure b/win/configure
index d42a9f3..73899c7 100755
--- a/win/configure
+++ b/win/configure
@@ -1931,10 +1931,10 @@ eval "TCL_SRC_DIR=\"`cd $srcdir/..; pwd`\""
eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}"
eval "TCL_LIB_FILE=${LIBPREFIX}tcl$VER${LIBSUFFIX}"
-# FIMXE: These variables decls are missing
-#TCL_LIB_FLAG
-#TCL_BUILD_LIB_SPEC
-#TCL_LIB_SPEC
+
+eval "TCL_LIB_FLAG=\"-ltcl${VER}${LIBFLAGSUFFIX}\""
+eval "TCL_BUILD_LIB_SPEC=\"-L`pwd` ${TCL_LIB_FLAG}\""
+eval "TCL_LIB_SPEC=\"-L${libdir} ${TCL_LIB_FLAG}\""
eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\""
eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBFLAGSUFFIX}\""
@@ -1975,6 +1975,18 @@ else
fi
fi
+#--------------------------------------------------------------------
+# The statements below define the symbol TCL_PACKAGE_PATH, which
+# gives a list of directories that may contain packages. The list
+# consists of one directory for machine-dependent binaries and
+# another for platform-independent scripts.
+#--------------------------------------------------------------------
+
+if test "$prefix" != "$exec_prefix"; then
+ TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
+else
+ TCL_PACKAGE_PATH="${prefix}/lib"
+fi