summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordas <das>2006-11-10 01:55:56 (GMT)
committerdas <das>2006-11-10 01:55:56 (GMT)
commit16574baff97aa09147c75398613c01064011cfd1 (patch)
tree114ba0e1134c58976b2839398fcad99cc1ff4d02 /unix
parentc7f945aac52601074c20727c95a1f548ed743a98 (diff)
downloadtcl-16574baff97aa09147c75398613c01064011cfd1.zip
tcl-16574baff97aa09147c75398613c01064011cfd1.tar.gz
tcl-16574baff97aa09147c75398613c01064011cfd1.tar.bz2
* tests/fCmd.test (fCmd-6.26): fix failure when env(HOME) path contains
symlinks. * macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when running testsuite from inside Xcdoe, skip stack-3.1 (it only fails under those circumstances). * unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tk tcl.m4 change. * unix/configure.in: whitespace. * unix/configure: autoconf-2.59
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure4
-rw-r--r--unix/configure.in5
-rw-r--r--unix/tcl.m42
3 files changed, 10 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure
index 3daecfe..4a0ae63 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7608,6 +7608,7 @@ cat >>confdefs.h <<\_ACEOF
#define NO_COREFOUNDATION_64 1
_ACEOF
+ LDFLAGS="$LDFLAGS -Wl,-no_arch_warnings"
fi
fi
fi
@@ -12927,6 +12928,7 @@ _ACEOF
# in struct stat. But we might be able to use fstatfs instead.
#--------------------------------------------------------------------
+
echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
@@ -13147,6 +13149,7 @@ fi
# Some system have no memcmp or it does not work with 8 bit
# data, this checks it and add memcmp.o to LIBOBJS if needed
#--------------------------------------------------------------------
+
echo "$as_me:$LINENO: checking for working memcmp" >&5
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
if test "${ac_cv_func_memcmp_working+set}" = set; then
@@ -13234,6 +13237,7 @@ esac
# have no memmove (we assume they have bcopy instead).
# {The replacement define is in compat/string.h}
#--------------------------------------------------------------------
+
echo "$as_me:$LINENO: checking for memmove" >&5
echo $ECHO_N "checking for memmove... $ECHO_C" >&6
if test "${ac_cv_func_memmove+set}" = set; then
diff --git a/unix/configure.in b/unix/configure.in
index 9c8bfaa..c7db86c 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.150 2006/10/23 19:42:19 dgp Exp $
+# RCS: @(#) $Id: configure.in,v 1.151 2006/11/10 01:55:58 das Exp $
AC_INIT([tcl],[8.5])
AC_PREREQ(2.59)
@@ -242,6 +242,7 @@ SC_TIME_HANDLER
# Some systems (e.g., IRIX 4.0.5) lack the st_blksize field
# in struct stat. But we might be able to use fstatfs instead.
#--------------------------------------------------------------------
+
AC_STRUCT_ST_BLKSIZE
AC_CHECK_FUNC(fstatfs, , [AC_DEFINE(NO_FSTATFS, 1, [Do we have fstatfs()?])])
@@ -249,6 +250,7 @@ AC_CHECK_FUNC(fstatfs, , [AC_DEFINE(NO_FSTATFS, 1, [Do we have fstatfs()?])])
# Some system have no memcmp or it does not work with 8 bit
# data, this checks it and add memcmp.o to LIBOBJS if needed
#--------------------------------------------------------------------
+
AC_FUNC_MEMCMP
#--------------------------------------------------------------------
@@ -256,6 +258,7 @@ AC_FUNC_MEMCMP
# have no memmove (we assume they have bcopy instead).
# {The replacement define is in compat/string.h}
#--------------------------------------------------------------------
+
AC_CHECK_FUNC(memmove, , [
AC_DEFINE(NO_MEMMOVE, 1, [Do we have memmove()?])
AC_DEFINE(NO_STRING_H, 1, [Do we have <string.h>?]) ])
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index a0f1a6d..8c900dd 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -331,6 +331,7 @@ AC_DEFUN([SC_LOAD_TCLCONFIG], [
eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
AC_SUBST(TCL_VERSION)
+ AC_SUBST(TCL_PATCH_LEVEL)
AC_SUBST(TCL_BIN_DIR)
AC_SUBST(TCL_SRC_DIR)
@@ -1648,6 +1649,7 @@ dnl AC_CHECK_TOOL(AR, ar)
if test $tcl_cv_lib_corefoundation_64 = no; then
AC_DEFINE(NO_COREFOUNDATION_64, 1,
[Is Darwin CoreFoundation unavailable for 64-bit?])
+ LDFLAGS="$LDFLAGS -Wl,-no_arch_warnings"
fi
fi
fi