added support for detecting ncr boxen

This commit is contained in:
Todd C. Miller
1996-07-18 22:26:50 +00:00
parent fd134afec7
commit 25e15d666a

4
aclocal.m4 vendored
View File

@@ -316,10 +316,14 @@ if test -n "$UNAMEPROG"; then
else else
OS="sco" OS="sco"
fi fi
else
if test -f /etc/.relid -a "`$UNAMEPROG -p`" = "386/486/MC"; then
OS="ncr"
else else
OS=`$UNAMEPROG -v` OS=`$UNAMEPROG -v`
fi fi
fi fi
fi
# this is yucky but we want to make sure $OSREV is an int... # this is yucky but we want to make sure $OSREV is an int...
OSREV=`$UNAMEPROG -r | $SEDPROG -e 's/^[[ \.0A-z]]*//' -e 's/\..*//'` OSREV=`$UNAMEPROG -r | $SEDPROG -e 's/^[[ \.0A-z]]*//' -e 's/\..*//'`