Mercurial > emacs
comparison config.sub @ 16606:1f77335980ba libc-961203 libc-961204 libc-961205 libc-961206 libc-961207
Revert last change.
author | Thomas Bushnell, BSG <thomas@gnu.org> |
---|---|
date | Thu, 21 Nov 1996 22:20:09 +0000 |
parents | ce11cd8244f5 |
children | 2ea24cdb1d83 |
comparison
equal
deleted
inserted
replaced
16605:ce11cd8244f5 | 16606:1f77335980ba |
---|---|
66 | 66 |
67 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). | 67 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
68 # Here we must recognize all the valid KERNEL-OS combinations. | 68 # Here we must recognize all the valid KERNEL-OS combinations. |
69 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 69 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
70 case $maybe_os in | 70 case $maybe_os in |
71 linux-gnu* | gnu-gnu*) | 71 linux-gnu*) |
72 os=-$maybe_os | 72 os=-$maybe_os |
73 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 73 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
74 ;; | 74 ;; |
75 *) | 75 *) |
76 basic_machine=`echo $1 | sed 's/-[^-]*$//'` | 76 basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
676 ;; | 676 ;; |
677 # First accept the basic system types. | 677 # First accept the basic system types. |
678 # The portable systems comes first. | 678 # The portable systems comes first. |
679 # Each alternative MUST END IN A *, to match a version number. | 679 # Each alternative MUST END IN A *, to match a version number. |
680 # -sysv* is not here because it comes later, after sysvr4. | 680 # -sysv* is not here because it comes later, after sysvr4. |
681 -gnu-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 681 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
682 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | 682 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ |
683 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | 683 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
684 | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \ | 684 | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \ |
685 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 685 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
686 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 686 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
690 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 690 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
691 | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 691 | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
692 | -linux-gnu* | -uxpv*) | 692 | -linux-gnu* | -uxpv*) |
693 # Remember, each alternative MUST END IN *, to match a version number. | 693 # Remember, each alternative MUST END IN *, to match a version number. |
694 ;; | 694 ;; |
695 -gnu*) | |
696 os=`echo $os | sed -e 's|gnu|gnu-gnu|'` | |
697 ;; | |
698 -linux*) | 695 -linux*) |
699 os=`echo $os | sed -e 's|linux|linux-gnu|'` | 696 os=`echo $os | sed -e 's|linux|linux-gnu|'` |
700 ;; | 697 ;; |
701 -sunos5*) | 698 -sunos5*) |
702 os=`echo $os | sed -e 's|sunos5|solaris2|'` | 699 os=`echo $os | sed -e 's|sunos5|solaris2|'` |