forked from pool/automake
- update config.guess/sub to the latest state
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=23
This commit is contained in:
parent
fe1d9fcdd0
commit
fc1dbd958e
@ -1,6 +1,8 @@
|
|||||||
--- lib/config.guess.orig 2012-04-06 12:31:44.062249033 -0400
|
Index: lib/config.guess
|
||||||
+++ lib/config.guess 2012-04-06 12:59:56.696088199 -0400
|
===================================================================
|
||||||
@@ -138,6 +138,16 @@
|
--- lib/config.guess.orig
|
||||||
|
+++ lib/config.guess
|
||||||
|
@@ -136,6 +136,16 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` |
|
||||||
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||||
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||||
|
|
||||||
@ -17,7 +19,12 @@
|
|||||||
# Note: order is significant - the case branches are not exclusive.
|
# Note: order is significant - the case branches are not exclusive.
|
||||||
|
|
||||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
@@ -202,19 +212,19 @@
|
@@ -200,23 +210,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
|
exit ;;
|
||||||
|
*:Bitrig:*:*)
|
||||||
|
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
||||||
|
- echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
|
||||||
|
+ echo ${UNAME_MACHINE_ARCH}-${VENDOR}-bitrig${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
*:OpenBSD:*:*)
|
*:OpenBSD:*:*)
|
||||||
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
||||||
@ -42,7 +49,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
alpha:OSF1:*:*)
|
alpha:OSF1:*:*)
|
||||||
case $UNAME_RELEASE in
|
case $UNAME_RELEASE in
|
||||||
@@ -282,13 +292,13 @@
|
@@ -284,13 +294,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
echo alpha-dec-winnt3.5
|
echo alpha-dec-winnt3.5
|
||||||
exit ;;
|
exit ;;
|
||||||
Amiga*:UNIX_System_V:4.0:*)
|
Amiga*:UNIX_System_V:4.0:*)
|
||||||
@ -59,16 +66,16 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
*:OS/390:*:*)
|
*:OS/390:*:*)
|
||||||
echo i370-ibm-openedition
|
echo i370-ibm-openedition
|
||||||
@@ -303,7 +313,7 @@
|
@@ -305,7 +315,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
echo arm-acorn-riscix${UNAME_RELEASE}
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
arm:riscos:*:*|arm:RISCOS:*:*)
|
arm*:riscos:*:*|arm*:RISCOS:*:*)
|
||||||
- echo arm-unknown-riscos
|
- echo arm-unknown-riscos
|
||||||
+ echo arm-${VENDOR}-riscos
|
+ echo arm-${VENDOR}-riscos
|
||||||
exit ;;
|
exit ;;
|
||||||
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
||||||
echo hppa1.1-hitachi-hiuxmpp
|
echo hppa1.1-hitachi-hiuxmpp
|
||||||
@@ -411,7 +421,7 @@
|
@@ -413,7 +423,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
||||||
echo m68k-hades-mint${UNAME_RELEASE}
|
echo m68k-hades-mint${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
||||||
@ -77,7 +84,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
m68k:machten:*:*)
|
m68k:machten:*:*)
|
||||||
echo m68k-apple-machten${UNAME_RELEASE}
|
echo m68k-apple-machten${UNAME_RELEASE}
|
||||||
@@ -722,9 +732,9 @@
|
@@ -724,9 +734,9 @@ EOF
|
||||||
exit ;;
|
exit ;;
|
||||||
i*86:OSF1:*:*)
|
i*86:OSF1:*:*)
|
||||||
if [ -x /usr/sbin/sysversion ] ; then
|
if [ -x /usr/sbin/sysversion ] ; then
|
||||||
@ -89,7 +96,7 @@
|
|||||||
fi
|
fi
|
||||||
exit ;;
|
exit ;;
|
||||||
parisc*:Lites*:*:*)
|
parisc*:Lites*:*:*)
|
||||||
@@ -784,18 +794,18 @@
|
@@ -786,18 +796,18 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
sparc*:BSD/OS:*:*)
|
sparc*:BSD/OS:*:*)
|
||||||
@ -112,7 +119,7 @@
|
|||||||
esac
|
esac
|
||||||
exit ;;
|
exit ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
@@ -820,10 +830,10 @@
|
@@ -825,10 +835,10 @@ EOF
|
||||||
echo i586-pc-interix${UNAME_RELEASE}
|
echo i586-pc-interix${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
authenticamd | genuineintel | EM64T)
|
authenticamd | genuineintel | EM64T)
|
||||||
@ -125,7 +132,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
esac ;;
|
esac ;;
|
||||||
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||||
@@ -842,31 +852,31 @@
|
@@ -847,31 +857,31 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-pc-uwin
|
echo ${UNAME_MACHINE}-pc-uwin
|
||||||
exit ;;
|
exit ;;
|
||||||
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
||||||
@ -164,7 +171,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
alpha:Linux:*:*)
|
alpha:Linux:*:*)
|
||||||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
@@ -880,26 +890,26 @@
|
@@ -885,26 +895,26 @@ EOF
|
||||||
esac
|
esac
|
||||||
objdump --private-headers /bin/sh | grep -q ld.so.1
|
objdump --private-headers /bin/sh | grep -q ld.so.1
|
||||||
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||||
@ -196,7 +203,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
cris:Linux:*:*)
|
cris:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-axis-linux-gnu
|
echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
@@ -908,10 +918,10 @@
|
@@ -913,10 +923,10 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-axis-linux-gnu
|
echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
frv:Linux:*:*)
|
frv:Linux:*:*)
|
||||||
@ -209,7 +216,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
i*86:Linux:*:*)
|
i*86:Linux:*:*)
|
||||||
LIBC=gnu
|
LIBC=gnu
|
||||||
@@ -925,13 +935,13 @@
|
@@ -930,13 +940,13 @@ EOF
|
||||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||||
exit ;;
|
exit ;;
|
||||||
ia64:Linux:*:*)
|
ia64:Linux:*:*)
|
||||||
@ -226,7 +233,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
mips:Linux:*:* | mips64:Linux:*:*)
|
mips:Linux:*:* | mips64:Linux:*:*)
|
||||||
eval $set_cc_for_build
|
eval $set_cc_for_build
|
||||||
@@ -950,54 +960,54 @@
|
@@ -955,54 +965,54 @@ EOF
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
||||||
@ -296,7 +303,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
i*86:DYNIX/ptx:4*:*)
|
i*86:DYNIX/ptx:4*:*)
|
||||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
||||||
@@ -1019,16 +1029,16 @@
|
@@ -1024,16 +1034,16 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-pc-os2-emx
|
echo ${UNAME_MACHINE}-pc-os2-emx
|
||||||
exit ;;
|
exit ;;
|
||||||
i*86:XTS-300:*:STOP)
|
i*86:XTS-300:*:STOP)
|
||||||
@ -316,7 +323,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
i*86:*DOS:*:*)
|
i*86:*DOS:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
||||||
@@ -1048,7 +1058,7 @@
|
@@ -1053,7 +1063,7 @@ EOF
|
||||||
*Pentium) UNAME_MACHINE=i586 ;;
|
*Pentium) UNAME_MACHINE=i586 ;;
|
||||||
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
|
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
|
||||||
esac
|
esac
|
||||||
@ -325,7 +332,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
i*86:*:3.2:*)
|
i*86:*:3.2:*)
|
||||||
if test -f /usr/options/cb.name; then
|
if test -f /usr/options/cb.name; then
|
||||||
@@ -1087,7 +1097,7 @@
|
@@ -1092,7 +1102,7 @@ EOF
|
||||||
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
|
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
|
||||||
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
|
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
|
||||||
else # Add other i860-SVR4 vendors below as they are discovered.
|
else # Add other i860-SVR4 vendors below as they are discovered.
|
||||||
@ -334,7 +341,7 @@
|
|||||||
fi
|
fi
|
||||||
exit ;;
|
exit ;;
|
||||||
mini*:CTIX:SYS*5:*)
|
mini*:CTIX:SYS*5:*)
|
||||||
@@ -1124,19 +1134,19 @@
|
@@ -1129,19 +1139,19 @@ EOF
|
||||||
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
||||||
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
||||||
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
||||||
@ -358,7 +365,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
SM[BE]S:UNIX_SV:*:*)
|
SM[BE]S:UNIX_SV:*:*)
|
||||||
echo mips-dde-sysv${UNAME_RELEASE}
|
echo mips-dde-sysv${UNAME_RELEASE}
|
||||||
@@ -1186,7 +1196,7 @@
|
@@ -1191,7 +1201,7 @@ EOF
|
||||||
if [ -d /usr/nec ]; then
|
if [ -d /usr/nec ]; then
|
||||||
echo mips-nec-sysv${UNAME_RELEASE}
|
echo mips-nec-sysv${UNAME_RELEASE}
|
||||||
else
|
else
|
||||||
@ -367,7 +374,16 @@
|
|||||||
fi
|
fi
|
||||||
exit ;;
|
exit ;;
|
||||||
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
||||||
@@ -1280,13 +1290,13 @@
|
@@ -1207,7 +1217,7 @@ EOF
|
||||||
|
echo i586-pc-haiku
|
||||||
|
exit ;;
|
||||||
|
x86_64:Haiku:*:*)
|
||||||
|
- echo x86_64-unknown-haiku
|
||||||
|
+ echo x86_64-${VENDOR}-haiku
|
||||||
|
exit ;;
|
||||||
|
SX-4:SUPER-UX:*:*)
|
||||||
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
|
@@ -1288,13 +1298,13 @@ EOF
|
||||||
else
|
else
|
||||||
UNAME_MACHINE="$cputype"
|
UNAME_MACHINE="$cputype"
|
||||||
fi
|
fi
|
||||||
@ -384,7 +400,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
|
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
|
||||||
echo pdp10-dec-tops20
|
echo pdp10-dec-tops20
|
||||||
@@ -1295,16 +1305,16 @@
|
@@ -1303,16 +1313,16 @@ EOF
|
||||||
echo pdp10-xkl-tops20
|
echo pdp10-xkl-tops20
|
||||||
exit ;;
|
exit ;;
|
||||||
*:TOPS-20:*:*)
|
*:TOPS-20:*:*)
|
||||||
@ -404,7 +420,7 @@
|
|||||||
exit ;;
|
exit ;;
|
||||||
*:*VMS:*:*)
|
*:*VMS:*:*)
|
||||||
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
||||||
@@ -1326,7 +1336,7 @@
|
@@ -1334,7 +1344,7 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-pc-aros
|
echo ${UNAME_MACHINE}-pc-aros
|
||||||
exit ;;
|
exit ;;
|
||||||
x86_64:VMkernel:*:*)
|
x86_64:VMkernel:*:*)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: automake.in
|
Index: automake.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- automake.in.orig 2012-06-01 15:47:09.000000000 +0200
|
--- automake.in.orig
|
||||||
+++ automake.in 2012-07-04 09:17:39.816973055 +0200
|
+++ automake.in
|
||||||
@@ -7751,12 +7751,14 @@ sub required_file_check_or_copy ($$$)
|
@@ -7750,12 +7750,14 @@ sub required_file_check_or_copy ($$$)
|
||||||
my $fullfile = "$dir/$file";
|
my $fullfile = "$dir/$file";
|
||||||
my $found_it = 0;
|
my $found_it = 0;
|
||||||
my $dangling_sym = 0;
|
my $dangling_sym = 0;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package automake-testsuite
|
# spec file for package automake-testsuite
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 2 09:04:19 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- update config.guess/sub to the latest state
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 13 12:29:33 CEST 2012 - pth@suse.de
|
Thu Sep 13 12:29:33 CEST 2012 - pth@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package automake
|
# spec file for package automake
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -44,8 +44,9 @@ Url: http://www.gnu.org/software/automake
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: automake-%{version}.tar.xz
|
Source: automake-%{version}.tar.xz
|
||||||
Source1: automake-rpmlintrc
|
Source1: automake-rpmlintrc
|
||||||
Patch1: automake-SuSE.patch
|
Patch1: config-guess-sub-update.diff
|
||||||
Patch3: automake-require_file.patch
|
Patch2: automake-require_file.patch
|
||||||
|
Patch100: automake-SuSE.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -57,7 +58,8 @@ definitions (with rules occasionally thrown in). The generated
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n automake-%{version}
|
%setup -q -n automake-%{version}
|
||||||
%patch1
|
%patch1
|
||||||
%patch3
|
%patch2
|
||||||
|
%patch100
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sh bootstrap.sh
|
sh bootstrap.sh
|
||||||
|
297
config-guess-sub-update.diff
Normal file
297
config-guess-sub-update.diff
Normal file
@ -0,0 +1,297 @@
|
|||||||
|
--- lib/config.guess
|
||||||
|
+++ lib/config.guess
|
||||||
|
@@ -2,13 +2,13 @@
|
||||||
|
# Attempt to guess a canonical system name.
|
||||||
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
+# 2011, 2012, 2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
-timestamp='2012-06-17'
|
||||||
|
+timestamp='2012-12-30'
|
||||||
|
|
||||||
|
# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
@@ -22,19 +22,17 @@
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-# Originally written by Per Bothner. Please send patches (context
|
||||||
|
-# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
||||||
|
-# entry.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
#
|
||||||
|
-# This script attempts to guess a canonical system name similar to
|
||||||
|
-# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
|
-# exits with 0. Otherwise, it exits with 1.
|
||||||
|
+# Originally written by Per Bothner.
|
||||||
|
#
|
||||||
|
# You can get the latest version of this script from:
|
||||||
|
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
||||||
|
+#
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
+
|
||||||
|
|
||||||
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||||
|
|
||||||
|
@@ -55,8 +53,8 @@
|
||||||
|
|
||||||
|
Originally written by Per Bothner.
|
||||||
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
|
||||||
|
+2012, 2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This is free software; see the source for copying conditions. There is NO
|
||||||
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
@@ -306,7 +304,7 @@
|
||||||
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||||
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
- arm:riscos:*:*|arm:RISCOS:*:*)
|
||||||
|
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
|
||||||
|
echo arm-unknown-riscos
|
||||||
|
exit ;;
|
||||||
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
||||||
|
@@ -805,6 +803,9 @@
|
||||||
|
i*:CYGWIN*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
|
exit ;;
|
||||||
|
+ *:MINGW64*:*)
|
||||||
|
+ echo ${UNAME_MACHINE}-pc-mingw64
|
||||||
|
+ exit ;;
|
||||||
|
*:MINGW*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-mingw32
|
||||||
|
exit ;;
|
||||||
|
@@ -1205,6 +1206,9 @@
|
||||||
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
|
echo i586-pc-haiku
|
||||||
|
exit ;;
|
||||||
|
+ x86_64:Haiku:*:*)
|
||||||
|
+ echo x86_64-unknown-haiku
|
||||||
|
+ exit ;;
|
||||||
|
SX-4:SUPER-UX:*:*)
|
||||||
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
|
@@ -1334,9 +1338,6 @@
|
||||||
|
exit ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
-#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
|
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||||
|
-
|
||||||
|
eval $set_cc_for_build
|
||||||
|
cat >$dummy.c <<EOF
|
||||||
|
#ifdef _SEQUENT_
|
||||||
|
--- lib/config.sub
|
||||||
|
+++ lib/config.sub
|
||||||
|
@@ -2,23 +2,19 @@
|
||||||
|
# Configuration validation subroutine script.
|
||||||
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
-# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
+# 2011, 2012, 2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
-timestamp='2012-06-17'
|
||||||
|
+timestamp='2013-01-23'
|
||||||
|
|
||||||
|
-# This file is (in principle) common to ALL GNU software.
|
||||||
|
-# The presence of a machine in this file suggests that SOME GNU software
|
||||||
|
-# can handle that machine. It does not imply ALL GNU software can.
|
||||||
|
-#
|
||||||
|
-# 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
|
||||||
|
-# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# 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
|
||||||
|
+# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
-# This program is distributed in the hope that it will be useful,
|
||||||
|
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-# GNU General Public License for more details.
|
||||||
|
+# This program is distributed in the hope that it will be useful, but
|
||||||
|
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
+# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
@@ -26,11 +22,12 @@
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
-# the same distribution terms that you use for the rest of that program.
|
||||||
|
+# the same distribution terms that you use for the rest of that
|
||||||
|
+# program. This Exception is an additional permission under section 7
|
||||||
|
+# of the GNU General Public License, version 3 ("GPLv3").
|
||||||
|
|
||||||
|
|
||||||
|
-# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||||
|
-# diff and a properly formatted GNU ChangeLog entry.
|
||||||
|
+# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||||
|
#
|
||||||
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||||
|
# Supply the specified configuration type as an argument.
|
||||||
|
@@ -74,8 +71,8 @@
|
||||||
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
|
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
-Free Software Foundation, Inc.
|
||||||
|
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
|
||||||
|
+2012, 2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This is free software; see the source for copying conditions. There is NO
|
||||||
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
@@ -123,7 +120,7 @@
|
||||||
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||||
|
case $maybe_os in
|
||||||
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||||
|
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||||
|
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||||
|
kopensolaris*-gnu* | \
|
||||||
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||||
|
@@ -156,7 +153,7 @@
|
||||||
|
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
||||||
|
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
||||||
|
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
||||||
|
- -apple | -axis | -knuth | -cray | -microblaze)
|
||||||
|
+ -apple | -axis | -knuth | -cray | -microblaze*)
|
||||||
|
os=
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
|
@@ -259,8 +256,10 @@
|
||||||
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||||
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||||
|
| am33_2.0 \
|
||||||
|
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||||
|
- | be32 | be64 \
|
||||||
|
+ | arc \
|
||||||
|
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
||||||
|
+ | avr | avr32 \
|
||||||
|
+ | be32 | be64 \
|
||||||
|
| bfin \
|
||||||
|
| c4x | clipper \
|
||||||
|
| d10v | d30v | dlx | dsp16xx \
|
||||||
|
@@ -273,7 +272,7 @@
|
||||||
|
| le32 | le64 \
|
||||||
|
| lm32 \
|
||||||
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
|
- | maxq | mb | microblaze | mcore | mep | metag \
|
||||||
|
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
|
||||||
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||||
|
| mips16 \
|
||||||
|
| mips64 | mips64el \
|
||||||
|
@@ -291,13 +290,14 @@
|
||||||
|
| mipsisa64r2 | mipsisa64r2el \
|
||||||
|
| mipsisa64sb1 | mipsisa64sb1el \
|
||||||
|
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||||
|
+ | mipsr5900 | mipsr5900el \
|
||||||
|
| mipstx39 | mipstx39el \
|
||||||
|
| mn10200 | mn10300 \
|
||||||
|
| moxie \
|
||||||
|
| mt \
|
||||||
|
| msp430 \
|
||||||
|
| nds32 | nds32le | nds32be \
|
||||||
|
- | nios | nios2 \
|
||||||
|
+ | nios | nios2 | nios2eb | nios2el \
|
||||||
|
| ns16k | ns32k \
|
||||||
|
| open8 \
|
||||||
|
| or32 \
|
||||||
|
@@ -389,7 +389,8 @@
|
||||||
|
| lm32-* \
|
||||||
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
|
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
||||||
|
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
||||||
|
+ | microblaze-* | microblazeel-* \
|
||||||
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||||
|
| mips16-* \
|
||||||
|
| mips64-* | mips64el-* \
|
||||||
|
@@ -407,12 +408,13 @@
|
||||||
|
| mipsisa64r2-* | mipsisa64r2el-* \
|
||||||
|
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
||||||
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||||
|
+ | mipsr5900-* | mipsr5900el-* \
|
||||||
|
| mipstx39-* | mipstx39el-* \
|
||||||
|
| mmix-* \
|
||||||
|
| mt-* \
|
||||||
|
| msp430-* \
|
||||||
|
| nds32-* | nds32le-* | nds32be-* \
|
||||||
|
- | nios-* | nios2-* \
|
||||||
|
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
|
||||||
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
|
| open8-* \
|
||||||
|
| orion-* \
|
||||||
|
@@ -788,9 +790,13 @@
|
||||||
|
basic_machine=ns32k-utek
|
||||||
|
os=-sysv
|
||||||
|
;;
|
||||||
|
- microblaze)
|
||||||
|
+ microblaze*)
|
||||||
|
basic_machine=microblaze-xilinx
|
||||||
|
;;
|
||||||
|
+ mingw64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-mingw64
|
||||||
|
+ ;;
|
||||||
|
mingw32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-mingw32
|
||||||
|
@@ -1019,7 +1025,11 @@
|
||||||
|
basic_machine=i586-unknown
|
||||||
|
os=-pw32
|
||||||
|
;;
|
||||||
|
- rdos)
|
||||||
|
+ rdos | rdos64)
|
||||||
|
+ basic_machine=x86_64-pc
|
||||||
|
+ os=-rdos
|
||||||
|
+ ;;
|
||||||
|
+ rdos32)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-rdos
|
||||||
|
;;
|
||||||
|
@@ -1346,7 +1356,7 @@
|
||||||
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||||
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||||
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||||
|
- | -sym* | -kopensolaris* \
|
||||||
|
+ | -sym* | -kopensolaris* | -plan9* \
|
||||||
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||||
|
| -aos* | -aros* \
|
||||||
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
|
@@ -1359,8 +1369,8 @@
|
||||||
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
||||||
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
|
- | -mingw32* | -linux-gnu* | -linux-android* \
|
||||||
|
- | -linux-newlib* | -linux-uclibc* \
|
||||||
|
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
||||||
|
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
||||||
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||||
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||||
|
@@ -1492,9 +1502,6 @@
|
||||||
|
-aros*)
|
||||||
|
os=-aros
|
||||||
|
;;
|
||||||
|
- -kaos*)
|
||||||
|
- os=-kaos
|
||||||
|
- ;;
|
||||||
|
-zvmoe)
|
||||||
|
os=-zvmoe
|
||||||
|
;;
|
Loading…
Reference in New Issue
Block a user