summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2003-03-13 10:54:48 (GMT)
committermdejong <mdejong>2003-03-13 10:54:48 (GMT)
commit717e752cab9ac13ccf3bfde94dd5dd4465b4f474 (patch)
tree65e42be439ad084ab0a076c284217137c5cc6541 /unix/tcl.m4
parent7d023718139986d6a52228299d1c68a78b09dab4 (diff)
downloadtk-717e752cab9ac13ccf3bfde94dd5dd4465b4f474.zip
tk-717e752cab9ac13ccf3bfde94dd5dd4465b4f474.tar.gz
tk-717e752cab9ac13ccf3bfde94dd5dd4465b4f474.tar.bz2
Require autoconf 2.57 or newer, see TIP 34
for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. * unix/tcl.m4: Update from Tcl. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. * win/tcl.m4: Update from Tcl.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index e407792..a9baae1 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -884,7 +884,7 @@ dnl AC_CHECK_TOOL(AR, ar)
# AIX v<=4.1 has some different flags than 4.2+
if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
- LIBOBJS="$LIBOBJS tclLoadAix.o"
+ AC_LIBOBJ([tclLoadAix])
DL_LIBS="-lld"
fi
@@ -1131,7 +1131,7 @@ dnl AC_CHECK_TOOL(AR, ar)
# is kind of overkill but it works.
# Disable inlining only when one of the
# files in compat/*.c is being linked in.
- if test x"${LIBOBJS}" != x ; then
+ if test x"${USE_COMPAT}" != x ; then
EXTRA_CFLAGS="${EXTRA_CFLAGS} -fno-inline"
fi
@@ -2243,7 +2243,8 @@ AC_DEFUN(SC_BUGGY_STRTOD, [
AC_MSG_RESULT(ok)
else
AC_MSG_RESULT(buggy)
- LIBOBJS="$LIBOBJS fixstrtod.o"
+ AC_LIBOBJ([fixstrtod])
+ USE_COMPAT=1
AC_DEFINE(strtod, fixstrtod)
fi
fi