]> git.sur5r.net Git - openldap/blob - build/config.sub
90348ce971e1fe965471730f5e14aca8a3dc39aa
[openldap] / build / config.sub
1 #! /bin/sh
2 # Configuration validation subroutine script.
3 #   Copyright 1998-2005 The OpenLDAP Foundation.
4 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
5 #   2000, 2001, 2002 Free Software Foundation, Inc.
6
7 timestamp='2002-09-05 (OpenLDAP)'
8 # $OpenLDAP$
9
10 # This file is (in principle) common to ALL GNU software.
11 # The presence of a machine in this file suggests that SOME GNU software
12 # can handle that machine.  It does not imply ALL GNU software can.
13 #
14 # This file is free software; you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation; either version 2 of the License, or
17 # (at your option) any later version.
18 #
19 # This program is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 # GNU General Public License for more details.
23 #
24 # You should have received a copy of the GNU General Public License
25 # along with this program; if not, write to the Free Software
26 # Foundation, Inc., 59 Temple Place - Suite 330,
27 # Boston, MA 02111-1307, USA.
28
29 # As a special exception to the GNU General Public License, if you
30 # distribute this file as part of a program that contains a
31 # configuration script generated by Autoconf, you may include it under
32 # the same distribution terms that you use for the rest of that program.
33
34 # This file is distributed with OpenLDAP Software, which contains a
35 # configuration script generated by Autoconf, and is distributable
36 # under the same distributions terms as OpenLDAP inself.
37
38 ## Copyright 1998-2005 The OpenLDAP Foundation.
39 ## All rights reserved.
40 ##
41 ## Redistribution and use in source and binary forms, with or without
42 ## modification, are permitted only as authorized by the OpenLDAP
43 ## Public License.
44 ##
45 ## A copy of this license is available in the file LICENSE in the
46 ## top-level directory of the distribution or, alternatively, at
47 ## <http://www.OpenLDAP.org/license.html>.
48
49 # Please send patches to <config-patches@gnu.org>.  Submit a context
50 # diff and a properly formatted ChangeLog entry.
51 #
52 # Configuration subroutine to validate and canonicalize a configuration type.
53 # Supply the specified configuration type as an argument.
54 # If it is invalid, we print an error message on stderr and exit with code 1.
55 # Otherwise, we print the canonical config type on stdout and succeed.
56
57 # This file is supposed to be the same for all GNU packages
58 # and recognize all the CPU types, system types and aliases
59 # that are meaningful with *any* GNU software.
60 # Each package is responsible for reporting which valid configurations
61 # it does not support.  The user should be able to distinguish
62 # a failure to support a valid configuration from a meaningless
63 # configuration.
64
65 # The goal of this file is to map all the various variations of a given
66 # machine specification into a single specification in the form:
67 #       CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
68 # or in some cases, the newer four-part form:
69 #       CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
70 # It is wrong to echo any other type of specification.
71
72 me=`echo "$0" | sed -e 's,.*/,,'`
73
74 usage="\
75 Usage: $0 [OPTION] CPU-MFR-OPSYS
76        $0 [OPTION] ALIAS
77
78 Canonicalize a configuration name.
79
80 Operation modes:
81   -h, --help         print this help, then exit
82   -t, --time-stamp   print date of last modification, then exit
83   -v, --version      print version number, then exit
84
85 Report bugs and patches to <config-patches@gnu.org>."
86
87 version="\
88 GNU config.sub ($timestamp)
89
90 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
91 Free Software Foundation, Inc.
92
93 This is free software; see the source for copying conditions.  There is NO
94 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
95
96 help="
97 Try \`$me --help' for more information."
98
99 # Parse command line
100 while test $# -gt 0 ; do
101   case $1 in
102     --time-stamp | --time* | -t )
103        echo "$timestamp" ; exit 0 ;;
104     --version | -v )
105        echo "$version" ; exit 0 ;;
106     --help | --h* | -h )
107        echo "$usage"; exit 0 ;;
108     -- )     # Stop option processing
109        shift; break ;;
110     - ) # Use stdin as input.
111        break ;;
112     -* )
113        echo "$me: invalid option $1$help"
114        exit 1 ;;
115
116     *local*)
117        # First pass through any local machine types.
118        echo $1
119        exit 0;;
120
121     * )
122        break ;;
123   esac
124 done
125
126 case $# in
127  0) echo "$me: missing argument$help" >&2
128     exit 1;;
129  1) ;;
130  *) echo "$me: too many arguments$help" >&2
131     exit 1;;
132 esac
133
134 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
135 # Here we must recognize all the valid KERNEL-OS combinations.
136 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
137 case $maybe_os in
138   nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
139     os=-$maybe_os
140     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
141     ;;
142   *)
143     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
144     if [ $basic_machine != $1 ]
145     then os=`echo $1 | sed 's/.*-/-/'`
146     else os=; fi
147     ;;
148 esac
149
150 ### Let's recognize common machines as not being operating systems so
151 ### that things like config.sub decstation-3100 work.  We also
152 ### recognize some manufacturers as not being operating systems, so we
153 ### can provide default operating systems below.
154 case $os in
155         -sun*os*)
156                 # Prevent following clause from handling this invalid input.
157                 ;;
158         -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
159         -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
160         -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
161         -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
162         -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
163         -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
164         -apple | -axis)
165                 os=
166                 basic_machine=$1
167                 ;;
168         -sim | -cisco | -oki | -wec | -winbond)
169                 os=
170                 basic_machine=$1
171                 ;;
172         -scout)
173                 ;;
174         -wrs)
175                 os=-vxworks
176                 basic_machine=$1
177                 ;;
178         -chorusos*)
179                 os=-chorusos
180                 basic_machine=$1
181                 ;;
182         -chorusrdb)
183                 os=-chorusrdb
184                 basic_machine=$1
185                 ;;
186         -hiux*)
187                 os=-hiuxwe2
188                 ;;
189         -sco5)
190                 os=-sco3.2v5
191                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
192                 ;;
193         -sco4)
194                 os=-sco3.2v4
195                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
196                 ;;
197         -sco3.2.[4-9]*)
198                 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
199                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
200                 ;;
201         -sco3.2v[4-9]*)
202                 # Don't forget version if it is 3.2v4 or newer.
203                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
204                 ;;
205         -sco*)
206                 os=-sco3.2v2
207                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
208                 ;;
209         -udk*)
210                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
211                 ;;
212         -isc)
213                 os=-isc2.2
214                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
215                 ;;
216         -clix*)
217                 basic_machine=clipper-intergraph
218                 ;;
219         -isc*)
220                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
221                 ;;
222         -lynx*)
223                 os=-lynxos
224                 ;;
225         -ptx*)
226                 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
227                 ;;
228         -windowsnt*)
229                 os=`echo $os | sed -e 's/windowsnt/winnt/'`
230                 ;;
231         -psos*)
232                 os=-psos
233                 ;;
234         -mint | -mint[0-9]*)
235                 basic_machine=m68k-atari
236                 os=-mint
237                 ;;
238 esac
239
240 # Decode aliases for certain CPU-COMPANY combinations.
241 case $basic_machine in
242         # Recognize the basic CPU types without company name.
243         # Some are omitted here because they have special meanings below.
244         1750a | 580 \
245         | a29k \
246         | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
247         | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
248         | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
249         | clipper \
250         | d10v | d30v | dlx | dsp16xx \
251         | fr30 | frv \
252         | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
253         | i370 | i860 | i960 | ia64 \
254         | ip2k \
255         | m32r | m68000 | m68k | m88k | mcore \
256         | mips | mipsbe | mipseb | mipsel | mipsle \
257         | mips16 \
258         | mips64 | mips64el \
259         | mips64vr | mips64vrel \
260         | mips64orion | mips64orionel \
261         | mips64vr4100 | mips64vr4100el \
262         | mips64vr4300 | mips64vr4300el \
263         | mips64vr5000 | mips64vr5000el \
264         | mipsisa32 | mipsisa32el \
265         | mipsisa64 | mipsisa64el \
266         | mipsisa64sb1 | mipsisa64sb1el \
267         | mipsisa64sr71k | mipsisa64sr71kel \
268         | mipstx39 | mipstx39el \
269         | mn10200 | mn10300 \
270         | ns16k | ns32k \
271         | openrisc | or32 \
272         | pdp10 | pdp11 | pj | pjl \
273         | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
274         | pyramid \
275         | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
276         | sh64 | sh64le \
277         | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
278         | strongarm \
279         | tahoe | thumb | tic80 | tron \
280         | v850 | v850e \
281         | we32k \
282         | x86 | xscale | xstormy16 | xtensa \
283         | z8k)
284                 basic_machine=$basic_machine-unknown
285                 ;;
286         m6811 | m68hc11 | m6812 | m68hc12)
287                 # Motorola 68HC11/12.
288                 basic_machine=$basic_machine-unknown
289                 os=-none
290                 ;;
291         m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
292                 ;;
293
294         # We use `pc' rather than `unknown'
295         # because (1) that's what they normally are, and
296         # (2) the word "unknown" tends to confuse beginning users.
297         i*86 | x86_64)
298           basic_machine=$basic_machine-pc
299           ;;
300         # Object if more than one company name word.
301         *-*-*)
302                 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
303                 exit 1
304                 ;;
305         # Recognize the basic CPU types with company name.
306         580-* \
307         | a29k-* \
308         | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
309         | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
310         | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
311         | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
312         | avr-* \
313         | bs2000-* \
314         | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
315         | clipper-* | cydra-* \
316         | d10v-* | d30v-* | dlx-* \
317         | elxsi-* \
318         | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
319         | h8300-* | h8500-* \
320         | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
321         | i*86-* | i860-* | i960-* | ia64-* \
322         | ip2k-* \
323         | m32r-* \
324         | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
325         | m88110-* | m88k-* | mcore-* \
326         | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
327         | mips16-* \
328         | mips64-* | mips64el-* \
329         | mips64vr-* | mips64vrel-* \
330         | mips64orion-* | mips64orionel-* \
331         | mips64vr4100-* | mips64vr4100el-* \
332         | mips64vr4300-* | mips64vr4300el-* \
333         | mips64vr5000-* | mips64vr5000el-* \
334         | mipsisa32-* | mipsisa32el-* \
335         | mipsisa64-* | mipsisa64el-* \
336         | mipsisa64sb1-* | mipsisa64sb1el-* \
337         | mipsisa64sr71k-* | mipsisa64sr71kel-* \
338         | mipstx39 | mipstx39el \
339         | none-* | np1-* | ns16k-* | ns32k-* \
340         | orion-* \
341         | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
342         | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
343         | pyramid-* \
344         | romp-* | rs6000-* \
345         | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
346         | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
347         | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
348         | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
349         | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
350         | v850-* | v850e-* | vax-* \
351         | we32k-* \
352         | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
353         | xtensa-* \
354         | ymp-* \
355         | z8k-*)
356                 ;;
357         # Recognize the various machine names and aliases which stand
358         # for a CPU type and a company and sometimes even an OS.
359         386bsd)
360                 basic_machine=i386-unknown
361                 os=-bsd
362                 ;;
363         3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
364                 basic_machine=m68000-att
365                 ;;
366         3b*)
367                 basic_machine=we32k-att
368                 ;;
369         a29khif)
370                 basic_machine=a29k-amd
371                 os=-udi
372                 ;;
373         adobe68k)
374                 basic_machine=m68010-adobe
375                 os=-scout
376                 ;;
377         alliant | fx80)
378                 basic_machine=fx80-alliant
379                 ;;
380         altos | altos3068)
381                 basic_machine=m68k-altos
382                 ;;
383         am29k)
384                 basic_machine=a29k-none
385                 os=-bsd
386                 ;;
387         amdahl)
388                 basic_machine=580-amdahl
389                 os=-sysv
390                 ;;
391         amiga | amiga-*)
392                 basic_machine=m68k-unknown
393                 ;;
394         amigaos | amigados)
395                 basic_machine=m68k-unknown
396                 os=-amigaos
397                 ;;
398         amigaunix | amix)
399                 basic_machine=m68k-unknown
400                 os=-sysv4
401                 ;;
402         apollo68)
403                 basic_machine=m68k-apollo
404                 os=-sysv
405                 ;;
406         apollo68bsd)
407                 basic_machine=m68k-apollo
408                 os=-bsd
409                 ;;
410         aux)
411                 basic_machine=m68k-apple
412                 os=-aux
413                 ;;
414         balance)
415                 basic_machine=ns32k-sequent
416                 os=-dynix
417                 ;;
418         c90)
419                 basic_machine=c90-cray
420                 os=-unicos
421                 ;;
422         convex-c1)
423                 basic_machine=c1-convex
424                 os=-bsd
425                 ;;
426         convex-c2)
427                 basic_machine=c2-convex
428                 os=-bsd
429                 ;;
430         convex-c32)
431                 basic_machine=c32-convex
432                 os=-bsd
433                 ;;
434         convex-c34)
435                 basic_machine=c34-convex
436                 os=-bsd
437                 ;;
438         convex-c38)
439                 basic_machine=c38-convex
440                 os=-bsd
441                 ;;
442         cray | j90)
443                 basic_machine=j90-cray
444                 os=-unicos
445                 ;;
446         crds | unos)
447                 basic_machine=m68k-crds
448                 ;;
449         cris | cris-* | etrax*)
450                 basic_machine=cris-axis
451                 ;;
452         da30 | da30-*)
453                 basic_machine=m68k-da30
454                 ;;
455         decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
456                 basic_machine=mips-dec
457                 ;;
458         decsystem10* | dec10*)
459                 basic_machine=pdp10-dec
460                 os=-tops10
461                 ;;
462         decsystem20* | dec20*)
463                 basic_machine=pdp10-dec
464                 os=-tops20
465                 ;;
466         delta | 3300 | motorola-3300 | motorola-delta \
467               | 3300-motorola | delta-motorola)
468                 basic_machine=m68k-motorola
469                 ;;
470         delta88)
471                 basic_machine=m88k-motorola
472                 os=-sysv3
473                 ;;
474         dpx20 | dpx20-*)
475                 basic_machine=rs6000-bull
476                 os=-bosx
477                 ;;
478         dpx2* | dpx2*-bull)
479                 basic_machine=m68k-bull
480                 os=-sysv3
481                 ;;
482         ebmon29k)
483                 basic_machine=a29k-amd
484                 os=-ebmon
485                 ;;
486         elxsi)
487                 basic_machine=elxsi-elxsi
488                 os=-bsd
489                 ;;
490         encore | umax | mmax)
491                 basic_machine=ns32k-encore
492                 ;;
493         es1800 | OSE68k | ose68k | ose | OSE)
494                 basic_machine=m68k-ericsson
495                 os=-ose
496                 ;;
497         fx2800)
498                 basic_machine=i860-alliant
499                 ;;
500         genix)
501                 basic_machine=ns32k-ns
502                 ;;
503         gmicro)
504                 basic_machine=tron-gmicro
505                 os=-sysv
506                 ;;
507         go32)
508                 basic_machine=i386-pc
509                 os=-go32
510                 ;;
511         h3050r* | hiux*)
512                 basic_machine=hppa1.1-hitachi
513                 os=-hiuxwe2
514                 ;;
515         h8300hms)
516                 basic_machine=h8300-hitachi
517                 os=-hms
518                 ;;
519         h8300xray)
520                 basic_machine=h8300-hitachi
521                 os=-xray
522                 ;;
523         h8500hms)
524                 basic_machine=h8500-hitachi
525                 os=-hms
526                 ;;
527         harris)
528                 basic_machine=m88k-harris
529                 os=-sysv3
530                 ;;
531         hp300-*)
532                 basic_machine=m68k-hp
533                 ;;
534         hp300bsd)
535                 basic_machine=m68k-hp
536                 os=-bsd
537                 ;;
538         hp300hpux)
539                 basic_machine=m68k-hp
540                 os=-hpux
541                 ;;
542         hp3k9[0-9][0-9] | hp9[0-9][0-9])
543                 basic_machine=hppa1.0-hp
544                 ;;
545         hp9k2[0-9][0-9] | hp9k31[0-9])
546                 basic_machine=m68000-hp
547                 ;;
548         hp9k3[2-9][0-9])
549                 basic_machine=m68k-hp
550                 ;;
551         hp9k6[0-9][0-9] | hp6[0-9][0-9])
552                 basic_machine=hppa1.0-hp
553                 ;;
554         hp9k7[0-79][0-9] | hp7[0-79][0-9])
555                 basic_machine=hppa1.1-hp
556                 ;;
557         hp9k78[0-9] | hp78[0-9])
558                 # FIXME: really hppa2.0-hp
559                 basic_machine=hppa1.1-hp
560                 ;;
561         hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
562                 # FIXME: really hppa2.0-hp
563                 basic_machine=hppa1.1-hp
564                 ;;
565         hp9k8[0-9][13679] | hp8[0-9][13679])
566                 basic_machine=hppa1.1-hp
567                 ;;
568         hp9k8[0-9][0-9] | hp8[0-9][0-9])
569                 basic_machine=hppa1.0-hp
570                 ;;
571         hppa-next)
572                 os=-nextstep3
573                 ;;
574         hppaosf)
575                 basic_machine=hppa1.1-hp
576                 os=-osf
577                 ;;
578         hppro)
579                 basic_machine=hppa1.1-hp
580                 os=-proelf
581                 ;;
582         i370-ibm* | ibm*)
583                 basic_machine=i370-ibm
584                 ;;
585 # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
586         i*86v32)
587                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
588                 os=-sysv32
589                 ;;
590         i*86v4*)
591                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
592                 os=-sysv4
593                 ;;
594         i*86v)
595                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
596                 os=-sysv
597                 ;;
598         i*86sol2)
599                 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
600                 os=-solaris2
601                 ;;
602         i386mach)
603                 basic_machine=i386-mach
604                 os=-mach
605                 ;;
606         i386-vsta | vsta)
607                 basic_machine=i386-unknown
608                 os=-vsta
609                 ;;
610         iris | iris4d)
611                 basic_machine=mips-sgi
612                 case $os in
613                     -irix*)
614                         ;;
615                     *)
616                         os=-irix4
617                         ;;
618                 esac
619                 ;;
620         isi68 | isi)
621                 basic_machine=m68k-isi
622                 os=-sysv
623                 ;;
624         m88k-omron*)
625                 basic_machine=m88k-omron
626                 ;;
627         magnum | m3230)
628                 basic_machine=mips-mips
629                 os=-sysv
630                 ;;
631         merlin)
632                 basic_machine=ns32k-utek
633                 os=-sysv
634                 ;;
635         mingw32)
636                 basic_machine=i386-pc
637                 os=-mingw32
638                 ;;
639         miniframe)
640                 basic_machine=m68000-convergent
641                 ;;
642         *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
643                 basic_machine=m68k-atari
644                 os=-mint
645                 ;;
646         mips3*-*)
647                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
648                 ;;
649         mips3*)
650                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
651                 ;;
652         mmix*)
653                 basic_machine=mmix-knuth
654                 os=-mmixware
655                 ;;
656         monitor)
657                 basic_machine=m68k-rom68k
658                 os=-coff
659                 ;;
660         morphos)
661                 basic_machine=powerpc-unknown
662                 os=-morphos
663                 ;;
664         msdos)
665                 basic_machine=i386-pc
666                 os=-msdos
667                 ;;
668         mvs)
669                 basic_machine=i370-ibm
670                 os=-mvs
671                 ;;
672         ncr3000)
673                 basic_machine=i486-ncr
674                 os=-sysv4
675                 ;;
676         netbsd386)
677                 basic_machine=i386-unknown
678                 os=-netbsd
679                 ;;
680         netwinder)
681                 basic_machine=armv4l-rebel
682                 os=-linux
683                 ;;
684         news | news700 | news800 | news900)
685                 basic_machine=m68k-sony
686                 os=-newsos
687                 ;;
688         news1000)
689                 basic_machine=m68030-sony
690                 os=-newsos
691                 ;;
692         news-3600 | risc-news)
693                 basic_machine=mips-sony
694                 os=-newsos
695                 ;;
696         necv70)
697                 basic_machine=v70-nec
698                 os=-sysv
699                 ;;
700         next | m*-next )
701                 basic_machine=m68k-next
702                 case $os in
703                     -nextstep* )
704                         ;;
705                     -ns2*)
706                       os=-nextstep2
707                         ;;
708                     *)
709                       os=-nextstep3
710                         ;;
711                 esac
712                 ;;
713         nh3000)
714                 basic_machine=m68k-harris
715                 os=-cxux
716                 ;;
717         nh[45]000)
718                 basic_machine=m88k-harris
719                 os=-cxux
720                 ;;
721         nindy960)
722                 basic_machine=i960-intel
723                 os=-nindy
724                 ;;
725         mon960)
726                 basic_machine=i960-intel
727                 os=-mon960
728                 ;;
729         nonstopux)
730                 basic_machine=mips-compaq
731                 os=-nonstopux
732                 ;;
733         np1)
734                 basic_machine=np1-gould
735                 ;;
736         nsr-tandem)
737                 basic_machine=nsr-tandem
738                 ;;
739         op50n-* | op60c-*)
740                 basic_machine=hppa1.1-oki
741                 os=-proelf
742                 ;;
743         or32 | or32-*)
744                 basic_machine=or32-unknown
745                 os=-coff
746                 ;;
747         OSE68000 | ose68000)
748                 basic_machine=m68000-ericsson
749                 os=-ose
750                 ;;
751         os68k)
752                 basic_machine=m68k-none
753                 os=-os68k
754                 ;;
755         pa-hitachi)
756                 basic_machine=hppa1.1-hitachi
757                 os=-hiuxwe2
758                 ;;
759         paragon)
760                 basic_machine=i860-intel
761                 os=-osf
762                 ;;
763         pbd)
764                 basic_machine=sparc-tti
765                 ;;
766         pbb)
767                 basic_machine=m68k-tti
768                 ;;
769         pc532 | pc532-*)
770                 basic_machine=ns32k-pc532
771                 ;;
772         pentium | p5 | k5 | k6 | nexgen | viac3)
773                 basic_machine=i586-pc
774                 ;;
775         pentiumpro | p6 | 6x86 | athlon | athlon_*)
776                 basic_machine=i686-pc
777                 ;;
778         pentiumii | pentium2)
779                 basic_machine=i686-pc
780                 ;;
781         pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
782                 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
783                 ;;
784         pentiumpro-* | p6-* | 6x86-* | athlon-*)
785                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
786                 ;;
787         pentiumii-* | pentium2-*)
788                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
789                 ;;
790         pn)
791                 basic_machine=pn-gould
792                 ;;
793         power)  basic_machine=power-ibm
794                 ;;
795         ppc)    basic_machine=powerpc-unknown
796                 ;;
797         ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
798                 ;;
799         ppcle | powerpclittle | ppc-le | powerpc-little)
800                 basic_machine=powerpcle-unknown
801                 ;;
802         ppcle-* | powerpclittle-*)
803                 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
804                 ;;
805         ppc64)  basic_machine=powerpc64-unknown
806                 ;;
807         ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
808                 ;;
809         ppc64le | powerpc64little | ppc64-le | powerpc64-little)
810                 basic_machine=powerpc64le-unknown
811                 ;;
812         ppc64le-* | powerpc64little-*)
813                 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
814                 ;;
815         ps2)
816                 basic_machine=i386-ibm
817                 ;;
818         pw32)
819                 basic_machine=i586-unknown
820                 os=-pw32
821                 ;;
822         rom68k)
823                 basic_machine=m68k-rom68k
824                 os=-coff
825                 ;;
826         rm[46]00)
827                 basic_machine=mips-siemens
828                 ;;
829         rtpc | rtpc-*)
830                 basic_machine=romp-ibm
831                 ;;
832         s390 | s390-*)
833                 basic_machine=s390-ibm
834                 ;;
835         s390x | s390x-*)
836                 basic_machine=s390x-ibm
837                 ;;
838         sa29200)
839                 basic_machine=a29k-amd
840                 os=-udi
841                 ;;
842         sb1)
843                 basic_machine=mipsisa64sb1-unknown
844                 ;;
845         sb1el)
846                 basic_machine=mipsisa64sb1el-unknown
847                 ;;
848         sequent)
849                 basic_machine=i386-sequent
850                 ;;
851         sh)
852                 basic_machine=sh-hitachi
853                 os=-hms
854                 ;;
855         sparclite-wrs | simso-wrs)
856                 basic_machine=sparclite-wrs
857                 os=-vxworks
858                 ;;
859         sps7)
860                 basic_machine=m68k-bull
861                 os=-sysv2
862                 ;;
863         spur)
864                 basic_machine=spur-unknown
865                 ;;
866         st2000)
867                 basic_machine=m68k-tandem
868                 ;;
869         stratus)
870                 basic_machine=i860-stratus
871                 os=-sysv4
872                 ;;
873         sun2)
874                 basic_machine=m68000-sun
875                 ;;
876         sun2os3)
877                 basic_machine=m68000-sun
878                 os=-sunos3
879                 ;;
880         sun2os4)
881                 basic_machine=m68000-sun
882                 os=-sunos4
883                 ;;
884         sun3os3)
885                 basic_machine=m68k-sun
886                 os=-sunos3
887                 ;;
888         sun3os4)
889                 basic_machine=m68k-sun
890                 os=-sunos4
891                 ;;
892         sun4os3)
893                 basic_machine=sparc-sun
894                 os=-sunos3
895                 ;;
896         sun4os4)
897                 basic_machine=sparc-sun
898                 os=-sunos4
899                 ;;
900         sun4sol2)
901                 basic_machine=sparc-sun
902                 os=-solaris2
903                 ;;
904         sun3 | sun3-*)
905                 basic_machine=m68k-sun
906                 ;;
907         sun4)
908                 basic_machine=sparc-sun
909                 ;;
910         sun386 | sun386i | roadrunner)
911                 basic_machine=i386-sun
912                 ;;
913         sv1)
914                 basic_machine=sv1-cray
915                 os=-unicos
916                 ;;
917         symmetry)
918                 basic_machine=i386-sequent
919                 os=-dynix
920                 ;;
921         t3d)
922                 basic_machine=alpha-cray
923                 os=-unicos
924                 ;;
925         t3e)
926                 basic_machine=alphaev5-cray
927                 os=-unicos
928                 ;;
929         t90)
930                 basic_machine=t90-cray
931                 os=-unicos
932                 ;;
933         tic4x | c4x*)
934                 basic_machine=tic4x-unknown
935                 os=-coff
936                 ;;
937         tic54x | c54x*)
938                 basic_machine=tic54x-unknown
939                 os=-coff
940                 ;;
941         tx39)
942                 basic_machine=mipstx39-unknown
943                 ;;
944         tx39el)
945                 basic_machine=mipstx39el-unknown
946                 ;;
947         toad1)
948                 basic_machine=pdp10-xkl
949                 os=-tops20
950                 ;;
951         tower | tower-32)
952                 basic_machine=m68k-ncr
953                 ;;
954         udi29k)
955                 basic_machine=a29k-amd
956                 os=-udi
957                 ;;
958         ultra3)
959                 basic_machine=a29k-nyu
960                 os=-sym1
961                 ;;
962         v810 | necv810)
963                 basic_machine=v810-nec
964                 os=-none
965                 ;;
966         vaxv)
967                 basic_machine=vax-dec
968                 os=-sysv
969                 ;;
970         vms)
971                 basic_machine=vax-dec
972                 os=-vms
973                 ;;
974         vpp*|vx|vx-*)
975                 basic_machine=f301-fujitsu
976                 ;;
977         vxworks960)
978                 basic_machine=i960-wrs
979                 os=-vxworks
980                 ;;
981         vxworks68)
982                 basic_machine=m68k-wrs
983                 os=-vxworks
984                 ;;
985         vxworks29k)
986                 basic_machine=a29k-wrs
987                 os=-vxworks
988                 ;;
989         w65*)
990                 basic_machine=w65-wdc
991                 os=-none
992                 ;;
993         w89k-*)
994                 basic_machine=hppa1.1-winbond
995                 os=-proelf
996                 ;;
997         windows32)
998                 basic_machine=i386-pc
999                 os=-windows32-msvcrt
1000                 ;;
1001         xps | xps100)
1002                 basic_machine=xps100-honeywell
1003                 ;;
1004         ymp)
1005                 basic_machine=ymp-cray
1006                 os=-unicos
1007                 ;;
1008         z8k-*-coff)
1009                 basic_machine=z8k-unknown
1010                 os=-sim
1011                 ;;
1012         none)
1013                 basic_machine=none-none
1014                 os=-none
1015                 ;;
1016
1017 # Here we handle the default manufacturer of certain CPU types.  It is in
1018 # some cases the only manufacturer, in others, it is the most popular.
1019         w89k)
1020                 basic_machine=hppa1.1-winbond
1021                 ;;
1022         op50n)
1023                 basic_machine=hppa1.1-oki
1024                 ;;
1025         op60c)
1026                 basic_machine=hppa1.1-oki
1027                 ;;
1028         romp)
1029                 basic_machine=romp-ibm
1030                 ;;
1031         rs6000)
1032                 basic_machine=rs6000-ibm
1033                 ;;
1034         vax)
1035                 basic_machine=vax-dec
1036                 ;;
1037         pdp10)
1038                 # there are many clones, so DEC is not a safe bet
1039                 basic_machine=pdp10-unknown
1040                 ;;
1041         pdp11)
1042                 basic_machine=pdp11-dec
1043                 ;;
1044         we32k)
1045                 basic_machine=we32k-att
1046                 ;;
1047         sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
1048                 basic_machine=sh-unknown
1049                 ;;
1050         sh64)
1051                 basic_machine=sh64-unknown
1052                 ;;
1053         sparc | sparcv9 | sparcv9b)
1054                 basic_machine=sparc-sun
1055                 ;;
1056         cydra)
1057                 basic_machine=cydra-cydrome
1058                 ;;
1059         orion)
1060                 basic_machine=orion-highlevel
1061                 ;;
1062         orion105)
1063                 basic_machine=clipper-highlevel
1064                 ;;
1065         mac | mpw | mac-mpw)
1066                 basic_machine=m68k-apple
1067                 ;;
1068         pmac | pmac-mpw)
1069                 basic_machine=powerpc-apple
1070                 ;;
1071         *-unknown)
1072                 # Make sure to match an already-canonicalized machine name.
1073                 ;;
1074         *)
1075                 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1076                 exit 1
1077                 ;;
1078 esac
1079
1080 # Here we canonicalize certain aliases for manufacturers.
1081 case $basic_machine in
1082         *-digital*)
1083                 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1084                 ;;
1085         *-commodore*)
1086                 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1087                 ;;
1088         *)
1089                 ;;
1090 esac
1091
1092 # Decode manufacturer-specific aliases for certain operating systems.
1093
1094 if [ x"$os" != x"" ]
1095 then
1096 case $os in
1097         # First match some system type aliases
1098         # that might get confused with valid system types.
1099         # -solaris* is a basic system type, with this one exception.
1100         -solaris1 | -solaris1.*)
1101                 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1102                 ;;
1103         -solaris)
1104                 os=-solaris2
1105                 ;;
1106         -svr4*)
1107                 os=-sysv4
1108                 ;;
1109         -unixware*)
1110                 os=-sysv4.2uw
1111                 ;;
1112         -gnu/linux*)
1113                 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1114                 ;;
1115         # First accept the basic system types.
1116         # The portable systems comes first.
1117         # Each alternative MUST END IN A *, to match a version number.
1118         # -sysv* is not here because it comes later, after sysvr4.
1119         -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1120               | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1121               | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1122               | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1123               | -aos* \
1124               | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1125               | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1126               | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1127               | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1128               | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1129               | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1130               | -chorusos* | -chorusrdb* \
1131               | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1132               | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1133               | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
1134               | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1135               | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1136               | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1137               | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
1138         # Remember, each alternative MUST END IN *, to match a version number.
1139                 ;;
1140         -qnx*)
1141                 case $basic_machine in
1142                     x86-* | i*86-*)
1143                         ;;
1144                     *)
1145                         os=-nto$os
1146                         ;;
1147                 esac
1148                 ;;
1149         -nto*)
1150                 os=-nto-qnx
1151                 ;;
1152         -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1153               | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1154               | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1155                 ;;
1156         -mac*)
1157                 os=`echo $os | sed -e 's|mac|macos|'`
1158                 ;;
1159         -linux*)
1160                 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1161                 ;;
1162         -sunos5*)
1163                 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1164                 ;;
1165         -sunos6*)
1166                 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1167                 ;;
1168         -opened*)
1169                 os=-openedition
1170                 ;;
1171         -wince*)
1172                 os=-wince
1173                 ;;
1174         -osfrose*)
1175                 os=-osfrose
1176                 ;;
1177         -osf*)
1178                 os=-osf
1179                 ;;
1180         -utek*)
1181                 os=-bsd
1182                 ;;
1183         -dynix*)
1184                 os=-bsd
1185                 ;;
1186         -acis*)
1187                 os=-aos
1188                 ;;
1189         -atheos*)
1190                 os=-atheos
1191                 ;;
1192         -386bsd)
1193                 os=-bsd
1194                 ;;
1195         -ctix* | -uts*)
1196                 os=-sysv
1197                 ;;
1198         -nova*)
1199                 os=-rtmk-nova
1200                 ;;
1201         -ns2 )
1202                 os=-nextstep2
1203                 ;;
1204         -nsk*)
1205                 os=-nsk
1206                 ;;
1207         # Preserve the version number of sinix5.
1208         -sinix5.*)
1209                 os=`echo $os | sed -e 's|sinix|sysv|'`
1210                 ;;
1211         -sinix*)
1212                 os=-sysv4
1213                 ;;
1214         -triton*)
1215                 os=-sysv3
1216                 ;;
1217         -oss*)
1218                 os=-sysv3
1219                 ;;
1220         -svr4)
1221                 os=-sysv4
1222                 ;;
1223         -svr3)
1224                 os=-sysv3
1225                 ;;
1226         -sysvr4)
1227                 os=-sysv4
1228                 ;;
1229         # This must come after -sysvr4.
1230         -sysv*)
1231                 ;;
1232         -ose*)
1233                 os=-ose
1234                 ;;
1235         -es1800*)
1236                 os=-ose
1237                 ;;
1238         -xenix)
1239                 os=-xenix
1240                 ;;
1241         -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1242                 os=-mint
1243                 ;;
1244         -none)
1245                 ;;
1246         *)
1247                 # Get rid of the `-' at the beginning of $os.
1248                 os=`echo $os | sed 's/[^-]*-//'`
1249                 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1250                 exit 1
1251                 ;;
1252 esac
1253 else
1254
1255 # Here we handle the default operating systems that come with various machines.
1256 # The value should be what the vendor currently ships out the door with their
1257 # machine or put another way, the most popular os provided with the machine.
1258
1259 # Note that if you're going to try to match "-MANUFACTURER" here (say,
1260 # "-sun"), then you have to tell the case statement up towards the top
1261 # that MANUFACTURER isn't an operating system.  Otherwise, code above
1262 # will signal an error saying that MANUFACTURER isn't an operating
1263 # system, and we'll never get to this point.
1264
1265 case $basic_machine in
1266         *-acorn)
1267                 os=-riscix1.2
1268                 ;;
1269         arm*-rebel)
1270                 os=-linux
1271                 ;;
1272         arm*-semi)
1273                 os=-aout
1274                 ;;
1275         # This must come before the *-dec entry.
1276         pdp10-*)
1277                 os=-tops20
1278                 ;;
1279         pdp11-*)
1280                 os=-none
1281                 ;;
1282         *-dec | vax-*)
1283                 os=-ultrix4.2
1284                 ;;
1285         m68*-apollo)
1286                 os=-domain
1287                 ;;
1288         i386-sun)
1289                 os=-sunos4.0.2
1290                 ;;
1291         m68000-sun)
1292                 os=-sunos3
1293                 # This also exists in the configure program, but was not the
1294                 # default.
1295                 # os=-sunos4
1296                 ;;
1297         m68*-cisco)
1298                 os=-aout
1299                 ;;
1300         mips*-cisco)
1301                 os=-elf
1302                 ;;
1303         mips*-*)
1304                 os=-elf
1305                 ;;
1306         or32-*)
1307                 os=-coff
1308                 ;;
1309         *-tti)  # must be before sparc entry or we get the wrong os.
1310                 os=-sysv3
1311                 ;;
1312         sparc-* | *-sun)
1313                 os=-sunos4.1.1
1314                 ;;
1315         *-be)
1316                 os=-beos
1317                 ;;
1318         *-ibm)
1319                 os=-aix
1320                 ;;
1321         *-wec)
1322                 os=-proelf
1323                 ;;
1324         *-winbond)
1325                 os=-proelf
1326                 ;;
1327         *-oki)
1328                 os=-proelf
1329                 ;;
1330         *-hp)
1331                 os=-hpux
1332                 ;;
1333         *-hitachi)
1334                 os=-hiux
1335                 ;;
1336         i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1337                 os=-sysv
1338                 ;;
1339         *-cbm)
1340                 os=-amigaos
1341                 ;;
1342         *-dg)
1343                 os=-dgux
1344                 ;;
1345         *-dolphin)
1346                 os=-sysv3
1347                 ;;
1348         m68k-ccur)
1349                 os=-rtu
1350                 ;;
1351         m88k-omron*)
1352                 os=-luna
1353                 ;;
1354         *-next )
1355                 os=-nextstep
1356                 ;;
1357         *-sequent)
1358                 os=-ptx
1359                 ;;
1360         *-crds)
1361                 os=-unos
1362                 ;;
1363         *-ns)
1364                 os=-genix
1365                 ;;
1366         i370-*)
1367                 os=-mvs
1368                 ;;
1369         *-next)
1370                 os=-nextstep3
1371                 ;;
1372         *-gould)
1373                 os=-sysv
1374                 ;;
1375         *-highlevel)
1376                 os=-bsd
1377                 ;;
1378         *-encore)
1379                 os=-bsd
1380                 ;;
1381         *-sgi)
1382                 os=-irix
1383                 ;;
1384         *-siemens)
1385                 os=-sysv4
1386                 ;;
1387         *-masscomp)
1388                 os=-rtu
1389                 ;;
1390         f30[01]-fujitsu | f700-fujitsu)
1391                 os=-uxpv
1392                 ;;
1393         *-rom68k)
1394                 os=-coff
1395                 ;;
1396         *-*bug)
1397                 os=-coff
1398                 ;;
1399         *-apple)
1400                 os=-macos
1401                 ;;
1402         *-atari*)
1403                 os=-mint
1404                 ;;
1405         *)
1406                 os=-none
1407                 ;;
1408 esac
1409 fi
1410
1411 # Here we handle the case where we know the os, and the CPU type, but not the
1412 # manufacturer.  We pick the logical manufacturer.
1413 vendor=unknown
1414 case $basic_machine in
1415         *-unknown)
1416                 case $os in
1417                         -riscix*)
1418                                 vendor=acorn
1419                                 ;;
1420                         -sunos*)
1421                                 vendor=sun
1422                                 ;;
1423                         -aix*)
1424                                 vendor=ibm
1425                                 ;;
1426                         -beos*)
1427                                 vendor=be
1428                                 ;;
1429                         -hpux*)
1430                                 vendor=hp
1431                                 ;;
1432                         -mpeix*)
1433                                 vendor=hp
1434                                 ;;
1435                         -hiux*)
1436                                 vendor=hitachi
1437                                 ;;
1438                         -unos*)
1439                                 vendor=crds
1440                                 ;;
1441                         -dgux*)
1442                                 vendor=dg
1443                                 ;;
1444                         -luna*)
1445                                 vendor=omron
1446                                 ;;
1447                         -genix*)
1448                                 vendor=ns
1449                                 ;;
1450                         -mvs* | -opened*)
1451                                 vendor=ibm
1452                                 ;;
1453                         -ptx*)
1454                                 vendor=sequent
1455                                 ;;
1456                         -vxsim* | -vxworks* | -windiss*)
1457                                 vendor=wrs
1458                                 ;;
1459                         -aux*)
1460                                 vendor=apple
1461                                 ;;
1462                         -hms*)
1463                                 vendor=hitachi
1464                                 ;;
1465                         -mpw* | -macos*)
1466                                 vendor=apple
1467                                 ;;
1468                         -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1469                                 vendor=atari
1470                                 ;;
1471                         -vos*)
1472                                 vendor=stratus
1473                                 ;;
1474                 esac
1475                 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1476                 ;;
1477 esac
1478
1479 echo $basic_machine$os
1480 exit 0
1481
1482 # Local variables:
1483 # eval: (add-hook 'write-file-hooks 'time-stamp)
1484 # time-stamp-start: "timestamp='"
1485 # time-stamp-format: "%:y-%02m-%02d"
1486 # time-stamp-end: "'"
1487 # End: