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