summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorsuresh <suresh>1998-10-28 18:34:23 (GMT)
committersuresh <suresh>1998-10-28 18:34:23 (GMT)
commit4cc4398f8553944112e0594446a0b88c3fa96e7a (patch)
treeef31424538fb00e5d98ed8c6895108cc0007a906 /unix
parentd92d1894eae882c8021739f066fa5266e7912e4c (diff)
downloadtcl-4cc4398f8553944112e0594446a0b88c3fa96e7a.zip
tcl-4cc4398f8553944112e0594446a0b88c3fa96e7a.tar.gz
tcl-4cc4398f8553944112e0594446a0b88c3fa96e7a.tar.bz2
Added "-D_OLD_TERMIOS" when building on IRIX 6.3 to create backward compatible
binaries for IRIX 6.2.
Diffstat (limited to 'unix')
-rw-r--r--unix/configure.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 0afc12b..1d5c418 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -2,7 +2,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.
AC_INIT(../generic/tcl.h)
-# RCS: @(#) $Id: configure.in,v 1.21 1998/10/20 20:01:23 rjohnson Exp $
+# RCS: @(#) $Id: configure.in,v 1.22 1998/10/28 18:34:23 suresh Exp $
TCL_VERSION=8.0
TCL_MAJOR_VERSION=8
@@ -747,7 +747,15 @@ case $system in
EXTRA_CFLAGS="-mabi=n32"
LD_FLAGS="-mabi=n32"
else
- EXTRA_CFLAGS="-n32"
+ case $system in
+ IRIX-6.3)
+ # Use to build 6.2 compatible binaries on 6.3.
+ EXTRA_CFLAGS="-n32 -D_OLD_TERMIOS"
+ ;;
+ *)
+ EXTRA_CFLAGS="-n32"
+ ;;
+ esac
LD_FLAGS="-n32"
fi
;;