* config.sub: Cleanup NeXT support to emit nextstep*.
authorPer Bothner <bothner@gcc.gnu.org>
Wed, 7 Sep 1994 01:15:22 +0000 (18:15 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Wed, 7 Sep 1994 01:15:22 +0000 (18:15 -0700)
From-SVN: r8029

gcc/config.sub

index 2ecf96890653210f380dad8a99bfc5ed30300c2a..0c6bdecc1d98391741114697273a5b7fb7ae0e8d 100755 (executable)
@@ -64,7 +64,7 @@ case $os in
                ;;
        -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
        -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
-       -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
+       -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
@@ -344,13 +344,16 @@ case $basic_machine in
                basic_machine=mips-sony
                os=-newsos
                ;;
-       next)
+       next | m*-next )
                basic_machine=m68k-next
                case $os in
+                   -nextstep* )
+                       ;;
                    -ns2*)
+                     os=-nextstep2
                        ;;
                    *)
-                     os=-ns3
+                     os=-nextstep3
                        ;;
                esac
                ;;
@@ -556,7 +559,7 @@ case $os in
              | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
              | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
-             | -lynxos* | -bosx* | -ns* | -cxux* | -aout* | -elf*)
+             | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf*)
                ;;
        -sunos5*)
                os=`echo $os | sed -e 's|sunos5|solaris2|'`
@@ -686,7 +689,7 @@ case $basic_machine in
                os=-mvs
                ;;
        *-next)
-               os=-bsd
+               os=-nextstep3
                ;;
        i[34]86-*)
                os=-sco3.2v2