Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/config/config.sub
ViewVC logotype

Diff of /branches/vis15/config/config.sub

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4678, Sat Oct 1 18:13:21 2016 UTC revision 4679, Sat Oct 1 19:01:24 2016 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Configuration validation subroutine script.  # Configuration validation subroutine script.
3  #   Copyright 1992-2015 Free Software Foundation, Inc.  #   Copyright 1992-2016 Free Software Foundation, Inc.
4    
5  timestamp='2015-08-20'  timestamp='2016-09-05'
6    
7  # This file is free software; you can redistribute it and/or modify it  # This file is free software; you can redistribute it and/or modify it
8  # under the terms of the GNU General Public License as published by  # under the terms of the GNU General Public License as published by
# Line 33  Line 33 
33  # Otherwise, we print the canonical config type on stdout and succeed.  # Otherwise, we print the canonical config type on stdout and succeed.
34    
35  # You can get the latest version of this script from:  # You can get the latest version of this script from:
36  # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD  # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
37    
38  # This file is supposed to be the same for all GNU packages  # This file is supposed to be the same for all GNU packages
39  # and recognize all the CPU types, system types and aliases  # and recognize all the CPU types, system types and aliases
# Line 53  Line 53 
53  me=`echo "$0" | sed -e 's,.*/,,'`  me=`echo "$0" | sed -e 's,.*/,,'`
54    
55  usage="\  usage="\
56  Usage: $0 [OPTION] CPU-MFR-OPSYS  Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
        $0 [OPTION] ALIAS  
57    
58  Canonicalize a configuration name.  Canonicalize a configuration name.
59    
# Line 68  Line 67 
67  version="\  version="\
68  GNU config.sub ($timestamp)  GNU config.sub ($timestamp)
69    
70  Copyright 1992-2015 Free Software Foundation, Inc.  Copyright 1992-2016 Free Software Foundation, Inc.
71    
72  This is free software; see the source for copying conditions.  There is NO  This is free software; see the source for copying conditions.  There is NO
73  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 118  Line 117 
117    nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \    nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118    linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \    linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119    knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \    knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
120    kopensolaris*-gnu* | \    kopensolaris*-gnu* | cloudabi*-eabi* | \
121    storm-chaos* | os2-emx* | rtmk-nova*)    storm-chaos* | os2-emx* | rtmk-nova*)
122      os=-$maybe_os      os=-$maybe_os
123      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
# Line 644  Line 643 
643                  basic_machine=m68k-bull                  basic_machine=m68k-bull
644                  os=-sysv3                  os=-sysv3
645                  ;;                  ;;
646            e500v[12])
647                    basic_machine=powerpc-unknown
648                    os=$os"spe"
649                    ;;
650            e500v[12]-*)
651                    basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
652                    os=$os"spe"
653                    ;;
654          ebmon29k)          ebmon29k)
655                  basic_machine=a29k-amd                  basic_machine=a29k-amd
656                  os=-ebmon                  os=-ebmon
# Line 1023  Line 1030 
1030          ppc-* | ppcbe-*)          ppc-* | ppcbe-*)
1031                  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`                  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1032                  ;;                  ;;
1033          ppcle | powerpclittle | ppc-le | powerpc-little)          ppcle | powerpclittle)
1034                  basic_machine=powerpcle-unknown                  basic_machine=powerpcle-unknown
1035                  ;;                  ;;
1036          ppcle-* | powerpclittle-*)          ppcle-* | powerpclittle-*)
# Line 1033  Line 1040 
1040                  ;;                  ;;
1041          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`          ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1042                  ;;                  ;;
1043          ppc64le | powerpc64little | ppc64-le | powerpc64-little)          ppc64le | powerpc64little)
1044                  basic_machine=powerpc64le-unknown                  basic_machine=powerpc64le-unknown
1045                  ;;                  ;;
1046          ppc64le-* | powerpc64little-*)          ppc64le-* | powerpc64little-*)
# Line 1383  Line 1390 
1390                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \                | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1391                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \                | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1392                | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \                | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1393                | -bitrig* | -openbsd* | -solidbsd* \                | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
1394                | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \                | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1395                | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \                | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1396                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \                | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1397                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \                | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1398                | -chorusos* | -chorusrdb* | -cegcc* \                | -chorusos* | -chorusrdb* | -cegcc* \
1399                | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \                | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1400                | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \                | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1401                | -linux-newlib* | -linux-musl* | -linux-uclibc* \                | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1402                | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \                | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1403                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \                | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
# Line 1399  Line 1406 
1406                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \                | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1407                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \                | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1408                | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \                | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1409                | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)                | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1410                  | -onefs* | -tirtos* | -phoenix*)
1411          # Remember, each alternative MUST END IN *, to match a version number.          # Remember, each alternative MUST END IN *, to match a version number.
1412                  ;;                  ;;
1413          -qnx*)          -qnx*)
# Line 1531  Line 1539 
1539                  ;;                  ;;
1540          -nacl*)          -nacl*)
1541                  ;;                  ;;
1542            -ios)
1543                    ;;
1544          -none)          -none)
1545                  ;;                  ;;
1546          *)          *)

Legend:
Removed from v.4678  
changed lines
  Added in v.4679

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0