Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Side by Side Diff: config.sub

Issue 12388030: Update Opus to 1.0.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « config.guess ('k') | config.h.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Configuration validation subroutine script. 2 # Configuration validation subroutine script.
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 # 2011, 2012 Free Software Foundation, Inc. 5 # 2011, 2012 Free Software Foundation, Inc.
6 6
7 timestamp='2012-01-01' 7 timestamp='2012-02-10'
8 8
9 # This file is (in principle) common to ALL GNU software. 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 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. 11 # can handle that machine. It does not imply ALL GNU software can.
12 # 12 #
13 # This file is free software; you can redistribute it and/or modify 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 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 15 # the Free Software Foundation; either version 2 of the License, or
16 # (at your option) any later version. 16 # (at your option) any later version.
17 # 17 #
18 # This program is distributed in the hope that it will be useful, 18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of 19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details. 21 # GNU General Public License for more details.
22 # 22 #
23 # You should have received a copy of the GNU General Public License 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 24 # along with this program; if not, see <http://www.gnu.org/licenses/>.
25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26 # 02110-1301, USA.
27 # 25 #
28 # As a special exception to the GNU General Public License, if you 26 # As a special exception to the GNU General Public License, if you
29 # distribute this file as part of a program that contains a 27 # distribute this file as part of a program that contains a
30 # configuration script generated by Autoconf, you may include it under 28 # configuration script generated by Autoconf, you may include it under
31 # the same distribution terms that you use for the rest of that program. 29 # the same distribution terms that you use for the rest of that program.
32 30
33 31
34 # Please send patches to <config-patches@gnu.org>. Submit a context 32 # Please send patches to <config-patches@gnu.org>. Submit a context
35 # diff and a properly formatted GNU ChangeLog entry. 33 # diff and a properly formatted GNU ChangeLog entry.
36 # 34 #
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 123 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126 case $maybe_os in 124 case $maybe_os in
127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129 knetbsd*-gnu* | netbsd*-gnu* | \ 127 knetbsd*-gnu* | netbsd*-gnu* | \
130 kopensolaris*-gnu* | \ 128 kopensolaris*-gnu* | \
131 storm-chaos* | os2-emx* | rtmk-nova*) 129 storm-chaos* | os2-emx* | rtmk-nova*)
132 os=-$maybe_os 130 os=-$maybe_os
133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
134 ;; 132 ;;
133 android-linux)
134 os=-linux-android
135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136 ;;
135 *) 137 *)
136 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 138 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
137 if [ $basic_machine != $1 ] 139 if [ $basic_machine != $1 ]
138 then os=`echo $1 | sed 's/.*-/-/'` 140 then os=`echo $1 | sed 's/.*-/-/'`
139 else os=; fi 141 else os=; fi
140 ;; 142 ;;
141 esac 143 esac
142 144
143 ### Let's recognize common machines as not being operating systems so 145 ### Let's recognize common machines as not being operating systems so
144 ### that things like config.sub decstation-3100 work. We also 146 ### that things like config.sub decstation-3100 work. We also
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 os=-mint 242 os=-mint
241 ;; 243 ;;
242 esac 244 esac
243 245
244 # Decode aliases for certain CPU-COMPANY combinations. 246 # Decode aliases for certain CPU-COMPANY combinations.
245 case $basic_machine in 247 case $basic_machine in
246 # Recognize the basic CPU types without company name. 248 # Recognize the basic CPU types without company name.
247 # Some are omitted here because they have special meanings below. 249 # Some are omitted here because they have special meanings below.
248 1750a | 580 \ 250 1750a | 580 \
249 | a29k \ 251 | a29k \
252 | aarch64 | aarch64_be \
250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 253 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \ 254 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \
252 | am33_2.0 \ 255 | am33_2.0 \
253 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \ 256 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \
254 | be32 | be64 \ 257 | be32 | be64 \
255 | bfin \ 258 | bfin \
256 | c4x | clipper \ 259 | c4x | clipper \
257 | d10v | d30v | dlx | dsp16xx \ 260 | d10v | d30v | dlx | dsp16xx \
258 | epiphany \ 261 | epiphany \
259 | fido | fr30 | frv \ 262 | fido | fr30 | frv \
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 ;; 315 ;;
313 c54x) 316 c54x)
314 basic_machine=tic54x-unknown 317 basic_machine=tic54x-unknown
315 ;; 318 ;;
316 c55x) 319 c55x)
317 basic_machine=tic55x-unknown 320 basic_machine=tic55x-unknown
318 ;; 321 ;;
319 c6x) 322 c6x)
320 basic_machine=tic6x-unknown 323 basic_machine=tic6x-unknown
321 ;; 324 ;;
322 » m6811 | m68hc11 | m6812 | m68hc12 | picochip) 325 » m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
323 basic_machine=$basic_machine-unknown 326 basic_machine=$basic_machine-unknown
324 os=-none 327 os=-none
325 ;; 328 ;;
326 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 329 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
327 ;; 330 ;;
328 ms1) 331 ms1)
329 basic_machine=mt-unknown 332 basic_machine=mt-unknown
330 ;; 333 ;;
331 334
332 strongarm | thumb | xscale) 335 strongarm | thumb | xscale)
333 basic_machine=arm-unknown 336 basic_machine=arm-unknown
334 ;; 337 ;;
335 338 » xgate)
339 » » basic_machine=$basic_machine-unknown
340 » » os=-none
341 » » ;;
336 xscaleeb) 342 xscaleeb)
337 basic_machine=armeb-unknown 343 basic_machine=armeb-unknown
338 ;; 344 ;;
339 345
340 xscaleel) 346 xscaleel)
341 basic_machine=armel-unknown 347 basic_machine=armel-unknown
342 ;; 348 ;;
343 349
344 # We use `pc' rather than `unknown' 350 # We use `pc' rather than `unknown'
345 # because (1) that's what they normally are, and 351 # because (1) that's what they normally are, and
346 # (2) the word "unknown" tends to confuse beginning users. 352 # (2) the word "unknown" tends to confuse beginning users.
347 i*86 | x86_64) 353 i*86 | x86_64)
348 basic_machine=$basic_machine-pc 354 basic_machine=$basic_machine-pc
349 ;; 355 ;;
350 # Object if more than one company name word. 356 # Object if more than one company name word.
351 *-*-*) 357 *-*-*)
352 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2 358 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2
353 exit 1 359 exit 1
354 ;; 360 ;;
355 # Recognize the basic CPU types with company name. 361 # Recognize the basic CPU types with company name.
356 580-* \ 362 580-* \
357 | a29k-* \ 363 | a29k-* \
364 | aarch64-* | aarch64_be-* \
358 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 365 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
359 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 366 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
360 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 367 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
361 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 368 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
362 | avr-* | avr32-* \ 369 | avr-* | avr32-* \
363 | be32-* | be64-* \ 370 | be32-* | be64-* \
364 | bfin-* | bs2000-* \ 371 | bfin-* | bs2000-* \
365 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 372 | c[123]* | c30-* | [cjt]90-* | c4x-* \
366 | clipper-* | craynv-* | cydra-* \ 373 | clipper-* | craynv-* | cydra-* \
367 | d10v-* | d30v-* | dlx-* \ 374 | d10v-* | d30v-* | dlx-* \
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1757 1764
1758 echo $basic_machine$os 1765 echo $basic_machine$os
1759 exit 1766 exit
1760 1767
1761 # Local variables: 1768 # Local variables:
1762 # eval: (add-hook 'write-file-hooks 'time-stamp) 1769 # eval: (add-hook 'write-file-hooks 'time-stamp)
1763 # time-stamp-start: "timestamp='" 1770 # time-stamp-start: "timestamp='"
1764 # time-stamp-format: "%:y-%02m-%02d" 1771 # time-stamp-format: "%:y-%02m-%02d"
1765 # time-stamp-end: "'" 1772 # time-stamp-end: "'"
1766 # End: 1773 # End:
OLDNEW
« no previous file with comments | « config.guess ('k') | config.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698