Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Update supporting files for components which rely on autocon...



details:   https://anonhg.NetBSD.org/src/rev/d3adcb8d3b99
branches:  trunk
changeset: 821318:d3adcb8d3b99
user:      sevan <sevan%NetBSD.org@localhost>
date:      Wed Feb 01 09:26:39 2017 +0000

description:
Update supporting files for components which rely on autoconf to allow systems
introducing since release of software to be recognised. This should hopefully
allow the builds to progress a littles further on systems such as the POWER8
which features a little endian 64-bit PowerPC CPU identified as ppc64le.

diffstat:

 crypto/external/bsd/netpgp/dist/buildaux/config.guess                              |   905 +--
 crypto/external/bsd/netpgp/dist/buildaux/config.sub                                |   367 +-
 crypto/external/cpl/tpm-tools/dist/config.guess                                    |   474 +-
 crypto/external/cpl/tpm-tools/dist/config.sub                                      |   285 +-
 crypto/external/cpl/trousers/dist/config.guess                                     |   879 +--
 crypto/external/cpl/trousers/dist/config.sub                                       |   358 +-
 external/bsd/am-utils/dist/config.guess                                            |   354 +-
 external/bsd/am-utils/dist/config.sub                                              |    93 +-
 external/bsd/bind/dist/config.guess                                                |   330 +-
 external/bsd/bind/dist/config.sub                                                  |    89 +-
 external/bsd/bind/dist/contrib/dnsperf-2.1.0.0-1/config.guess                      |  1341 ++--
 external/bsd/bind/dist/contrib/dnsperf-2.1.0.0-1/config.sub                        |   517 +-
 external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/config.guess                     |  1521 +++--
 external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/config.sub                       |   761 ++-
 external/bsd/bind/dist/contrib/nslint-3.0a2/config.guess                           |  1363 +++--
 external/bsd/bind/dist/contrib/nslint-3.0a2/config.sub                             |   576 +-
 external/bsd/bind/dist/unit/atf-src/admin/config.guess                             |   700 +-
 external/bsd/bind/dist/unit/atf-src/admin/config.sub                               |   352 +-
 external/bsd/byacc/dist/config.guess                                               |   144 +-
 external/bsd/byacc/dist/config.sub                                                 |    52 +-
 external/bsd/dhcp/dist/config.guess                                                |   354 +-
 external/bsd/dhcp/dist/config.sub                                                  |   104 +-
 external/bsd/file/dist/config.guess                                                |   500 +-
 external/bsd/file/dist/config.sub                                                  |   173 +-
 external/bsd/flex/dist/build-aux/config.guess                                      |   137 +-
 external/bsd/flex/dist/build-aux/config.sub                                        |    43 +-
 external/bsd/iscsi/dist/buildaux/config.guess                                      |   905 +--
 external/bsd/iscsi/dist/buildaux/config.sub                                        |   367 +-
 external/bsd/libbind/dist/config.guess                                             |   906 +--
 external/bsd/libbind/dist/config.sub                                               |   375 +-
 external/bsd/libevent/dist/config.guess                                            |   165 +-
 external/bsd/libevent/dist/config.sub                                              |    61 +-
 external/bsd/libpcap/dist/config.guess                                             |   147 +-
 external/bsd/libpcap/dist/config.sub                                               |    57 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/config.guess                         |   521 +-
 external/bsd/ntp/dist/sntp/libevent/build-aux/config.sub                           |   214 +-
 external/bsd/openldap/dist/build/config.guess                                      |   699 +-
 external/bsd/openldap/dist/build/config.sub                                        |   310 +-
 external/bsd/openldap/dist/contrib/ldapc++/config.guess                            |   929 +--
 external/bsd/openldap/dist/contrib/ldapc++/config.sub                              |   484 +-
 external/bsd/openpam/dist/config.guess                                             |   367 +-
 external/bsd/openpam/dist/config.sub                                               |   112 +-
 external/bsd/pcc/dist/pcc/config.guess                                             |   165 +-
 external/bsd/pcc/dist/pcc/config.sub                                               |    51 +-
 external/bsd/tcpdump/dist/config.guess                                             |   147 +-
 external/bsd/tcpdump/dist/config.sub                                               |    57 +-
 external/bsd/top/dist/config.guess                                                 |  1363 +++--
 external/bsd/top/dist/config.sub                                                   |   576 +-
 external/bsd/tre/dist/utils/config.guess                                           |   912 +--
 external/bsd/tre/dist/utils/config.sub                                             |   422 +-
 external/bsd/unbound/dist/config.guess                                             |   354 +-
 external/bsd/unbound/dist/config.sub                                               |    95 +-
 external/gpl2/diffutils/dist/config/config.guess                                   |  1467 +++--
 external/gpl2/diffutils/dist/config/config.sub                                     |   689 ++-
 external/gpl2/gettext/dist/build-aux/config.guess                                  |   932 +--
 external/gpl2/gettext/dist/build-aux/config.sub                                    |   434 +-
 external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-kde/admin/config.guess |  1461 +++--
 external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-kde/admin/config.sub   |   608 ++-
 external/gpl2/gmake/dist/config/config.guess                                       |   934 +--
 external/gpl2/gmake/dist/config/config.sub                                         |   449 +-
 external/gpl2/grep/dist/config.guess                                               |  1524 +++--
 external/gpl2/grep/dist/config.sub                                                 |   760 ++-
 external/gpl2/lvm2/dist/autoconf/config.guess                                      |   912 +--
 external/gpl2/lvm2/dist/autoconf/config.sub                                        |   392 +-
 external/gpl2/texinfo/dist/config.guess                                            |  1340 ++--
 external/gpl2/texinfo/dist/config.sub                                              |   508 +-
 external/gpl2/xcvs/dist/build-aux/config.guess                                     |   777 +-
 external/gpl2/xcvs/dist/build-aux/config.sub                                       |   351 +-
 external/gpl3/autoconf/dist/build-aux/config.guess                                 |   500 +-
 external/gpl3/autoconf/dist/build-aux/config.sub                                   |   173 +-
 external/gpl3/binutils/dist/config.guess                                           |    39 +-
 external/gpl3/binutils/dist/config.sub                                             |    68 +-
 external/gpl3/gcc/dist/config.guess                                                |    39 +-
 external/gpl3/gcc/dist/config.sub                                                  |    81 +-
 external/gpl3/gdb.old/dist/config.guess                                            |    39 +-
 external/gpl3/gdb.old/dist/config.sub                                              |    56 +-
 external/gpl3/gdb.old/dist/readline/support/config.guess                           |   909 +--
 external/gpl3/gdb.old/dist/readline/support/config.sub                             |   381 +-
 external/gpl3/gdb/dist/config.guess                                                |    39 +-
 external/gpl3/gdb/dist/config.sub                                                  |    35 +-
 external/gpl3/gdb/dist/readline/support/config.guess                               |   909 +--
 external/gpl3/gdb/dist/readline/support/config.sub                                 |   381 +-
 external/lgpl3/gmp/dist/config.guess                                               |  2334 ++++++---
 external/lgpl3/gmp/dist/config.sub                                                 |  1941 +++++++-
 external/lgpl3/mpc/dist/config.guess                                               |   500 +-
 external/lgpl3/mpc/dist/config.sub                                                 |   170 +-
 external/lgpl3/mpfr/dist/config.guess                                              |   500 +-
 external/lgpl3/mpfr/dist/config.sub                                                |   170 +-
 external/mit/expat/dist/conftools/config.guess                                     |   174 +-
 external/mit/expat/dist/conftools/config.sub                                       |    71 +-
 lib/librumpuser/build-aux/config.guess                                             |   354 +-
 lib/librumpuser/build-aux/config.sub                                               |    93 +-
 92 files changed, 27070 insertions(+), 19957 deletions(-)

diffs (truncated from 79072 to 300 lines):

diff -r 4082717cd909 -r d3adcb8d3b99 crypto/external/bsd/netpgp/dist/buildaux/config.guess
--- a/crypto/external/bsd/netpgp/dist/buildaux/config.guess     Wed Feb 01 08:56:41 2017 +0000
+++ b/crypto/external/bsd/netpgp/dist/buildaux/config.guess     Wed Feb 01 09:26:39 2017 +0000
@@ -1,14 +1,12 @@
 #! /bin/sh
 # 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
-#   Free Software Foundation, Inc.
+#   Copyright 1992-2017 Free Software Foundation, Inc.
 
-timestamp='2008-09-28'
+timestamp='2017-01-01'
 
 # 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
@@ -17,26 +15,22 @@
 # General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
 # 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 <per%bothner.com@localhost>.
-# Please send patches to <config-patches%gnu.org@localhost>.  Submit a context
-# diff and a properly formatted 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").
+#
+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
 #
-# 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.
+# 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
 #
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
+# Please send patches to <config-patches%gnu.org@localhost>.
+
 
 me=`echo "$0" | sed -e 's,.*/,,'`
 
@@ -56,8 +50,7 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright 1992-2017 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."
@@ -139,12 +132,33 @@
 UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 
