summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-13 21:23:59 (GMT)
committernijtmans <nijtmans>2010-12-13 21:23:59 (GMT)
commit716be31fd7cb8acae5bba8b10425b904f8ace0dc (patch)
treeb2163166f4f1a1b642799c861fc05ecf29b4d279 /unix/tcl.m4
parent899c51483b58eceb78b4fc34ae8b0c6ff59d8db6 (diff)
downloadtk-716be31fd7cb8acae5bba8b10425b904f8ace0dc.zip
tk-716be31fd7cb8acae5bba8b10425b904f8ace0dc.tar.gz
tk-716be31fd7cb8acae5bba8b10425b904f8ace0dc.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=""