Add ns* as operating systems; default to ns2 for NeXT.
authorRichard Kenner <kenner@gnu.org>
Sat, 9 Apr 1994 19:01:54 +0000 (19:01 +0000)
committerRichard Kenner <kenner@gnu.org>
Sat, 9 Apr 1994 19:01:54 +0000 (19:01 +0000)
config.sub
lib/config.sub

index b21500e..ff0323b 100644 (file)
@@ -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|'`
index b21500e..ff0323b 100644 (file)
@@ -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|'`