* tool/config.sub (x86_64-pc-mingw64): regularize.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-09-26 13:59:48 +00:00
Родитель 7b77b436f0
Коммит ae9264678c
2 изменённых файлов: 18 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Sun Sep 26 22:59:45 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/config.sub (x86_64-pc-mingw64): regularize.
Sun Sep 26 22:21:07 2010 wanabe <s.wanabe@gmail.com>
* ext/openssl/ossl_hmac.c (ossl_hmac_hexdigest, ossl_hmac_s_hexdigest),

15
tool/config.sub поставляемый
Просмотреть файл

@ -319,6 +319,9 @@ case $basic_machine in
i*86 | x86_64)
basic_machine=$basic_machine-pc
;;
i?86-w64)
basic_machine=x86_64-pc
;;
# Object if more than one company name word.
*-*-*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
@ -1299,7 +1302,7 @@ case $os in
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* | -mingw64* \
| -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
@ -1309,6 +1312,13 @@ case $os in
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-mingw64*)
case $basic_machine in
x86-* | i*86-*)
basic_machine=x86_64-pc
;;
esac
;;
-qnx*)
case $basic_machine in
x86-* | i*86-*)
@ -1696,6 +1706,9 @@ case $basic_machine in
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;
x86_64*)
os=`echo $os | sed 's/32/64/'`
;;
esac
echo $basic_machine$os