diff options
author | das <das> | 2005-12-01 02:15:46 (GMT) |
---|---|---|
committer | das <das> | 2005-12-01 02:15:46 (GMT) |
commit | e8ced77901dfa56aed25b78d13d4d700fe229b01 (patch) | |
tree | 5deb698882d7d1c836ca7773d25d46f34aa7e5e0 /unix/tcl.m4 | |
parent | 3b97d2470329d86a677341a8fbbff24920fa47c5 (diff) | |
download | tk-e8ced77901dfa56aed25b78d13d4d700fe229b01.zip tk-e8ced77901dfa56aed25b78d13d4d700fe229b01.tar.gz tk-e8ced77901dfa56aed25b78d13d4d700fe229b01.tar.bz2 |
* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.
* unix/configure: regen.
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): added newly
registered kEventAppAvailableWindowBoundsChanged to debugging code.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index e8e5dc2..01479b2 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1433,10 +1433,9 @@ dnl AC_CHECK_TOOL(AR, ar) DL_OBJS="tclLoadDyld.o" DL_LIBS="" # Don't use -prebind when building for Mac OS X 10.4 or later only: - if test -z "${MACOSX_DEPLOYMENT_TARGET}" -o \ - `echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F. '{print [$]2}'` -lt 4; then + test -z "${MACOSX_DEPLOYMENT_TARGET}" || \ + test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F. '{print [$]2}'`" -lt 4 && \ LDFLAGS="$LDFLAGS -prebind" - fi LDFLAGS="$LDFLAGS -headerpad_max_install_names" AC_CACHE_CHECK([if ld accepts -search_paths_first flag], tcl_cv_ld_search_paths_first, [ hold_ldflags=$LDFLAGS |