diff options
author | hobbs <hobbs> | 2005-05-07 00:02:57 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-05-07 00:02:57 (GMT) |
commit | 48f9f0d52645ac21fae93e693a82c790e808314c (patch) | |
tree | c22f5c7f989086059773ee21bc6bb12fcc6964d4 /unix/tcl.m4 | |
parent | 0a81c7641c586693028f0bd4d645cf28c7ea8c58 (diff) | |
download | tk-48f9f0d52645ac21fae93e693a82c790e808314c.zip tk-48f9f0d52645ac21fae93e693a82c790e808314c.tar.gz tk-48f9f0d52645ac21fae93e693a82c790e808314c.tar.bz2 |
* unix/configure: regen
* unix/configure.in: add AC_C_BIGENDIAN check
* unix/tcl.m4: correct Solaris 10 (5.10) check and add support for
x86_64 Solaris cc builds.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 5eb6c72..8239fb8 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1541,7 +1541,8 @@ dnl AC_CHECK_TOOL(AR, ar) UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' TCL_LIB_VERSIONS_OK=nodots ;; - SunOS-5.[[0-6]]*) + SunOS-5.[[0-6]]) + # Careful to not let 5.10+ fall into this case # Note: If _REENTRANT isn't defined, then Solaris # won't define thread-safe library routines. @@ -1569,7 +1570,6 @@ dnl AC_CHECK_TOOL(AR, ar) fi ;; SunOS-5*) - # Note: If _REENTRANT isn't defined, then Solaris # won't define thread-safe library routines. @@ -1603,8 +1603,16 @@ dnl AC_CHECK_TOOL(AR, ar) # Solaris 64 uses this as well #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64" fi + elif test "$arch" = "amd64 i386" ; then + if test "$GCC" = "yes" ; then + AC_MSG_WARN([64bit mode not supported with GCC on $system]) + else + do64bit_ok=yes + CFLAGS="$CFLAGS -xarch=amd64" + LDFLAGS="$LDFLAGS -xarch=amd64" + fi else - AC_MSG_WARN([64bit mode only supported sparcv9 system]) + AC_MSG_WARN([64bit mode not supported for $arch]) fi fi |