TEA (tclconfig) Source Code

Check-in [33407d14ed]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Don't use -prebind option on MacOSX any more: was only needed for OSX < 10.4, which is no longer supported (2005!!!)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 33407d14edd8ee79569773af9dcf3d6a74cc74c0f8ecaa1083df22651936a7a5
User & Date: jan.nijtmans 2019-01-22 15:40:46
Original Comment: Don't use --prebind options on MacOSX any more: was only needed for OSX < 10.4, which is no longer supported (2005!!!)
Context
2019-01-23
08:16
Remove support for Windows CE. It doesn't work anyway (since it's already unsupported for a long time, even by Microsoft) check-in: cbe95d1d87 user: jan.nijtmans tags: trunk
2019-01-22
15:40
Don't use -prebind option on MacOSX any more: was only needed for OSX < 10.4, which is no longer supported (2005!!!) check-in: 33407d14ed user: jan.nijtmans tags: trunk
2019-01-17
09:45
fixes configure error "Windows/CE and GCC builds incompatible" as well as proper tcl_platform (if cross-compiled in unix) by mingw build. check-in: 8b4bbb54c8 user: sebres tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tcl.m4.

  1782   1782   	    AS_IF([test $tcl_cv_ld_single_module = yes], [
  1783   1783   		SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
  1784   1784   	    ])
  1785   1785   	    # TEA specific: link shlib with current and compatibility version flags
  1786   1786   	    vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([[0-9]]\{1,5\}\)\(\(\.[[0-9]]\{1,3\}\)\{0,2\}\).*$/\1\2/p' -e d`
  1787   1787   	    SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}"
  1788   1788   	    SHLIB_SUFFIX=".dylib"
  1789         -	    # Don't use -prebind when building for Mac OS X 10.4 or later only:
  1790         -	    AS_IF([test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int([$]2)}'`" -lt 4 -a \
  1791         -		"`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int([$]2)}'`" -lt 4], [
  1792         -		LDFLAGS="$LDFLAGS -prebind"])
  1793   1789   	    LDFLAGS="$LDFLAGS -headerpad_max_install_names"
  1794   1790   	    AC_CACHE_CHECK([if ld accepts -search_paths_first flag],
  1795   1791   		    tcl_cv_ld_search_paths_first, [
  1796   1792   		hold_ldflags=$LDFLAGS
  1797   1793   		LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
  1798   1794   		AC_TRY_LINK(, [int i;], tcl_cv_ld_search_paths_first=yes,
  1799   1795   			tcl_cv_ld_search_paths_first=no)