summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index caaca802..3ae29e31 100755
--- a/configure
+++ b/configure
@@ -4,6 +4,9 @@
# Detect machine
#
MACHINE=`uname -p`
+if echo $MACHINE | grep unknown > /dev/null; then
+ MACHINE=`uname -m`
+fi;
if echo $MACHINE | grep sun4u > /dev/null; then
MACHINE_NAME=sparc