summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-13 21:18:48 (GMT)
committernijtmans <nijtmans>2010-12-13 21:18:48 (GMT)
commit358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e (patch)
treedf0987bfd3e70af07c61d0ed2ca02a54c3962d6b /unix/tcl.m4
parent28b289525dc0521894d68c247e18e96d3ab5f6c5 (diff)
downloadtcl-358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e.zip
tcl-358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e.tar.gz
tcl-358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e.tar.bz2
Cross-compile support for Win and UNIX (backported)
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 bb3ea1a..2f2f317 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1134,12 +1134,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AS_IF([test "$GCC" = yes], [
CFLAGS_WARNING="-Wall"
], [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=""