* eval.c (Fautoload): Renamed fifth argument TYPE. Document the
[bpt/emacs.git] / config.sub
index 2bfef02..b8865dc 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/sh
-# Configuration validation subroutine script, version 1.0.
-#   Copyright (C) 1991 Free Software Foundation, Inc.
+# Configuration validation subroutine script, version 1.1.
+#   Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+# This file is (in principle) common to ALL GNU software.
+# The presence of a machine in this file suggests that SOME GNU software
+# can handle that machine.  It does not imply ALL GNU software can. 
 
 #This file is free software; you can redistribute it and/or modify
 #it under the terms of the GNU General Public License as published by
@@ -52,23 +55,28 @@ then os=`echo $1 | sed 's/.*-/-/'`
 else os=; fi
 
 # Lets recognize common machines as not being OS so that things like
-# config.subr decstation-3100 as legal.
+# config.subr decstation-3100 work.
 case $os in
        -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
        -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
        -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
-       -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -osf* | \
+       -convergent* | -ncr* | -news | -32* | -3600* | -3100* | \
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin)
                os=
                basic_machine=$1
                ;;
+       -sco3.2v[4-9]*)
+               # Don't forget version if it is 3.2v4 or newer.
+               os=-sco3.2v4
+               basic_machine=i386-unknown
+               ;;
        -sco*)
-               os=-scosysv322
+               os=-sco3.2v2
                basic_machine=i386-unknown
                ;;
        -isc*)
-               os=-iscsysv
+               os=-isc
                basic_machine=i386-unknown
                ;;
 esac
@@ -78,7 +86,8 @@ case $basic_machine in
        # Recognize the basic CPU types with without company name.
        # Some are omitted here because they have special meanings below.
        tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
-               | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1)
+               | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
+               | alpha | we32k)
                basic_machine=$basic_machine-unknown
                ;;
        # Recognize the basic CPU types with with company name.
@@ -86,7 +95,7 @@ case $basic_machine in
              | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
              | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
-             | hppa1.0-* | hppa1.1-*)
+             | hppa1.0-* | hppa1.1-* | alpha-* | we32k-*)
                ;;
        # Recognize the various machine names and aliases which stand
        # for a CPU type and a company and sometimes even an OS.
@@ -104,11 +113,23 @@ case $basic_machine in
                ;;
        i386-sco* | i386sco | sco)
                basic_machine=i386-unknown
-               os=-scosysv322
+               os=-sco3.2v2
                ;;
        i386-isc* | isc)
                basic_machine=i386-unknown
-               os=-iscsysv
+               os=-isc
+               ;;
+       i486v32)
+               basic_machine=i486-unknown
+               os=-sysv32
+               ;;
+       i486-sco* | i486sco | sco)
+               basic_machine=i486-unknown
+               os=-sco3.2v2
+               ;;
+       i486-isc* | isc)
+               basic_machine=i486-unknown
+               os=-isc
                ;;
        i386v4*)
                basic_machine=i386-unknown
@@ -122,6 +143,10 @@ case $basic_machine in
                basic_machine=i386-unknown
                os=-sysv
                ;;
+       i486v)
+               basic_machine=i486-unknown
+               os=-sysv
+               ;;
        spur)
                basic_machine=spur-unknown
                ;;
@@ -158,6 +183,10 @@ case $basic_machine in
        crds | unos)
                basic_machine=m68k-crds
                ;;
+       elxsi)
+               basic_machine=elxsi-elxsi
+               os=-bsd
+               ;;
        encore | umax | mmax)
                basic_machine=ns32k-encore
                os=-bsd
@@ -167,7 +196,13 @@ case $basic_machine in
                ;;
        iris | iris4d)
                basic_machine=mips-sgi
-               os=-irix
+               case $os in
+                   -irix*)
+                       ;;
+                   *)
+                       os=-irix4
+                       ;;
+               esac
                ;;
        news | news700 | news800 | news900)
                basic_machine=m68k-sony
@@ -176,6 +211,9 @@ case $basic_machine in
        3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
                basic_machine=m68000-att
                ;;
+       3b*)
+               basic_machine=we32k-att
+               ;;
        delta | 3300 | motorola-3300 | motorola-delta \
              | 3300-motorola | delta-motorola)
                basic_machine=m68k-motorola
@@ -236,9 +274,12 @@ case $basic_machine in
        ps2)
                basic_machine=i386-ibm
                ;;
+       fx2800)
+               basic_machine=i860-alliant
+               ;;
        next)
                basic_machine=m68k-next
-               os=-sysv
+               os=-bsd
                ;;
        amiga)
                basic_machine=m68k-cbm
@@ -276,7 +317,7 @@ case $basic_machine in
                basic_machine=mips-sony
                os=-newsos
                ;;
-       decstation-dec | decstation | decstation-3100 | pmax | pmin | dec3100 | decstatn)
+       decstation | decstation-3100 | pmax | pmin | dec3100 | decstatn)
                basic_machine=mips-dec
                ;;
        magnum | m3230)
@@ -304,7 +345,7 @@ case $basic_machine in
                ;;
        amigaunix | amix)
                basic_machine=m68k-cbm
-               os=-amix
+               os=-sysv4
                ;;
        cray | ymp)
                basic_machine=ymp-cray
@@ -405,12 +446,12 @@ case $basic_machine in
        vax)
                basic_machine=vax-dec
                ;;
+       we32k)
+               basic_machine=we32k-att
+               ;;
        sparc)
                basic_machine=sparc-sun
                ;;
-       fx2800)
-               basic_machine=i860-alliant
-               ;;
        *)
                echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
                exit 1
@@ -439,14 +480,18 @@ case $os in
        # Each alternative must end in a *, to match a version number.
        -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
              | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos* | -hpux* \
-             | -unos* | -osf* | -luna* | -dgux* | -solari* | -sym* | -amix* \
+             | -unos* | -osf* | -luna* | -dgux* | -solari* | -sym* \
              | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
-             | -nindy* | -vxworks* | -ebmon* | -hds* | -m88kbcs*)
+             | -nindy* | -vxworks* | -ebmon* | -hds* | -m88kbcs* \
+             | -riscos* | -linux* )
                ;;
        -osfrose*)
-               os=-osf
+               os=-osfrose
                ;;
        -osf*)
+               os=-osf
+               ;;
+       -utek*)
                os=-bsd
                ;;
        -dynix*)
@@ -470,6 +515,8 @@ case $os in
        -svr3)
                os=-sysv3
                ;;
+       -none)
+               ;;
        *)
                # Get rid of the `-' at the beginning of $os.
                os=`echo $1 | sed 's/[^-]*-//'`
@@ -484,10 +531,10 @@ else
 # machine or put another way, the most popular os provided with the machine.
 case $basic_machine in
        *-dec | vax-*)
-               os=-ultrix42
+               os=-ultrix4.2
                ;;
        i386-sun)
-               os=-sunos402
+               os=-sunos4.0.2
                ;;
        m68000-sun)
                os=-sunos3
@@ -499,7 +546,7 @@ case $basic_machine in
                os=-sysv3
                ;;
        sparc-* | *-sun)
-               os=-sunos411
+               os=-sunos4.1.1
                ;;
        *-ibm)
                os=-aix
@@ -528,8 +575,8 @@ case $basic_machine in
        *-ns)
                os=-genix
                ;;
-       i386-*)
-               os=-scosysv322
+       i[34]86-*)
+               os=-sco3.2v2
                ;;
        *)
                os=-none