Mercurial > hg > xemacs-beta
annotate config.sub @ 4976:16112448d484
Rename xfree(FOO, TYPE) -> xfree(FOO)
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-04 Ben Wing <ben@xemacs.org>
* alloc.c (release_breathing_space):
* alloc.c (resize_string):
* alloc.c (sweep_lcrecords_1):
* alloc.c (SWEEP_FIXED_TYPE_BLOCK_1):
* alloc.c (ADDITIONAL_FREE_compiled_function):
* alloc.c (compact_string_chars):
* alloc.c (ADDITIONAL_FREE_string):
* alloc.c (sweep_strings):
* alloca.c (xemacs_c_alloca):
* alsaplay.c (alsa_play_sound_file):
* buffer.c (init_initial_directory):
* buffer.h:
* buffer.h (BUFFER_FREE):
* console-stream.c (stream_delete_console):
* console-tty.c (free_tty_console_struct):
* data.c (Fnumber_to_string):
* device-gtk.c (gtk_init_device):
* device-gtk.c (free_gtk_device_struct):
* device-gtk.c (gtk_delete_device):
* device-msw.c (mswindows_delete_device):
* device-msw.c (msprinter_delete_device):
* device-tty.c (free_tty_device_struct):
* device-tty.c (tty_delete_device):
* device-x.c (x_init_device):
* device-x.c (free_x_device_struct):
* device-x.c (x_delete_device):
* dialog-msw.c (handle_directory_dialog_box):
* dialog-x.c (dbox_descriptor_to_widget_value):
* dired-msw.c (Fmswindows_insert_directory):
* dired.c (free_user_cache):
* dired.c (user_name_completion_unwind):
* doc.c (unparesseuxify_doc_string):
* doc.c (Fsubstitute_command_keys):
* doprnt.c (emacs_doprnt_1):
* dumper.c (pdump_load_finish):
* dumper.c (pdump_file_free):
* dumper.c (pdump_file_unmap):
* dynarr.c:
* dynarr.c (Dynarr_free):
* editfns.c (uncache_home_directory):
* editfns.c (Fset_time_zone_rule):
* elhash.c:
* elhash.c (pdump_reorganize_hash_table):
* elhash.c (maphash_unwind):
* emacs.c (make_arg_list_1):
* emacs.c (free_argc_argv):
* emacs.c (sort_args):
* emacs.c (Frunning_temacs_p):
* emodules.c (attempt_module_delete):
* eval.c (free_pointer):
* event-Xt.c (unselect_filedesc):
* event-Xt.c (emacs_Xt_select_process):
* event-gtk.c (unselect_filedesc):
* event-gtk.c (dragndrop_data_received):
* event-msw.c (winsock_closer):
* event-msw.c (mswindows_dde_callback):
* event-msw.c (mswindows_wnd_proc):
* event-stream.c (finalize_command_builder):
* event-stream.c (free_command_builder):
* extents.c (free_gap_array):
* extents.c (free_extent_list):
* extents.c (free_soe):
* extents.c (extent_fragment_delete):
* extents.c (extent_priority_sort_function):
* file-coding.c (make_coding_system_1):
* file-coding.c (coding_finalizer):
* file-coding.c (set_coding_stream_coding_system):
* file-coding.c (chain_finalize_coding_stream_1):
* file-coding.c (chain_finalize):
* file-coding.c (free_detection_state):
* file-coding.c (coding_category_symbol_to_id):
* fileio.c:
* fileio.c (Ffile_name_directory):
* fileio.c (if):
* fileio.c (Ffile_symlink_p):
* filelock.c (FREE_LOCK_INFO):
* filelock.c (current_lock_owner):
* font-mgr.c (Ffc_name_unparse):
* font-mgr.c (Ffc_pattern_duplicate):
* frame-gtk.c (gtk_delete_frame):
* frame-msw.c (mswindows_delete_frame):
* frame-msw.c (msprinter_delete_frame):
* frame-x.c (x_cde_destroy_callback):
* frame-x.c (Fcde_start_drag_internal):
* frame-x.c (x_cde_transfer_callback):
* frame-x.c (x_delete_frame):
* frame.c (update_frame_title):
* frame.c (Fset_frame_pointer):
* gc.c (register_for_finalization):
* gccache-gtk.c (free_gc_cache):
* gccache-gtk.c (gc_cache_lookup):
* gccache-x.c (free_gc_cache):
* gccache-x.c (gc_cache_lookup):
* glyphs-eimage.c:
* glyphs-eimage.c (jpeg_instantiate_unwind):
* glyphs-eimage.c (gif_instantiate_unwind):
* glyphs-eimage.c (png_instantiate_unwind):
* glyphs-eimage.c (png_instantiate):
* glyphs-eimage.c (tiff_instantiate_unwind):
* glyphs-gtk.c (convert_EImage_to_GDKImage):
* glyphs-gtk.c (gtk_finalize_image_instance):
* glyphs-gtk.c (gtk_init_image_instance_from_eimage):
* glyphs-gtk.c (gtk_xpm_instantiate):
* glyphs-msw.c (convert_EImage_to_DIBitmap):
* glyphs-msw.c (mswindows_init_image_instance_from_eimage):
* glyphs-msw.c (mswindows_initialize_image_instance_mask):
* glyphs-msw.c (xpm_to_eimage):
* glyphs-msw.c (mswindows_xpm_instantiate):
* glyphs-msw.c (xbm_create_bitmap_from_data):
* glyphs-msw.c (mswindows_finalize_image_instance):
* glyphs-x.c (convert_EImage_to_XImage):
* glyphs-x.c (x_finalize_image_instance):
* glyphs-x.c (x_init_image_instance_from_eimage):
* glyphs-x.c (x_xpm_instantiate):
* gui-x.c (free_popup_widget_value_tree):
* hash.c (free_hash_table):
* hash.c (grow_hash_table):
* hash.c (pregrow_hash_table_if_necessary):
* imgproc.c (build_EImage_quantable):
* insdel.c (uninit_buffer_text):
* intl-win32.c (convert_multibyte_to_internal_malloc):
* intl.c:
* intl.c (Fset_current_locale):
* keymap.c:
* keymap.c (where_is_recursive_mapper):
* keymap.c (where_is_internal):
* lisp.h:
* lisp.h (xfree):
* lstream.c (Lstream_close):
* lstream.c (resizing_buffer_closer):
* mule-coding.c:
* mule-coding.c (iso2022_finalize_detection_state):
* nt.c:
* nt.c (mswindows_get_long_filename):
* nt.c (nt_get_resource):
* nt.c (init_mswindows_environment):
* nt.c (get_cached_volume_information):
* nt.c (mswindows_opendir):
* nt.c (mswindows_closedir):
* nt.c (mswindows_readdir):
* nt.c (mswindows_stat):
* nt.c (mswindows_getdcwd):
* nt.c (Fmswindows_long_file_name):
* ntplay.c (nt_play_sound_file):
* ntplay.c (play_sound_data_1):
* number-gmp.c (gmp_free):
* number-gmp.c (init_number_gmp):
* number-mp.c (bignum_to_string):
* number-mp.c (BIGNUM_TO_TYPE):
* number.c (bignum_print):
* number.c (bignum_convfree):
* number.c (ratio_print):
* number.c (bigfloat_print):
* number.c (bigfloat_finalize):
* objects-gtk.c (gtk_finalize_color_instance):
* objects-gtk.c (gtk_finalize_font_instance):
* objects-msw.c (mswindows_finalize_color_instance):
* objects-msw.c (mswindows_finalize_font_instance):
* objects-tty.c (tty_finalize_color_instance):
* objects-tty.c (tty_finalize_font_instance):
* objects-tty.c (tty_font_list):
* objects-x.c (x_finalize_color_instance):
* objects-x.c (x_finalize_font_instance):
* process.c:
* process.c (finalize_process):
* realpath.c:
* redisplay.c (add_propagation_runes):
* regex.c:
* regex.c (xfree):
* regex.c (REGEX_FREE_STACK):
* regex.c (FREE_STACK_RETURN):
* regex.c (regex_compile):
* regex.c (regexec):
* regex.c (regfree):
* scrollbar-gtk.c (gtk_free_scrollbar_instance):
* scrollbar-gtk.c (gtk_release_scrollbar_instance):
* scrollbar-msw.c (mswindows_free_scrollbar_instance):
* scrollbar-msw.c (unshow_that_mofo):
* scrollbar-x.c (x_free_scrollbar_instance):
* scrollbar-x.c (x_release_scrollbar_instance):
* select-gtk.c (emacs_gtk_selection_handle):
* select-msw.c (mswindows_own_selection):
* select-x.c:
* select-x.c (x_handle_selection_request):
* select-x.c (unexpect_property_change):
* select-x.c (x_handle_property_notify):
* select-x.c (receive_incremental_selection):
* select-x.c (x_get_window_property_as_lisp_data):
* select-x.c (Fx_get_cutbuffer_internal):
* specifier.c (finalize_specifier):
* syntax.c (uninit_buffer_syntax_cache):
* sysdep.c (qxe_allocating_getcwd):
* sysdep.c (qxe_lstat):
* sysdep.c (copy_in_passwd):
* sysdep.c (qxe_ctime):
* sysdep.c (closedir):
* sysdep.c (DIRSIZ):
* termcap.c (tgetent):
* termcap.c (tprint):
* tests.c (Ftest_data_format_conversion):
* text.c (new_dfc_convert_copy_data):
* text.h (eifree):
* text.h (eito_alloca):
* text.h (eito_external):
* toolbar-msw.c (mswindows_output_toolbar):
* ui-gtk.c (CONVERT_RETVAL):
* ui-gtk.c (__allocate_object_storage):
* unicode.c (free_from_unicode_table):
* unicode.c (free_to_unicode_table):
* unicode.c (free_charset_unicode_tables):
* win32.c (mswindows_read_link_1):
Rename: xfree(VAL, TYPE)->xfree(VAL)
Command used:
gr 'xfree *\((.*),.*\);' 'xfree (\1);' *.[ch]
Followed by grepping for 'xfree.*,' and fixing anything left.
Rationale: Having to specify the TYPE argument is annoying and
error-prone. It was originally put in to work around warnings
due to strict aliasing but years and years ago I rewrote it
in a way that doesn't use the TYPE argument at all and no one
has complained since then. (And anyway, XEmacs is far from
ever being in compliance with strict aliasing and would require
far-reaching changes to get that way.)
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Thu, 04 Feb 2010 07:28:14 -0600 |
parents | afbfad080ddd |
children | ec3712ffd0e6 |
rev | line source |
---|---|
0 | 1 #! /bin/sh |
458 | 2 # Configuration validation subroutine script. |
2651 | 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
5 # Free Software Foundation, Inc. |
442 | 6 |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
7 timestamp='2009-02-03' |
442 | 8 |
0 | 9 # This file is (in principle) common to ALL GNU software. |
10 # The presence of a machine in this file suggests that SOME GNU software | |
11 # can handle that machine. It does not imply ALL GNU software can. | |
12 # | |
13 # This file is free software; you can redistribute it and/or modify | |
14 # it under the terms of the GNU General Public License as published by | |
15 # the Free Software Foundation; either version 2 of the License, or | |
16 # (at your option) any later version. | |
17 # | |
18 # This program is distributed in the hope that it will be useful, | |
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 # GNU General Public License for more details. | |
22 # | |
23 # You should have received a copy of the GNU General Public License | |
24 # along with this program; if not, write to the Free Software | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
26 # 02110-1301, USA. |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
27 # |
0 | 28 # As a special exception to the GNU General Public License, if you |
29 # distribute this file as part of a program that contains a | |
30 # configuration script generated by Autoconf, you may include it under | |
31 # the same distribution terms that you use for the rest of that program. | |
32 | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
33 |
2651 | 34 # Please send patches to <config-patches@gnu.org>. Submit a context |
35 # diff and a properly formatted ChangeLog entry. | |
442 | 36 # |
0 | 37 # Configuration subroutine to validate and canonicalize a configuration type. |
38 # Supply the specified configuration type as an argument. | |
39 # If it is invalid, we print an error message on stderr and exit with code 1. | |
40 # Otherwise, we print the canonical config type on stdout and succeed. | |
41 | |
42 # This file is supposed to be the same for all GNU packages | |
43 # and recognize all the CPU types, system types and aliases | |
44 # that are meaningful with *any* GNU software. | |
45 # Each package is responsible for reporting which valid configurations | |
46 # it does not support. The user should be able to distinguish | |
47 # a failure to support a valid configuration from a meaningless | |
48 # configuration. | |
49 | |
50 # The goal of this file is to map all the various variations of a given | |
51 # machine specification into a single specification in the form: | |
52 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | |
380 | 53 # or in some cases, the newer four-part form: |
54 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM | |
0 | 55 # It is wrong to echo any other type of specification. |
56 | |
442 | 57 me=`echo "$0" | sed -e 's,.*/,,'` |
58 | |
59 usage="\ | |
60 Usage: $0 [OPTION] CPU-MFR-OPSYS | |
61 $0 [OPTION] ALIAS | |
62 | |
63 Canonicalize a configuration name. | |
64 | |
65 Operation modes: | |
458 | 66 -h, --help print this help, then exit |
67 -t, --time-stamp print date of last modification, then exit | |
68 -v, --version print version number, then exit | |
69 | |
70 Report bugs and patches to <config-patches@gnu.org>." | |
71 | |
72 version="\ | |
73 GNU config.sub ($timestamp) | |
74 | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
76 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
458 | 77 |
78 This is free software; see the source for copying conditions. There is NO | |
79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | |
442 | 80 |
81 help=" | |
82 Try \`$me --help' for more information." | |
0 | 83 |
442 | 84 # Parse command line |
85 while test $# -gt 0 ; do | |
458 | 86 case $1 in |
87 --time-stamp | --time* | -t ) | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
88 echo "$timestamp" ; exit ;; |
458 | 89 --version | -v ) |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
90 echo "$version" ; exit ;; |
442 | 91 --help | --h* | -h ) |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
92 echo "$usage"; exit ;; |
442 | 93 -- ) # Stop option processing |
94 shift; break ;; | |
95 - ) # Use stdin as input. | |
96 break ;; | |
97 -* ) | |
458 | 98 echo "$me: invalid option $1$help" |
442 | 99 exit 1 ;; |
100 | |
101 *local*) | |
102 # First pass through any local machine types. | |
103 echo $1 | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
104 exit ;; |
442 | 105 |
106 * ) | |
107 break ;; | |
108 esac | |
109 done | |
110 | |
111 case $# in | |
112 0) echo "$me: missing argument$help" >&2 | |
113 exit 1;; | |
114 1) ;; | |
115 *) echo "$me: too many arguments$help" >&2 | |
116 exit 1;; | |
0 | 117 esac |
118 | |
380 | 119 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
120 # Here we must recognize all the valid KERNEL-OS combinations. | |
121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
122 case $maybe_os in | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
125 kopensolaris*-gnu* | \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
126 storm-chaos* | os2-emx* | rtmk-nova*) |
380 | 127 os=-$maybe_os |
128 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
129 ;; | |
130 *) | |
131 basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
132 if [ $basic_machine != $1 ] | |
133 then os=`echo $1 | sed 's/.*-/-/'` | |
134 else os=; fi | |
135 ;; | |
136 esac | |
0 | 137 |
138 ### Let's recognize common machines as not being operating systems so | |
139 ### that things like config.sub decstation-3100 work. We also | |
140 ### recognize some manufacturers as not being operating systems, so we | |
141 ### can provide default operating systems below. | |
142 case $os in | |
143 -sun*os*) | |
144 # Prevent following clause from handling this invalid input. | |
145 ;; | |
146 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ | |
147 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | |
148 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ | |
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | |
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | |
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | |
2651 | 152 -apple | -axis | -knuth | -cray) |
0 | 153 os= |
154 basic_machine=$1 | |
155 ;; | |
438 | 156 -sim | -cisco | -oki | -wec | -winbond) |
157 os= | |
158 basic_machine=$1 | |
159 ;; | |
160 -scout) | |
161 ;; | |
162 -wrs) | |
163 os=-vxworks | |
164 basic_machine=$1 | |
165 ;; | |
2651 | 166 -chorusos*) |
167 os=-chorusos | |
168 basic_machine=$1 | |
169 ;; | |
170 -chorusrdb) | |
171 os=-chorusrdb | |
172 basic_machine=$1 | |
173 ;; | |
0 | 174 -hiux*) |
175 os=-hiuxwe2 | |
176 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
177 -sco6) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
178 os=-sco5v6 |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
179 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
180 ;; |
0 | 181 -sco5) |
438 | 182 os=-sco3.2v5 |
380 | 183 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
0 | 184 ;; |
185 -sco4) | |
186 os=-sco3.2v4 | |
380 | 187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
0 | 188 ;; |
189 -sco3.2.[4-9]*) | |
190 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` | |
380 | 191 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
0 | 192 ;; |
193 -sco3.2v[4-9]*) | |
194 # Don't forget version if it is 3.2v4 or newer. | |
380 | 195 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
0 | 196 ;; |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
197 -sco5v6*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
198 # Don't forget version if it is 3.2v4 or newer. |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
199 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
200 ;; |
0 | 201 -sco*) |
202 os=-sco3.2v2 | |
380 | 203 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
0 | 204 ;; |
438 | 205 -udk*) |
206 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
207 ;; | |
0 | 208 -isc) |
209 os=-isc2.2 | |
380 | 210 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
0 | 211 ;; |
212 -clix*) | |
213 basic_machine=clipper-intergraph | |
214 ;; | |
215 -isc*) | |
380 | 216 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
0 | 217 ;; |
218 -lynx*) | |
219 os=-lynxos | |
220 ;; | |
221 -ptx*) | |
222 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | |
223 ;; | |
224 -windowsnt*) | |
225 os=`echo $os | sed -e 's/windowsnt/winnt/'` | |
226 ;; | |
227 -psos*) | |
228 os=-psos | |
229 ;; | |
438 | 230 -mint | -mint[0-9]*) |
231 basic_machine=m68k-atari | |
232 os=-mint | |
233 ;; | |
0 | 234 esac |
235 | |
236 # Decode aliases for certain CPU-COMPANY combinations. | |
237 case $basic_machine in | |
238 # Recognize the basic CPU types without company name. | |
239 # Some are omitted here because they have special meanings below. | |
2651 | 240 1750a | 580 \ |
241 | a29k \ | |
242 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | |
243 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | |
244 | am33_2.0 \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
245 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
246 | bfin \ |
2651 | 247 | c4x | clipper \ |
248 | d10v | d30v | dlx | dsp16xx \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
249 | fido | fr30 | frv \ |
2651 | 250 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
251 | i370 | i860 | i960 | ia64 \ | |
252 | ip2k | iq2000 \ | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
253 | lm32 \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
254 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
255 | maxq | mb | microblaze | mcore | mep | metag \ |
2651 | 256 | mips | mipsbe | mipseb | mipsel | mipsle \ |
257 | mips16 \ | |
258 | mips64 | mips64el \ | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
259 | mips64octeon | mips64octeonel \ |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
260 | mips64orion | mips64orionel \ |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
261 | mips64r5900 | mips64r5900el \ |
2651 | 262 | mips64vr | mips64vrel \ |
263 | mips64vr4100 | mips64vr4100el \ | |
264 | mips64vr4300 | mips64vr4300el \ | |
265 | mips64vr5000 | mips64vr5000el \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
266 | mips64vr5900 | mips64vr5900el \ |
2651 | 267 | mipsisa32 | mipsisa32el \ |
268 | mipsisa32r2 | mipsisa32r2el \ | |
269 | mipsisa64 | mipsisa64el \ | |
270 | mipsisa64r2 | mipsisa64r2el \ | |
271 | mipsisa64sb1 | mipsisa64sb1el \ | |
272 | mipsisa64sr71k | mipsisa64sr71kel \ | |
273 | mipstx39 | mipstx39el \ | |
274 | mn10200 | mn10300 \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
275 | mt \ |
2651 | 276 | msp430 \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
277 | nios | nios2 \ |
2651 | 278 | ns16k | ns32k \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
279 | or32 \ |
2651 | 280 | pdp10 | pdp11 | pj | pjl \ |
281 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | |
282 | pyramid \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
283 | score \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
284 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
2651 | 285 | sh64 | sh64le \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
286 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
287 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
288 | spu | strongarm \ |
2651 | 289 | tahoe | thumb | tic4x | tic80 | tron \ |
290 | v850 | v850e \ | |
291 | we32k \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
292 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
293 | z8k | z80) |
0 | 294 basic_machine=$basic_machine-unknown |
295 ;; | |
458 | 296 m6811 | m68hc11 | m6812 | m68hc12) |
297 # Motorola 68HC11/12. | |
298 basic_machine=$basic_machine-unknown | |
299 os=-none | |
300 ;; | |
2651 | 301 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
438 | 302 ;; |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
303 ms1) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
304 basic_machine=mt-unknown |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
305 ;; |
438 | 306 |
380 | 307 # We use `pc' rather than `unknown' |
308 # because (1) that's what they normally are, and | |
309 # (2) the word "unknown" tends to confuse beginning users. | |
2651 | 310 i*86 | x86_64) |
380 | 311 basic_machine=$basic_machine-pc |
312 ;; | |
0 | 313 # Object if more than one company name word. |
314 *-*-*) | |
315 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
316 exit 1 | |
317 ;; | |
318 # Recognize the basic CPU types with company name. | |
2651 | 319 580-* \ |
320 | a29k-* \ | |
321 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | |
322 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | |
323 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | |
324 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
325 | avr-* | avr32-* \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
326 | bfin-* | bs2000-* \ |
2651 | 327 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
328 | clipper-* | craynv-* | cydra-* \ | |
329 | d10v-* | d30v-* | dlx-* \ | |
330 | elxsi-* \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
331 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
2651 | 332 | h8300-* | h8500-* \ |
333 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | |
334 | i*86-* | i860-* | i960-* | ia64-* \ | |
335 | ip2k-* | iq2000-* \ | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
336 | lm32-* \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
337 | m32c-* | m32r-* | m32rle-* \ |
2651 | 338 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
339 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
2651 | 340 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
341 | mips16-* \ | |
342 | mips64-* | mips64el-* \ | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
343 | mips64octeon-* | mips64octeonel-* \ |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
344 | mips64orion-* | mips64orionel-* \ |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
345 | mips64r5900-* | mips64r5900el-* \ |
2651 | 346 | mips64vr-* | mips64vrel-* \ |
347 | mips64vr4100-* | mips64vr4100el-* \ | |
348 | mips64vr4300-* | mips64vr4300el-* \ | |
349 | mips64vr5000-* | mips64vr5000el-* \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
350 | mips64vr5900-* | mips64vr5900el-* \ |
2651 | 351 | mipsisa32-* | mipsisa32el-* \ |
352 | mipsisa32r2-* | mipsisa32r2el-* \ | |
353 | mipsisa64-* | mipsisa64el-* \ | |
354 | mipsisa64r2-* | mipsisa64r2el-* \ | |
355 | mipsisa64sb1-* | mipsisa64sb1el-* \ | |
356 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | |
357 | mipstx39-* | mipstx39el-* \ | |
358 | mmix-* \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
359 | mt-* \ |
2651 | 360 | msp430-* \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
361 | nios-* | nios2-* \ |
2651 | 362 | none-* | np1-* | ns16k-* | ns32k-* \ |
363 | orion-* \ | |
364 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | |
365 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | |
366 | pyramid-* \ | |
367 | romp-* | rs6000-* \ | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
368 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
2651 | 369 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
370 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
371 | sparclite-* \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
372 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
2651 | 373 | tahoe-* | thumb-* \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
374 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ |
2651 | 375 | tron-* \ |
376 | v850-* | v850e-* | vax-* \ | |
377 | we32k-* \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
378 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
379 | xstormy16-* | xtensa*-* \ |
2651 | 380 | ymp-* \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
381 | z8k-* | z80-*) |
0 | 382 ;; |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
383 # Recognize the basic CPU types without company name, with glob match. |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
384 xtensa*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
385 basic_machine=$basic_machine-unknown |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
386 ;; |
0 | 387 # Recognize the various machine names and aliases which stand |
388 # for a CPU type and a company and sometimes even an OS. | |
438 | 389 386bsd) |
390 basic_machine=i386-unknown | |
391 os=-bsd | |
392 ;; | |
0 | 393 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
394 basic_machine=m68000-att | |
395 ;; | |
396 3b*) | |
397 basic_machine=we32k-att | |
398 ;; | |
438 | 399 a29khif) |
400 basic_machine=a29k-amd | |
401 os=-udi | |
402 ;; | |
2651 | 403 abacus) |
404 basic_machine=abacus-unknown | |
405 ;; | |
438 | 406 adobe68k) |
407 basic_machine=m68010-adobe | |
408 os=-scout | |
409 ;; | |
0 | 410 alliant | fx80) |
411 basic_machine=fx80-alliant | |
412 ;; | |
413 altos | altos3068) | |
414 basic_machine=m68k-altos | |
415 ;; | |
416 am29k) | |
417 basic_machine=a29k-none | |
418 os=-bsd | |
419 ;; | |
2651 | 420 amd64) |
421 basic_machine=x86_64-pc | |
422 ;; | |
423 amd64-*) | |
424 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
425 ;; | |
0 | 426 amdahl) |
427 basic_machine=580-amdahl | |
428 os=-sysv | |
429 ;; | |
430 amiga | amiga-*) | |
458 | 431 basic_machine=m68k-unknown |
0 | 432 ;; |
380 | 433 amigaos | amigados) |
458 | 434 basic_machine=m68k-unknown |
380 | 435 os=-amigaos |
0 | 436 ;; |
437 amigaunix | amix) | |
458 | 438 basic_machine=m68k-unknown |
0 | 439 os=-sysv4 |
440 ;; | |
441 apollo68) | |
442 basic_machine=m68k-apollo | |
443 os=-sysv | |
444 ;; | |
438 | 445 apollo68bsd) |
446 basic_machine=m68k-apollo | |
447 os=-bsd | |
448 ;; | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
449 aros) |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
450 basic_machine=i386-pc |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
451 os=-aros |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
452 ;; |
0 | 453 aux) |
454 basic_machine=m68k-apple | |
455 os=-aux | |
456 ;; | |
457 balance) | |
458 basic_machine=ns32k-sequent | |
459 os=-dynix | |
460 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
461 blackfin) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
462 basic_machine=bfin-unknown |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
463 os=-linux |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
464 ;; |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
465 blackfin-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
466 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
467 os=-linux |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
468 ;; |
2651 | 469 c90) |
470 basic_machine=c90-cray | |
471 os=-unicos | |
472 ;; | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
473 cegcc) |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
474 basic_machine=arm-unknown |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
475 os=-cegcc |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
476 ;; |
0 | 477 convex-c1) |
478 basic_machine=c1-convex | |
479 os=-bsd | |
480 ;; | |
481 convex-c2) | |
482 basic_machine=c2-convex | |
483 os=-bsd | |
484 ;; | |
485 convex-c32) | |
486 basic_machine=c32-convex | |
487 os=-bsd | |
488 ;; | |
489 convex-c34) | |
490 basic_machine=c34-convex | |
491 os=-bsd | |
492 ;; | |
493 convex-c38) | |
494 basic_machine=c38-convex | |
495 os=-bsd | |
496 ;; | |
2651 | 497 cray | j90) |
498 basic_machine=j90-cray | |
0 | 499 os=-unicos |
500 ;; | |
2651 | 501 craynv) |
502 basic_machine=craynv-cray | |
503 os=-unicosmp | |
0 | 504 ;; |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
505 cr16) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
506 basic_machine=cr16-unknown |
2651 | 507 os=-elf |
0 | 508 ;; |
509 crds | unos) | |
510 basic_machine=m68k-crds | |
511 ;; | |
2651 | 512 crisv32 | crisv32-* | etraxfs*) |
513 basic_machine=crisv32-axis | |
514 ;; | |
458 | 515 cris | cris-* | etrax*) |
516 basic_machine=cris-axis | |
517 ;; | |
2651 | 518 crx) |
519 basic_machine=crx-unknown | |
520 os=-elf | |
521 ;; | |
0 | 522 da30 | da30-*) |
523 basic_machine=m68k-da30 | |
524 ;; | |
525 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) | |
526 basic_machine=mips-dec | |
527 ;; | |
2651 | 528 decsystem10* | dec10*) |
529 basic_machine=pdp10-dec | |
530 os=-tops10 | |
531 ;; | |
532 decsystem20* | dec20*) | |
533 basic_machine=pdp10-dec | |
534 os=-tops20 | |
535 ;; | |
0 | 536 delta | 3300 | motorola-3300 | motorola-delta \ |
537 | 3300-motorola | delta-motorola) | |
538 basic_machine=m68k-motorola | |
539 ;; | |
540 delta88) | |
541 basic_machine=m88k-motorola | |
542 os=-sysv3 | |
543 ;; | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
544 dicos) |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
545 basic_machine=i686-pc |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
546 os=-dicos |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
547 ;; |
2651 | 548 djgpp) |
549 basic_machine=i586-pc | |
550 os=-msdosdjgpp | |
551 ;; | |
0 | 552 dpx20 | dpx20-*) |
553 basic_machine=rs6000-bull | |
554 os=-bosx | |
555 ;; | |
556 dpx2* | dpx2*-bull) | |
557 basic_machine=m68k-bull | |
558 os=-sysv3 | |
559 ;; | |
560 ebmon29k) | |
561 basic_machine=a29k-amd | |
562 os=-ebmon | |
563 ;; | |
564 elxsi) | |
565 basic_machine=elxsi-elxsi | |
566 os=-bsd | |
567 ;; | |
568 encore | umax | mmax) | |
569 basic_machine=ns32k-encore | |
570 ;; | |
438 | 571 es1800 | OSE68k | ose68k | ose | OSE) |
572 basic_machine=m68k-ericsson | |
573 os=-ose | |
574 ;; | |
0 | 575 fx2800) |
576 basic_machine=i860-alliant | |
577 ;; | |
578 genix) | |
579 basic_machine=ns32k-ns | |
580 ;; | |
581 gmicro) | |
582 basic_machine=tron-gmicro | |
583 os=-sysv | |
584 ;; | |
458 | 585 go32) |
586 basic_machine=i386-pc | |
587 os=-go32 | |
588 ;; | |
0 | 589 h3050r* | hiux*) |
590 basic_machine=hppa1.1-hitachi | |
591 os=-hiuxwe2 | |
592 ;; | |
593 h8300hms) | |
594 basic_machine=h8300-hitachi | |
595 os=-hms | |
596 ;; | |
438 | 597 h8300xray) |
598 basic_machine=h8300-hitachi | |
599 os=-xray | |
600 ;; | |
601 h8500hms) | |
602 basic_machine=h8500-hitachi | |
603 os=-hms | |
604 ;; | |
0 | 605 harris) |
606 basic_machine=m88k-harris | |
607 os=-sysv3 | |
608 ;; | |
609 hp300-*) | |
610 basic_machine=m68k-hp | |
611 ;; | |
612 hp300bsd) | |
613 basic_machine=m68k-hp | |
614 os=-bsd | |
615 ;; | |
616 hp300hpux) | |
617 basic_machine=m68k-hp | |
618 os=-hpux | |
619 ;; | |
438 | 620 hp3k9[0-9][0-9] | hp9[0-9][0-9]) |
621 basic_machine=hppa1.0-hp | |
622 ;; | |
0 | 623 hp9k2[0-9][0-9] | hp9k31[0-9]) |
624 basic_machine=m68000-hp | |
625 ;; | |
626 hp9k3[2-9][0-9]) | |
627 basic_machine=m68k-hp | |
628 ;; | |
438 | 629 hp9k6[0-9][0-9] | hp6[0-9][0-9]) |
630 basic_machine=hppa1.0-hp | |
631 ;; | |
632 hp9k7[0-79][0-9] | hp7[0-79][0-9]) | |
633 basic_machine=hppa1.1-hp | |
634 ;; | |
635 hp9k78[0-9] | hp78[0-9]) | |
636 # FIXME: really hppa2.0-hp | |
637 basic_machine=hppa1.1-hp | |
638 ;; | |
639 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) | |
640 # FIXME: really hppa2.0-hp | |
641 basic_machine=hppa1.1-hp | |
642 ;; | |
643 hp9k8[0-9][13679] | hp8[0-9][13679]) | |
0 | 644 basic_machine=hppa1.1-hp |
645 ;; | |
646 hp9k8[0-9][0-9] | hp8[0-9][0-9]) | |
647 basic_machine=hppa1.0-hp | |
648 ;; | |
380 | 649 hppa-next) |
650 os=-nextstep3 | |
651 ;; | |
438 | 652 hppaosf) |
653 basic_machine=hppa1.1-hp | |
654 os=-osf | |
655 ;; | |
656 hppro) | |
657 basic_machine=hppa1.1-hp | |
658 os=-proelf | |
659 ;; | |
0 | 660 i370-ibm* | ibm*) |
661 basic_machine=i370-ibm | |
662 ;; | |
663 # I'm not sure what "Sysv32" means. Should this be sysv3.2? | |
2651 | 664 i*86v32) |
380 | 665 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
0 | 666 os=-sysv32 |
667 ;; | |
2651 | 668 i*86v4*) |
380 | 669 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
0 | 670 os=-sysv4 |
671 ;; | |
2651 | 672 i*86v) |
380 | 673 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
0 | 674 os=-sysv |
675 ;; | |
2651 | 676 i*86sol2) |
380 | 677 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
0 | 678 os=-solaris2 |
679 ;; | |
438 | 680 i386mach) |
681 basic_machine=i386-mach | |
682 os=-mach | |
683 ;; | |
684 i386-vsta | vsta) | |
685 basic_machine=i386-unknown | |
686 os=-vsta | |
687 ;; | |
0 | 688 iris | iris4d) |
689 basic_machine=mips-sgi | |
690 case $os in | |
691 -irix*) | |
692 ;; | |
693 *) | |
694 os=-irix4 | |
695 ;; | |
696 esac | |
697 ;; | |
698 isi68 | isi) | |
699 basic_machine=m68k-isi | |
700 os=-sysv | |
701 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
702 m68knommu) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
703 basic_machine=m68k-unknown |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
704 os=-linux |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
705 ;; |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
706 m68knommu-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
707 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
708 os=-linux |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
709 ;; |
0 | 710 m88k-omron*) |
711 basic_machine=m88k-omron | |
712 ;; | |
713 magnum | m3230) | |
714 basic_machine=mips-mips | |
715 os=-sysv | |
716 ;; | |
717 merlin) | |
718 basic_machine=ns32k-utek | |
719 os=-sysv | |
720 ;; | |
458 | 721 mingw32) |
722 basic_machine=i386-pc | |
723 os=-mingw32 | |
724 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
725 mingw32ce) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
726 basic_machine=arm-unknown |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
727 os=-mingw32ce |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
728 ;; |
0 | 729 miniframe) |
730 basic_machine=m68000-convergent | |
731 ;; | |
438 | 732 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
733 basic_machine=m68k-atari | |
734 os=-mint | |
735 ;; | |
0 | 736 mips3*-*) |
737 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
738 ;; | |
739 mips3*) | |
740 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | |
741 ;; | |
438 | 742 monitor) |
743 basic_machine=m68k-rom68k | |
744 os=-coff | |
745 ;; | |
2651 | 746 morphos) |
747 basic_machine=powerpc-unknown | |
748 os=-morphos | |
749 ;; | |
438 | 750 msdos) |
458 | 751 basic_machine=i386-pc |
438 | 752 os=-msdos |
753 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
754 ms1-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
755 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
756 ;; |
438 | 757 mvs) |
758 basic_machine=i370-ibm | |
759 os=-mvs | |
760 ;; | |
0 | 761 ncr3000) |
762 basic_machine=i486-ncr | |
763 os=-sysv4 | |
764 ;; | |
438 | 765 netbsd386) |
766 basic_machine=i386-unknown | |
767 os=-netbsd | |
768 ;; | |
769 netwinder) | |
770 basic_machine=armv4l-rebel | |
771 os=-linux | |
772 ;; | |
0 | 773 news | news700 | news800 | news900) |
774 basic_machine=m68k-sony | |
775 os=-newsos | |
776 ;; | |
777 news1000) | |
778 basic_machine=m68030-sony | |
779 os=-newsos | |
780 ;; | |
781 news-3600 | risc-news) | |
782 basic_machine=mips-sony | |
783 os=-newsos | |
784 ;; | |
438 | 785 necv70) |
786 basic_machine=v70-nec | |
787 os=-sysv | |
788 ;; | |
0 | 789 next | m*-next ) |
790 basic_machine=m68k-next | |
791 case $os in | |
792 -nextstep* ) | |
793 ;; | |
794 -ns2*) | |
795 os=-nextstep2 | |
796 ;; | |
797 *) | |
798 os=-nextstep3 | |
799 ;; | |
800 esac | |
801 ;; | |
802 nh3000) | |
803 basic_machine=m68k-harris | |
804 os=-cxux | |
805 ;; | |
806 nh[45]000) | |
807 basic_machine=m88k-harris | |
808 os=-cxux | |
809 ;; | |
810 nindy960) | |
811 basic_machine=i960-intel | |
812 os=-nindy | |
813 ;; | |
438 | 814 mon960) |
815 basic_machine=i960-intel | |
816 os=-mon960 | |
817 ;; | |
458 | 818 nonstopux) |
819 basic_machine=mips-compaq | |
820 os=-nonstopux | |
821 ;; | |
0 | 822 np1) |
823 basic_machine=np1-gould | |
824 ;; | |
442 | 825 nsr-tandem) |
826 basic_machine=nsr-tandem | |
827 ;; | |
438 | 828 op50n-* | op60c-*) |
829 basic_machine=hppa1.1-oki | |
830 os=-proelf | |
831 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
832 openrisc | openrisc-*) |
2651 | 833 basic_machine=or32-unknown |
834 ;; | |
835 os400) | |
836 basic_machine=powerpc-ibm | |
837 os=-os400 | |
838 ;; | |
438 | 839 OSE68000 | ose68000) |
840 basic_machine=m68000-ericsson | |
841 os=-ose | |
842 ;; | |
843 os68k) | |
844 basic_machine=m68k-none | |
845 os=-os68k | |
846 ;; | |
0 | 847 pa-hitachi) |
848 basic_machine=hppa1.1-hitachi | |
849 os=-hiuxwe2 | |
850 ;; | |
851 paragon) | |
852 basic_machine=i860-intel | |
853 os=-osf | |
854 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
855 parisc) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
856 basic_machine=hppa-unknown |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
857 os=-linux |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
858 ;; |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
859 parisc-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
860 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
861 os=-linux |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
862 ;; |
0 | 863 pbd) |
864 basic_machine=sparc-tti | |
865 ;; | |
866 pbb) | |
867 basic_machine=m68k-tti | |
868 ;; | |
2651 | 869 pc532 | pc532-*) |
380 | 870 basic_machine=ns32k-pc532 |
871 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
872 pc98) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
873 basic_machine=i386-pc |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
874 ;; |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
875 pc98-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
876 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
877 ;; |
2651 | 878 pentium | p5 | k5 | k6 | nexgen | viac3) |
380 | 879 basic_machine=i586-pc |
0 | 880 ;; |
2651 | 881 pentiumpro | p6 | 6x86 | athlon | athlon_*) |
380 | 882 basic_machine=i686-pc |
0 | 883 ;; |
2651 | 884 pentiumii | pentium2 | pentiumiii | pentium3) |
458 | 885 basic_machine=i686-pc |
0 | 886 ;; |
2651 | 887 pentium4) |
888 basic_machine=i786-pc | |
889 ;; | |
890 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) | |
0 | 891 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
892 ;; | |
442 | 893 pentiumpro-* | p6-* | 6x86-* | athlon-*) |
0 | 894 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
895 ;; | |
2651 | 896 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
458 | 897 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
0 | 898 ;; |
2651 | 899 pentium4-*) |
900 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
901 ;; | |
0 | 902 pn) |
903 basic_machine=pn-gould | |
904 ;; | |
458 | 905 power) basic_machine=power-ibm |
0 | 906 ;; |
907 ppc) basic_machine=powerpc-unknown | |
2651 | 908 ;; |
0 | 909 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
910 ;; | |
911 ppcle | powerpclittle | ppc-le | powerpc-little) | |
912 basic_machine=powerpcle-unknown | |
2651 | 913 ;; |
0 | 914 ppcle-* | powerpclittle-*) |
915 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
916 ;; | |
2651 | 917 ppc64) basic_machine=powerpc64-unknown |
918 ;; | |
919 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
920 ;; | |
921 ppc64le | powerpc64little | ppc64-le | powerpc64-little) | |
922 basic_machine=powerpc64le-unknown | |
923 ;; | |
924 ppc64le-* | powerpc64little-*) | |
925 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
926 ;; | |
0 | 927 ps2) |
928 basic_machine=i386-ibm | |
929 ;; | |
458 | 930 pw32) |
931 basic_machine=i586-unknown | |
932 os=-pw32 | |
933 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
934 rdos) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
935 basic_machine=i386-pc |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
936 os=-rdos |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
937 ;; |
438 | 938 rom68k) |
939 basic_machine=m68k-rom68k | |
940 os=-coff | |
941 ;; | |
0 | 942 rm[46]00) |
943 basic_machine=mips-siemens | |
944 ;; | |
945 rtpc | rtpc-*) | |
946 basic_machine=romp-ibm | |
947 ;; | |
2651 | 948 s390 | s390-*) |
949 basic_machine=s390-ibm | |
950 ;; | |
951 s390x | s390x-*) | |
952 basic_machine=s390x-ibm | |
953 ;; | |
438 | 954 sa29200) |
955 basic_machine=a29k-amd | |
956 os=-udi | |
957 ;; | |
2651 | 958 sb1) |
959 basic_machine=mipsisa64sb1-unknown | |
960 ;; | |
961 sb1el) | |
962 basic_machine=mipsisa64sb1el-unknown | |
963 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
964 sde) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
965 basic_machine=mipsisa32-sde |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
966 os=-elf |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
967 ;; |
2651 | 968 sei) |
969 basic_machine=mips-sei | |
970 os=-seiux | |
971 ;; | |
0 | 972 sequent) |
973 basic_machine=i386-sequent | |
974 ;; | |
975 sh) | |
976 basic_machine=sh-hitachi | |
977 os=-hms | |
978 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
979 sh5el) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
980 basic_machine=sh5le-unknown |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
981 ;; |
2651 | 982 sh64) |
983 basic_machine=sh64-unknown | |
984 ;; | |
985 sparclite-wrs | simso-wrs) | |
438 | 986 basic_machine=sparclite-wrs |
987 os=-vxworks | |
988 ;; | |
0 | 989 sps7) |
990 basic_machine=m68k-bull | |
991 os=-sysv2 | |
992 ;; | |
993 spur) | |
994 basic_machine=spur-unknown | |
995 ;; | |
438 | 996 st2000) |
997 basic_machine=m68k-tandem | |
998 ;; | |
999 stratus) | |
1000 basic_machine=i860-stratus | |
1001 os=-sysv4 | |
1002 ;; | |
0 | 1003 sun2) |
1004 basic_machine=m68000-sun | |
1005 ;; | |
1006 sun2os3) | |
1007 basic_machine=m68000-sun | |
1008 os=-sunos3 | |
1009 ;; | |
1010 sun2os4) | |
1011 basic_machine=m68000-sun | |
1012 os=-sunos4 | |
1013 ;; | |
1014 sun3os3) | |
1015 basic_machine=m68k-sun | |
1016 os=-sunos3 | |
1017 ;; | |
1018 sun3os4) | |
1019 basic_machine=m68k-sun | |
1020 os=-sunos4 | |
1021 ;; | |
1022 sun4os3) | |
1023 basic_machine=sparc-sun | |
1024 os=-sunos3 | |
1025 ;; | |
1026 sun4os4) | |
1027 basic_machine=sparc-sun | |
1028 os=-sunos4 | |
1029 ;; | |
1030 sun4sol2) | |
1031 basic_machine=sparc-sun | |
1032 os=-solaris2 | |
1033 ;; | |
1034 sun3 | sun3-*) | |
1035 basic_machine=m68k-sun | |
1036 ;; | |
1037 sun4) | |
1038 basic_machine=sparc-sun | |
1039 ;; | |
1040 sun386 | sun386i | roadrunner) | |
1041 basic_machine=i386-sun | |
1042 ;; | |
442 | 1043 sv1) |
1044 basic_machine=sv1-cray | |
1045 os=-unicos | |
1046 ;; | |
0 | 1047 symmetry) |
1048 basic_machine=i386-sequent | |
1049 os=-dynix | |
1050 ;; | |
438 | 1051 t3e) |
2651 | 1052 basic_machine=alphaev5-cray |
1053 os=-unicos | |
1054 ;; | |
1055 t90) | |
1056 basic_machine=t90-cray | |
438 | 1057 os=-unicos |
1058 ;; | |
458 | 1059 tic54x | c54x*) |
1060 basic_machine=tic54x-unknown | |
1061 os=-coff | |
1062 ;; | |
2651 | 1063 tic55x | c55x*) |
1064 basic_machine=tic55x-unknown | |
1065 os=-coff | |
1066 ;; | |
1067 tic6x | c6x*) | |
1068 basic_machine=tic6x-unknown | |
1069 os=-coff | |
1070 ;; | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1071 tile*) |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1072 basic_machine=tile-unknown |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1073 os=-linux-gnu |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1074 ;; |
380 | 1075 tx39) |
1076 basic_machine=mipstx39-unknown | |
1077 ;; | |
1078 tx39el) | |
1079 basic_machine=mipstx39el-unknown | |
1080 ;; | |
2651 | 1081 toad1) |
1082 basic_machine=pdp10-xkl | |
1083 os=-tops20 | |
1084 ;; | |
0 | 1085 tower | tower-32) |
1086 basic_machine=m68k-ncr | |
1087 ;; | |
2651 | 1088 tpf) |
1089 basic_machine=s390x-ibm | |
1090 os=-tpf | |
1091 ;; | |
0 | 1092 udi29k) |
1093 basic_machine=a29k-amd | |
1094 os=-udi | |
1095 ;; | |
1096 ultra3) | |
1097 basic_machine=a29k-nyu | |
1098 os=-sym1 | |
1099 ;; | |
438 | 1100 v810 | necv810) |
1101 basic_machine=v810-nec | |
1102 os=-none | |
1103 ;; | |
0 | 1104 vaxv) |
1105 basic_machine=vax-dec | |
1106 os=-sysv | |
1107 ;; | |
1108 vms) | |
1109 basic_machine=vax-dec | |
1110 os=-vms | |
1111 ;; | |
380 | 1112 vpp*|vx|vx-*) |
2651 | 1113 basic_machine=f301-fujitsu |
1114 ;; | |
0 | 1115 vxworks960) |
1116 basic_machine=i960-wrs | |
1117 os=-vxworks | |
1118 ;; | |
1119 vxworks68) | |
1120 basic_machine=m68k-wrs | |
1121 os=-vxworks | |
1122 ;; | |
1123 vxworks29k) | |
1124 basic_machine=a29k-wrs | |
1125 os=-vxworks | |
1126 ;; | |
438 | 1127 w65*) |
1128 basic_machine=w65-wdc | |
1129 os=-none | |
1130 ;; | |
1131 w89k-*) | |
1132 basic_machine=hppa1.1-winbond | |
1133 os=-proelf | |
1134 ;; | |
2651 | 1135 xbox) |
1136 basic_machine=i686-pc | |
1137 os=-mingw32 | |
1138 ;; | |
1139 xps | xps100) | |
1140 basic_machine=xps100-honeywell | |
1141 ;; | |
1142 ymp) | |
1143 basic_machine=ymp-cray | |
0 | 1144 os=-unicos |
1145 ;; | |
438 | 1146 z8k-*-coff) |
1147 basic_machine=z8k-unknown | |
1148 os=-sim | |
1149 ;; | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1150 z80-*-coff) |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1151 basic_machine=z80-unknown |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1152 os=-sim |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1153 ;; |
0 | 1154 none) |
1155 basic_machine=none-none | |
1156 os=-none | |
1157 ;; | |
1158 | |
1159 # Here we handle the default manufacturer of certain CPU types. It is in | |
1160 # some cases the only manufacturer, in others, it is the most popular. | |
438 | 1161 w89k) |
1162 basic_machine=hppa1.1-winbond | |
1163 ;; | |
1164 op50n) | |
1165 basic_machine=hppa1.1-oki | |
1166 ;; | |
1167 op60c) | |
1168 basic_machine=hppa1.1-oki | |
1169 ;; | |
0 | 1170 romp) |
1171 basic_machine=romp-ibm | |
1172 ;; | |
2651 | 1173 mmix) |
1174 basic_machine=mmix-knuth | |
1175 ;; | |
0 | 1176 rs6000) |
1177 basic_machine=rs6000-ibm | |
1178 ;; | |
1179 vax) | |
1180 basic_machine=vax-dec | |
1181 ;; | |
458 | 1182 pdp10) |
1183 # there are many clones, so DEC is not a safe bet | |
1184 basic_machine=pdp10-unknown | |
1185 ;; | |
0 | 1186 pdp11) |
1187 basic_machine=pdp11-dec | |
1188 ;; | |
1189 we32k) | |
1190 basic_machine=we32k-att | |
1191 ;; | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1192 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
458 | 1193 basic_machine=sh-unknown |
1194 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1195 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
0 | 1196 basic_machine=sparc-sun |
1197 ;; | |
2651 | 1198 cydra) |
0 | 1199 basic_machine=cydra-cydrome |
1200 ;; | |
1201 orion) | |
1202 basic_machine=orion-highlevel | |
1203 ;; | |
1204 orion105) | |
1205 basic_machine=clipper-highlevel | |
1206 ;; | |
438 | 1207 mac | mpw | mac-mpw) |
1208 basic_machine=m68k-apple | |
1209 ;; | |
1210 pmac | pmac-mpw) | |
1211 basic_machine=powerpc-apple | |
1212 ;; | |
2651 | 1213 *-unknown) |
1214 # Make sure to match an already-canonicalized machine name. | |
438 | 1215 ;; |
0 | 1216 *) |
1217 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1218 exit 1 | |
1219 ;; | |
1220 esac | |
1221 | |
1222 # Here we canonicalize certain aliases for manufacturers. | |
1223 case $basic_machine in | |
1224 *-digital*) | |
1225 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1226 ;; | |
1227 *-commodore*) | |
1228 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1229 ;; | |
1230 *) | |
1231 ;; | |
1232 esac | |
1233 | |
1234 # Decode manufacturer-specific aliases for certain operating systems. | |
1235 | |
1236 if [ x"$os" != x"" ] | |
1237 then | |
1238 case $os in | |
380 | 1239 # First match some system type aliases |
1240 # that might get confused with valid system types. | |
0 | 1241 # -solaris* is a basic system type, with this one exception. |
1242 -solaris1 | -solaris1.*) | |
1243 os=`echo $os | sed -e 's|solaris1|sunos4|'` | |
1244 ;; | |
1245 -solaris) | |
1246 os=-solaris2 | |
1247 ;; | |
380 | 1248 -svr4*) |
0 | 1249 os=-sysv4 |
1250 ;; | |
380 | 1251 -unixware*) |
1252 os=-sysv4.2uw | |
1253 ;; | |
0 | 1254 -gnu/linux*) |
380 | 1255 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
0 | 1256 ;; |
1257 # First accept the basic system types. | |
1258 # The portable systems comes first. | |
1259 # Each alternative MUST END IN A *, to match a version number. | |
1260 # -sysv* is not here because it comes later, after sysvr4. | |
1261 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | |
380 | 1262 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ |
0 | 1263 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1264 | -kopensolaris* \ |
380 | 1265 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1266 | -aos* | -aros* \ |
380 | 1267 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1268 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1269 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1270 | -openbsd* | -solidbsd* \ |
2651 | 1271 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1272 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | |
0 | 1273 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1274 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1275 | -chorusos* | -chorusrdb* | -cegcc* \ |
438 | 1276 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1277 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1278 | -uxpv* | -beos* | -mpeix* | -udk* \ |
2651 | 1279 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
458 | 1280 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
2651 | 1281 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1282 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | |
1283 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1284 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1285 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) |
0 | 1286 # Remember, each alternative MUST END IN *, to match a version number. |
1287 ;; | |
442 | 1288 -qnx*) |
1289 case $basic_machine in | |
2651 | 1290 x86-* | i*86-*) |
442 | 1291 ;; |
1292 *) | |
1293 os=-nto$os | |
1294 ;; | |
1295 esac | |
1296 ;; | |
2651 | 1297 -nto-qnx*) |
1298 ;; | |
442 | 1299 -nto*) |
2651 | 1300 os=`echo $os | sed -e 's|nto|nto-qnx|'` |
442 | 1301 ;; |
438 | 1302 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1303 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ |
442 | 1304 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
438 | 1305 ;; |
1306 -mac*) | |
1307 os=`echo $os | sed -e 's|mac|macos|'` | |
1308 ;; | |
2651 | 1309 -linux-dietlibc) |
1310 os=-linux-dietlibc | |
1311 ;; | |
380 | 1312 -linux*) |
1313 os=`echo $os | sed -e 's|linux|linux-gnu|'` | |
1314 ;; | |
0 | 1315 -sunos5*) |
1316 os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1317 ;; | |
1318 -sunos6*) | |
1319 os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1320 ;; | |
438 | 1321 -opened*) |
1322 os=-openedition | |
1323 ;; | |
2651 | 1324 -os400*) |
1325 os=-os400 | |
1326 ;; | |
442 | 1327 -wince*) |
1328 os=-wince | |
1329 ;; | |
0 | 1330 -osfrose*) |
1331 os=-osfrose | |
1332 ;; | |
1333 -osf*) | |
1334 os=-osf | |
1335 ;; | |
1336 -utek*) | |
1337 os=-bsd | |
1338 ;; | |
1339 -dynix*) | |
1340 os=-bsd | |
1341 ;; | |
1342 -acis*) | |
1343 os=-aos | |
1344 ;; | |
2651 | 1345 -atheos*) |
1346 os=-atheos | |
1347 ;; | |
1348 -syllable*) | |
1349 os=-syllable | |
1350 ;; | |
438 | 1351 -386bsd) |
1352 os=-bsd | |
1353 ;; | |
0 | 1354 -ctix* | -uts*) |
1355 os=-sysv | |
1356 ;; | |
2651 | 1357 -nova*) |
1358 os=-rtmk-nova | |
1359 ;; | |
0 | 1360 -ns2 ) |
2651 | 1361 os=-nextstep2 |
0 | 1362 ;; |
458 | 1363 -nsk*) |
442 | 1364 os=-nsk |
1365 ;; | |
0 | 1366 # Preserve the version number of sinix5. |
1367 -sinix5.*) | |
1368 os=`echo $os | sed -e 's|sinix|sysv|'` | |
1369 ;; | |
1370 -sinix*) | |
1371 os=-sysv4 | |
1372 ;; | |
2651 | 1373 -tpf*) |
1374 os=-tpf | |
1375 ;; | |
0 | 1376 -triton*) |
1377 os=-sysv3 | |
1378 ;; | |
1379 -oss*) | |
1380 os=-sysv3 | |
1381 ;; | |
1382 -svr4) | |
1383 os=-sysv4 | |
1384 ;; | |
1385 -svr3) | |
1386 os=-sysv3 | |
1387 ;; | |
1388 -sysvr4) | |
1389 os=-sysv4 | |
1390 ;; | |
1391 # This must come after -sysvr4. | |
1392 -sysv*) | |
1393 ;; | |
438 | 1394 -ose*) |
1395 os=-ose | |
1396 ;; | |
1397 -es1800*) | |
1398 os=-ose | |
1399 ;; | |
0 | 1400 -xenix) |
1401 os=-xenix | |
1402 ;; | |
2651 | 1403 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1404 os=-mint | |
1405 ;; | |
1406 -aros*) | |
1407 os=-aros | |
1408 ;; | |
1409 -kaos*) | |
1410 os=-kaos | |
1411 ;; | |
1412 -zvmoe) | |
1413 os=-zvmoe | |
438 | 1414 ;; |
4614
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1415 -dicos*) |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1416 os=-dicos |
afbfad080ddd
The URLs in our current config.guess and config.sub files are obsolete.
Jerry James <james@xemacs.org>
parents:
4338
diff
changeset
|
1417 ;; |
0 | 1418 -none) |
1419 ;; | |
1420 *) | |
1421 # Get rid of the `-' at the beginning of $os. | |
1422 os=`echo $os | sed 's/[^-]*-//'` | |
1423 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
1424 exit 1 | |
1425 ;; | |
1426 esac | |
1427 else | |
1428 | |
1429 # Here we handle the default operating systems that come with various machines. | |
1430 # The value should be what the vendor currently ships out the door with their | |
1431 # machine or put another way, the most popular os provided with the machine. | |
1432 | |
1433 # Note that if you're going to try to match "-MANUFACTURER" here (say, | |
1434 # "-sun"), then you have to tell the case statement up towards the top | |
1435 # that MANUFACTURER isn't an operating system. Otherwise, code above | |
1436 # will signal an error saying that MANUFACTURER isn't an operating | |
1437 # system, and we'll never get to this point. | |
1438 | |
1439 case $basic_machine in | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1440 score-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1441 os=-elf |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1442 ;; |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1443 spu-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1444 os=-elf |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1445 ;; |
0 | 1446 *-acorn) |
1447 os=-riscix1.2 | |
1448 ;; | |
438 | 1449 arm*-rebel) |
1450 os=-linux | |
1451 ;; | |
0 | 1452 arm*-semi) |
1453 os=-aout | |
1454 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1455 c4x-* | tic4x-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1456 os=-coff |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1457 ;; |
2651 | 1458 # This must come before the *-dec entry. |
458 | 1459 pdp10-*) |
1460 os=-tops20 | |
1461 ;; | |
2651 | 1462 pdp11-*) |
0 | 1463 os=-none |
1464 ;; | |
1465 *-dec | vax-*) | |
1466 os=-ultrix4.2 | |
1467 ;; | |
1468 m68*-apollo) | |
1469 os=-domain | |
1470 ;; | |
1471 i386-sun) | |
1472 os=-sunos4.0.2 | |
1473 ;; | |
1474 m68000-sun) | |
1475 os=-sunos3 | |
1476 # This also exists in the configure program, but was not the | |
1477 # default. | |
1478 # os=-sunos4 | |
1479 ;; | |
438 | 1480 m68*-cisco) |
1481 os=-aout | |
1482 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1483 mep-*) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1484 os=-elf |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1485 ;; |
438 | 1486 mips*-cisco) |
1487 os=-elf | |
1488 ;; | |
1489 mips*-*) | |
1490 os=-elf | |
1491 ;; | |
2651 | 1492 or32-*) |
1493 os=-coff | |
1494 ;; | |
0 | 1495 *-tti) # must be before sparc entry or we get the wrong os. |
1496 os=-sysv3 | |
1497 ;; | |
1498 sparc-* | *-sun) | |
1499 os=-sunos4.1.1 | |
1500 ;; | |
380 | 1501 *-be) |
1502 os=-beos | |
1503 ;; | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1504 *-haiku) |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1505 os=-haiku |
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1506 ;; |
0 | 1507 *-ibm) |
1508 os=-aix | |
1509 ;; | |
2651 | 1510 *-knuth) |
1511 os=-mmixware | |
1512 ;; | |
438 | 1513 *-wec) |
1514 os=-proelf | |
1515 ;; | |
1516 *-winbond) | |
1517 os=-proelf | |
1518 ;; | |
1519 *-oki) | |
1520 os=-proelf | |
1521 ;; | |
0 | 1522 *-hp) |
1523 os=-hpux | |
1524 ;; | |
1525 *-hitachi) | |
1526 os=-hiux | |
1527 ;; | |
1528 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) | |
1529 os=-sysv | |
1530 ;; | |
1531 *-cbm) | |
380 | 1532 os=-amigaos |
0 | 1533 ;; |
1534 *-dg) | |
1535 os=-dgux | |
1536 ;; | |
1537 *-dolphin) | |
1538 os=-sysv3 | |
1539 ;; | |
1540 m68k-ccur) | |
1541 os=-rtu | |
1542 ;; | |
1543 m88k-omron*) | |
1544 os=-luna | |
1545 ;; | |
1546 *-next ) | |
1547 os=-nextstep | |
1548 ;; | |
1549 *-sequent) | |
1550 os=-ptx | |
1551 ;; | |
1552 *-crds) | |
1553 os=-unos | |
1554 ;; | |
1555 *-ns) | |
1556 os=-genix | |
1557 ;; | |
1558 i370-*) | |
1559 os=-mvs | |
1560 ;; | |
1561 *-next) | |
1562 os=-nextstep3 | |
1563 ;; | |
2651 | 1564 *-gould) |
0 | 1565 os=-sysv |
1566 ;; | |
2651 | 1567 *-highlevel) |
0 | 1568 os=-bsd |
1569 ;; | |
1570 *-encore) | |
1571 os=-bsd | |
1572 ;; | |
2651 | 1573 *-sgi) |
0 | 1574 os=-irix |
1575 ;; | |
2651 | 1576 *-siemens) |
0 | 1577 os=-sysv4 |
1578 ;; | |
1579 *-masscomp) | |
1580 os=-rtu | |
1581 ;; | |
458 | 1582 f30[01]-fujitsu | f700-fujitsu) |
380 | 1583 os=-uxpv |
1584 ;; | |
438 | 1585 *-rom68k) |
1586 os=-coff | |
1587 ;; | |
1588 *-*bug) | |
1589 os=-coff | |
1590 ;; | |
1591 *-apple) | |
1592 os=-macos | |
1593 ;; | |
1594 *-atari*) | |
1595 os=-mint | |
1596 ;; | |
0 | 1597 *) |
1598 os=-none | |
1599 ;; | |
1600 esac | |
1601 fi | |
1602 | |
1603 # Here we handle the case where we know the os, and the CPU type, but not the | |
1604 # manufacturer. We pick the logical manufacturer. | |
1605 vendor=unknown | |
1606 case $basic_machine in | |
1607 *-unknown) | |
1608 case $os in | |
1609 -riscix*) | |
1610 vendor=acorn | |
1611 ;; | |
1612 -sunos*) | |
1613 vendor=sun | |
1614 ;; | |
1615 -aix*) | |
1616 vendor=ibm | |
1617 ;; | |
438 | 1618 -beos*) |
1619 vendor=be | |
1620 ;; | |
0 | 1621 -hpux*) |
1622 vendor=hp | |
1623 ;; | |
438 | 1624 -mpeix*) |
1625 vendor=hp | |
1626 ;; | |
0 | 1627 -hiux*) |
1628 vendor=hitachi | |
1629 ;; | |
1630 -unos*) | |
1631 vendor=crds | |
1632 ;; | |
1633 -dgux*) | |
1634 vendor=dg | |
1635 ;; | |
1636 -luna*) | |
1637 vendor=omron | |
1638 ;; | |
1639 -genix*) | |
1640 vendor=ns | |
1641 ;; | |
438 | 1642 -mvs* | -opened*) |
0 | 1643 vendor=ibm |
1644 ;; | |
2651 | 1645 -os400*) |
1646 vendor=ibm | |
1647 ;; | |
0 | 1648 -ptx*) |
1649 vendor=sequent | |
1650 ;; | |
2651 | 1651 -tpf*) |
1652 vendor=ibm | |
1653 ;; | |
1654 -vxsim* | -vxworks* | -windiss*) | |
0 | 1655 vendor=wrs |
1656 ;; | |
1657 -aux*) | |
1658 vendor=apple | |
1659 ;; | |
438 | 1660 -hms*) |
1661 vendor=hitachi | |
1662 ;; | |
1663 -mpw* | -macos*) | |
1664 vendor=apple | |
1665 ;; | |
458 | 1666 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
438 | 1667 vendor=atari |
1668 ;; | |
2651 | 1669 -vos*) |
1670 vendor=stratus | |
1671 ;; | |
0 | 1672 esac |
1673 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1674 ;; | |
1675 esac | |
1676 | |
1677 echo $basic_machine$os | |
4338
528c4d906843
Sync config.guess and config.sub with the latest upstream versions.
james@localhost.localdomain
parents:
2651
diff
changeset
|
1678 exit |
442 | 1679 |
1680 # Local variables: | |
1681 # eval: (add-hook 'write-file-hooks 'time-stamp) | |
458 | 1682 # time-stamp-start: "timestamp='" |
442 | 1683 # time-stamp-format: "%:y-%02m-%02d" |
1684 # time-stamp-end: "'" | |
1685 # End: |