diff options
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 |