summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-05 08:52:08 (GMT)
committernijtmans <nijtmans>2010-12-05 08:52:08 (GMT)
commit4608377079bb15afdf1f22b1dc43b25720e6a8c4 (patch)
tree7c8a8fb85dd1c6cd34762cff345a01e2004872fc /unix/tcl.m4
parent3893991d27719992c4415326bdf02a8730f98e6f (diff)
downloadtcl-4608377079bb15afdf1f22b1dc43b25720e6a8c4.zip
tcl-4608377079bb15afdf1f22b1dc43b25720e6a8c4.tar.gz
tcl-4608377079bb15afdf1f22b1dc43b25720e6a8c4.tar.bz2
[Patch #3116490] cross-compile support for unix
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m47
1 files changed, 1 insertions, 6 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 6d21d69..4d7fa71 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1112,12 +1112,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_OPTIMIZE=-O
CFLAGS_WARNING=""
])
-dnl FIXME: Replace AC_CHECK_PROG with AC_CHECK_TOOL once cross compiling is fixed.
-dnl AC_CHECK_TOOL(AR, ar)
- AC_CHECK_PROG(AR, ar, ar)
- AS_IF([test "${AR}" = ""], [
- AC_MSG_ERROR([Required archive tool 'ar' not found on PATH.])
- ])
+ AC_CHECK_TOOL(AR, ar)
STLIB_LD='${AR} cr'
LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
PLAT_OBJS=""