Some people with older machine architectures have complained about not
authorAdi Masputra <adi.masputra@sun.com>
Wed, 22 Sep 1999 18:40:53 +0000 (18:40 +0000)
committerAdi Masputra <adi.masputra@sun.com>
Wed, 22 Sep 1999 18:40:53 +0000 (18:40 +0000)
needing the 64-bit support, so now the decision is based on the
architecture, not machine.

configure

index 8aac73308c06e45d0ce558ecdf789e5efaeb45d7..8f5e36ee80dcf1628d225b967abdc3c884e7c20f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,11 +1,13 @@
 #!/bin/sh
-# $Id: configure,v 1.21 1999/09/21 20:35:18 masputra Exp $
+# $Id: configure,v 1.22 1999/09/22 18:40:53 masputra Exp $
 
 if [ -d /NextApps ]; then
   system="NeXTStep"
 else
   system=`uname -s`
   release=`uname -r`
+  machine=`uname -p`
+  arch=`uname -m`
 fi
 state="unknown"
 
@@ -21,15 +23,15 @@ case $system in
                state="late"; ksrc="netbsd-1.2";;
     esac;;
   SunOS)
-    machine=`uname -p`
     case $release in
       [0-3]*)  state="ancient";;
       4*)      state="known"; ksrc="sunos4"; makext="sunos4";;
       5.[1-6]*)        state="known"; ksrc="svr4"; makext="sol2";;
       5.[789]*)        state="known"; ksrc="svr4"; makext="sol2";
-                if [ "$machine" = sparc ]; then 
-                 lp64="y" 
-               fi;;
+              case $arch in
+               sun4u)  lp64='y';;
+               *)      ;;
+             esac;;
     esac;;
   ULTRIX)
     makext="ultrix";