Tk Source Code

Artifact [a5012e91]
Login

Artifact a5012e913f6e29ed41940780033a524309018015:

Attachment "tk-8.4-autoconf.patch" to ticket [1231031f] added by dgp 2005-07-01 22:37:35.
Gives the compatibility to use autoconf-2.52 or higher... :)

--- tk8.4.7/unix/tcl.m4				2004-02-25 02:39:04.000000000 +0100
+++ tk8.4.7/unix/tcl.m4.autoconf		2004-02-25 02:40:54.000000000 +0100
@@ -899,7 +899,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
 
@@ -1147,7 +1147,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
 
@@ -2261,7 +2261,7 @@
 	    AC_MSG_RESULT(ok)
 	else
 	    AC_MSG_RESULT(buggy)
-	    LIBOBJS="$LIBOBJS fixstrtod.o"
+	    AC_LIBOBJ(fixstrtod)
 	    AC_DEFINE(strtod, fixstrtod)
 	fi
     fi