Mercurial > emacs
comparison config.guess @ 15333:21a333789311 libc-960605 libc-960606 libc-960607
* config.guess: Combine mips-mips-riscos cases, and use cpp to
distinguish sysv/svr4/bsd variants.
author | Per Bothner <bothner@cygnus.com> |
---|---|
date | Wed, 05 Jun 1996 04:12:46 +0000 |
parents | 5828249cac7d |
children | 832e49a9a8ea |
comparison
equal
deleted
inserted
replaced
15332:008f373921e4 | 15333:21a333789311 |
---|---|
114 echo mips-dec-ultrix${UNAME_RELEASE} | 114 echo mips-dec-ultrix${UNAME_RELEASE} |
115 exit 0 ;; | 115 exit 0 ;; |
116 VAX*:ULTRIX*:*:*) | 116 VAX*:ULTRIX*:*:*) |
117 echo vax-dec-ultrix${UNAME_RELEASE} | 117 echo vax-dec-ultrix${UNAME_RELEASE} |
118 exit 0 ;; | 118 exit 0 ;; |
119 mips:*:4*:UMIPS) | 119 mips:*:*:UMIPS | mips:*:*:RISCos) |
120 echo mips-mips-riscos4sysv | 120 sed 's/^ //' << EOF >dummy.c |
121 exit 0 ;; | 121 int main (argc, argv) int argc; char **argv; { |
122 mips:*:5*:RISCos) | 122 #if defined (host_mips) && defined (MIPSEB) |
123 echo mips-mips-riscos${UNAME_RELEASE} | 123 #if defined (SYSTYPE_SYSV) |
124 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | |
125 #endif | |
126 #if defined (SYSTYPE_SVR4) | |
127 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | |
128 #endif | |
129 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) | |
130 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | |
131 #endif | |
132 #endif | |
133 exit (-1); | |
134 } | |
135 EOF | |
136 ${CC-cc} dummy.c -o dummy && ./dummy "${UNAME_RELEASE}" \ | |
137 && rm dummy.c dummy && exit 0 | |
138 rm -f dummy.c dummy | |
139 echo mips-mips-riscos{UNAME_RELEASE} | |
124 exit 0 ;; | 140 exit 0 ;; |
125 Night_Hawk:Power_UNIX:*:*) | 141 Night_Hawk:Power_UNIX:*:*) |
126 echo powerpc-harris-powerunix | 142 echo powerpc-harris-powerunix |
127 exit 0 ;; | 143 exit 0 ;; |
128 m88k:CX/UX:7*:*) | 144 m88k:CX/UX:7*:*) |