]> code.delx.au - gnu-emacs/blobdiff - config.sub
(x-select-text): Never set the CLIPBOARD selection.
[gnu-emacs] / config.sub
index 87651ed89852c135c2ba8383cb2db17efa428ec3..0e6efcfed9356768c8d1f06ba2258c8bfed82ecd 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Configuration validation subroutine script, version 1.1.
-#   Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+#   Copyright (C) 1991, 1992, 1993 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. 
@@ -71,6 +71,14 @@ case $os in
                os=
                basic_machine=$1
                ;;
+       -sco4)
+               os=-sco3.2v4
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+               ;;
+       -sco3.2.[4-9]*)
+               os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+               basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+               ;;
        -sco3.2v[4-9]*)
                # Don't forget version if it is 3.2v4 or newer.
                basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
@@ -89,6 +97,9 @@ case $os in
        -isc*)
                basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
                ;;
+       -lynx)
+               os=-lynxos
+               ;;
 esac
 
 # Decode aliases for certain CPU-COMPANY combinations.
@@ -360,9 +371,13 @@ case $basic_machine in
                basic_machine=m88k-motorola
                os=-sysv3
                ;;
-       dpx2)
+       dpx2* | dpx2*-bull)
                basic_machine=m68k-bull
-               os=-sysv
+               os=-sysv3
+               ;;
+       sps7)
+               basic_machine=m68k-bull
+               os=-sysv2
                ;;
        ebmon29k)
                basic_machine=a29k-amd
@@ -483,22 +498,27 @@ esac
 
 # Decode manufacturer-specific aliases for certain operating systems.
 
-if [ "$os" ]
+if [ x"$os" != x"" ]
 then
 case $os in
        # -solaris* is a basic system type, with this one exception.
        -solaris1 | -solaris1.*)
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
                ;;
+       -solaris)
+               os=-solaris2
+               ;;
        # First accept the basic system types.
        # The portable systems comes first.
        # Each alternative must end in a *, to match a version number.
-       -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+       # -sysv* is not here because it comes later, after sysvr4.
+       -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
              | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]* | -hpux* \
              | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
              | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
-             | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* \
-             | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* )
+             | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
+             | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
+             | -386bsd* | -lynxos*)
                ;;
        -sunos5*)
                os=`echo $os | sed -e 's|sunos5|solaris2|'`
@@ -536,6 +556,12 @@ case $os in
        -svr3)
                os=-sysv3
                ;;
+       -sysvr4)
+               os=-sysv4
+               ;;
+       # This must come after -sysvr4.
+       -sysv*)
+               ;;
        -xenix)
                os=-xenix
                ;;
@@ -648,6 +674,9 @@ case $basic_machine in
                        -sunos*)
                                vendor=sun
                                ;;
+                       -lynxos*)
+                               vendor=lynx
+                               ;;
                        -aix*)
                                vendor=ibm
                                ;;