summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2022-08-07 10:11:42 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2022-08-07 10:11:42 (GMT)
commitb4eda6649fc4011ca9c9693ee8752f1ba2c24437 (patch)
tree2e24c92be3d98892b11ec7185535c18569803c3c /unix/tclUnixInit.c
parent7754129cabaa2aa7f6a487106c0551d0c5f2c2d3 (diff)
downloadtcl-b4eda6649fc4011ca9c9693ee8752f1ba2c24437.zip
tcl-b4eda6649fc4011ca9c9693ee8752f1ba2c24437.tar.gz
tcl-b4eda6649fc4011ca9c9693ee8752f1ba2c24437.tar.bz2
Remove code that was ifdef'ed out
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index cb74630..148caa0 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -863,8 +863,8 @@ TclpSetVariables(
Tcl_SetVar2(interp, "tcl_pkgPath", NULL, pkgPath, TCL_GLOBAL_ONLY);
}
-#ifndef TCL_TILDE_EXPAND
{
+ /* Some platforms build configure scripts expect ~ expansion so do that */
Tcl_Obj *origPaths;
Tcl_Obj *resolvedPaths;
origPaths = Tcl_GetVar2Ex(interp, "tcl_pkgPath", NULL, TCL_GLOBAL_ONLY);
@@ -874,7 +874,6 @@ TclpSetVariables(
resolvedPaths, TCL_GLOBAL_ONLY);
}
}
-#endif
#ifdef DJGPP
Tcl_SetVar2(interp, "tcl_platform", "platform", "dos", TCL_GLOBAL_ONLY);