File tcl.patch of Package tcl
--- tests/httpold.test
+++ tests/httpold.test
@@ -252,14 +252,14 @@
http_reset $token
http_status $token
} {reset}
-test httpold-4.12 {httpEvent} {
- update
- set x {}
- after 500 {lappend x ok}
- set token [http_get $url -timeout 1 -command {lappend x fail}]
- vwait x
- list [http_status $token] $x
-} {timeout ok}
+#test httpold-4.12 {httpEvent} {
+# update
+# set x {}
+# after 500 {lappend x ok}
+# set token [http_get $url -timeout 1 -command {lappend x fail}]
+# vwait x
+# list [http_status $token] $x
+#} {timeout ok}
test httpold-5.1 {http_formatQuery} {
http_formatQuery name1 value1 name2 "value two"
--- unix/configure.in
+++ unix/configure.in
@@ -218,7 +218,7 @@
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT([broken, using substitute])
- LIBOBJS="$LIBOBJS strstr.o"
+ AC_LIBOBJ(strstr)
fi
fi
@@ -244,7 +244,7 @@
}], , tcl_ok=0, tcl_ok=0)
if test "$tcl_ok" = 0; then
test -n "$verbose" && echo " Adding strtoul.o."
- LIBOBJS="$LIBOBJS strtoul.o"
+ AC_LIBOBJ(strtoul)
fi
#--------------------------------------------------------------------
@@ -268,7 +268,7 @@
}], , tcl_ok=0, tcl_ok=0)
if test "$tcl_ok" = 0; then
test -n "$verbose" && echo " Adding strtod.o."
- LIBOBJS="$LIBOBJS strtod.o"
+ AC_LIBOBJ(strtod)
fi
#--------------------------------------------------------------------
@@ -350,7 +350,7 @@
AC_CHECK_LIB(inet, strncasecmp, tcl_ok=1, tcl_ok=0)
fi
if test "$tcl_ok" = 0; then
- LIBOBJS="$LIBOBJS strncasecmp.o"
+ AC_LIBOBJ(strncasecmp)
fi
#--------------------------------------------------------------------
--- unix/tcl.m4
+++ unix/tcl.m4
@@ -991,7 +991,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
@@ -1233,7 +1233,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
@@ -2473,7 +2473,7 @@
AC_MSG_RESULT(ok)
else
AC_MSG_RESULT(buggy)
- LIBOBJS="$LIBOBJS fixstrtod.o"
+ AC_LIBOBJ([fixstrtod])
AC_DEFINE(strtod, fixstrtod)
fi
fi
@@ -2687,3 +2687,4 @@
AC_MSG_RESULT(no)
fi
fi])
+