summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authordas <das>2004-11-19 06:29:23 (GMT)
committerdas <das>2004-11-19 06:29:23 (GMT)
commit6297311b712fb631b245f682cfcbc17a233d7b60 (patch)
treea308ab4415be70ba2d96ac4b00d0aef89dbd9fdb /unix/configure
parent318ca631dc34f11954febc6e0681081c82365e46 (diff)
downloadtcl-6297311b712fb631b245f682cfcbc17a233d7b60.zip
tcl-6297311b712fb631b245f682cfcbc17a233d7b60.tar.gz
tcl-6297311b712fb631b245f682cfcbc17a233d7b60.tar.bz2
* macosx/Makefile:
* unix/configure.in: * unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection of tcl framework build when determining tclLibPath from overloaded TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088] * unix/configure: autoconf-2.13 * tests/unixInit.test (7.1): fixed failure when running tests with -tmpdir arg not set to working dir.
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index c25db6d..1f45906 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7271,6 +7271,10 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
TCL_BUILD_LIB_SPEC="-F`pwd` -framework Tcl"
TCL_LIB_SPEC="-framework Tcl"
TCL_LIB_FILE="Tcl"
+ cat >> confdefs.h <<\EOF
+#define TCL_FRAMEWORK 1
+EOF
+
elif test "$SHARED_BUILD" = "0" || test "$TCL_NEEDS_EXP_FILE" = "0"; then
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
TCL_LIB_FLAG="-ltcl${TCL_VERSION}\${TCL_DBGX}"