From b2fc2df96693a6b34ef19ddd1a0a05fbd68419d7 Mon Sep 17 00:00:00 2001
From: Jeff Hobbs <hobbs@users.sourceforge.net>
Date: Wed, 16 Oct 2002 07:05:00 +0000
Subject: [PATCH] correct AIX-4 64-bit mode detection

---
 configure        | 2 +-
 tclconfig/tcl.m4 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index ac7f754..f8686ce 100755
--- a/configure
+++ b/configure
@@ -2233,7 +2233,7 @@ EOF
 	    fi
 
 	    # Check to enable 64-bit flags for compiler/linker on AIX 4+
-	    if test "$do64bit" = "yes" -o "`uname -v`" -gt "3" ; then
+	    if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
 		if test "$GCC" = "yes" ; then
 		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
 		else 
diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
index 038e32c..d2421cf 100644
--- a/tclconfig/tcl.m4
+++ b/tclconfig/tcl.m4
@@ -925,7 +925,7 @@ dnl AC_CHECK_TOOL(AR, ar, :)
 	    fi
 
 	    # Check to enable 64-bit flags for compiler/linker on AIX 4+
-	    if test "$do64bit" = "yes" -o "`uname -v`" -gt "3" ; then
+	    if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
 		if test "$GCC" = "yes" ; then
 		    AC_MSG_WARN("64bit mode not supported with GCC on $system")
 		else 
-- 
2.23.0