Temporarily use -O1 until segfault with -O2+krb5+iksd is fixed
[ckermit.git] / ckuver.h
1 /* ckuver.h -- C-Kermit UNIX Version heralds */
2 /*
3   Author: Frank da Cruz <fdc@columbia.edu>,
4   Columbia University Academic Information Systems, New York City.
5
6   Copyright (C) 1985, 2010,
7     Trustees of Columbia University in the City of New York.
8     All rights reserved.  See the C-Kermit COPYING.TXT file or the
9     copyright text in the ckcmai.c module for disclaimer and permissions.
10 */
11
12 #ifndef CKUVER_H
13 #define CKUVER_H
14
15 /* Arranged more or less alphabetically by compiler symbol */
16 /* Must be included AFTER ckcdeb.h. */
17
18 #ifdef BEOS
19 #ifdef BEOS45
20 #define HERALD " BeOS 4.5"
21 #else
22 #define HERALD " BeOS"
23 #endif /* BEOS45 */
24 #else
25 #ifdef BEBOX
26 #ifdef BE_DR_7
27 #define HERALD " BeBox DR7"
28 #else
29 #define HERALD " BeBox"
30 #endif /* BE_DR_7 */
31 #endif /* BEBOX */
32 #endif /* BEOS */
33
34 #ifdef BELLV10
35 #define HERALD " Bell Labs Research UNIX V10"
36 #endif /* BELLV10 */
37
38 #ifdef APOLLOSR10
39 #define HERALD " Apollo SR10"
40 #endif /* APOLLOSR10 */
41
42 #ifdef MAC
43 #define HERALD " Apple Macintosh"
44 #endif /* MAC */
45
46 #ifdef A986
47 #define HERALD " Altos 986 / Xenix 3.0"
48 #endif /* A986 */
49
50 #ifdef AS400
51 #define HERALD " AS/400"
52 #endif /* AS400 */
53
54 #ifdef aegis
55 #ifdef BSD4
56 #define HERALD " Apollo DOMAIN/IX 4.2 BSD"
57 #else
58 #ifdef ATTSV
59 #define HERALD " Apollo DOMAIN/IX System V"
60 #else
61 #define HERALD " Apollo Aegis"
62 #endif /* BSD4  */
63 #endif /* ATTSV */
64 #endif /* aegis */
65
66 #ifndef HERALD
67
68 #ifdef AIXRS
69
70 #ifdef AIX53
71 #define HERALD " IBM AIX 5.3"
72 #else
73 #ifdef AIX52
74 #define HERALD " IBM AIX 5.2"
75 #else
76 #ifdef AIX51
77 #define HERALD " IBM AIX 5.1"
78 #else
79 #ifdef AIX45
80 #define HERALD " IBM AIX 5.0"
81 #else
82 #ifdef AIX45
83 #define HERALD " IBM AIX 4.5"
84 #else
85 #ifdef AIX44
86 #define HERALD " IBM AIX 4.4"
87 #else
88 #ifdef AIX43
89 #define HERALD " IBM AIX 4.3"
90 #else
91 #ifdef AIX42
92 #define HERALD " IBM AIX 4.2"
93 #else
94 #ifdef SVR4
95 #ifdef AIX41
96 #define HERALD " IBM AIX 4.1"
97 #else
98 #define HERALD " IBM RS/6000 AIX 3.2"
99 #endif /* AIX41 */
100 #else
101 #define HERALD " IBM RS/6000 AIX 3.0/3.1"
102 #endif /* SVR4 */
103 #endif /* AIX42 */
104 #endif /* AIX43 */
105 #endif /* AIX44 */
106 #endif /* AIX45 */
107 #endif /* AIX50 */
108 #endif /* AIX51 */
109 #endif /* AIX52 */
110 #endif /* AIX53 */
111 #endif /* AIXRS */
112
113 #ifdef PS2AIX10
114 #define HERALD " IBM PS/2 AIX 1.x"
115 #endif /* PS2AIX10 */
116
117 #ifdef AIXPS2
118 #define HERALD " IBM PS/2 AIX 3.x"
119 #endif /* AIXPS2 */
120
121 #ifdef AIX370
122 #ifndef HERALD
123 #define HERALD " IBM System/370 AIX/370"
124 #endif
125 #endif /* AIX370 */
126
127 #ifdef AIXESA
128 #ifndef HERALD
129 #define HERALD " IBM AIX/ESA version 2.1"
130 #endif
131 #endif /* AIXESA */
132
133 #ifdef ATT6300
134 #define HERALD " AT&T 6300"
135 #endif /* ATT6300 */
136
137 #ifdef ATT7300
138 #ifdef UNIX351M
139 #define HERALD " AT&T 7300 UNIX PC UNIX 3.51m"
140 #else
141 #define HERALD " AT&T 7300 UNIX PC"
142 #endif /* UNIX351M */
143 #endif /* ATT7300 */
144
145 #ifdef AUX
146 #define HERALD " Apple Macintosh AUX"
147 #endif /* AUX */
148
149 #ifdef BSD44
150 #ifdef MACOSX
151 #define HERALD " Mac OS X"
152 #else
153 #ifdef __OpenBSD__
154 #define HERALD " OpenBSD"
155 #else
156 #ifdef __bsdi__
157 #ifdef BSDI4
158 #define HERALD " BSDI BSD/OS 4.0"
159 #else
160 #ifdef BSDI3
161 #define HERALD " BSDI BSD/OS 3.0"
162 #else
163 #ifdef BSDI2
164 #define HERALD " BSDI BSD/OS 2.0"       /* 1.1++ name... */
165 #else
166 #define HERALD " BSDI BSD/386"          /* Original 1.0 name */
167 #endif /* BSDI2 */
168 #endif /* BSDI3 */
169 #endif /* BSDI4 */
170 #else  /* __bsdi__ */
171 #ifdef __NetBSD__
172 #ifndef HERALD
173 #ifdef NETBSD16
174 #define HERALD " NetBSD 1.6"
175 #else
176 #ifdef NETBSD15
177 #define HERALD " NetBSD 1.5"
178 #else
179 #define HERALD " NetBSD"
180 #endif /* NETBSD15 */
181 #endif /* NETBSD16 */
182 #endif /* HERALD */
183 #else  /* __NetBSD__ */
184 #ifdef __FreeBSD__
185 #ifdef FREEBSD51
186 #define HERALD " FreeBSD 5.1"
187 #else
188 #ifdef FREEBSD50
189 #define HERALD " FreeBSD 5.0"
190 #else
191 #ifdef FREEBSD49
192 #define HERALD " FreeBSD 4.9"
193 #else
194 #ifdef FREEBSD48
195 #define HERALD " FreeBSD 4.8"
196 #else
197 #ifdef FREEBSD47
198 #define HERALD " FreeBSD 4.7"
199 #else
200 #ifdef FREEBSD46
201 #define HERALD " FreeBSD 4.6"
202 #else
203 #ifdef FREEBSD45
204 #define HERALD " FreeBSD 4.5"
205 #else
206 #ifdef FREEBSD44
207 #define HERALD " FreeBSD 4.4"
208 #else
209 #ifdef FREEBSD43
210 #define HERALD " FreeBSD 4.3"
211 #else
212 #ifdef FREEBSD42
213 #define HERALD " FreeBSD 4.2"
214 #else
215 #ifdef FREEBSD41
216 #define HERALD " FreeBSD 4.1"
217 #else
218 #ifdef FREEBSD4
219 #define HERALD " FreeBSD 4.0"
220 #else
221 #ifdef FREEBSD3
222 #define HERALD " FreeBSD 3.0"
223 #else
224 #ifdef FREEBSD2
225 #define HERALD " FreeBSD 2.0"
226 #else
227 #define HERALD " FreeBSD"
228 #endif /* FREEBSD2 */
229 #endif /* FREEBSD3 */
230 #endif /* FREEBSD4 */
231 #endif /* FREEBSD41 */
232 #endif /* FREEBSD42 */
233 #endif /* FREEBSD43 */
234 #endif /* FREEBSD44 */
235 #endif /* FREEBSD45 */
236 #endif /* FREEBSD46 */
237 #endif /* FREEBSD47 */
238 #endif /* FREEBSD48 */
239 #endif /* FREEBSD49 */
240 #endif /* FREEBSD50 */
241 #endif /* FREEBSD51 */
242 #else
243 #ifdef __386BSD__
244 #define HERALD " 386BSD"
245 #else
246 #define HERALD " 4.4BSD"
247 #endif /* __386BSD__ */
248 #endif /* __FreeBSD__ */
249 #endif /* __NetBSD__ */
250 #endif /* __bsdi__ */
251 #endif /* __OpenBSD__ */
252 #endif /* MACOSX */
253 #endif /* BSD44 */
254
255 #ifdef ENCORE
256 #ifdef BSD43
257 #define HERALD " Encore Multimax UMAX 4.3"
258 #else
259 #define HERALD " Encore Multimax UMAX 4.2"
260 #endif
261 #endif /* ENCORE */
262
263 #ifdef BSD29
264 #define HERALD " 2.9 BSD"
265 #endif /* BSD29 */
266
267 #ifdef BSD41
268 #define HERALD " 4.1 BSD"
269 #endif /* BSD41 */
270
271 #ifdef C70
272 #define HERALD " BBN C/70"
273 #endif /* c70 */
274
275 #ifdef CIE
276 #define HERALD " CIE Systems 680/20 Regulus"
277 #endif /* CIE */
278
279 #ifdef COHERENT
280 #ifdef _I386
281 #define HERALD " MWC Coherent 386 4.x"
282 #ifndef i386
283 #define i386
284 #endif /* i386 */
285 #else
286 #define HERALD " PC/AT MWC Coherent 286 3.x"
287 #ifndef i286
288 #define i286
289 #endif /* i286 */
290 #endif /* _I386 */
291 #endif /* COHERENT */
292
293 #ifdef CONVEX9
294 #define HERALD " Convex/OS"
295 #endif /* CONVEX9 */
296
297 #ifdef CONVEX10
298 #define HERALD " Convex/OS 10.1"
299 #endif /* CONVEX10 */
300
301 #ifdef _CRAY
302 #ifdef _CRAYCOM
303 #define HERALD " Cray CSOS"
304 #else /* _CRAYCOM */
305 #define HERALD " Cray UNICOS"
306 #endif /* _CRAYCOM */
307 #endif /* _CRAY */
308
309 #ifdef DGUX
310 #ifdef DGUX54420
311 #define HERALD " Data General DG/UX R4.20"
312 #else
313 #ifdef DGUX54411
314 #define HERALD " Data General DG/UX R4.11"
315 #else
316 #ifdef DGUX54410
317 #define HERALD " Data General DG/UX R4.10"
318 #else
319 #ifdef DGUX54310
320 #define HERALD " Data General DG/UX 5.4R3.10"
321 #else
322 #ifdef DGUX543
323 #define HERALD " Data General DG/UX 5.4R3.00"
324 #else
325 #ifdef DGUX540
326 #define HERALD " Data General DG/UX 5.4"
327 #else
328 #ifdef DGUX430
329 #define HERALD " Data General DG/UX 4.30"
330 #else
331 #define HERALD " Data General DG/UX"
332 #endif /* DGUX430 */
333 #endif /* DGUX540 */
334 #endif /* DGUX543 */
335 #endif /* DGUX54310 */
336 #endif /* DGUX54410 */
337 #endif /* DGUX54411 */
338 #endif /* DGUX54420 */
339 #endif /* DGUX */
340
341 #ifdef datageneral
342 #ifndef HERALD
343 #define HERALD " Data General AOS/VS"
344 #endif /* HERALD */
345 #endif /* datageneral */
346
347 #ifdef SINIX
348 #ifdef SNI544
349 #define HERALD " Siemens Nixdorf Reliant UNIX V5.44"
350 #else
351 #ifdef SNI543
352 #define HERALD " Siemens Nixdorf Reliant UNIX V5.43"
353 #else
354 #ifdef SNI541
355 #define HERALD " Siemens Nixdorf SINIX V5.41"
356 #else
357 #define HERALD " Siemens Nixdorf SINIX V5.42"
358 #endif /* SNI541 */
359 #endif /* SNI543 */
360 #endif /* SNI544 */
361 #endif /* SINIX */
362
363 #ifdef POWERMAX
364 #define HERALD " Concurrent PowerMAX OS"
365 #endif /* POWERMAX */
366
367 #ifdef DELL_SVR4
368 #define HERALD " Dell System V R4"
369 #endif /* DELL_SVR4 */
370
371 #ifdef NCRMPRAS
372 #define HERALD " NCR MP-RAS"
373 #endif /* NCRMPRAS */
374
375 #ifdef UNIXWARE
376 #define HERALD " UnixWare"
377 #else
378 #ifdef OLD_UNIXWARE
379 #define HERALD " UnixWare"
380 #endif /* OLD_UNIXWARE */
381 #endif /* UNIXWARE */
382
383 #ifdef ICL_SVR4
384 #define HERALD " ICL System V R4 DRS N/X"
385 #endif /* ICL_SVR4 */
386
387 #ifdef FT18
388 #ifdef FT21
389 #define HERALD " Fortune For:Pro 2.1"
390 #else
391 #define HERALD " Fortune For:Pro 1.8"
392 #endif /* FT21 */
393 #endif /* FT18 */
394
395 #ifdef GEMDOS
396 #define HERALD " Atari ST GEM 1.0"
397 #endif /* GEMDOS */
398
399 #ifdef XF68R3V6
400 #define HERALD " Motorola UNIX System V/68 R3V6"
401 #endif /* XF68R3V6 */
402
403 #ifdef XF88R32
404 #define HERALD " Motorola UNIX System V/88 R32"
405 #endif /* XF88R32 */
406
407 #ifdef I386IX
408 #ifdef SVR3JC
409 #define HERALD " Interactive UNIX System V/386 R3.2"
410 #else
411 #define HERALD " Interactive Systems Corp 386/ix"
412 #endif /* SVR3JC */
413 #endif /* I386IX */
414
415 #ifdef IRIX65
416 #define HERALD " Silicon Graphics IRIX 6.5"
417 #else
418 #ifdef IRIX64
419 #define HERALD " Silicon Graphics IRIX 6.4"
420 #else
421 #ifdef IRIX63
422 #define HERALD " Silicon Graphics IRIX 6.3"
423 #else
424 #ifdef IRIX62
425 #define HERALD " Silicon Graphics IRIX 6.2"
426 #else
427 #ifdef IRIX60
428 #define HERALD " Silicon Graphics IRIX 6.0"
429 #else
430 #ifdef IRIX53
431 #define HERALD " Silicon Graphics IRIX 5.3"
432 #else
433 #ifdef IRIX52
434 #define HERALD " Silicon Graphics IRIX 5.2"
435 #else
436 #ifdef IRIX51
437 #define HERALD " Silicon Graphics IRIX 5.1"
438 #else
439 #ifdef IRIX40
440 #define HERALD " Silicon Graphics IRIX 4.0"
441 #endif /* IRIX40 */
442 #endif /* IRIX51 */
443 #endif /* IRIX52 */
444 #endif /* IRIX53 */
445 #endif /* IRIX60 */
446 #endif /* IRIX62 */
447 #endif /* IRIX63 */
448 #endif /* IRIX64 */
449 #endif /* IRIX65 */
450
451 #ifdef ISIII
452 #define HERALD " Interactive Systems Corp System III"
453 #endif /* ISIII */
454
455 #ifdef IX370
456 #define HERALD " IBM IX/370"
457 #endif /* IX370 */
458
459 #ifdef HPUX
460 #ifdef HPUX5
461 #define HERALD " HP-UX 5.00"
462 #else
463 #ifdef HPUX6
464 #define HERALD " HP-UX 6.00"
465 #else
466 #ifdef HPUX7
467 #define HERALD " HP-UX 7.00"
468 #else
469 #ifdef HPUX8
470 #define HERALD " HP-UX 8.00"
471 #else
472 #ifdef HPUX9
473 #define HERALD " HP-UX 9.00"
474 #else
475 #ifdef HPUX1100
476 #define HERALD " HP-UX 11.00"
477 #else
478 #ifdef HPUX10
479 #ifdef HPUX1030
480 #define HERALD " HP-UX 10.30"
481 #else
482 #ifdef HPUX1020
483 #define HERALD " HP-UX 10.20"
484 #else
485 #ifdef HPUX1010
486 #define HERALD " HP-UX 10.10"
487 #else
488 #ifdef HPUX10xx
489 #define HERALD " HP-UX 10.xx"
490 #else
491 #define HERALD " HP-UX 10.00"
492 #endif /* HPUX10XX */
493 #endif /* HPUX1010 */
494 #endif /* HPUX1020 */
495 #endif /* HPUX1030 */
496 #else
497 #define HERALD " HP-UX"
498 #endif /* HPUX10 */
499 #endif /* HPUX1100 */
500 #endif /* HPUX9  */
501 #endif /* HPUX8  */
502 #endif /* HPUX7  */
503 #endif /* HPUX6  */
504 #endif /* HPUX5  */
505 #endif /* HPUX   */
506
507 #ifndef MINIX
508 #ifdef MINIX315
509 #define MINIX
510 #endif  /* MINIX315 */
511 #endif  /* MINIX */
512
513 #ifndef MINIX
514 #ifdef MINIX3
515 #define MINIX
516 #endif  /* MINIX3 */
517 #endif  /* MINIX */
518
519 #ifdef MINIX
520 #ifdef MINIX315
521 #define HERALD " Minix 3.1.5"
522 #ifndef MINIX3
523 #define MINIX3
524 #endif  /* MINIX3 */
525 #endif  /* MINIX315 */
526 #ifdef MINIX3
527 #ifndef MINIX2
528 #define MINIX2
529 #endif  /* MINIX2 */
530 #ifndef HERALD
531 #define HERALD " Minix 3.0"
532 #endif  /* HERALD */
533 #else
534 #ifdef MINIX2
535 #define HERALD " Minix 2.0"
536 #else
537 #define HERALD " Minix 1.0"
538 #endif /* MINIX3 */
539 #endif /* MINIX2 */
540 #endif /* MINIX */
541
542 #ifdef MIPS
543 #define HERALD " MIPS RISC/OS SVR3"
544 #endif /* MIPS */
545
546 #ifdef NEXT
547 #ifdef OPENSTEP42
548 #define HERALD " OPENSTEP 4.2"
549 #else
550 #ifdef NEXT33
551 #define HERALD " NeXTSTEP 3.3"
552 #else
553 #define HERALD " NeXTSTEP"
554 #endif /* NEXT33 */
555 #endif /* OPENSTEP42 */
556 #endif /* NEXT */
557
558 #ifdef OSF
559 #ifdef i386
560 #define HERALD " DECpc OSF/1"
561 #ifdef __GNUC
562 #define OSFPC
563 #endif /* __GNUC */
564 #else  /* Not i386 so Alpha */
565
566 #ifdef TRU64
567
568 #ifdef OSF51B
569 #define HERALD " Compaq Tru64 UNIX 5.1B"
570 #else
571 #ifdef OSF51A
572 #define HERALD " Compaq Tru64 UNIX 5.1A"
573 #else
574 #ifdef OSF50
575 #define HERALD " Compaq Tru64 UNIX 5.0A"
576 #else
577 #ifdef OSF40G
578 #define HERALD " Compaq Tru64 UNIX 4.0G"
579 #else
580 #ifdef OSF40F
581 #define HERALD " Compaq Tru64 UNIX 4.0F"
582 #else
583 #ifdef OSF40E
584 #define HERALD " Compaq Tru64 UNIX 4.0E"
585 #endif /* OSF40E */
586 #endif /* OSF40F */
587 #endif /* OSF40G */
588 #endif /* OSF50 */
589 #endif /* OSF51A */
590 #endif /* OSF51B */
591
592 #else  /* Not TRU64 */
593
594 #ifdef OSF40
595 #define HERALD " Digital UNIX 4.0"
596 #else
597 #ifdef OSF32
598 #define HERALD " Digital UNIX 3.2"
599 #else
600 #define HERALD " DEC OSF/1 Alpha"
601 #endif /* OSF40 */
602 #endif /* OSF32 */
603
604 #endif /* TRU64 */
605 #endif /* i386 */
606 #endif /* OSF */
607
608 #ifdef PCIX
609 #define HERALD " PC/IX"
610 #endif /* PCIX */
611
612 #ifdef sxaE50
613 #define HERALD " PFU SX/A V10/L50"
614 #endif /* sxaE50 */
615
616 #ifdef PROVX1
617 #define HERALD " DEC Professional 300 (Venix 1.0)"
618 #endif /* PROVX1 */
619
620 #ifdef PYRAMID
621 #ifdef SVR4
622 #define HERALD " Pyramid DC/OSx"
623 #else
624 #define HERALD " Pyramid Dual Port OSx"
625 #endif /* SVR4 */
626 #endif /* PYRAMID */
627
628 #ifdef RTAIX
629 #define HERALD " IBM RT PC (AIX 2.2)"
630 #endif /* RTAIX */
631
632 #ifdef RTU
633 #define HERALD " Masscomp/Concurrent RTU"
634 #endif /* RTU */
635
636 #ifdef sony_news
637 #define HERALD " SONY NEWS"
638 #endif /* sony_news */
639
640 #ifdef SOLARIS24
641 #define HERALD " Solaris 2.4"
642 #else
643 #ifdef SOLARIS23
644 #define HERALD " Solaris 2.3"
645 #else
646 #ifdef SOLARIS
647 #define HERALD " Solaris 2.x"
648 #endif /* SOLARIS */
649 #endif /* SOLARIS23 */
650 #endif /* SOLARIS24 */
651
652 #ifdef SUNOS4
653 #ifdef BSD4
654 #ifdef SUNOS41
655 #define HERALD " SunOS 4.1"
656 #else
657 #define HERALD " SunOS 4.0"
658 #endif /* SUNOS41 */
659 #endif /* BSD4 */
660 #endif /* SUNOS4 */
661
662 #ifdef SUN4S5
663 #ifdef HDBUUCP
664 #define HERALD " SunOS 4.1 (SVR3)"
665 #else
666 #define HERALD " SunOS 4.0 (SVR3)"
667 #endif /* HDBUUCP */
668 #endif /* SUN4S5 */
669
670 #ifdef STRATUS
671 #define HERALD " Stratus VOS"
672 #endif /* STRATUS */
673
674 #ifdef TOWER1
675 #define HERALD " NCR Tower 1632 OS 1.02"
676 #endif /* TOWER1 */
677
678 #ifdef TRS16
679 #define HERALD " Tandy 16/6000 Xenix 3.0"
680 #ifndef CKCPU
681 #define CKCPU "mc68000"
682 #endif /* CKCPU */
683 #endif /* TRS16 */
684
685 #ifdef u3b2
686 #ifndef HERALD
687 #ifdef SVR3
688 #define HERALD " AT&T 3B2 System V R3"
689 #else
690 #define HERALD " AT&T 3B2 System V"
691 #endif /* SVR3 */
692 #endif /* HERALD */
693 #endif /* u3b2 */
694
695 #ifdef ultrix
696 #ifdef vax
697 #ifdef ULTRIX3
698 #define HERALD " VAX/ULTRIX 3.0"
699 #else
700 #define HERALD " VAX/ULTRIX"
701 #endif /* ULTRIX3 */
702 #else
703 #ifdef mips
704 #ifdef ULTRIX43
705 #define HERALD " DECstation/ULTRIX 4.3"
706 #else
707 #ifdef ULTRIX44
708 #define HERALD " DECstation/ULTRIX 4.4"
709 #else
710 #ifdef ULTRIX45
711 #define HERALD " DECstation/ULTRIX 4.5"
712 #else
713 #define HERALD " DECstation/ULTRIX"
714 #endif /* ULTRIX45 */
715 #endif /* ULTRIX44 */
716 #endif /* ULTRIX43 */
717 #else
718 #define HERALD " ULTRIX"
719 #endif /* mips */
720 #endif /* vax */
721 #endif /* ultrix */
722
723 #ifdef OXOS
724 #define HERALD " Olivetti X/OS"
725 #endif /* OXOS */
726
727 #ifdef _386BSD
728 #define HERALD " 386BSD"
729 #endif /* _386BSD */
730
731 #ifdef POSIX
732 #ifdef PTX
733 #ifdef PTX4
734 #define HERALD " DYNIX/ptx V4"
735 #else
736 #define HERALD " DYNIX/ptx"
737 #endif /* PTX4 */
738 #else  /* PTX */
739 #ifndef OSF             /* Let OSF -DPOSIX keep previously defined HERALD */
740 #ifdef HERALD
741 #undef HERALD
742 #endif /* HERALD */
743 #endif /* OSF */
744 #ifdef OU8
745 #define HERALD " OpenUNIX 8"
746 #else
747 #ifdef UW7
748 #define HERALD " Unixware 7"
749 #else
750 #ifdef QNX
751 #ifdef QNX16
752 #define HERALD " QNX 16-bit"
753 #else
754 #define HERALD " QNX 32-bit"
755 #endif /* QNX16 */
756 #else
757 #ifdef NEUTRINO
758 #define HERALD " QNX Neutrino 2"
759 #else  /* NEUTRINO */
760 #ifdef QNX6
761 #define HERALD " QNX6"
762 #else  /* QNX6 */
763 #ifdef __linux__
764 #ifdef ZSL5500
765 #define HERALD " Sharp Zaurus SL-5500"
766 #else
767 #ifdef RH90
768 #define HERALD " Red Hat Linux 9.0"
769 #else
770 #ifdef RH80
771 #define HERALD " Red Hat Linux 8.0"
772 #else
773 #ifdef RH73
774 #define HERALD " Red Hat Linux 7.3"
775 #else
776 #ifdef RH72
777 #define HERALD " Red Hat Linux 7.2"
778 #else
779 #ifdef RH71
780 #define HERALD " Red Hat Linux 7.1"
781 #else
782 #define HERALD " Linux"
783 #endif /* RH71 */
784 #endif /* RH72 */
785 #endif /* RH73 */
786 #endif /* RH80 */
787 #endif /* RH90 */
788 #endif /* ZSL5500 */
789 #else  /* __linux__ */
790 #ifdef _386BSD                          /* 386BSD Jolix */
791 #define HERALD " 386BSD"
792 #else
793 #ifdef LYNXOS                           /* Lynx OS 2.2 */
794 #define HERALD " Lynx OS"
795 #else
796 #ifdef Plan9
797 #define HERALD " Plan 9 from Bell Labs"
798 #else
799 #ifdef SOLARIS11
800 #define HERALD " Solaris 11"
801 #else
802 #ifdef SOLARIS10
803 #define HERALD " Solaris 10"
804 #else
805 #ifdef SOLARIS9
806 #define HERALD " Solaris 9"
807 #else
808 #ifdef SOLARIS8
809 #define HERALD " Solaris 8"
810 #else
811 #ifdef SOLARIS7
812 #define HERALD " Solaris 7"
813 #else
814 #ifdef SOLARIS26
815 #define HERALD " Solaris 2.6"
816 #else
817 #ifdef SOLARIS25
818 #define HERALD " Solaris 2.5"
819 #else
820 #ifdef SOLARIS24
821 #define HERALD " Solaris 2.4"
822 #else
823 #ifdef SOLARIS
824 #define HERALD " Solaris 2.x"
825 #endif /* SOLARIS */
826 #endif /* SOLARIS24 */
827 #endif /* SOLARIS25 */
828 #endif /* SOLARIS26 */
829 #endif /* SOLARIS7 */
830 #endif /* SOLARIS8 */
831 #endif /* SOLARIS9 */
832 #endif /* SOLARIS10 */
833 #endif /* SOLARIS11 */
834 #endif /* Plan9 */
835 #endif /* LYNXOS */
836 #endif /* _386BSD */
837 #endif /* __linux__ */
838 #endif /* QNX6 */
839 #endif /* NEUTRINO */
840 #endif /* QNX */
841 #endif /* UW7 */
842 #endif /* OU8 */
843 #endif /* PTX */
844 #endif /* POSIX */
845
846 #ifdef UTS24
847 #define HERALD " Amdahl UTS 2.4"
848 #endif /* UTS24 */
849
850 #ifdef UTSV
851 #define HERALD " Amdahl UTS V"
852 #endif /* UTSV */
853
854 #ifdef VXVE
855 #define HERALD " CDC VX/VE 5.2.1 System V"
856 #endif /* VXVE */
857
858 #ifdef SCO234
859 #ifdef HERALD
860 #undef HERALD
861 #endif /* HERALD */
862 #define HERALD " SCO XENIX 2.3.4"
863 #else
864 #ifdef CK_SCO32V4
865 #ifdef HERALD
866 #undef HERALD
867 #endif /* HERALD */
868 #ifdef ODT30
869 #define HERALD " SCO ODT 3.0"
870 #else
871 #define HERALD " SCO UNIX/386 V4"
872 #endif /* ODT30 */
873 #else
874 #ifdef CK_SCOV5
875 #ifdef HERALD
876 #undef HERALD
877 #endif /* HERALD */
878 #ifdef SCO_OSR507
879 #define HERALD " SCO OpenServer R5.0.7"
880 #else
881 #ifdef SCO_OSR506A
882 #define HERALD " SCO OpenServer R5.0.6a"
883 #else
884 #ifdef SCO_OSR506
885 #define HERALD " SCO OpenServer R5.0.6"
886 #else
887 #ifdef SCO_OSR505
888 #define HERALD " SCO OpenServer R5.0.5"
889 #else
890 #ifdef SCO_OSR504
891 #define HERALD " SCO OpenServer R5.0.4"
892 #else
893 #ifdef SCO_OSR502
894 #define HERALD " SCO OpenServer R5.0.2"
895 #else
896 #define HERALD " SCO OpenServer R5.0"
897 #endif /* SCO_OSR502 */
898 #endif /* SCO_OSR504 */
899 #endif /* SCO_OSR505 */
900 #endif /* SCO_OSR506 */
901 #endif /* SCO_OSR506A */
902 #endif /* SCO_OSR507 */
903 #else
904 #ifdef XENIX
905 #ifdef HERALD
906 #undef HERALD
907 #endif /* HERALD */
908 #ifdef M_UNIX
909 #define HERALD " SCO UNIX/386"
910 #else
911 #ifdef M_I386
912 #define HERALD " Xenix/386"
913 #else
914 #ifdef M_I286
915 #define HERALD " Xenix/286"
916 #else
917 #define HERALD " Xenix"
918 #endif /* M_I286 */
919 #endif /* M_I386 */
920 #endif /* M_UNIX */
921 #endif /* XENIX  */
922 #endif /* CK_SCOV5 */
923 #endif /* CK_SCOV32V4 */
924 #endif /* SCO234 */
925
926 #ifdef ZILOG
927 #define HERALD " Zilog S8000 Zeus 3.21+"
928 #endif /* ZILOG */
929
930 #ifdef UTEK
931 #define HERALD " UTek"
932 #endif /* UTEK */
933
934 /* Catch-alls for anything not defined explicitly above */
935
936 #ifndef HERALD
937 #ifdef SVR4
938 #ifdef i386
939 #define HERALD " AT&T System V/386 R4"
940 #else
941 #ifdef AMIX
942 #define HERALD " Commodore Amiga System V/m68k R4"
943 #else
944 #define HERALD " AT&T System V R4"
945 #endif /* AMIX */
946 #endif /* i386 */
947 #else
948 #ifdef SVR3
949 #define HERALD " AT&T System V R3"
950 #else
951 #ifdef ATTSV
952 #define HERALD " AT&T System III / System V"
953 #else
954 #ifdef BSD43
955 #ifdef pdp11
956 #define HERALD " 2.10 BSD PDP-11"
957 #else
958 #ifdef vax
959 #define HERALD " 4.3 BSD VAX"
960 #else
961 #define HERALD " 4.3 BSD"
962 #endif /* vax */
963 #endif /* pdp11 */
964 #else
965 #ifdef BSD4
966 #ifdef vax
967 #define HERALD " 4.2 BSD VAX"
968 #else
969 #define HERALD " 4.2 BSD"
970 #endif /* vax */
971 #else
972 #ifdef V7
973 #define HERALD " UNIX Version 7"
974 #endif /* V7 */
975 #endif /* BSD4 */
976 #endif /* BSD43 */
977 #endif /* ATTSV */
978 #endif /* SVR3 */
979 #endif /* SVR4 */
980 #endif /* HERALD */
981 #endif /* HERALD */
982
983 #ifdef OS2
984 #ifdef HERALD
985 #undef HERALD
986 #endif /* HERALD */
987 #ifdef NT
988 #define HERALD " 32-bit Windows"
989 #else /* NT */
990 #define HERALD " 32-bit OS/2"
991 #endif /* NT */
992 #endif /* OS/2 */
993
994 #ifndef HERALD
995 #define HERALD " Unknown Version"
996 #endif /* HERALD */
997
998 /* Hardware type */
999
1000 #ifdef vax                              /* DEC VAX */
1001 #ifndef CKCPU
1002 #define CKCPU "vax"
1003 #endif /* CKCPU */
1004 #endif /*  vax */
1005 #ifdef pdp11                            /* DEC PDP-11 */
1006 #ifndef CKCPU
1007 #define CKCPU "pdp11"
1008 #endif /* CKCPU */
1009 #endif /* pdp11 */
1010
1011 #ifdef __ALPHA                          /* DEC Alpha */
1012 #ifndef CKCPU
1013 #define CKCPU "Alpha"
1014 #endif /* CKCPU */
1015 #endif /* __ALPHA */
1016
1017 #ifdef __alpha                          /* OSF/1 uses lowercase... */
1018 #ifndef CKCPU
1019 #define CKCPU "Alpha"
1020 #endif /* CKCPU */
1021 #endif /* __alpha */
1022
1023 #ifdef DGUX                             /* Override Motorola 88k assumption */
1024 #ifndef CKCPU                           /* New AViiONs are Intel based... */
1025 #ifdef i586
1026 #define CKCPU "i586"
1027 #else
1028 #ifdef i486
1029 #define CKCPU "i486"
1030 #else
1031 #ifdef i386
1032 #define CKCPU "i386"
1033 #endif /* i386 */
1034 #endif /* i486 */
1035 #endif /* i586 */
1036 #endif /* CKCPU */
1037 #endif /* DGUX */
1038
1039 /* HP 9000 */
1040
1041 #ifdef __hp9000s700
1042 #ifndef CKCPU
1043 #define CKCPU "hp9000s700"
1044 #endif /* CKCPU */
1045 #endif /* __hp9000s700 */
1046
1047 #ifdef __hp9000s800
1048 #ifndef CKCPU
1049 #define CKCPU "hp9000s800"
1050 #endif /* CKCPU */
1051 #endif /* __hp9000s800 */
1052
1053 #ifdef __hp9000s500
1054 #ifndef CKCPU
1055 #define CKCPU "hp9000s500"
1056 #endif /* CKCPU */
1057 #endif /* __hp9000s500 */
1058
1059 #ifdef __hp9000s400
1060 #ifndef CKCPU
1061 #define CKCPU "hp9000s400"
1062 #endif /* CKCPU */
1063 #endif /* __hp9000s400 */
1064
1065 #ifdef __hp9000s300
1066 #ifndef CKCPU
1067 #define CKCPU "hp9000s300"
1068 #endif /* CKCPU */
1069 #endif /* __hp9000s300 */
1070
1071 #ifdef __hp9000s200
1072 #ifndef CKCPU
1073 #define CKCPU "hp9000s200"
1074 #endif /* CKCPU */
1075 #endif /* __hp9000s200 */
1076
1077 #ifdef m88000                           /* Motorola 88000 */
1078 #ifndef CKCPU
1079 #define CKCPU "mc88000"
1080 #endif /* CKCPU */
1081 #endif /* m88000 */
1082 #ifdef __using_M88KBCS                  /* DG symbol for Motorola 88000 */
1083 #ifndef CKCPU
1084 #define CKCPU "mc88000"
1085 #endif /* CKCPU */
1086 #endif /* __using_M88KBCS */
1087 #ifdef m88k                             /* Motorola symbol for 88000 */
1088 #ifndef CKCPU
1089 #define CKCPU "mc88000"
1090 #endif /* CKCPU */
1091 #endif /* m88k */
1092 #ifdef mc68040                          /* Motorola 68040 */
1093 #ifndef CKCPU
1094 #define CKCPU "mc68040"
1095 #endif /* CKCPU */
1096 #endif /* mc68040 */
1097 #ifdef mc68030                          /* Motorola 68030 */
1098 #ifndef CKCPU
1099 #define CKCPU "mc68030"
1100 #endif /* CKCPU */
1101 #endif /* mc68030 */
1102 #ifdef mc68020                          /* Motorola 68020 */
1103 #ifndef CKCPU
1104 #define CKCPU "mc68020"
1105 #endif /* CKCPU */
1106 #endif /* mc68020 */
1107 #ifdef mc68010                          /* Motorola 68010 */
1108 #ifndef CKCPU
1109 #define CKCPU "mc68010"
1110 #endif /* CKCPU */
1111 #endif /* mc68010 */
1112 #ifdef mc68000                          /* Motorola 68000 */
1113 #ifndef CKCPU
1114 #define CKCPU "mc68000"
1115 #endif /* CKCPU */
1116 #endif /* mc68000 */
1117 #ifdef mc68k                            /* Ditto (used by DIAB DS90) */
1118 #ifndef CKCPU
1119 #define CKCPU "mc68000"
1120 #endif /* CKCPU */
1121 #endif /* mc68k */
1122 #ifdef m68                              /* Ditto */
1123 #ifndef CKCPU
1124 #define CKCPU "mc68000"
1125 #endif /* CKCPU */
1126 #endif /* m68 */
1127 #ifdef m68k                             /* Ditto */
1128 #ifndef CKCPU
1129 #define CKCPU "mc68000"
1130 #endif /* CKCPU */
1131 #endif /* m68k */
1132
1133 #ifdef ia64                             /* IA64 / Itanium */
1134 #ifndef CKCPU
1135 #define CKCPU "ia64"
1136 #endif /* CKCPU */
1137 #endif /* i686 */
1138
1139 #ifdef i686                             /* Intel 80686 */
1140 #ifndef CKCPU
1141 #define CKCPU "i686"
1142 #endif /* CKCPU */
1143 #endif /* i686 */
1144
1145 #ifdef i586                             /* Intel 80586 */
1146 #ifndef CKCPU
1147 #define CKCPU "i586"
1148 #endif /* CKCPU */
1149 #endif /* i586 */
1150
1151 #ifdef i486                             /* Intel 80486 */
1152 #ifndef CKCPU
1153 #define CKCPU "i486"
1154 #endif /* CKCPU */
1155 #endif /* i80486 */
1156 #ifdef i386                             /* Intel 80386 */
1157 #ifndef CKCPU
1158 #define CKCPU "i386"
1159 #endif /* CKCPU */
1160 #endif /* i80386 */
1161 #ifdef i286                             /* Intel 80286 */
1162 #ifndef CKCPU
1163 #define CKCPU "i286"
1164 #endif /* CKCPU */
1165 #endif /* i286 */
1166 #ifdef i186                             /* Intel 80186 */
1167 #ifndef CKCPU
1168 #define CKCPU "i186"
1169 #endif /* CKCPU */
1170 #endif /* i186 */
1171 #ifdef M_I586                           /* Intel 80586 */
1172 #ifndef CKCPU
1173 #define CKCPU "i586"
1174 #endif /* CKCPU */
1175 #endif /* M_I586 */
1176 #ifdef M_I486                           /* Intel 80486 */
1177 #ifndef CKCPU
1178 #define CKCPU "i486"
1179 #endif /* CKCPU */
1180 #endif /* M_I486 */
1181 #ifdef _M_I386                          /* Intel 80386 */
1182 #ifndef CKCPU
1183 #define CKCPU "i386"
1184 #endif /* CKCPU */
1185 #endif /* _M_I386 */
1186 #ifdef M_I286                           /* Intel 80286 */
1187 #ifndef CKCPU
1188 #define CKCPU "i286"
1189 #endif /* CKCPU */
1190 #endif /* M_I286 */
1191 #ifdef M_I86                            /* Intel 80x86 */
1192 #ifndef CKCPU
1193 #define CKCPU "ix86"
1194 #endif /* CKCPU */
1195 #endif /* M_I86 */
1196 #ifdef sparc                            /* SUN SPARC */
1197 #ifndef CKCPU
1198 #define CKCPU "sparc"
1199 #endif /* CKCPU */
1200 #endif /* sparc */
1201 #ifdef mips                             /* MIPS RISC processor */
1202 #ifndef CKCPU
1203 #define CKCPU "mips"
1204 #endif /* CKCPU */
1205 #endif /* mips */
1206 #ifdef _IBMR2                           /* IBM RS/6000 */
1207 #ifndef CKCPU                           /* (what do they call the chip?) */
1208 #define CKCPU "rs6000"
1209 #endif /* CKCPU */
1210 #endif /* rs6000 */
1211 #ifdef u3b5                             /* WE32000 MAC-32, AT&T 3Bx */
1212 #ifndef CKCPU
1213 #define CKCPU "u3b5"
1214 #endif /* CKCPU */
1215 #endif /* u3b5 */
1216 #ifdef n3b
1217 #ifndef CKCPU
1218 #define CKCPU "n3b"
1219 #endif /* CKCPU */
1220 #endif /* n3b */
1221 #ifdef u3b
1222 #ifndef CKCPU
1223 #define CKCPU "u3b"
1224 #endif /* CKCPU */
1225 #endif /* u3b */
1226 #ifdef n16                              /* Encore Multimax */
1227 #ifndef CKCPU
1228 #define CKCPU "n16"
1229 #endif /* CKCPU */
1230 #endif /* n16 */
1231 #ifdef u370                             /* IBM 370 */
1232 #ifndef CKCPU
1233 #define CKCPU "u370"
1234 #endif /* CKCPU */
1235 #endif /* u370 */
1236 #ifdef MAC                              /* Macintosh catch-all */
1237 #ifndef CKCPU
1238 #define CKCPU "mc68000"
1239 #endif /* CKCPU */
1240 #endif /* MAC */
1241
1242 #ifdef STRATUS
1243 #ifndef CKCPU
1244 #ifdef __I860__
1245 #define CKCPU "I860 Family"
1246 #else
1247 #ifdef __MC68K__
1248 #define CKCPU "MC680x0 Family"
1249 #else
1250 #define CKCPU "Stratus unknown processor"
1251 #endif /* __MC68K__ */
1252 #endif /* __I860__ */
1253 #endif /* CKCPU */
1254 #endif /* STRATUS */
1255
1256 #ifdef COMMENT
1257 #ifndef CKCPU                           /* All others */
1258 #define CKCPU "unknown"
1259 #endif /* CKCPU */
1260 #endif /* COMMENT */
1261
1262 #endif /* CKUVER_H */