summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-09-13 12:28:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-09-13 12:28:16 (GMT)
commit5e1957ead7ef340445e8114e3caa90f98d40857d (patch)
treef3703173f834be54fdae2155c8f1c7081b5eb4c3 /unix
parent2946fc51c092d08c68f0098963d9fe706b08ed94 (diff)
parent11b6640a79a74173f3050f4d2e7a5a794a404bce (diff)
downloadtk-5e1957ead7ef340445e8114e3caa90f98d40857d.zip
tk-5e1957ead7ef340445e8114e3caa90f98d40857d.tar.gz
tk-5e1957ead7ef340445e8114e3caa90f98d40857d.tar.bz2
3566106 Solaris9/x86 support. Thanks Dagobert and others.
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index a142baf..b13fddd 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1968,7 +1968,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AS_IF([test "$GCC" = yes],[use_sunmath=no],[
arch=`isainfo`
AC_MSG_CHECKING([whether to use -lsunmath for fp rounding control])
- AS_IF([test "$arch" = "amd64 i386"], [
+ AS_IF([test "$arch" = "amd64 i386" -o "$arch" = "i386"], [
AC_MSG_RESULT([yes])
MATH_LIBS="-lsunmath $MATH_LIBS"
AC_CHECK_HEADER(sunmath.h)
@@ -2001,7 +2001,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
], [
AS_IF([test "$use_sunmath" = yes], [textmode=textoff],[textmode=text])
case $system in
- SunOS-5.[[1-9]][[0-9]]*)
+ SunOS-5.[[1-9]][[0-9]]*|SunOS-5.[[7-9]])
SHLIB_LD="\${CC} -G -z $textmode \${LDFLAGS}";;
*)
SHLIB_LD="/usr/ccs/bin/ld -G -z $textmode";;