Tk Source Code

Artifact [b61a7ab3]
Login

Artifact b61a7ab3b6b0a3888da0351fa1e3927d9ee5ba43:

Attachment "1231031.patch" to ticket [1231031f] added by dgp 2006-03-14 00:27:45.
Index: unix/tcl.m4
===================================================================
RCS file: /cvsroot/tktoolkit/tk/unix/tcl.m4,v
retrieving revision 1.51.2.29
diff -u -r1.51.2.29 tcl.m4
--- unix/tcl.m4	2 Mar 2006 21:06:54 -0000	1.51.2.29
+++ unix/tcl.m4	13 Mar 2006 17:26:12 -0000
@@ -1123,7 +1123,7 @@
 
 	    # 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
 
@@ -1365,7 +1365,7 @@
 	    # 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"${LIB@&t@OBJS}" != x ; then
 	        CFLAGS="$CFLAGS -fno-inline"
 	    fi
 
@@ -2572,7 +2572,7 @@
 		}], tcl_cv_strtod_buggy=ok, tcl_cv_strtod_buggy=buggy,
 		    tcl_cv_strtod_buggy=buggy)])
 	if test "$tcl_cv_strtod_buggy" = buggy; then
-	    LIBOBJS="$LIBOBJS fixstrtod.o"
+	    AC_LIBOBJ(fixstrtod)
 	    AC_DEFINE(strtod, fixstrtod)
 	fi
     fi