Mercurial > emacs
comparison config.guess @ 14558:a1805a3ff5c6
* config.guess (UNAME_VERSION): Recognize X4.x as an OSF version.
* config.guess (*:CYGWIN*): New
author | Per Bothner <bothner@cygnus.com> |
---|---|
date | Mon, 12 Feb 1996 20:55:56 +0000 |
parents | e5c95b865af5 |
children | b9483b592728 |
comparison
equal
deleted
inserted
replaced
14557:64e5e68aef13 | 14558:a1805a3ff5c6 |
---|---|
49 trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15 | 49 trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15 |
50 | 50 |
51 # Note: order is significant - the case branches are not exclusive. | 51 # Note: order is significant - the case branches are not exclusive. |
52 | 52 |
53 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | 53 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
54 alpha:OSF1:V*:*) | 54 alpha:OSF1:[VX]*:*) |
55 # After 1.2, OSF1 uses "V1.3" for uname -r. | 55 # After 1.2, OSF1 uses "V1.3" for uname -r. |
56 echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^V//'` | 56 # After 4.x, OSF1 uses "X4.x" for uname -r. |
57 echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VX]//'` | |
57 exit 0 ;; | 58 exit 0 ;; |
58 alpha:OSF1:*:*) | 59 alpha:OSF1:*:*) |
59 # 1.2 uses "1.2" for uname -r. | 60 # 1.2 uses "1.2" for uname -r. |
60 echo alpha-dec-osf${UNAME_RELEASE} | 61 echo alpha-dec-osf${UNAME_RELEASE} |
61 exit 0 ;; | 62 exit 0 ;; |
321 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | 322 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
322 exit 0 ;; | 323 exit 0 ;; |
323 *:NetBSD:*:*) | 324 *:NetBSD:*:*) |
324 echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | 325 echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` |
325 exit 0 ;; | 326 exit 0 ;; |
327 i*:CYGWIN*:*) | |
328 echo i386-unknown-cygwin32 | |
329 exit 0 ;; | |
330 p*:CYGWIN*:*) | |
331 echo powerpcle-unknown-cygwin32 | |
332 exit 0 ;; | |
326 *:GNU:*:*) | 333 *:GNU:*:*) |
327 echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | 334 echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
328 exit 0 ;; | 335 exit 0 ;; |
329 *:Linux:*:*) | 336 *:Linux:*:*) |
330 # The BFD linker knows what the default object file format is, so | 337 # The BFD linker knows what the default object file format is, so |