summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-26 00:27:53 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-26 00:27:53 +0000
commit625194eb6dcc2dfda0964d4c043c7418452d600c (patch)
treeeaf38229c53678934f8dfc2fdfaed612dcef2b40 /config.guess
parente0aa5ea0bb445ba1d676b636a2341c6ac0b06b49 (diff)
downloademacs-625194eb6dcc2dfda0964d4c043c7418452d600c.tar.gz
*** empty log message ***
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess17
1 files changed, 17 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index 665ced20bb6..a6bbecf6e39 100755
--- a/config.guess
+++ b/config.guess
@@ -28,6 +28,13 @@
# (but try to keep the structure clean).
#
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# Add the directory in our PATH last so BSD programs wont get overridden.
+# (ghazi@noc.rutgers.edu 8/24/94.)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
@@ -52,6 +59,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;;
+ Pyramid*:OSx*:*:*)
+ # We want to differentiate universes because most programs will
+ # only compile in one or the other. Programs which compile in
+ # both can case switch on pyramid-pyramid-* in configure.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit 0 ;;
sun4*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;