summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2002-11-06 10:44:14 (GMT)
committermdejong <mdejong>2002-11-06 10:44:14 (GMT)
commitc8da171d49ce9c4601c168ee22fb991d7a0da3b5 (patch)
tree60a5ae6990a2dbdfd94a55070fc14c922d30255f /unix/tcl.m4
parentd9952d775abb77c056da36551547a42f7694ddef (diff)
downloadtcl-c8da171d49ce9c4601c168ee22fb991d7a0da3b5.zip
tcl-c8da171d49ce9c4601c168ee22fb991d7a0da3b5.tar.gz
tcl-c8da171d49ce9c4601c168ee22fb991d7a0da3b5.tar.bz2
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal configure error if no ar program can be found on the path. [Bug #582039] * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 48ad434..cbd42e9 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -793,8 +793,11 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
TCL_BUILD_EXP_FILE=""
TCL_EXP_FILE=""
dnl FIXME: Replace AC_CHECK_PROG with AC_CHECK_TOOL once cross compiling is fixed.
-dnl AC_CHECK_TOOL(AR, ar, :)
+dnl AC_CHECK_TOOL(AR, ar)
AC_CHECK_PROG(AR, ar, ar)
+ if test "${AR}" = "" ; then
+ AC_MSG_ERROR([Required archive tool 'ar' not found on PATH.])
+ fi
STLIB_LD='${AR} cr'
LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
PLAT_OBJS=""