File tcl2.patch of Package tcl84-threads
Tylko w tcl8.4.19.patch/unix: config.cache
Tylko w tcl8.4.19.patch/unix: config.log
Tylko w tcl8.4.19.patch/unix: config.status
diff -ru tcl8.4.19/unix/configure tcl8.4.19.patch/unix/configure
--- tcl8.4.19/unix/configure 2007-09-21 19:07:02.000000000 +0200
+++ tcl8.4.19.patch/unix/configure 2007-11-20 09:29:13.000000000 +0100
@@ -2684,7 +2684,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.o])
DL_LIBS="-lld"
fi
@@ -3166,9 +3166,9 @@
# 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"${LIBOBJS}" != x ; then
CFLAGS="$CFLAGS -fno-inline"
- fi
+ #fi
# XIM peeking works under XFree86.
cat >> confdefs.h <<\EOF
@@ -7217,7 +7217,7 @@
echo "$ac_t""$tcl_cv_strstr_unbroken" 1>&6
if test $tcl_cv_strstr_unbroken = broken; then
- LIBOBJS="$LIBOBJS strstr.o"
+ AC_LIBOBJ([strstr])
fi
fi
@@ -7323,7 +7323,7 @@
fi
fi
if test $tcl_ok = 0; then
- LIBOBJS="$LIBOBJS strtoul.o"
+ AC_LIBOBJ([strtoul])
fi
#--------------------------------------------------------------------
@@ -7427,7 +7427,7 @@
fi
fi
if test $tcl_ok = 0; then
- LIBOBJS="$LIBOBJS strtod.o"
+ AC_LIBOBJ([strtod])
fi
#--------------------------------------------------------------------
@@ -7537,7 +7537,7 @@
echo "$ac_t""$tcl_cv_strtod_buggy" 1>&6
if test "$tcl_cv_strtod_buggy" = buggy; then
- LIBOBJS="$LIBOBJS fixstrtod.o"
+ AC_LIBOBJ([fixstrtod])
cat >> confdefs.h <<\EOF
#define strtod fixstrtod
EOF
@@ -8076,7 +8076,7 @@
fi
if test "$tcl_ok" = 0; then
- LIBOBJS="$LIBOBJS strncasecmp.o"
+ AC_LIBOBJ([strncasecmp])
fi
#--------------------------------------------------------------------
diff -ru tcl8.4.19/unix/configure.in tcl8.4.19.patch/unix/configure.in
--- tcl8.4.19/unix/configure.in 2007-09-21 19:07:02.000000000 +0200
+++ tcl8.4.19.patch/unix/configure.in 2007-11-20 09:19:44.000000000 +0100
@@ -246,7 +246,7 @@
}], tcl_cv_strstr_unbroken=ok, tcl_cv_strstr_unbroken=broken,
tcl_cv_strstr_unbroken=broken)])
if test $tcl_cv_strstr_unbroken = broken; then
- LIBOBJS="$LIBOBJS strstr.o"
+ AC_LIBOBJ([strstr])
fi
fi
@@ -278,7 +278,7 @@
fi
fi
if test $tcl_ok = 0; then
- LIBOBJS="$LIBOBJS strtoul.o"
+ AC_LIBOBJ([strtoul])
fi
#--------------------------------------------------------------------
@@ -308,7 +308,7 @@
fi
fi
if test $tcl_ok = 0; then
- LIBOBJS="$LIBOBJS strtod.o"
+ AC_LIBOBJ([strtodd])
fi
#--------------------------------------------------------------------
@@ -387,7 +387,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
#--------------------------------------------------------------------
Tylko w tcl8.4.19.patch/unix/dltest: Makefile
Tylko w tcl8.4.19.patch/unix: Makefile
Tylko w tcl8.4.19.patch/unix: tclConfig.sh
diff -ru tcl8.4.19/unix/tcl.m4 tcl8.4.19.patch/unix/tcl.m4
--- tcl8.4.19/unix/tcl.m4 2007-09-21 19:07:02.000000000 +0200
+++ tcl8.4.19.patch/unix/tcl.m4 2007-11-20 09:32:15.000000000 +0100
@@ -1124,7 +1124,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
@@ -1381,9 +1381,9 @@
# 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"${LIBOBJS}" != x ; then
CFLAGS="$CFLAGS -fno-inline"
- fi
+ #fi
# XIM peeking works under XFree86.
AC_DEFINE(PEEK_XCLOSEIM)
@@ -2643,7 +2643,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