Mercurial > emacs
comparison config.guess @ 9371:7cf000a42d38
Patch to handle old Convex systems (without uname).
author | Per Bothner <bothner@cygnus.com> |
---|---|
date | Fri, 07 Oct 1994 01:03:20 +0000 |
parents | 35a50669a6a9 |
children | ff5a8ffc542c |
comparison
equal
deleted
inserted
replaced
9370:eba41c493729 | 9371:7cf000a42d38 |
---|---|
417 | 417 |
418 # Apollos put the system type in the environment. | 418 # Apollos put the system type in the environment. |
419 | 419 |
420 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } | 420 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } |
421 | 421 |
422 # Convex versions that predate uname can use getsysinfo(1) | |
423 | |
424 if [ -x /usr/convex/getsysinfo ] | |
425 then | |
426 case `getsysinfo -f cpu_type` in | |
427 c1*) | |
428 echo c1-convex-bsd | |
429 exit 0 ;; | |
430 c2*) | |
431 if getsysinfo -f scalar_acc | |
432 then echo c32-convex-bsd | |
433 else echo c2-convex-bsd | |
434 fi | |
435 exit 0 ;; | |
436 c34*) | |
437 echo c34-convex-bsd | |
438 exit 0 ;; | |
439 c38*) | |
440 echo c38-convex-bsd | |
441 exit 0 ;; | |
442 c4*) | |
443 echo c4-convex-bsd | |
444 exit 0 ;; | |
445 esac | |
446 fi | |
447 | |
422 #echo '(Unable to guess system type)' 1>&2 | 448 #echo '(Unable to guess system type)' 1>&2 |
423 | 449 |
424 exit 1 | 450 exit 1 |