summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2005-12-01 02:14:46 (GMT)
committerdas <das>2005-12-01 02:14:46 (GMT)
commitf0abef494f857b01523d10254851fb41e01fb676 (patch)
treea5573b2159079e5fc8a4eba902585b0c65df14a2 /unix/tcl.m4
parent40fafa2a2fc442b9a76ffe930fe0147ab8a9a3a6 (diff)
downloadtcl-f0abef494f857b01523d10254851fb41e01fb676.zip
tcl-f0abef494f857b01523d10254851fb41e01fb676.tar.gz
tcl-f0abef494f857b01523d10254851fb41e01fb676.tar.bz2
* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.
* unix/configure: regen.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m45
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