diff options
| author | Jim Blandy | 1993-06-10 20:28:32 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-10 20:28:32 +0000 |
| commit | 8760d5df1f7467df05151842e5cafdc6185c58aa (patch) | |
| tree | 34f7f2c52d9331f2579052570b41e08eb645fa8c | |
| parent | 644b477c86626df774d857de4fab567fec81bb95 (diff) | |
| download | emacs-8760d5df1f7467df05151842e5cafdc6185c58aa.tar.gz emacs-8760d5df1f7467df05151842e5cafdc6185c58aa.zip | |
*** empty log message ***
| -rwxr-xr-x | config.guess | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/config.guess b/config.guess index 15bd193d8e2..57d079547c1 100755 --- a/config.guess +++ b/config.guess | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | 17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 18 | 18 | ||
| 19 | # | 19 | # |
| 20 | # This script attempts to guess a cononical system name similar to | 20 | # This script attempts to guess a canonical system name similar to |
| 21 | # config.sub. If it succeeds, it prints the system name on stdout, and | 21 | # config.sub. If it succeeds, it prints the system name on stdout, and |
| 22 | # exits with 0. Otherwise, it prints an error message on stderr, and | 22 | # exits with 0. Otherwise, it prints an error message on stderr, and |
| 23 | # exits with 1. | 23 | # exits with 1. |
| @@ -40,8 +40,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 40 | alpha:OSF1:1.*:*) | 40 | alpha:OSF1:1.*:*) |
| 41 | echo alpha-dec-osf${UNAME_RELEASE} | 41 | echo alpha-dec-osf${UNAME_RELEASE} |
| 42 | exit 0 ;; | 42 | exit 0 ;; |
| 43 | sun4*:SunOS:[5-9].*:*) | 43 | sun4*:SunOS:5.*:*) |
| 44 | echo sparc-sun-solaris2 | 44 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 45 | exit 0 ;; | ||
| 46 | sun4*:SunOS:6*:*) | ||
| 47 | # According to config.sub, this is the proper way to canonicalize | ||
| 48 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but | ||
| 49 | # it's likely to be more like Solaris than SunOS4. | ||
| 50 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
| 45 | exit 0 ;; | 51 | exit 0 ;; |
| 46 | sun4*:SunOS:*:*) | 52 | sun4*:SunOS:*:*) |
| 47 | echo sparc-sun-sunos${UNAME_RELEASE} | 53 | echo sparc-sun-sunos${UNAME_RELEASE} |
| @@ -88,6 +94,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 88 | 9000/8??:HP-UX:*:*) | 94 | 9000/8??:HP-UX:*:*) |
| 89 | echo hppa1.0-hp-hpux | 95 | echo hppa1.0-hp-hpux |
| 90 | exit 0 ;; | 96 | exit 0 ;; |
| 97 | 9000/8??:4.3bsd:*:* | 9000/8?7:4.3bsd:*:* ) | ||
| 98 | echo hppa1.1-hp-bsd | ||
| 99 | exit 0 ;; | ||
| 100 | 9000/8??:4.3bsd:*:*) | ||
| 101 | echo hppa1.0-hp-bsd | ||
| 102 | exit 0 ;; | ||
| 91 | C1*:ConvexOS:*:*) | 103 | C1*:ConvexOS:*:*) |
| 92 | echo c1-convex-bsd | 104 | echo c1-convex-bsd |
| 93 | exit 0 ;; | 105 | exit 0 ;; |
| @@ -107,7 +119,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 107 | echo ${UNAME_MACHINE}-unknown-linux | 119 | echo ${UNAME_MACHINE}-unknown-linux |
| 108 | exit 0 ;; | 120 | exit 0 ;; |
| 109 | i[34]86:UNIX_SV:4.*:*) | 121 | i[34]86:UNIX_SV:4.*:*) |
| 110 | echo i486-unknown-sysv4 | 122 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |
| 123 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} | ||
| 124 | else | ||
| 125 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE} | ||
| 126 | fi | ||
| 111 | exit 0 ;; | 127 | exit 0 ;; |
| 112 | i[34]86:*:3.2:*) | 128 | i[34]86:*:3.2:*) |
| 113 | if /bin/uname -X 2>/dev/null >/dev/null ; then | 129 | if /bin/uname -X 2>/dev/null >/dev/null ; then |
| @@ -122,6 +138,8 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |||
| 122 | # "miniframe" | 138 | # "miniframe" |
| 123 | echo m68010-convergent-sysv | 139 | echo m68010-convergent-sysv |
| 124 | exit 0 ;; | 140 | exit 0 ;; |
| 141 | M680[234]0:*:R3V[567]*:*) | ||
| 142 | test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; | ||
| 125 | esac | 143 | esac |
| 126 | 144 | ||
| 127 | echo '(No uname command or uname output not recognized.)' 1>&2 | 145 | echo '(No uname command or uname output not recognized.)' 1>&2 |
| @@ -157,6 +175,19 @@ main() | |||
| 157 | printf("i386-unknown-bsd\n"); exit(0); | 175 | printf("i386-unknown-bsd\n"); exit(0); |
| 158 | #endif | 176 | #endif |
| 159 | 177 | ||
| 178 | #if defined(sequent) | ||
| 179 | #if defined(i386) | ||
| 180 | printf("i386-sequent-dynix\n"); exit(0); | ||
| 181 | #endif | ||
| 182 | #if defined (ns32000) | ||
| 183 | printf("ns32k-sequent-dynix\n"); exit(0); | ||
| 184 | #endif | ||
| 185 | #endif | ||
| 186 | |||
| 187 | #if defined(_SEQUENT_) | ||
| 188 | printf("i386-sequent-ptx\n"); exit(0); | ||
| 189 | #endif | ||
| 190 | |||
| 160 | exit (1); | 191 | exit (1); |
| 161 | } | 192 | } |
| 162 | EOF | 193 | EOF |