+case "${UNAME_SYSTEM}" in
+Linux|GNU|GNU/*)
+       # If the system lacks a compiler, then just pick glibc.
+       # We could probably try harder.
+       LIBC=gnu
+
+       eval $set_cc_for_build
+       cat <<-EOF > $dummy.c
+       #include <features.h>
+       #if defined(__UCLIBC__)
+       LIBC=uclibc
+       #elif defined(__dietlibc__)
+       LIBC=dietlibc
+       #else
+       LIBC=gnu
+       #endif
+       EOF
+       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
+       ;;
+esac
+
 # Note: order is significant - the case branches are not exclusive.
 
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     *:NetBSD:*:*)
        # NetBSD (nbsd) targets should (where applicable) match one or
-       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+       # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
        # switched to ELF, *-*-netbsd* would select the old
        # object file format.  This provides both forward
@@ -154,23 +168,33 @@
        # Note: NetBSD doesn't particularly care about the vendor
        # portion of the name.  We always set it to "unknown".
        sysctl="sysctl -n hw.machine_arch"
-       UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
-           /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+       UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
+           /sbin/$sysctl 2>/dev/null || \
+           /usr/sbin/$sysctl 2>/dev/null || \
+           echo unknown)`
        case "${UNAME_MACHINE_ARCH}" in
            armeb) machine=armeb-unknown ;;
            arm*) machine=arm-unknown ;;
            sh3el) machine=shl-unknown ;;
            sh3eb) machine=sh-unknown ;;
            sh5el) machine=sh5le-unknown ;;
+           earmv*)
+               arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
+               endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
+               machine=${arch}${endian}-unknown
+               ;;
            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
        esac
        # The Operating System including object format, if it has switched
-       # to ELF recently, or will in the future.
+       # to ELF recently (or will in the future) and ABI.
        case "${UNAME_MACHINE_ARCH}" in
+           earm*)
+               os=netbsdelf
+               ;;
            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
                eval $set_cc_for_build
                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
-                       | grep __ELF__ >/dev/null
+                       | grep -q __ELF__
                then
                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
                    # Return netbsd for either.  FIX?
@@ -180,7 +204,14 @@
                fi
                ;;
            *)
-               os=netbsd
+               os=netbsd
+               ;;
+       esac
+       # Determine ABI tags.
+       case "${UNAME_MACHINE_ARCH}" in
+           earm*)
+               expr='s/^earmv[0-9]/-eabi/;s/eb$//'
+               abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
                ;;
        esac
        # The OS release
@@ -193,18 +224,26 @@
                release='-gnu'
                ;;
            *)
-               release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+               release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
                ;;
        esac
        # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
        # contains redundant information, the shorter form:
        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
-       echo "${machine}-${os}${release}"
+       echo "${machine}-${os}${release}${abi}"
+       exit ;;
+    *:Bitrig:*:*)
+       UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+       echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
        exit ;;
     *:OpenBSD:*:*)
        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
        exit ;;
+    *:LibertyBSD:*:*)
+       UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
+       echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
+       exit ;;
     *:ekkoBSD:*:*)
        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
        exit ;;
@@ -217,13 +256,16 @@
     *:MirBSD:*:*)
        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
        exit ;;
+    *:Sortix:*:*)
+       echo ${UNAME_MACHINE}-unknown-sortix
+       exit ;;
     alpha:OSF1:*:*)
        case $UNAME_RELEASE in
        *4.0)
                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
                ;;
        *5.*)
-               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
                ;;
        esac
        # According to Compaq, /usr/sbin/psrinfo has been available on
@@ -233,43 +275,46 @@
        ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
        case "$ALPHA_CPU_TYPE" in
            "EV4 (21064)")
-               UNAME_MACHINE="alpha" ;;
+               UNAME_MACHINE=alpha ;;
            "EV4.5 (21064)")
-               UNAME_MACHINE="alpha" ;;
+               UNAME_MACHINE=alpha ;;
            "LCA4 (21066/21068)")
-               UNAME_MACHINE="alpha" ;;
+               UNAME_MACHINE=alpha ;;
            "EV5 (21164)")
-               UNAME_MACHINE="alphaev5" ;;
+               UNAME_MACHINE=alphaev5 ;;
            "EV5.6 (21164A)")
-               UNAME_MACHINE="alphaev56" ;;
+               UNAME_MACHINE=alphaev56 ;;
            "EV5.6 (21164PC)")
-               UNAME_MACHINE="alphapca56" ;;
+               UNAME_MACHINE=alphapca56 ;;
            "EV5.7 (21164PC)")
-               UNAME_MACHINE="alphapca57" ;;
+               UNAME_MACHINE=alphapca57 ;;
            "EV6 (21264)")
-               UNAME_MACHINE="alphaev6" ;;
+               UNAME_MACHINE=alphaev6 ;;
            "EV6.7 (21264A)")
-               UNAME_MACHINE="alphaev67" ;;
+               UNAME_MACHINE=alphaev67 ;;
            "EV6.8CB (21264C)")
-               UNAME_MACHINE="alphaev68" ;;
+               UNAME_MACHINE=alphaev68 ;;
            "EV6.8AL (21264B)")
-               UNAME_MACHINE="alphaev68" ;;
+               UNAME_MACHINE=alphaev68 ;;
            "EV6.8CX (21264D)")
-               UNAME_MACHINE="alphaev68" ;;
+               UNAME_MACHINE=alphaev68 ;;
            "EV6.9A (21264/EV69A)")
-               UNAME_MACHINE="alphaev69" ;;
+               UNAME_MACHINE=alphaev69 ;;
            "EV7 (21364)")
-               UNAME_MACHINE="alphaev7" ;;
+               UNAME_MACHINE=alphaev7 ;;
            "EV7.9 (21364A)")
-               UNAME_MACHINE="alphaev79" ;;
+               UNAME_MACHINE=alphaev79 ;;
        esac
        # A Pn.n version is a patched version.
        # A Vn.n version is a released version.
        # A Tn.n version is a released field test version.
        # A Xn.n version is an unreleased experimental baselevel.
        # 1.2 uses "1.2" for uname -r.
-       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-       exit ;;
+       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+       # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+       exitcode=$?
+       trap '' 0
+       exit $exitcode ;;
     Alpha\ *:Windows_NT*:*)
        # How do we know it's Interix rather than the generic POSIX subsystem?
        # Should we change UNAME_MACHINE based on the output of uname instead
@@ -295,12 +340,12 @@
        echo s390-ibm-zvmoe
        exit ;;
     *:OS400:*:*)
-        echo powerpc-ibm-os400
+       echo powerpc-ibm-os400
        exit ;;
     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:*:*)
@@ -324,14 +369,33 @@
        case `/usr/bin/uname -p` in
            sparc) echo sparc-icl-nx7; exit ;;
        esac ;;
+    s390x:SunOS:*:*)
+       echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+       exit ;;
     sun4H:SunOS:5.*:*)
        echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
        exit ;;
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
        exit ;;
+    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+       echo i386-pc-auroraux${UNAME_RELEASE}
+       exit ;;
     i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)



Home | Main Index | Thread Index | Old Index