diff options
author | mdejong <mdejong> | 2003-03-13 10:39:56 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-03-13 10:39:56 (GMT) |
commit | 22544c4ccc233befbc2973f4d503a860faf0df0a (patch) | |
tree | e45da1541a5fc8a5316e161607bfefaaa06f724c /unix/tcl.m4 | |
parent | ece28abf02c8eb9f9bd99ae1a5d1b268e2ebef69 (diff) | |
download | tcl-22544c4ccc233befbc2973f4d503a860faf0df0a.zip tcl-22544c4ccc233befbc2973f4d503a860faf0df0a.tar.gz tcl-22544c4ccc233befbc2973f4d503a860faf0df0a.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.
* tools/configure: Regen with autoconf 2.57.
* tools/configure.in: Require autoconf 2.57.
* unix/configure: Regen with autoconf 2.57.
* unix/configure.in: Require autoconf 2.57.
Apply AC_LIBOBJ changes from patch 529884.
* unix/tcl.m4: Ditto.
* win/configure: Regen with autoconf 2.57.
* win/configure.in: Require autoconf 2.57.
Don't subst LIBOBJS since this happens by
default, this avoids an autoconf error.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 7 |
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 |