mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Update texinfo.tex, config.guess, config.sub from upstream.
This patch updates various miscellaneous files we take from upstream GNU sources (texinfo.texi, config.guess, config.sub - various others haven't changed upstream since we last updated them) to their current upstream versions. Tested x86_64. * manual/texinfo.tex: Update to version 2013-11-26.10 with trailing whitespace removed. * scripts/config.guess: Update to version 2013-11-29. * scripts/config.sub: Update to version 2013-10-01.
This commit is contained in:
parent
6f6fc48226
commit
21fea2e228
4 changed files with 132 additions and 74 deletions
|
@ -1,5 +1,10 @@
|
||||||
2013-12-19 Joseph Myers <joseph@codesourcery.com>
|
2013-12-19 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* manual/texinfo.tex: Update to version 2013-11-26.10 with
|
||||||
|
trailing whitespace removed.
|
||||||
|
* scripts/config.guess: Update to version 2013-11-29.
|
||||||
|
* scripts/config.sub: Update to version 2013-10-01.
|
||||||
|
|
||||||
* math/auto-libm-test-in: Add tests of sincos.
|
* math/auto-libm-test-in: Add tests of sincos.
|
||||||
* math/auto-libm-test-out: Regenerated.
|
* math/auto-libm-test-out: Regenerated.
|
||||||
* math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
|
* math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
% Load plain if necessary, i.e., if running under initex.
|
% Load plain if necessary, i.e., if running under initex.
|
||||||
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
||||||
%
|
%
|
||||||
\def\texinfoversion{2013-06-21.17}
|
\def\texinfoversion{2013-11-26.10}
|
||||||
%
|
%
|
||||||
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
|
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
|
||||||
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
||||||
|
@ -281,9 +281,9 @@
|
||||||
\toks6=\expandafter{\prevsectiondefs}%
|
\toks6=\expandafter{\prevsectiondefs}%
|
||||||
\toks8=\expandafter{\lastcolordefs}%
|
\toks8=\expandafter{\lastcolordefs}%
|
||||||
\mark{%
|
\mark{%
|
||||||
\the\toks0 \the\toks2
|
\the\toks0 \the\toks2 % 0: top marks (\last...)
|
||||||
\noexpand\or \the\toks4 \the\toks6
|
\noexpand\or \the\toks4 \the\toks6 % 1: bottom marks (default, \prev...)
|
||||||
\noexpand\else \the\toks8
|
\noexpand\else \the\toks8 % 2: color marks
|
||||||
}%
|
}%
|
||||||
}
|
}
|
||||||
% \topmark doesn't work for the very first chapter (after the title
|
% \topmark doesn't work for the very first chapter (after the title
|
||||||
|
@ -322,10 +322,13 @@
|
||||||
%
|
%
|
||||||
% Do this outside of the \shipout so @code etc. will be expanded in
|
% Do this outside of the \shipout so @code etc. will be expanded in
|
||||||
% the headline as they should be, not taken literally (outputting ''code).
|
% the headline as they should be, not taken literally (outputting ''code).
|
||||||
|
\def\commmonheadfootline{\let\hsize=\pagewidth \texinfochars}
|
||||||
|
%
|
||||||
\ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
|
\ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
|
||||||
\setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
|
\global\setbox\headlinebox = \vbox{\commmonheadfootline \makeheadline}%
|
||||||
|
%
|
||||||
\ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
|
\ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
|
||||||
\setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
|
\global\setbox\footlinebox = \vbox{\commmonheadfootline \makefootline}%
|
||||||
%
|
%
|
||||||
{%
|
{%
|
||||||
% Have to do this stuff outside the \shipout because we want it to
|
% Have to do this stuff outside the \shipout because we want it to
|
||||||
|
@ -1138,7 +1141,9 @@ output) for that.)}
|
||||||
% Color manipulation macros based on pdfcolor.tex,
|
% Color manipulation macros based on pdfcolor.tex,
|
||||||
% except using rgb instead of cmyk; the latter is said to render as a
|
% except using rgb instead of cmyk; the latter is said to render as a
|
||||||
% very dark gray on-screen and a very dark halftone in print, instead
|
% very dark gray on-screen and a very dark halftone in print, instead
|
||||||
% of actual black.
|
% of actual black. The dark red here is dark enough to print on paper as
|
||||||
|
% nearly black, but still distinguishable for online viewing. We use
|
||||||
|
% black by default, though.
|
||||||
\def\rgbDarkRed{0.50 0.09 0.12}
|
\def\rgbDarkRed{0.50 0.09 0.12}
|
||||||
\def\rgbBlack{0 0 0}
|
\def\rgbBlack{0 0 0}
|
||||||
%
|
%
|
||||||
|
@ -1248,10 +1253,9 @@ output) for that.)}
|
||||||
% used to mark target names; must be expandable.
|
% used to mark target names; must be expandable.
|
||||||
\def\pdfmkpgn#1{#1}
|
\def\pdfmkpgn#1{#1}
|
||||||
%
|
%
|
||||||
% by default, use a color that is dark enough to print on paper as
|
% by default, use black for everything.
|
||||||
% nearly black, but still distinguishable for online viewing.
|
\def\urlcolor{\rgbBlack}
|
||||||
\def\urlcolor{\rgbDarkRed}
|
\def\linkcolor{\rgbBlack}
|
||||||
\def\linkcolor{\rgbDarkRed}
|
|
||||||
\def\endlink{\setcolor{\maincolor}\pdfendlink}
|
\def\endlink{\setcolor{\maincolor}\pdfendlink}
|
||||||
%
|
%
|
||||||
% Adding outlines to PDF; macros for calculating structure of outlines
|
% Adding outlines to PDF; macros for calculating structure of outlines
|
||||||
|
@ -2377,8 +2381,10 @@ end
|
||||||
\ifx\next,%
|
\ifx\next,%
|
||||||
\else\ifx\next-%
|
\else\ifx\next-%
|
||||||
\else\ifx\next.%
|
\else\ifx\next.%
|
||||||
|
\else\ifx\next\.%
|
||||||
|
\else\ifx\next\comma%
|
||||||
\else\ptexslash
|
\else\ptexslash
|
||||||
\fi\fi\fi
|
\fi\fi\fi\fi\fi
|
||||||
\aftersmartic
|
\aftersmartic
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2519,7 +2525,9 @@ end
|
||||||
\ifx\codedashprev\codedash
|
\ifx\codedashprev\codedash
|
||||||
\else \discretionary{}{}{}\fi
|
\else \discretionary{}{}{}\fi
|
||||||
\fi
|
\fi
|
||||||
\global\let\codedashprev=\next
|
% we need the space after the = for the case when \next itself is a
|
||||||
|
% space token; it would get swallowed otherwise. As in @code{- a}.
|
||||||
|
\global\let\codedashprev= \next
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\def\normaldash{-}
|
\def\normaldash{-}
|
||||||
|
@ -2571,33 +2579,17 @@ end
|
||||||
% second argument specifying the text to display and an optional third
|
% second argument specifying the text to display and an optional third
|
||||||
% arg as text to display instead of (rather than in addition to) the url
|
% arg as text to display instead of (rather than in addition to) the url
|
||||||
% itself. First (mandatory) arg is the url.
|
% itself. First (mandatory) arg is the url.
|
||||||
% (This \urefnobreak definition isn't used now, leaving it for a while
|
|
||||||
% for comparison.)
|
|
||||||
\def\urefnobreak#1{\dourefnobreak #1,,,\finish}
|
|
||||||
\def\dourefnobreak#1,#2,#3,#4\finish{\begingroup
|
|
||||||
\unsepspaces
|
|
||||||
\pdfurl{#1}%
|
|
||||||
\setbox0 = \hbox{\ignorespaces #3}%
|
|
||||||
\ifdim\wd0 > 0pt
|
|
||||||
\unhbox0 % third arg given, show only that
|
|
||||||
\else
|
|
||||||
\setbox0 = \hbox{\ignorespaces #2}%
|
|
||||||
\ifdim\wd0 > 0pt
|
|
||||||
\ifpdf
|
|
||||||
\unhbox0 % PDF: 2nd arg given, show only it
|
|
||||||
\else
|
|
||||||
\unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url
|
|
||||||
\fi
|
|
||||||
\else
|
|
||||||
\code{#1}% only url given, so show it
|
|
||||||
\fi
|
|
||||||
\fi
|
|
||||||
\endlink
|
|
||||||
\endgroup}
|
|
||||||
|
|
||||||
% This \urefbreak definition is the active one.
|
% secret option to allow changing PDF output to show only the second
|
||||||
|
% arg (if given), and not the url (which is then just the link target).
|
||||||
|
\newif\ifurefurlonlylink
|
||||||
|
|
||||||
|
% The main macro is \urefbreak, which allows breaking at expected
|
||||||
|
% places within the url. (There used to be another version, which
|
||||||
|
% didn't support automatic breaking.)
|
||||||
\def\urefbreak{\begingroup \urefcatcodes \dourefbreak}
|
\def\urefbreak{\begingroup \urefcatcodes \dourefbreak}
|
||||||
\let\uref=\urefbreak
|
\let\uref=\urefbreak
|
||||||
|
%
|
||||||
\def\dourefbreak#1{\urefbreakfinish #1,,,\finish}
|
\def\dourefbreak#1{\urefbreakfinish #1,,,\finish}
|
||||||
\def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example
|
\def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example
|
||||||
\unsepspaces
|
\unsepspaces
|
||||||
|
@ -2606,12 +2598,19 @@ end
|
||||||
\ifdim\wd0 > 0pt
|
\ifdim\wd0 > 0pt
|
||||||
\unhbox0 % third arg given, show only that
|
\unhbox0 % third arg given, show only that
|
||||||
\else
|
\else
|
||||||
\setbox0 = \hbox{\ignorespaces #2}%
|
\setbox0 = \hbox{\ignorespaces #2}% look for second arg
|
||||||
\ifdim\wd0 > 0pt
|
\ifdim\wd0 > 0pt
|
||||||
\ifpdf
|
\ifpdf
|
||||||
\unhbox0 % PDF: 2nd arg given, show only it
|
\ifurefurlonlylink
|
||||||
|
% PDF plus option to not display url, show just arg
|
||||||
|
\unhbox0
|
||||||
|
\else
|
||||||
|
% PDF, normally display both arg and url for consistency,
|
||||||
|
% visibility, if the pdf is eventually used to print, etc.
|
||||||
|
\unhbox0\ (\urefcode{#1})%
|
||||||
|
\fi
|
||||||
\else
|
\else
|
||||||
\unhbox0\ (\urefcode{#1})% DVI: 2nd arg given, show both it and url
|
\unhbox0\ (\urefcode{#1})% DVI, always show arg and url
|
||||||
\fi
|
\fi
|
||||||
\else
|
\else
|
||||||
\urefcode{#1}% only url given, so show it
|
\urefcode{#1}% only url given, so show it
|
||||||
|
@ -2887,6 +2886,15 @@ end
|
||||||
\def\inlinefmtname{#1}%
|
\def\inlinefmtname{#1}%
|
||||||
\ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi
|
\ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi
|
||||||
}
|
}
|
||||||
|
%
|
||||||
|
% @inlinefmtifelse{FMTNAME,THEN-TEXT,ELSE-TEXT} expands THEN-TEXT if
|
||||||
|
% FMTNAME is tex, else ELSE-TEXT.
|
||||||
|
\long\def\inlinefmtifelse#1{\doinlinefmtifelse #1,,,\finish}
|
||||||
|
\long\def\doinlinefmtifelse#1,#2,#3,#4,\finish{%
|
||||||
|
\def\inlinefmtname{#1}%
|
||||||
|
\ifx\inlinefmtname\outfmtnametex \ignorespaces #2\else \ignorespaces #3\fi
|
||||||
|
}
|
||||||
|
%
|
||||||
% For raw, must switch into @tex before parsing the argument, to avoid
|
% For raw, must switch into @tex before parsing the argument, to avoid
|
||||||
% setting catcodes prematurely. Doing it this way means that, for
|
% setting catcodes prematurely. Doing it this way means that, for
|
||||||
% example, @inlineraw{html, foo{bar} gets a parse error instead of being
|
% example, @inlineraw{html, foo{bar} gets a parse error instead of being
|
||||||
|
@ -2903,6 +2911,23 @@ end
|
||||||
\endgroup % close group opened by \tex.
|
\endgroup % close group opened by \tex.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% @inlineifset{VAR, TEXT} expands TEXT if VAR is @set.
|
||||||
|
%
|
||||||
|
\long\def\inlineifset#1{\doinlineifset #1,\finish}
|
||||||
|
\long\def\doinlineifset#1,#2,\finish{%
|
||||||
|
\def\inlinevarname{#1}%
|
||||||
|
\expandafter\ifx\csname SET\inlinevarname\endcsname\relax
|
||||||
|
\else\ignorespaces#2\fi
|
||||||
|
}
|
||||||
|
|
||||||
|
% @inlineifclear{VAR, TEXT} expands TEXT if VAR is not @set.
|
||||||
|
%
|
||||||
|
\long\def\inlineifclear#1{\doinlineifclear #1,\finish}
|
||||||
|
\long\def\doinlineifclear#1,#2,\finish{%
|
||||||
|
\def\inlinevarname{#1}%
|
||||||
|
\expandafter\ifx\csname SET\inlinevarname\endcsname\relax \ignorespaces#2\fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
\message{glyphs,}
|
\message{glyphs,}
|
||||||
% and logos.
|
% and logos.
|
||||||
|
@ -3658,7 +3683,7 @@ end
|
||||||
\parskip=\smallskipamount
|
\parskip=\smallskipamount
|
||||||
\ifdim\parskip=0pt \parskip=2pt \fi
|
\ifdim\parskip=0pt \parskip=2pt \fi
|
||||||
%
|
%
|
||||||
% Try typesetting the item mark that if the document erroneously says
|
% Try typesetting the item mark so that if the document erroneously says
|
||||||
% something like @itemize @samp (intending @table), there's an error
|
% something like @itemize @samp (intending @table), there's an error
|
||||||
% right away at the @itemize. It's not the best error message in the
|
% right away at the @itemize. It's not the best error message in the
|
||||||
% world, but it's better than leaving it to the @item. This means if
|
% world, but it's better than leaving it to the @item. This means if
|
||||||
|
@ -4198,7 +4223,7 @@ end
|
||||||
\def\value{\begingroup\makevalueexpandable\valuexxx}
|
\def\value{\begingroup\makevalueexpandable\valuexxx}
|
||||||
\def\valuexxx#1{\expandablevalue{#1}\endgroup}
|
\def\valuexxx#1{\expandablevalue{#1}\endgroup}
|
||||||
{
|
{
|
||||||
\catcode`\- = \active \catcode`\_ = \active
|
\catcode`\-=\active \catcode`\_=\active
|
||||||
%
|
%
|
||||||
\gdef\makevalueexpandable{%
|
\gdef\makevalueexpandable{%
|
||||||
\let\value = \expandablevalue
|
\let\value = \expandablevalue
|
||||||
|
@ -4219,6 +4244,11 @@ end
|
||||||
% it will fail (although perhaps we could fix that with sufficient work
|
% it will fail (although perhaps we could fix that with sufficient work
|
||||||
% to do a one-level expansion on the result, instead of complete).
|
% to do a one-level expansion on the result, instead of complete).
|
||||||
%
|
%
|
||||||
|
% Unfortunately, this has the consequence that when _ is in the *value*
|
||||||
|
% of an @set, it does not print properly in the roman fonts (get the cmr
|
||||||
|
% dot accent at position 126 instead). No fix comes to mind, and it's
|
||||||
|
% been this way since 2003 or earlier, so just ignore it.
|
||||||
|
%
|
||||||
\def\expandablevalue#1{%
|
\def\expandablevalue#1{%
|
||||||
\expandafter\ifx\csname SET#1\endcsname\relax
|
\expandafter\ifx\csname SET#1\endcsname\relax
|
||||||
{[No value for ``#1'']}%
|
{[No value for ``#1'']}%
|
||||||
|
@ -5905,7 +5935,7 @@ end
|
||||||
%
|
%
|
||||||
% Now the second mark, after the heading break. No break points
|
% Now the second mark, after the heading break. No break points
|
||||||
% between here and the heading.
|
% between here and the heading.
|
||||||
\let\prevsectiondefs=\lastsectiondefs
|
\global\let\prevsectiondefs=\lastsectiondefs
|
||||||
\domark
|
\domark
|
||||||
%
|
%
|
||||||
% Only insert the space after the number if we have a section number.
|
% Only insert the space after the number if we have a section number.
|
||||||
|
@ -6272,8 +6302,8 @@ end
|
||||||
\catcode `\|=\other
|
\catcode `\|=\other
|
||||||
\catcode `\<=\other
|
\catcode `\<=\other
|
||||||
\catcode `\>=\other
|
\catcode `\>=\other
|
||||||
\catcode`\`=\other
|
\catcode `\`=\other
|
||||||
\catcode`\'=\other
|
\catcode `\'=\other
|
||||||
\escapechar=`\\
|
\escapechar=`\\
|
||||||
%
|
%
|
||||||
% ' is active in math mode (mathcode"8000). So reset it, and all our
|
% ' is active in math mode (mathcode"8000). So reset it, and all our
|
||||||
|
@ -6297,7 +6327,7 @@ end
|
||||||
\let\/=\ptexslash
|
\let\/=\ptexslash
|
||||||
\let\*=\ptexstar
|
\let\*=\ptexstar
|
||||||
\let\t=\ptext
|
\let\t=\ptext
|
||||||
\expandafter \let\csname top\endcsname=\ptextop % outer
|
\expandafter \let\csname top\endcsname=\ptextop % we've made it outer
|
||||||
\let\frenchspacing=\plainfrenchspacing
|
\let\frenchspacing=\plainfrenchspacing
|
||||||
%
|
%
|
||||||
\def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
|
\def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
|
||||||
|
@ -9940,11 +9970,9 @@ directory should work if nowhere else does.}
|
||||||
\catcode`\"=\active
|
\catcode`\"=\active
|
||||||
\def\activedoublequote{{\tt\char34}}
|
\def\activedoublequote{{\tt\char34}}
|
||||||
\let"=\activedoublequote
|
\let"=\activedoublequote
|
||||||
\catcode`\~=\active
|
\catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde
|
||||||
\def~{{\tt\char126}}
|
|
||||||
\chardef\hat=`\^
|
\chardef\hat=`\^
|
||||||
\catcode`\^=\active
|
\catcode`\^=\active \def\activehat{{\tt \hat}} \let^ = \activehat
|
||||||
\def^{{\tt \hat}}
|
|
||||||
|
|
||||||
\catcode`\_=\active
|
\catcode`\_=\active
|
||||||
\def_{\ifusingtt\normalunderscore\_}
|
\def_{\ifusingtt\normalunderscore\_}
|
||||||
|
@ -9954,16 +9982,26 @@ directory should work if nowhere else does.}
|
||||||
|
|
||||||
\catcode`\|=\active
|
\catcode`\|=\active
|
||||||
\def|{{\tt\char124}}
|
\def|{{\tt\char124}}
|
||||||
|
|
||||||
\chardef \less=`\<
|
\chardef \less=`\<
|
||||||
\catcode`\<=\active
|
\catcode`\<=\active \def\activeless{{\tt \less}}\let< = \activeless
|
||||||
\def<{{\tt \less}}
|
|
||||||
\chardef \gtr=`\>
|
\chardef \gtr=`\>
|
||||||
\catcode`\>=\active
|
\catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr
|
||||||
\def>{{\tt \gtr}}
|
\catcode`\+=\active \def+{{\tt \char 43}}
|
||||||
\catcode`\+=\active
|
\catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
|
||||||
\def+{{\tt \char 43}}
|
|
||||||
\catcode`\$=\active
|
% used for headline/footline in the output routine, in case the page
|
||||||
\def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
|
% breaks in the middle of an @tex block.
|
||||||
|
\def\texinfochars{%
|
||||||
|
\let< = \activeless
|
||||||
|
\let> = \activegtr
|
||||||
|
\let~ = \activetilde
|
||||||
|
\let^ = \activehat
|
||||||
|
\markupsetuplqdefault \markupsetuprqdefault
|
||||||
|
\let\b = \strong
|
||||||
|
\let\i = \smartitalic
|
||||||
|
% in principle, all other definitions in \tex have to be undone too.
|
||||||
|
}
|
||||||
|
|
||||||
% If a .fmt file is being used, characters that might appear in a file
|
% If a .fmt file is being used, characters that might appear in a file
|
||||||
% name cannot be active until we have parsed the command line.
|
% name cannot be active until we have parsed the command line.
|
||||||
|
|
30
scripts/config.guess
vendored
30
scripts/config.guess
vendored
|
@ -2,7 +2,7 @@
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright 1992-2013 Free Software Foundation, Inc.
|
# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2013-05-16'
|
timestamp='2013-11-29'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
|
@ -1260,16 +1260,26 @@ EOF
|
||||||
if test "$UNAME_PROCESSOR" = unknown ; then
|
if test "$UNAME_PROCESSOR" = unknown ; then
|
||||||
UNAME_PROCESSOR=powerpc
|
UNAME_PROCESSOR=powerpc
|
||||||
fi
|
fi
|
||||||
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
|
||||||
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||||
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
grep IS_64BIT_ARCH >/dev/null
|
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
then
|
grep IS_64BIT_ARCH >/dev/null
|
||||||
case $UNAME_PROCESSOR in
|
then
|
||||||
i386) UNAME_PROCESSOR=x86_64 ;;
|
case $UNAME_PROCESSOR in
|
||||||
powerpc) UNAME_PROCESSOR=powerpc64 ;;
|
i386) UNAME_PROCESSOR=x86_64 ;;
|
||||||
esac
|
powerpc) UNAME_PROCESSOR=powerpc64 ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
elif test "$UNAME_PROCESSOR" = i386 ; then
|
||||||
|
# Avoid executing cc on OS X 10.9, as it ships with a stub
|
||||||
|
# that puts up a graphical alert prompting to install
|
||||||
|
# developer tools. Any system running Mac OS X 10.7 or
|
||||||
|
# later (Darwin 11 and later) is required to have a 64-bit
|
||||||
|
# processor. This is not true of the ARM version of Darwin
|
||||||
|
# that Apple uses in portable devices.
|
||||||
|
UNAME_PROCESSOR=x86_64
|
||||||
fi
|
fi
|
||||||
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
|
|
17
scripts/config.sub
vendored
17
scripts/config.sub
vendored
|
@ -2,7 +2,7 @@
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright 1992-2013 Free Software Foundation, Inc.
|
# Copyright 1992-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2013-04-24'
|
timestamp='2013-10-01'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
|
@ -257,7 +257,7 @@ case $basic_machine in
|
||||||
| avr | avr32 \
|
| avr | avr32 \
|
||||||
| be32 | be64 \
|
| be32 | be64 \
|
||||||
| bfin \
|
| bfin \
|
||||||
| c4x | clipper \
|
| c4x | c8051 | clipper \
|
||||||
| d10v | d30v | dlx | dsp16xx \
|
| d10v | d30v | dlx | dsp16xx \
|
||||||
| epiphany \
|
| epiphany \
|
||||||
| fido | fr30 | frv \
|
| fido | fr30 | frv \
|
||||||
|
@ -265,6 +265,7 @@ case $basic_machine in
|
||||||
| hexagon \
|
| hexagon \
|
||||||
| i370 | i860 | i960 | ia64 \
|
| i370 | i860 | i960 | ia64 \
|
||||||
| ip2k | iq2000 \
|
| ip2k | iq2000 \
|
||||||
|
| k1om \
|
||||||
| le32 | le64 \
|
| le32 | le64 \
|
||||||
| lm32 \
|
| lm32 \
|
||||||
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
|
@ -324,7 +325,7 @@ case $basic_machine in
|
||||||
c6x)
|
c6x)
|
||||||
basic_machine=tic6x-unknown
|
basic_machine=tic6x-unknown
|
||||||
;;
|
;;
|
||||||
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
|
@ -372,7 +373,7 @@ case $basic_machine in
|
||||||
| be32-* | be64-* \
|
| be32-* | be64-* \
|
||||||
| bfin-* | bs2000-* \
|
| bfin-* | bs2000-* \
|
||||||
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||||
| clipper-* | craynv-* | cydra-* \
|
| c8051-* | clipper-* | craynv-* | cydra-* \
|
||||||
| d10v-* | d30v-* | dlx-* \
|
| d10v-* | d30v-* | dlx-* \
|
||||||
| elxsi-* \
|
| elxsi-* \
|
||||||
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||||
|
@ -381,6 +382,7 @@ case $basic_machine in
|
||||||
| hexagon-* \
|
| hexagon-* \
|
||||||
| i*86-* | i860-* | i960-* | ia64-* \
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
| ip2k-* | iq2000-* \
|
| ip2k-* | iq2000-* \
|
||||||
|
| k1om-* \
|
||||||
| le32-* | le64-* \
|
| le32-* | le64-* \
|
||||||
| lm32-* \
|
| lm32-* \
|
||||||
| m32c-* | m32r-* | m32rle-* \
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
|
@ -794,7 +796,7 @@ case $basic_machine in
|
||||||
os=-mingw64
|
os=-mingw64
|
||||||
;;
|
;;
|
||||||
mingw32)
|
mingw32)
|
||||||
basic_machine=i386-pc
|
basic_machine=i686-pc
|
||||||
os=-mingw32
|
os=-mingw32
|
||||||
;;
|
;;
|
||||||
mingw32ce)
|
mingw32ce)
|
||||||
|
@ -830,7 +832,7 @@ case $basic_machine in
|
||||||
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||||
;;
|
;;
|
||||||
msys)
|
msys)
|
||||||
basic_machine=i386-pc
|
basic_machine=i686-pc
|
||||||
os=-msys
|
os=-msys
|
||||||
;;
|
;;
|
||||||
mvs)
|
mvs)
|
||||||
|
@ -1546,6 +1548,9 @@ case $basic_machine in
|
||||||
c4x-* | tic4x-*)
|
c4x-* | tic4x-*)
|
||||||
os=-coff
|
os=-coff
|
||||||
;;
|
;;
|
||||||
|
c8051-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
hexagon-*)
|
hexagon-*)
|
||||||
os=-elf
|
os=-elf
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue