diff options
| author | culler <culler> | 2024-08-12 17:04:09 (GMT) |
|---|---|---|
| committer | culler <culler> | 2024-08-12 17:04:09 (GMT) |
| commit | 3663ff7a73a8daba5e1038cddf46e3e4231280e4 (patch) | |
| tree | 1c97567dc469ac63b06f2cb1d0a30154d0e2816f /unix | |
| parent | 425ae8d4205c2a0276f10b10ab045970cc860a2d (diff) | |
| parent | 8fec18a134926a2dcc9135bf68b6ffdb07580d76 (diff) | |
| download | tcl-3663ff7a73a8daba5e1038cddf46e3e4231280e4.zip tcl-3663ff7a73a8daba5e1038cddf46e3e4231280e4.tar.gz tcl-3663ff7a73a8daba5e1038cddf46e3e4231280e4.tar.bz2 | |
Fix Tk [1562e10c58]: with macOS framework build, tclsh cannot find Tk if there are multiple versions. Rebuild unix/configure with autoconf 2.72
Diffstat (limited to 'unix')
| -rwxr-xr-x | unix/configure | 2 | ||||
| -rw-r--r-- | unix/configure.ac | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure index 2ef18ad..f9c6a24 100755 --- a/unix/configure +++ b/unix/configure @@ -11400,6 +11400,8 @@ fi if test "$FRAMEWORK_BUILD" = "1" ; then test -z "$TCL_PACKAGE_PATH" && \ TCL_PACKAGE_PATH="~/Library/Tcl:/Library/Tcl:~/Library/Frameworks:/Library/Frameworks" + # Allow tclsh to find Tk when multiple versions are installed. See Tk [1562e10c58]. + TCL_PACKAGE_PATH="$TCL_PACKAGE_PATH:/Library/Frameworks/Tk.framework/Versions" test -z "$TCL_MODULE_PATH" && \ TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl" elif test "$prefix/lib" != "$libdir"; then diff --git a/unix/configure.ac b/unix/configure.ac index f2a1b58..32a0042 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -4,7 +4,7 @@ dnl generate the file "configure", which is run during Tcl installation dnl to configure the system for the local environment. AC_INIT([tcl],[9.0]) -AC_PREREQ([2.69]) +AC_PREREQ([2.72]) dnl This is only used when included from macosx/configure.ac m4_ifdef([SC_USE_CONFIG_HEADERS], [ @@ -891,6 +891,8 @@ AC_SUBST(TCL_BUILDTIME_LIBRARY) if test "$FRAMEWORK_BUILD" = "1" ; then test -z "$TCL_PACKAGE_PATH" && \ TCL_PACKAGE_PATH="~/Library/Tcl:/Library/Tcl:~/Library/Frameworks:/Library/Frameworks" + # Allow tclsh to find Tk when multiple versions are installed. See Tk [1562e10c58]. + TCL_PACKAGE_PATH="$TCL_PACKAGE_PATH:/Library/Frameworks/Tk.framework/Versions" test -z "$TCL_MODULE_PATH" && \ TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl" elif test "$prefix/lib" != "$libdir"; then |
