Add ns* as operating systems; default to ns2 for NeXT.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 9 Apr 1994 19:01:54 +0000 (15:01 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 9 Apr 1994 19:01:54 +0000 (15:01 -0400)
From-SVN: r7007

gcc/config.sub

index b21500e..ff0323b 100755 (executable)
@@ -340,7 +340,13 @@ case $basic_machine in
                ;;
        next)
                basic_machine=m68k-next
-               os=-bsd
+               case $os in
+                   -ns2*)
+                       ;;
+                   *)
+                     $os=-ns3
+                       ;;
+               esac
                ;;
        nh3000)
                basic_machine=m68k-harris
@@ -539,7 +545,7 @@ case $os in
              | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
              | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
-             | -lynxos* | -bosx* )
+             | -lynxos* | -bosx* | -ns*)
                ;;
        -sunos5*)
                os=`echo $os | sed -e 's|sunos5|solaris2|'`