summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAdi Masputra <adi.masputra@sun.com>1999-09-21 20:35:18 +0000
committerAdi Masputra <adi.masputra@sun.com>1999-09-21 20:35:18 +0000
commita08a6f3080580acf856caae83fdbad40d6f1cbc7 (patch)
treeecf7d98d055172728c578d71dbc698cb9c69827f /configure
parent699f99db04003ffb53e9b6d2b730ce75c18c66b5 (diff)
Previously, 64-bit compilation was dependent upon the version of the OS,
e.g., Solaris 7 and above. This certainly will not work on machines other than Sparc, i.e., x86. Therefore, until Merced (IA-64) is supported, 64-bit compilation will only be done on Sparc-based machines.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index 035ef6f..8aac733 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.20 1999/09/17 05:30:57 paulus Exp $
+# $Id: configure,v 1.21 1999/09/21 20:35:18 masputra Exp $
if [ -d /NextApps ]; then
system="NeXTStep"
@@ -21,11 +21,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"; lp64="y";;
+ 5.[789]*) state="known"; ksrc="svr4"; makext="sol2";
+ if [ "$machine" = sparc ]; then
+ lp64="y"
+ fi;;
esac;;
ULTRIX)
makext="ultrix";