From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2010) id CFAA5386C5BD; Sun, 12 Jun 2022 04:37:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFAA5386C5BD Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Eric Gallager To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc(refs/users/egallager/heads/autotools-tinkering)] autoreconf in libstdc++-v3 X-Act-Checkin: gcc X-Git-Author: Eric Gallager X-Git-Refname: refs/users/egallager/heads/autotools-tinkering X-Git-Oldrev: b80562e5ee4f695ea8762caa1e71bb5a88a0e842 X-Git-Newrev: 4f213c50b7621a921c6c1a0ec6fd11738fda4e02 Message-Id: <20220612043738.CFAA5386C5BD@sourceware.org> Date: Sun, 12 Jun 2022 04:37:38 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2022 04:37:39 -0000 https://gcc.gnu.org/g:4f213c50b7621a921c6c1a0ec6fd11738fda4e02 commit 4f213c50b7621a921c6c1a0ec6fd11738fda4e02 Author: Eric Gallager Date: Sun Jun 12 00:37:03 2022 -0400 autoreconf in libstdc++-v3 Diff: --- compile | 17 +- config.guess | 1222 ++++++++++++++++++++++--------------------- config.sub | 7 +- install-sh | 174 +++--- libstdc++-v3/acinclude.m4 | 548 +++++++------------ libstdc++-v3/aclocal.m4 | 73 +-- libstdc++-v3/configure | 1150 +++++----------------------------------- libstdc++-v3/configure.ac | 18 +- libstdc++-v3/configure.scan | 70 +++ libstdc++-v3/crossconfig.m4 | 11 +- libstdc++-v3/linkage.m4 | 88 +--- missing | 16 +- mkinstalldirs | 26 +- 13 files changed, 1254 insertions(+), 2166 deletions(-) diff --git a/compile b/compile index a85b723c7e6..df363c8fbfb 100755 --- a/compile +++ b/compile @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-10-14.11; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ scriptversion=2012-10-14.11; # UTC # 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 . +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -53,7 +53,7 @@ func_file_conv () MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ func_file_conv () mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) @@ -255,7 +255,8 @@ EOF echo "compile $scriptversion" exit $? ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac @@ -339,9 +340,9 @@ exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/config.guess b/config.guess index 1972fda8eb0..e81d3ae7c21 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,9 @@ # Attempt to guess a canonical system name. # Copyright 1992-2021 Free Software Foundation, Inc. -timestamp='2021-01-25' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2021-06-03' # 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 @@ -32,7 +34,15 @@ timestamp='2021-01-25' # Please send patches to . -me=$(echo "$0" | sed -e 's,.*/,,') +# The "shellcheck disable" line above the timestamp inhibits complaints +# about features and limitations of the classic Bourne shell that were +# superseded or lifted in POSIX. However, this script identifies a wide +# variety of pre-POSIX systems that do not have POSIX shells at all, and +# even some reasonably current systems (Solaris 10 as case-in-point) still +# have a pre-POSIX /bin/sh. + + +me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] @@ -84,6 +94,9 @@ if test $# != 0; then exit 1 fi +# Just in case it came from the environment. +GUESS= + # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a @@ -102,8 +115,8 @@ set_cc_for_build() { # prevent multiple calls if $tmp is already set test "$tmp" && return 0 : "${TMPDIR=/tmp}" - # shellcheck disable=SC2039 - { tmp=$( (umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null) && test -n "$tmp" && test -d "$tmp" ; } || + # shellcheck disable=SC2039,SC3028 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } @@ -112,7 +125,7 @@ set_cc_for_build() { ,,) echo "int x;" > "$dummy.c" for driver in cc gcc c89 c99 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$driver" + CC_FOR_BUILD=$driver break fi done @@ -131,12 +144,12 @@ if test -f /.attbin/uname ; then PATH=$PATH:/.attbin ; export PATH fi -UNAME_MACHINE=$( (uname -m) 2>/dev/null) || UNAME_MACHINE=unknown -UNAME_RELEASE=$( (uname -r) 2>/dev/null) || UNAME_RELEASE=unknown -UNAME_SYSTEM=$( (uname -s) 2>/dev/null) || UNAME_SYSTEM=unknown -UNAME_VERSION=$( (uname -v) 2>/dev/null) || UNAME_VERSION=unknown +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -case "$UNAME_SYSTEM" in +case $UNAME_SYSTEM in Linux|GNU|GNU/*) LIBC=unknown @@ -157,7 +170,8 @@ Linux|GNU|GNU/*) #endif #endif EOF - eval "$($CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g')" + cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + eval "$cc_set_libc" # Second heuristic to detect musl libc. if [ "$LIBC" = unknown ] && @@ -176,7 +190,7 @@ esac # 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 *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, @@ -188,11 +202,11 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". - UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \ + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ - echo unknown)) - case "$UNAME_MACHINE_ARCH" in + echo unknown)` + case $UNAME_MACHINE_ARCH in aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; @@ -200,15 +214,15 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in 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 + 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 ;; + *) machine=$UNAME_MACHINE_ARCH-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) os=netbsdelf ;; @@ -229,10 +243,10 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in ;; esac # Determine ABI tags. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' - abi=$(echo "$UNAME_MACHINE_ARCH" | sed -e "$expr") + abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release @@ -240,76 +254,82 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. - case "$UNAME_VERSION" in + case $UNAME_VERSION in Debian*) release='-gnu' ;; *) - release=$(echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2) + 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}${abi-}" - exit ;; + GUESS=$machine-${os}${release}${abi-} + ;; *:Bitrig:*:*) - UNAME_MACHINE_ARCH=$(arch | sed 's/Bitrig.//') - echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" - exit ;; + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE + ;; *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=$(arch | sed 's/OpenBSD.//') - echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" - exit ;; + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE + ;; + *:SecBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'` + GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE + ;; *:LibertyBSD:*:*) - UNAME_MACHINE_ARCH=$(arch | sed 's/^.*BSD\.//') - echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" - exit ;; + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE + ;; *:MidnightBSD:*:*) - echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE + ;; *:ekkoBSD:*:*) - echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE + ;; *:SolidBSD:*:*) - echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE + ;; *:OS108:*:*) - echo "$UNAME_MACHINE"-unknown-os108_"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE + ;; macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE + ;; *:MirBSD:*:*) - echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE + ;; *:Sortix:*:*) - echo "$UNAME_MACHINE"-unknown-sortix - exit ;; + GUESS=$UNAME_MACHINE-unknown-sortix + ;; *:Twizzler:*:*) - echo "$UNAME_MACHINE"-unknown-twizzler - exit ;; + GUESS=$UNAME_MACHINE-unknown-twizzler + ;; *:Redox:*:*) - echo "$UNAME_MACHINE"-unknown-redox - exit ;; + GUESS=$UNAME_MACHINE-unknown-redox + ;; mips:OSF1:*.*) - echo mips-dec-osf1 - exit ;; + GUESS=mips-dec-osf1 + ;; alpha:OSF1:*:*) + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + trap '' 0 case $UNAME_RELEASE in *4.0) - UNAME_RELEASE=$(/usr/sbin/sizer -v | awk '{print $3}') + 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 # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=$(/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1) - case "$ALPHA_CPU_TYPE" in + 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 ;; "EV4.5 (21064)") @@ -346,68 +366,69 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # 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)" - # Reset EXIT trap before exiting to avoid spurious non-zero exit code. - exitcode=$? - trap '' 0 - exit $exitcode ;; + OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + GUESS=$UNAME_MACHINE-dec-osf$OSF_REL + ;; Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; + GUESS=m68k-unknown-sysv4 + ;; *:[Aa]miga[Oo][Ss]:*:*) - echo "$UNAME_MACHINE"-unknown-amigaos - exit ;; + GUESS=$UNAME_MACHINE-unknown-amigaos + ;; *:[Mm]orph[Oo][Ss]:*:*) - echo "$UNAME_MACHINE"-unknown-morphos - exit ;; + GUESS=$UNAME_MACHINE-unknown-morphos + ;; *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; + GUESS=i370-ibm-openedition + ;; *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; + GUESS=s390-ibm-zvmoe + ;; *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; + GUESS=powerpc-ibm-os400 + ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix"$UNAME_RELEASE" - exit ;; + GUESS=arm-acorn-riscix$UNAME_RELEASE + ;; arm*:riscos:*:*|arm*:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; + GUESS=arm-unknown-riscos + ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; + GUESS=hppa1.1-hitachi-hiuxmpp + ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "$( (/bin/universe) 2>/dev/null)" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; + case `(/bin/universe) 2>/dev/null` in + att) GUESS=pyramid-pyramid-sysv3 ;; + *) GUESS=pyramid-pyramid-bsd ;; + esac + ;; NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; + GUESS=pyramid-pyramid-svr4 + ;; DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; + GUESS=sparc-icl-nx6 + ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case $(/usr/bin/uname -p) in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; + case `/usr/bin/uname -p` in + sparc) GUESS=sparc-icl-nx7 ;; + esac + ;; s390x:SunOS:*:*) - echo "$UNAME_MACHINE"-ibm-solaris2"$(echo "$UNAME_RELEASE" | sed -e 's/[^.]*//')" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL + ;; sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=sparc-hal-solaris2$SUN_REL + ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2"$(echo "$UNAME_RELEASE" | sed -e 's/[^.]*//')" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=sparc-sun-solaris2$SUN_REL + ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) - echo i386-pc-auroraux"$UNAME_RELEASE" - exit ;; + GUESS=i386-pc-auroraux$UNAME_RELEASE + ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) set_cc_for_build SUN_ARCH=i386 @@ -422,41 +443,44 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in SUN_ARCH=x86_64 fi fi - echo "$SUN_ARCH"-pc-solaris2"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=$SUN_ARCH-pc-solaris2$SUN_REL + ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=sparc-sun-solaris3$SUN_REL + ;; sun4*:SunOS:*:*) - case "$(/usr/bin/arch -k)" in + case `/usr/bin/arch -k` in Series*|S4*) - UNAME_RELEASE=$(uname -v) + UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos"$(echo "$UNAME_RELEASE"|sed -e 's/-/_/')" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'` + GUESS=sparc-sun-sunos$SUN_REL + ;; sun3*:SunOS:*:*) - echo m68k-sun-sunos"$UNAME_RELEASE" - exit ;; + GUESS=m68k-sun-sunos$UNAME_RELEASE + ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=$( (sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 - case "$(/bin/arch)" in + case `/bin/arch` in sun3) - echo m68k-sun-sunos"$UNAME_RELEASE" + GUESS=m68k-sun-sunos$UNAME_RELEASE ;; sun4) - echo sparc-sun-sunos"$UNAME_RELEASE" + GUESS=sparc-sun-sunos$UNAME_RELEASE ;; esac - exit ;; + ;; aushp:SunOS:*:*) - echo sparc-auspex-sunos"$UNAME_RELEASE" - exit ;; + GUESS=sparc-auspex-sunos$UNAME_RELEASE + ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -466,41 +490,41 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-atari-mint$UNAME_RELEASE + ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-atari-mint$UNAME_RELEASE + ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-atari-mint$UNAME_RELEASE + ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-milan-mint$UNAME_RELEASE + ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-hades-mint$UNAME_RELEASE + ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint"$UNAME_RELEASE" - exit ;; + GUESS=m68k-unknown-mint$UNAME_RELEASE + ;; m68k:machten:*:*) - echo m68k-apple-machten"$UNAME_RELEASE" - exit ;; + GUESS=m68k-apple-machten$UNAME_RELEASE + ;; powerpc:machten:*:*) - echo powerpc-apple-machten"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-apple-machten$UNAME_RELEASE + ;; RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; + GUESS=mips-dec-mach_bsd4.3 + ;; RISC*:ULTRIX:*:*) - echo mips-dec-ultrix"$UNAME_RELEASE" - exit ;; + GUESS=mips-dec-ultrix$UNAME_RELEASE + ;; VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix"$UNAME_RELEASE" - exit ;; + GUESS=vax-dec-ultrix$UNAME_RELEASE + ;; 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix"$UNAME_RELEASE" - exit ;; + GUESS=clipper-intergraph-clix$UNAME_RELEASE + ;; mips:*:*:UMIPS | mips:*:*:RISCos) set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" @@ -525,78 +549,79 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && - dummyarg=$(echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p') && - SYSTEM_NAME=$("$dummy" "$dummyarg") && + dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`"$dummy" "$dummyarg"` && { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos"$UNAME_RELEASE" - exit ;; + GUESS=mips-mips-riscos$UNAME_RELEASE + ;; Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; + GUESS=powerpc-motorola-powermax + ;; Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; + GUESS=powerpc-harris-powermax + ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; + GUESS=powerpc-harris-powermax + ;; Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; + GUESS=powerpc-harris-powerunix + ;; m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; + GUESS=m88k-harris-cxux7 + ;; m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; + GUESS=m88k-motorola-sysv4 + ;; m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; + GUESS=m88k-motorola-sysv3 + ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=$(/usr/bin/uname -p) + UNAME_PROCESSOR=`/usr/bin/uname -p` if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110 then if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \ test "$TARGET_BINARY_INTERFACE"x = x then - echo m88k-dg-dgux"$UNAME_RELEASE" + GUESS=m88k-dg-dgux$UNAME_RELEASE else - echo m88k-dg-dguxbcs"$UNAME_RELEASE" + GUESS=m88k-dg-dguxbcs$UNAME_RELEASE fi else - echo i586-dg-dgux"$UNAME_RELEASE" + GUESS=i586-dg-dgux$UNAME_RELEASE fi - exit ;; + ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; + GUESS=m88k-dolphin-sysv3 + ;; M88*:*:R3*:*) # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; + GUESS=m88k-motorola-sysv3 + ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; + GUESS=m88k-tektronix-sysv3 + ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; + GUESS=m68k-tektronix-bsd + ;; *:IRIX*:*:*) - echo mips-sgi-irix"$(echo "$UNAME_RELEASE"|sed -e 's/-/_/g')" - exit ;; + IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'` + GUESS=mips-sgi-irix$IRIX_REL + ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'$(uname -s)'" gives 'AIX ' + GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id + ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; + GUESS=i386-ibm-aix + ;; ia64:AIX:*:*) if test -x /usr/bin/oslevel ; then - IBM_REV=$(/usr/bin/oslevel) + IBM_REV=`/usr/bin/oslevel` else - IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi - echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" - exit ;; + GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV + ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then set_cc_for_build @@ -611,68 +636,68 @@ EOF exit(0); } EOF - if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=$("$dummy") + if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` then - echo "$SYSTEM_NAME" + GUESS=$SYSTEM_NAME else - echo rs6000-ibm-aix3.2.5 + GUESS=rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 + GUESS=rs6000-ibm-aix3.2.4 else - echo rs6000-ibm-aix3.2 + GUESS=rs6000-ibm-aix3.2 fi - exit ;; + ;; *:AIX:*:[4567]) - IBM_CPU_ID=$(/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }') + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if test -x /usr/bin/lslpp ; then - IBM_REV=$(/usr/bin/lslpp -Lqc bos.rte.libc | - awk -F: '{ print $3 }' | sed s/[0-9]*$/0/) + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \ + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else - IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi - echo "$IBM_ARCH"-ibm-aix"$IBM_REV" - exit ;; + GUESS=$IBM_ARCH-ibm-aix$IBM_REV + ;; *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; + GUESS=rs6000-ibm-aix + ;; ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) - echo romp-ibm-bsd4.4 - exit ;; + GUESS=romp-ibm-bsd4.4 + ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 + GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to + ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; + GUESS=rs6000-bull-bosx + ;; DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; + GUESS=m68k-bull-sysv3 + ;; 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; + GUESS=m68k-hp-bsd + ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; + GUESS=m68k-hp-bsd4.4 + ;; 9000/[34678]??:HP-UX:*:*) - HPUX_REV=$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//') - case "$UNAME_MACHINE" in + HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` + case $UNAME_MACHINE in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if test -x /usr/bin/getconf; then - sc_cpu_version=$(/usr/bin/getconf SC_CPU_VERSION 2>/dev/null) - sc_kernel_bits=$(/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null) - case "$sc_cpu_version" in + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case $sc_cpu_version in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 - case "$sc_kernel_bits" in + case $sc_kernel_bits in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 @@ -714,7 +739,7 @@ EOF exit (0); } EOF - (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=$("$dummy") + (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac @@ -739,12 +764,12 @@ EOF HP_ARCH=hppa64 fi fi - echo "$HP_ARCH"-hp-hpux"$HPUX_REV" - exit ;; + GUESS=$HP_ARCH-hp-hpux$HPUX_REV + ;; ia64:HP-UX:*:*) - HPUX_REV=$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//') - echo ia64-hp-hpux"$HPUX_REV" - exit ;; + HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` + GUESS=ia64-hp-hpux$HPUX_REV + ;; 3050*:HI-UX:*:*) set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" @@ -772,38 +797,38 @@ EOF exit (0); } EOF - $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=$("$dummy") && + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; + GUESS=unknown-hitachi-hiuxwe2 + ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) - echo hppa1.1-hp-bsd - exit ;; + GUESS=hppa1.1-hp-bsd + ;; 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; + GUESS=hppa1.0-hp-bsd + ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; + GUESS=hppa1.0-hp-mpeix + ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) - echo hppa1.1-hp-osf - exit ;; + GUESS=hppa1.1-hp-osf + ;; hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; + GUESS=hppa1.0-hp-osf + ;; i*86:OSF1:*:*) if test -x /usr/sbin/sysversion ; then - echo "$UNAME_MACHINE"-unknown-osf1mk + GUESS=$UNAME_MACHINE-unknown-osf1mk else - echo "$UNAME_MACHINE"-unknown-osf1 + GUESS=$UNAME_MACHINE-unknown-osf1 fi - exit ;; + ;; parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; + GUESS=hppa1.1-hp-lites + ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; + GUESS=c1-convex-bsd + ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd @@ -811,17 +836,18 @@ EOF fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; + GUESS=c34-convex-bsd + ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; + GUESS=c38-convex-bsd + ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; + GUESS=c4-convex-bsd + ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=ymp-cray-unicos$CRAY_REL + ;; CRAY*[A-Z]90:*:*:*) echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ @@ -829,114 +855,126 @@ EOF -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) - echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=t90-cray-unicos$CRAY_REL + ;; CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=alphaev5-cray-unicosmk$CRAY_REL + ;; CRAY*SV1:*:*:*) - echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=sv1-cray-unicos$CRAY_REL + ;; *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' - exit ;; + CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` + GUESS=craynv-cray-unicosmp$CRAY_REL + ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=$(uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz) - FUJITSU_SYS=$(uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///') - FUJITSU_REL=$(echo "$UNAME_RELEASE" | sed -e 's/ /_/') - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` + GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} + ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=$(uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///') - FUJITSU_REL=$(echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/') - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` + GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} + ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE + ;; sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi"$UNAME_RELEASE" - exit ;; + GUESS=sparc-unknown-bsdi$UNAME_RELEASE + ;; *:BSD/OS:*:*) - echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE + ;; arm:FreeBSD:*:*) - UNAME_PROCESSOR=$(uname -p) + UNAME_PROCESSOR=`uname -p` set_cc_for_build if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then - echo "${UNAME_PROCESSOR}"-unknown-freebsd"$(echo ${UNAME_RELEASE}|sed -e 's/[-(].*//')"-gnueabi + FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi else - echo "${UNAME_PROCESSOR}"-unknown-freebsd"$(echo ${UNAME_RELEASE}|sed -e 's/[-(].*//')"-gnueabihf + FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf fi - exit ;; + ;; *:FreeBSD:*:*) - UNAME_PROCESSOR=$(/usr/bin/uname -p) - case "$UNAME_PROCESSOR" in + UNAME_PROCESSOR=`/usr/bin/uname -p` + case $UNAME_PROCESSOR in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac - echo "$UNAME_PROCESSOR"-unknown-freebsd"$(echo "$UNAME_RELEASE"|sed -e 's/[-(].*//')" - exit ;; + FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL + ;; i*:CYGWIN*:*) - echo "$UNAME_MACHINE"-pc-cygwin - exit ;; + GUESS=$UNAME_MACHINE-pc-cygwin + ;; *:MINGW64*:*) - echo "$UNAME_MACHINE"-pc-mingw64 - exit ;; + GUESS=$UNAME_MACHINE-pc-mingw64 + ;; *:MINGW*:*) - echo "$UNAME_MACHINE"-pc-mingw32 - exit ;; + GUESS=$UNAME_MACHINE-pc-mingw32 + ;; *:MSYS*:*) - echo "$UNAME_MACHINE"-pc-msys - exit ;; + GUESS=$UNAME_MACHINE-pc-msys + ;; i*:PW*:*) - echo "$UNAME_MACHINE"-pc-pw32 - exit ;; + GUESS=$UNAME_MACHINE-pc-pw32 + ;; *:Interix*:*) - case "$UNAME_MACHINE" in + case $UNAME_MACHINE in x86) - echo i586-pc-interix"$UNAME_RELEASE" - exit ;; + GUESS=i586-pc-interix$UNAME_RELEASE + ;; authenticamd | genuineintel | EM64T) - echo x86_64-unknown-interix"$UNAME_RELEASE" - exit ;; + GUESS=x86_64-unknown-interix$UNAME_RELEASE + ;; IA64) - echo ia64-unknown-interix"$UNAME_RELEASE" - exit ;; + GUESS=ia64-unknown-interix$UNAME_RELEASE + ;; esac ;; i*:UWIN*:*) - echo "$UNAME_MACHINE"-pc-uwin - exit ;; + GUESS=$UNAME_MACHINE-pc-uwin + ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-pc-cygwin - exit ;; + GUESS=x86_64-pc-cygwin + ;; prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2"$(echo "$UNAME_RELEASE"|sed -e 's/[^.]*//')" - exit ;; + SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` + GUESS=powerpcle-unknown-solaris2$SUN_REL + ;; *:GNU:*:*) # the GNU system - echo "$(echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,')-unknown-$LIBC$(echo "$UNAME_RELEASE"|sed -e 's,/.*$,,')" - exit ;; + GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'` + GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'` + GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL + ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo "$UNAME_MACHINE-unknown-$(echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]")$(echo "$UNAME_RELEASE"|sed -e 's/[-(].*//')-$LIBC" - exit ;; + GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"` + GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC + ;; *:Minix:*:*) - echo "$UNAME_MACHINE"-unknown-minix - exit ;; + GUESS=$UNAME_MACHINE-unknown-minix + ;; aarch64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; alpha:Linux:*:*) - case $(sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null) in + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; @@ -947,63 +985,63 @@ EOF esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; - arc:Linux:*:* | arceb:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; arm*:Linux:*:*) set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi + GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi else - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf + GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf fi fi - exit ;; + ;; avr32*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; cris:Linux:*:*) - echo "$UNAME_MACHINE"-axis-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-axis-linux-$LIBC + ;; crisv32:Linux:*:*) - echo "$UNAME_MACHINE"-axis-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-axis-linux-$LIBC + ;; e2k:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; frv:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; hexagon:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; i*86:Linux:*:*) - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-pc-linux-$LIBC + ;; ia64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; k1om:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; m32r*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; m68*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; mips:Linux:*:* | mips64:Linux:*:*) set_cc_for_build IS_GLIBC=0 @@ -1048,65 +1086,66 @@ EOF #endif #endif EOF - eval "$($CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI')" + cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'` + eval "$cc_set_vars" test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; } ;; mips64el:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; openrisc*:Linux:*:*) - echo or1k-unknown-linux-"$LIBC" - exit ;; + GUESS=or1k-unknown-linux-$LIBC + ;; or32:Linux:*:* | or1k*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; padre:Linux:*:*) - echo sparc-unknown-linux-"$LIBC" - exit ;; + GUESS=sparc-unknown-linux-$LIBC + ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-"$LIBC" - exit ;; + GUESS=hppa64-unknown-linux-$LIBC + ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level - case $(grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2) in - PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; - PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; - *) echo hppa-unknown-linux-"$LIBC" ;; + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;; + PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;; + *) GUESS=hppa-unknown-linux-$LIBC ;; esac - exit ;; + ;; ppc64:Linux:*:*) - echo powerpc64-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpc64-unknown-linux-$LIBC + ;; ppc:Linux:*:*) - echo powerpc-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpc-unknown-linux-$LIBC + ;; ppc64le:Linux:*:*) - echo powerpc64le-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpc64le-unknown-linux-$LIBC + ;; ppcle:Linux:*:*) - echo powerpcle-unknown-linux-"$LIBC" - exit ;; + GUESS=powerpcle-unknown-linux-$LIBC + ;; riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; s390:Linux:*:* | s390x:Linux:*:*) - echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-ibm-linux-$LIBC + ;; sh64*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; sh*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; tile*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; vax:Linux:*:*) - echo "$UNAME_MACHINE"-dec-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-dec-linux-$LIBC + ;; x86_64:Linux:*:*) set_cc_for_build LIBCABI=$LIBC @@ -1115,71 +1154,71 @@ EOF (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_X32 >/dev/null then - LIBCABI="$LIBC"x32 + LIBCABI=${LIBC}x32 fi fi - echo "$UNAME_MACHINE"-pc-linux-"$LIBCABI" - exit ;; + GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI + ;; xtensa*:Linux:*:*) - echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" - exit ;; + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; + GUESS=i386-sequent-sysv4 + ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. - echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" - exit ;; + GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION + ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. - echo "$UNAME_MACHINE"-pc-os2-emx - exit ;; + GUESS=$UNAME_MACHINE-pc-os2-emx + ;; i*86:XTS-300:*:STOP) - echo "$UNAME_MACHINE"-unknown-stop - exit ;; + GUESS=$UNAME_MACHINE-unknown-stop + ;; i*86:atheos:*:*) - echo "$UNAME_MACHINE"-unknown-atheos - exit ;; + GUESS=$UNAME_MACHINE-unknown-atheos + ;; i*86:syllable:*:*) - echo "$UNAME_MACHINE"-pc-syllable - exit ;; + GUESS=$UNAME_MACHINE-pc-syllable + ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) - echo i386-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=i386-unknown-lynxos$UNAME_RELEASE + ;; i*86:*DOS:*:*) - echo "$UNAME_MACHINE"-pc-msdosdjgpp - exit ;; + GUESS=$UNAME_MACHINE-pc-msdosdjgpp + ;; i*86:*:4.*:*) - UNAME_REL=$(echo "$UNAME_RELEASE" | sed 's/\/MP$//') + UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" + GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL else - echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" + GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL fi - exit ;; + ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. - case $(/bin/uname -X | grep "^Machine") in + case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac - echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}" - exit ;; + GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then - UNAME_REL=$(sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=$( (/bin/uname -X|grep Release|sed -e 's/.*= //')) + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 @@ -1187,11 +1226,11 @@ EOF && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 - echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" + GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL else - echo "$UNAME_MACHINE"-pc-sysv32 + GUESS=$UNAME_MACHINE-pc-sysv32 fi - exit ;; + ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about @@ -1199,37 +1238,37 @@ EOF # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. - echo i586-pc-msdosdjgpp - exit ;; + GUESS=i586-pc-msdosdjgpp + ;; Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; + GUESS=i386-pc-mach3 + ;; paragon:*:*:*) - echo i860-intel-osf1 - exit ;; + GUESS=i860-intel-osf1 + ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 + GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 + GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4 fi - exit ;; + ;; mini*:CTIX:SYS*5:*) # "miniframe" - echo m68010-convergent-sysv - exit ;; + GUESS=m68010-convergent-sysv + ;; mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; + GUESS=m68k-convergent-sysv + ;; M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; + GUESS=m68k-diab-dnix + ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ - && OS_REL=.$(sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid) + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ @@ -1240,7 +1279,7 @@ EOF NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ - && OS_REL=.$(sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid) + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ @@ -1248,118 +1287,118 @@ EOF /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=m68k-unknown-lynxos$UNAME_RELEASE + ;; mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; + GUESS=m68k-atari-sysv4 + ;; TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=sparc-unknown-lynxos$UNAME_RELEASE + ;; rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=rs6000-unknown-lynxos$UNAME_RELEASE + ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) - echo powerpc-unknown-lynxos"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-unknown-lynxos$UNAME_RELEASE + ;; SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv"$UNAME_RELEASE" - exit ;; + GUESS=mips-dde-sysv$UNAME_RELEASE + ;; RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; + GUESS=mips-sni-sysv4 + ;; RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; + GUESS=mips-sni-sysv4 + ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=$( (uname -p) 2>/dev/null) - echo "$UNAME_MACHINE"-sni-sysv4 + UNAME_MACHINE=`(uname -p) 2>/dev/null` + GUESS=$UNAME_MACHINE-sni-sysv4 else - echo ns32k-sni-sysv + GUESS=ns32k-sni-sysv fi - exit ;; + ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says - echo i586-unisys-sysv4 - exit ;; + GUESS=i586-unisys-sysv4 + ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; + GUESS=hppa1.1-stratus-sysv4 + ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; + GUESS=i860-stratus-sysv4 + ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. - echo "$UNAME_MACHINE"-stratus-vos - exit ;; + GUESS=$UNAME_MACHINE-stratus-vos + ;; *:VOS:*:*) # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; + GUESS=hppa1.1-stratus-vos + ;; mc68*:A/UX:*:*) - echo m68k-apple-aux"$UNAME_RELEASE" - exit ;; + GUESS=m68k-apple-aux$UNAME_RELEASE + ;; news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; + GUESS=mips-sony-newsos6 + ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if test -d /usr/nec; then - echo mips-nec-sysv"$UNAME_RELEASE" + GUESS=mips-nec-sysv$UNAME_RELEASE else - echo mips-unknown-sysv"$UNAME_RELEASE" + GUESS=mips-unknown-sysv$UNAME_RELEASE fi - exit ;; + ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; + GUESS=powerpc-be-beos + ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; + GUESS=powerpc-apple-beos + ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; + GUESS=i586-pc-beos + ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. - echo i586-pc-haiku - exit ;; + GUESS=i586-pc-haiku + ;; x86_64:Haiku:*:*) - echo x86_64-unknown-haiku - exit ;; + GUESS=x86_64-unknown-haiku + ;; SX-4:SUPER-UX:*:*) - echo sx4-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx4-nec-superux$UNAME_RELEASE + ;; SX-5:SUPER-UX:*:*) - echo sx5-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx5-nec-superux$UNAME_RELEASE + ;; SX-6:SUPER-UX:*:*) - echo sx6-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx6-nec-superux$UNAME_RELEASE + ;; SX-7:SUPER-UX:*:*) - echo sx7-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx7-nec-superux$UNAME_RELEASE + ;; SX-8:SUPER-UX:*:*) - echo sx8-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx8-nec-superux$UNAME_RELEASE + ;; SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sx8r-nec-superux$UNAME_RELEASE + ;; SX-ACE:SUPER-UX:*:*) - echo sxace-nec-superux"$UNAME_RELEASE" - exit ;; + GUESS=sxace-nec-superux$UNAME_RELEASE + ;; Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody"$UNAME_RELEASE" - exit ;; + GUESS=powerpc-apple-rhapsody$UNAME_RELEASE + ;; *:Rhapsody:*:*) - echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE + ;; arm64:Darwin:*:*) - echo aarch64-apple-darwin"$UNAME_RELEASE" - exit ;; + GUESS=aarch64-apple-darwin$UNAME_RELEASE + ;; *:Darwin:*:*) - UNAME_PROCESSOR=$(uname -p) + UNAME_PROCESSOR=`uname -p` case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac @@ -1393,109 +1432,116 @@ EOF # uname -m returns i386 or x86_64 UNAME_PROCESSOR=$UNAME_MACHINE fi - echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE + ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=$(uname -p) + UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE + ;; *:QNX:*:4*) - echo i386-pc-qnx - exit ;; + GUESS=i386-pc-qnx + ;; NEO-*:NONSTOP_KERNEL:*:*) - echo neo-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=neo-tandem-nsk$UNAME_RELEASE + ;; NSE-*:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nse-tandem-nsk$UNAME_RELEASE + ;; NSR-*:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nsr-tandem-nsk$UNAME_RELEASE + ;; NSV-*:NONSTOP_KERNEL:*:*) - echo nsv-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nsv-tandem-nsk$UNAME_RELEASE + ;; NSX-*:NONSTOP_KERNEL:*:*) - echo nsx-tandem-nsk"$UNAME_RELEASE" - exit ;; + GUESS=nsx-tandem-nsk$UNAME_RELEASE + ;; *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; + GUESS=mips-compaq-nonstopux + ;; BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; + GUESS=bs2000-siemens-sysv + ;; DS/*:UNIX_System_V:*:*) - echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE + ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. - # shellcheck disable=SC2154 - if test "$cputype" = 386; then + if test "${cputype-}" = 386; then UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" + elif test "x${cputype-}" != x; then + UNAME_MACHINE=$cputype fi - echo "$UNAME_MACHINE"-unknown-plan9 - exit ;; + GUESS=$UNAME_MACHINE-unknown-plan9 + ;; *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; + GUESS=pdp10-unknown-tops10 + ;; *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; + GUESS=pdp10-unknown-tenex + ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; + GUESS=pdp10-dec-tops20 + ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; + GUESS=pdp10-xkl-tops20 + ;; *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; + GUESS=pdp10-unknown-tops20 + ;; *:ITS:*:*) - echo pdp10-unknown-its - exit ;; + GUESS=pdp10-unknown-its + ;; SEI:*:*:SEIUX) - echo mips-sei-seiux"$UNAME_RELEASE" - exit ;; + GUESS=mips-sei-seiux$UNAME_RELEASE + ;; *:DragonFly:*:*) - echo "$UNAME_MACHINE"-unknown-dragonfly"$(echo "$UNAME_RELEASE"|sed -e 's/[-(].*//')" - exit ;; + DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` + GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL + ;; *:*VMS:*:*) - UNAME_MACHINE=$( (uname -p) 2>/dev/null) - case "$UNAME_MACHINE" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case $UNAME_MACHINE in + A*) GUESS=alpha-dec-vms ;; + I*) GUESS=ia64-dec-vms ;; + V*) GUESS=vax-dec-vms ;; esac ;; *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; + GUESS=i386-pc-xenix + ;; i*86:skyos:*:*) - echo "$UNAME_MACHINE"-pc-skyos"$(echo "$UNAME_RELEASE" | sed -e 's/ .*$//')" - exit ;; + SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'` + GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL + ;; i*86:rdos:*:*) - echo "$UNAME_MACHINE"-pc-rdos - exit ;; + GUESS=$UNAME_MACHINE-pc-rdos + ;; *:AROS:*:*) - echo "$UNAME_MACHINE"-unknown-aros - exit ;; + GUESS=$UNAME_MACHINE-unknown-aros + ;; x86_64:VMkernel:*:*) - echo "$UNAME_MACHINE"-unknown-esx - exit ;; + GUESS=$UNAME_MACHINE-unknown-esx + ;; amd64:Isilon\ OneFS:*:*) - echo x86_64-unknown-onefs - exit ;; + GUESS=x86_64-unknown-onefs + ;; *:Unleashed:*:*) - echo "$UNAME_MACHINE"-unknown-unleashed"$UNAME_RELEASE" - exit ;; + GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE + ;; esac +# Do we have a guess based on uname results? +if test "x$GUESS" != x; then + echo "$GUESS" + exit +fi + # No uname command or uname output not recognized. set_cc_for_build cat > "$dummy.c" </dev/null); + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else @@ -1627,7 +1673,7 @@ main () } EOF -$CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=$($dummy) && +$CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. @@ -1635,7 +1681,7 @@ test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; } echo "$0: unable to guess system type" >&2 -case "$UNAME_MACHINE:$UNAME_SYSTEM" in +case $UNAME_MACHINE:$UNAME_SYSTEM in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&2 </dev/null || echo unknown) -uname -r = $( (uname -r) 2>/dev/null || echo unknown) -uname -s = $( (uname -s) 2>/dev/null || echo unknown) -uname -v = $( (uname -v) 2>/dev/null || echo unknown) +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` -/usr/bin/uname -p = $( (/usr/bin/uname -p) 2>/dev/null) -/bin/uname -X = $( (/bin/uname -X) 2>/dev/null) +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` -hostinfo = $( (hostinfo) 2>/dev/null) -/bin/universe = $( (/bin/universe) 2>/dev/null) -/usr/bin/arch -k = $( (/usr/bin/arch -k) 2>/dev/null) -/bin/arch = $( (/bin/arch) 2>/dev/null) -/usr/bin/oslevel = $( (/usr/bin/oslevel) 2>/dev/null) -/usr/convex/getsysinfo = $( (/usr/convex/getsysinfo) 2>/dev/null) +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = "$UNAME_MACHINE" UNAME_RELEASE = "$UNAME_RELEASE" diff --git a/config.sub b/config.sub index 38f3d037a78..d74fb6deac9 100755 --- a/config.sub +++ b/config.sub @@ -4,7 +4,7 @@ # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2021-10-27' +timestamp='2021-08-14' # 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 @@ -1304,7 +1304,7 @@ esac if test x$basic_os != x then -# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just +# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just # set os. case $basic_os in gnu/linux*) @@ -1748,8 +1748,7 @@ case $os in | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ - | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ - | fiwix* ) + | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*) ;; # This one is extra strict with allowed versions sco3.2v2 | sco3.2v[4-9]* | sco5v6*) diff --git a/install-sh b/install-sh index 0b0fdcbba69..ec298b53740 100755 --- a/install-sh +++ b/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2013-12-25.23; # UTC +scriptversion=2020-11-14.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -69,6 +69,11 @@ posix_mkdir= # Desired mode of installed file. mode=0755 +# Create dirs (including intermediate dirs) using mode 755. +# This is like GNU 'install' as of coreutils 8.32 (2020). +mkdir_umask=22 + +backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= @@ -99,18 +104,28 @@ Options: --version display version info and exit. -c (ignored) - -C install only if different (preserve the last data modification time) + -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. + -p pass -p to $cpprog. -s $stripprog installed files. + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG + +By default, rm is invoked with -f; when overridden with RMPROG, +it's up to you to specify -f if you want it. + +If -S is not specified, no backups are attempted. + +Email bug reports to bug-automake@gnu.org. +Automake home page: https://www.gnu.org/software/automake/ " while test $# -ne 0; do @@ -137,8 +152,13 @@ while test $# -ne 0; do -o) chowncmd="$chownprog $2" shift;; + -p) cpprog="$cpprog -p";; + -s) stripcmd=$stripprog;; + -S) backupsuffix="$2" + shift;; + -t) is_target_a_directory=always dst_arg=$2 @@ -255,6 +275,10 @@ do dstdir=$dst test -d "$dstdir" dstdir_status=$? + # Don't chown directories that already exist. + if test $dstdir_status = 0; then + chowncmd="" + fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command @@ -271,15 +295,18 @@ do fi dst=$dst_arg - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. + # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst - dst=$dstdir/`basename "$src"` + dstbase=`basename "$src"` + case $dst in + */) dst=$dst$dstbase;; + *) dst=$dst/$dstbase;; + esac dstdir_status=0 else dstdir=`dirname "$dst"` @@ -288,27 +315,16 @@ do fi fi + case $dstdir in + */) dstdirslash=$dstdir;; + *) dstdirslash=$dstdir/;; + esac + obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then @@ -318,43 +334,49 @@ do fi posix_mkdir=false - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 - then - if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writable bit of parent directory when it shouldn't. - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; + # The $RANDOM variable is not portable (e.g., dash). Use it + # here however when possible just to lower collision chance. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + + trap ' + ret=$? + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null + exit $ret + ' 0 + + # Because "mkdir -p" follows existing symlinks and we likely work + # directly in world-writeable /tmp, make sure that the '$tmpdir' + # directory is successfully created first before we actually test + # 'mkdir -p'. + if (umask $mkdir_umask && + $mkdirprog $mkdir_mode "$tmpdir" && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + test_tmpdir="$tmpdir/a" + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null + fi + trap '' 0;; esac if @@ -365,7 +387,7 @@ do then : else - # The umask is ridiculous, or mkdir does not conform to POSIX, + # mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. @@ -394,7 +416,7 @@ do prefixes= else if $posix_mkdir; then - (umask=$mkdir_umask && + (umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 @@ -427,14 +449,25 @@ do else # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ + dsttmp=${dstdirslash}_inst.$$_ + rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + (umask $cp_umask && + { test -z "$stripcmd" || { + # Create $dsttmp read-write so that cp doesn't create it read-only, + # which would cause strip to fail. + if test -z "$doit"; then + : >"$dsttmp" # No need to fork-exec 'touch'. + else + $doit touch "$dsttmp" + fi + } + } && + $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # @@ -460,6 +493,13 @@ do then rm -f "$dsttmp" else + # If $backupsuffix is set, and the file being installed + # already exists, attempt a backup. Don't worry if it fails, + # e.g., if mv doesn't support -f. + if test -n "$backupsuffix" && test -f "$dst"; then + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null + fi + # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || @@ -474,9 +514,9 @@ do # file should still install successfully. { test ! -f "$dst" || - $doit $rmcmd -f "$dst" 2>/dev/null || + $doit $rmcmd "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 @@ -493,9 +533,9 @@ do done # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 138bd58d86c..2aaf222c6ad 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -70,16 +70,13 @@ AC_DEFUN([GLIBCXX_CONFIGURE], [ # We use these options to decide which functions to include. They are # set from the top level. AC_ARG_WITH([target-subdir], - AC_HELP_STRING([--with-target-subdir=SUBDIR], - [configuring in a subdirectory])) + AS_HELP_STRING([--with-target-subdir=SUBDIR],[configuring in a subdirectory])) AC_ARG_WITH([cross-host], - AC_HELP_STRING([--with-cross-host=HOST], - [configuring with a cross compiler])) + AS_HELP_STRING([--with-cross-host=HOST],[configuring with a cross compiler])) AC_ARG_WITH([newlib], - AC_HELP_STRING([--with-newlib], - [assume newlib as a system C library])) + AS_HELP_STRING([--with-newlib],[assume newlib as a system C library])) # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't # available). Uncomment the next line to force a particular method. @@ -135,15 +132,14 @@ AC_DEFUN([GLIBCXX_CHECK_COMPILER_FEATURES], [ # All these tests are for C++; save the language and the compiler flags. # The CXXFLAGS thing is suspicious, but based on similar bits previously # found in GLIBCXX_CONFIGURE. - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_test_CXXFLAGS="${CXXFLAGS+set}" ac_save_CXXFLAGS="$CXXFLAGS" # Check for -ffunction-sections -fdata-sections AC_MSG_CHECKING([for g++ that supports -ffunction-sections -fdata-sections]) CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' - AC_TRY_COMPILE([int foo; void bar() { };],, [ac_fdsections=yes], [ac_fdsections=no]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[int foo; void bar() { };]], [[]])],[ac_fdsections=yes],[ac_fdsections=no]) if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS="$ac_save_CXXFLAGS" else @@ -155,7 +151,7 @@ AC_DEFUN([GLIBCXX_CHECK_COMPILER_FEATURES], [ fi AC_MSG_RESULT($ac_fdsections) - AC_LANG_RESTORE + AC_LANG_POP([]) AC_SUBST(SECTION_FLAGS) ]) @@ -184,7 +180,7 @@ AC_DEFUN([GLIBCXX_CHECK_LINKER_FEATURES], [ # by now (in libtool), but require it now just to be safe... test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - AC_REQUIRE([AC_PROG_LD]) + AC_REQUIRE([LT_PATH_LD]) AC_REQUIRE([AC_PROG_AWK]) # The name set by libtool depends on the version of libtool. Shame on us @@ -246,9 +242,9 @@ AC_DEFUN([GLIBCXX_CHECK_LINKER_FEATURES], [ # Check for -Wl,--gc-sections AC_MSG_CHECKING([for ld that supports -Wl,--gc-sections]) - AC_TRY_LINK([ int one(void) { return 1; } + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ int one(void) { return 1; } int two(void) { return 2; } - ], [ two(); ] , [ac_gcsections=yes], [ac_gcsections=no]) + ]], [[ two(); ]])],[ac_gcsections=yes],[ac_gcsections=no]) if test "$ac_gcsections" = "yes"; then rm -f conftest.c touch conftest.c @@ -315,13 +311,10 @@ dnl various HAVE_LIMIT_* for individual limit names dnl AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT_ancilliary], [ AC_MSG_CHECKING([for RLIMIT_$1]) - AC_TRY_COMPILE( - [#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include #include - ], - [ int f = RLIMIT_$1 ; ], - [glibcxx_mresult=1], [glibcxx_mresult=0]) + ]], [[ int f = RLIMIT_$1 ; ]])],[glibcxx_mresult=1],[glibcxx_mresult=0]) AC_DEFINE_UNQUOTED(HAVE_LIMIT_$1, $glibcxx_mresult, [Only used in build directory testsuite_hooks.h.]) if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi @@ -329,8 +322,7 @@ AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT_ancilliary], [ ]) AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) setrlimit_have_headers=yes AC_CHECK_HEADERS(unistd.h sys/time.h sys/resource.h, [], @@ -348,14 +340,11 @@ AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT], [ # Check for rlimit, setrlimit. AC_CACHE_CHECK([for testsuite resource limits support], glibcxx_cv_setrlimit, [ - AC_TRY_COMPILE( - [#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include #include - ], - [struct rlimit r; - setrlimit(0, &r);], - [glibcxx_cv_setrlimit=yes], [glibcxx_cv_setrlimit=no]) + ]], [[struct rlimit r; + setrlimit(0, &r);]])],[glibcxx_cv_setrlimit=yes],[glibcxx_cv_setrlimit=no]) ]) if test $glibcxx_cv_setrlimit = yes; then @@ -364,7 +353,7 @@ AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT], [ "make check"]) fi fi - AC_LANG_RESTORE + AC_LANG_POP([]) ]) @@ -373,9 +362,7 @@ dnl Check whether S_ISREG (Posix) or S_IFREG is available in . dnl Define HAVE_S_ISREG / HAVE_S_IFREG appropriately. dnl AC_DEFUN([GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [ - - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -411,7 +398,7 @@ AC_DEFUN([GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [ AC_MSG_RESULT($res) CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) @@ -419,9 +406,7 @@ dnl dnl Check whether poll is available in , and define HAVE_POLL. dnl AC_DEFUN([GLIBCXX_CHECK_POLL], [ - - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -439,7 +424,7 @@ AC_DEFUN([GLIBCXX_CHECK_POLL], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) @@ -447,9 +432,7 @@ dnl dnl Check whether writev is available in , and define HAVE_WRITEV. dnl AC_DEFUN([GLIBCXX_CHECK_WRITEV], [ - - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -466,7 +449,7 @@ AC_DEFUN([GLIBCXX_CHECK_WRITEV], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) @@ -474,8 +457,7 @@ dnl dnl Check whether LFS support is available. dnl AC_DEFUN([GLIBCXX_CHECK_LFS], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" AC_CACHE_CHECK([for LFS support], glibcxx_cv_LFS, [ @@ -498,7 +480,7 @@ AC_DEFUN([GLIBCXX_CHECK_LFS], [ AC_DEFINE(_GLIBCXX_USE_LFS, 1, [Define if LFS support is available.]) fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) @@ -714,8 +696,7 @@ AC_DEFUN([GLIBCXX_EXPORT_INSTALL_INFO], [ AC_MSG_CHECKING([for gxx-include-dir]) AC_ARG_WITH([gxx-include-dir], - AC_HELP_STRING([--with-gxx-include-dir=DIR], - [installation directory for include files]), + AS_HELP_STRING([--with-gxx-include-dir=DIR],[installation directory for include files]), [case "$withval" in yes) AC_MSG_ERROR([Missing directory for --with-gxx-include-dir]) ;; no) gxx_include_dir=no ;; @@ -726,8 +707,7 @@ AC_DEFUN([GLIBCXX_EXPORT_INSTALL_INFO], [ AC_MSG_CHECKING([for --enable-version-specific-runtime-libs]) AC_ARG_ENABLE([version-specific-runtime-libs], - AC_HELP_STRING([--enable-version-specific-runtime-libs], - [Specify that runtime libraries should be installed in a compiler-specific directory]), + AS_HELP_STRING([--enable-version-specific-runtime-libs],[Specify that runtime libraries should be installed in a compiler-specific directory]), [case "$enableval" in yes) version_specific_libs=yes ;; no) version_specific_libs=no ;; @@ -808,7 +788,7 @@ dnl documentation. dnl m4_define([GLIBCXX_ENABLE],[dnl m4_define([_g_switch],[--enable-$1])dnl -m4_define([_g_help],[AC_HELP_STRING([_g_switch$3],[$4 @<:@default=$2@:>@])])dnl +m4_define([_g_help],[AS_HELP_STRING([_g_switch$3],[$4 @<:@default=$2@:>@])])dnl AC_ARG_ENABLE([$1],m4_dquote(_g_help), m4_bmatch([$5], [^permit ], @@ -847,8 +827,7 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ GLIBCXX_ENABLE(c99,$1,,[turns on ISO/IEC 9899:1999 support]) if test x"$enable_c99" = x"yes"; then - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__ # undefined may cause fake C99 facilities, like pre-standard snprintf, @@ -1021,39 +1000,33 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ test x"$ac_has_wctype_h" = xyes; then AC_CACHE_CHECK([for ISO C99 support in for C++98], glibcxx_cv_c99_wchar_cxx98, [ - AC_TRY_COMPILE([#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include namespace test { using ::wcstold; using ::wcstoll; using ::wcstoull; } - ], [], [glibcxx_cv_c99_wchar_cxx98=yes], [glibcxx_cv_c99_wchar_cxx98=no]) + ]], [[]])],[glibcxx_cv_c99_wchar_cxx98=yes],[glibcxx_cv_c99_wchar_cxx98=no]) ]) # Checks for wide character functions that may not be present. # Injection of these is wrapped with guard macros. # NB: only put functions here, instead of immediately above, if # absolutely necessary. - AC_TRY_COMPILE([#include - namespace test { using ::vfwscanf; }], [], - [AC_DEFINE(HAVE_VFWSCANF, 1, [Defined if vfwscanf exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::vfwscanf; }]], [[]])],[AC_DEFINE(HAVE_VFWSCANF, 1, [Defined if vfwscanf exists.])],[]) - AC_TRY_COMPILE([#include - namespace test { using ::vswscanf; }], [], - [AC_DEFINE(HAVE_VSWSCANF, 1, [Defined if vswscanf exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::vswscanf; }]], [[]])],[AC_DEFINE(HAVE_VSWSCANF, 1, [Defined if vswscanf exists.])],[]) - AC_TRY_COMPILE([#include - namespace test { using ::vwscanf; }], [], - [AC_DEFINE(HAVE_VWSCANF, 1, [Defined if vwscanf exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::vwscanf; }]], [[]])],[AC_DEFINE(HAVE_VWSCANF, 1, [Defined if vwscanf exists.])],[]) - AC_TRY_COMPILE([#include - namespace test { using ::wcstof; }], [], - [AC_DEFINE(HAVE_WCSTOF, 1, [Defined if wcstof exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::wcstof; }]], [[]])],[AC_DEFINE(HAVE_WCSTOF, 1, [Defined if wcstof exists.])],[]) - AC_TRY_COMPILE([#include ], - [wint_t t; int i = iswblank(t);], - [AC_DEFINE(HAVE_ISWBLANK, 1, [Defined if iswblank exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[wint_t t; int i = iswblank(t);]])],[AC_DEFINE(HAVE_ISWBLANK, 1, [Defined if iswblank exists.])],[]) if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then AC_DEFINE(_GLIBCXX98_USE_C99_WCHAR, 1, @@ -1078,10 +1051,9 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ gcc_no_link="$ac_save_gcc_no_link" LIBS="$ac_save_LIBS" CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) # Use -std=c++11 and test again for C99 library feature in C++11 mode. # For the reasons given above we use -std=c++11 not -std=gnu++11. @@ -1253,39 +1225,33 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ test x"$ac_has_wctype_h" = xyes; then AC_CACHE_CHECK([for ISO C99 support in for C++11], glibcxx_cv_c99_wchar_cxx11, [ - AC_TRY_COMPILE([#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include namespace test { using ::wcstold; using ::wcstoll; using ::wcstoull; } - ], [], [glibcxx_cv_c99_wchar_cxx11=yes], [glibcxx_cv_c99_wchar_cxx11=no]) + ]], [[]])],[glibcxx_cv_c99_wchar_cxx11=yes],[glibcxx_cv_c99_wchar_cxx11=no]) ]) # Checks for wide character functions that may not be present. # Injection of these is wrapped with guard macros. # NB: only put functions here, instead of immediately above, if # absolutely necessary. - AC_TRY_COMPILE([#include - namespace test { using ::vfwscanf; }], [], - [AC_DEFINE(HAVE_VFWSCANF, 1, [Defined if vfwscanf exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::vfwscanf; }]], [[]])],[AC_DEFINE(HAVE_VFWSCANF, 1, [Defined if vfwscanf exists.])],[]) - AC_TRY_COMPILE([#include - namespace test { using ::vswscanf; }], [], - [AC_DEFINE(HAVE_VSWSCANF, 1, [Defined if vswscanf exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::vswscanf; }]], [[]])],[AC_DEFINE(HAVE_VSWSCANF, 1, [Defined if vswscanf exists.])],[]) - AC_TRY_COMPILE([#include - namespace test { using ::vwscanf; }], [], - [AC_DEFINE(HAVE_VWSCANF, 1, [Defined if vwscanf exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::vwscanf; }]], [[]])],[AC_DEFINE(HAVE_VWSCANF, 1, [Defined if vwscanf exists.])],[]) - AC_TRY_COMPILE([#include - namespace test { using ::wcstof; }], [], - [AC_DEFINE(HAVE_WCSTOF, 1, [Defined if wcstof exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + namespace test { using ::wcstof; }]], [[]])],[AC_DEFINE(HAVE_WCSTOF, 1, [Defined if wcstof exists.])],[]) - AC_TRY_COMPILE([#include ], - [wint_t t; int i = iswblank(t);], - [AC_DEFINE(HAVE_ISWBLANK, 1, [Defined if iswblank exists.])], []) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[wint_t t; int i = iswblank(t);]])],[AC_DEFINE(HAVE_ISWBLANK, 1, [Defined if iswblank exists.])],[]) if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then AC_DEFINE(_GLIBCXX11_USE_C99_WCHAR, 1, @@ -1297,7 +1263,7 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [ gcc_no_link="$ac_save_gcc_no_link" LIBS="$ac_save_LIBS" CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) fi AC_MSG_CHECKING([for fully enabled ISO C99 support]) @@ -1335,8 +1301,7 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ [use KIND for check type], [permit yes|no|rt]) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" ac_save_LIBS="$LIBS" @@ -1433,41 +1398,35 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ if test x"$ac_has_unistd_h" = x"yes"; then AC_MSG_CHECKING([for monotonic clock]) - AC_TRY_LINK( - [#include + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include #include - ], - [#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK) + ]], [[#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK) timespec tp; #endif clock_gettime(CLOCK_MONOTONIC, &tp); - ], [ac_has_clock_monotonic=yes], [ac_has_clock_monotonic=no]) + ]])],[ac_has_clock_monotonic=yes],[ac_has_clock_monotonic=no]) AC_MSG_RESULT($ac_has_clock_monotonic) AC_MSG_CHECKING([for realtime clock]) - AC_TRY_LINK( - [#include + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include #include - ], - [#if _POSIX_TIMERS > 0 + ]], [[#if _POSIX_TIMERS > 0 timespec tp; #endif clock_gettime(CLOCK_REALTIME, &tp); - ], [ac_has_clock_realtime=yes], [ac_has_clock_realtime=no]) + ]])],[ac_has_clock_realtime=yes],[ac_has_clock_realtime=no]) AC_MSG_RESULT($ac_has_clock_realtime) AC_MSG_CHECKING([for nanosleep]) - AC_TRY_LINK( - [#include + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include #include - ], - [#if _POSIX_TIMERS > 0 + ]], [[#if _POSIX_TIMERS > 0 timespec tp; #endif nanosleep(&tp, 0); - ], [ac_has_nanosleep=yes], [ac_has_nanosleep=no]) + ]])],[ac_has_nanosleep=yes],[ac_has_nanosleep=no]) AC_MSG_RESULT($ac_has_nanosleep) fi @@ -1477,17 +1436,15 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ case ${target_os} in linux* | uclinux*) AC_MSG_CHECKING([for clock_gettime syscall]) - AC_TRY_COMPILE( - [#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include #include - ], - [#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK) + ]], [[#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK) timespec tp; #endif syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp); syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp); - ], [ac_has_clock_gettime_syscall=yes], [ac_has_clock_gettime_syscall=no]) + ]])],[ac_has_clock_gettime_syscall=yes],[ac_has_clock_gettime_syscall=no]) AC_MSG_RESULT($ac_has_clock_gettime_syscall) if test x"$ac_has_clock_gettime_syscall" = x"yes"; then AC_DEFINE(_GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, 1, @@ -1495,11 +1452,9 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ ac_has_clock_monotonic=yes ac_has_clock_realtime=yes AC_MSG_CHECKING([for struct timespec that matches syscall]) - AC_TRY_COMPILE( - [#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include - ], - [#ifdef SYS_clock_gettime64 + ]], [[#ifdef SYS_clock_gettime64 #if SYS_clock_gettime64 != SYS_clock_gettime // We need to use SYS_clock_gettime and libc appears to // also know about the SYS_clock_gettime64 syscall. @@ -1508,9 +1463,7 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ "struct timespec must be compatible with SYS_clock_gettime"); #endif #endif - ], - [ac_timespec_matches_syscall=yes], - [ac_timespec_matches_syscall=no]) + ]])],[ac_timespec_matches_syscall=yes],[ac_timespec_matches_syscall=no]) AC_MSG_RESULT($ac_timespec_matches_syscall) if test x"$ac_timespec_matches_syscall" = no; then AC_MSG_ERROR([struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla]) @@ -1539,18 +1492,14 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ [ Defined if nanosleep is available. ]) else AC_MSG_CHECKING([for sleep]) - AC_TRY_COMPILE([#include ], - [sleep(1)], - [ac_has_sleep=yes],[ac_has_sleep=no]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[sleep(1)]])],[ac_has_sleep=yes],[ac_has_sleep=no]) if test x"$ac_has_sleep" = x"yes"; then AC_DEFINE(HAVE_SLEEP,1, [Defined if sleep exists.]) fi AC_MSG_RESULT($ac_has_sleep) AC_MSG_CHECKING([for usleep]) - AC_TRY_COMPILE([#include ], - [sleep(1); - usleep(100);], - [ac_has_usleep=yes],[ac_has_usleep=no]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[sleep(1); + usleep(100);]])],[ac_has_usleep=yes],[ac_has_usleep=no]) if test x"$ac_has_usleep" = x"yes"; then AC_DEFINE(HAVE_USLEEP,1, [Defined if usleep exists.]) fi @@ -1560,9 +1509,7 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then ac_no_sleep=yes AC_MSG_CHECKING([for Sleep]) - AC_TRY_COMPILE([#include ], - [Sleep(1)], - [ac_has_win32_sleep=yes],[ac_has_win32_sleep=no]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[Sleep(1)]])],[ac_has_win32_sleep=yes],[ac_has_win32_sleep=no]) if test x"$ac_has_win32_sleep" = x"yes"; then AC_DEFINE(HAVE_WIN32_SLEEP,1, [Defined if Sleep exists.]) ac_no_sleep=no @@ -1578,7 +1525,7 @@ AC_DEFUN([GLIBCXX_ENABLE_LIBSTDCXX_TIME], [ CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -1589,8 +1536,7 @@ AC_DEFUN([GLIBCXX_CHECK_GETTIMEOFDAY], [ AC_MSG_CHECKING([for gettimeofday]) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -1611,7 +1557,7 @@ AC_DEFUN([GLIBCXX_CHECK_GETTIMEOFDAY], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -1620,8 +1566,7 @@ dnl facilities in Chapter 8, "C compatibility". dnl AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__ # undefined and fake C99 facilities may be spuriously enabled. @@ -1634,8 +1579,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ ac_c99_complex_tr1=no; if test x"$ac_has_complex_h" = x"yes"; then AC_MSG_CHECKING([for ISO C99 support to TR1 in ]) - AC_TRY_COMPILE([#include ], - [typedef __complex__ float float_type; float_type tmpf; + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[typedef __complex__ float float_type; float_type tmpf; cacosf(tmpf); casinf(tmpf); catanf(tmpf); @@ -1656,7 +1600,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ cacoshl(tmpld); casinhl(tmpld); catanhl(tmpld); - ],[ac_c99_complex_tr1=yes], [ac_c99_complex_tr1=no]) + ]])],[ac_c99_complex_tr1=yes],[ac_c99_complex_tr1=no]) fi AC_MSG_RESULT($ac_c99_complex_tr1) if test x"$ac_c99_complex_tr1" = x"yes"; then @@ -1669,12 +1613,10 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ # Check for the existence of functions. AC_CACHE_CHECK([for ISO C99 support to TR1 in ], glibcxx_cv_c99_ctype_tr1, [ - AC_TRY_COMPILE([#include ], - [int ch; + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[int ch; int ret; ret = isblank(ch); - ],[glibcxx_cv_c99_ctype_tr1=yes], - [glibcxx_cv_c99_ctype_tr1=no]) + ]])],[glibcxx_cv_c99_ctype_tr1=yes],[glibcxx_cv_c99_ctype_tr1=no]) ]) if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then AC_DEFINE(_GLIBCXX_USE_C99_CTYPE_TR1, 1, @@ -1687,8 +1629,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ ac_c99_fenv_tr1=no; if test x"$ac_has_fenv_h" = x"yes"; then AC_MSG_CHECKING([for ISO C99 support to TR1 in ]) - AC_TRY_COMPILE([#include ], - [int except, mode; + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[int except, mode; fexcept_t* pflag; fenv_t* penv; int ret; @@ -1703,7 +1644,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ ret = feholdexcept(penv); ret = fesetenv(penv); ret = feupdateenv(penv); - ],[ac_c99_fenv_tr1=yes], [ac_c99_fenv_tr1=no]) + ]])],[ac_c99_fenv_tr1=yes],[ac_c99_fenv_tr1=no]) AC_MSG_RESULT($ac_c99_fenv_tr1) fi if test x"$ac_c99_fenv_tr1" = x"yes"; then @@ -1715,10 +1656,9 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ # Check for the existence of types. AC_CACHE_CHECK([for ISO C99 support to TR1 in ], glibcxx_cv_c99_stdint_tr1, [ - AC_TRY_COMPILE([#define __STDC_LIMIT_MACROS + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define __STDC_LIMIT_MACROS #define __STDC_CONSTANT_MACROS - #include ], - [typedef int8_t my_int8_t; + #include ]], [[typedef int8_t my_int8_t; my_int8_t i8 = INT8_MIN; i8 = INT8_MAX; typedef int16_t my_int16_t; @@ -1802,8 +1742,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ typedef uintptr_t my_uintptr_t; my_uintptr_t uip = UINTPTR_MAX; uip = UINTPTR_MAX; - ],[glibcxx_cv_c99_stdint_tr1=yes], - [glibcxx_cv_c99_stdint_tr1=no]) + ]])],[glibcxx_cv_c99_stdint_tr1=yes],[glibcxx_cv_c99_stdint_tr1=no]) ]) if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then AC_DEFINE(_GLIBCXX_USE_C99_STDINT_TR1, 1, @@ -1814,8 +1753,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ # Check for the existence of functions. AC_CACHE_CHECK([for ISO C99 support to TR1 in ], glibcxx_cv_c99_math_tr1, [ - AC_TRY_COMPILE([#include ], - [typedef double_t my_double_t; + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[typedef double_t my_double_t; typedef float_t my_float_t; acosh(0.0); acoshf(0.0f); @@ -1924,7 +1862,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ trunc(0.0); truncf(0.0f); truncl(0.0l); - ],[glibcxx_cv_c99_math_tr1=yes], [glibcxx_cv_c99_math_tr1=no]) + ]])],[glibcxx_cv_c99_math_tr1=yes],[glibcxx_cv_c99_math_tr1=no]) ]) if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then AC_DEFINE(_GLIBCXX_USE_C99_MATH_TR1, 1, @@ -1935,16 +1873,13 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ darwin*) AC_CACHE_CHECK([for ISO C99 rounding functions in ], glibcxx_cv_c99_math_llround, [ - AC_TRY_COMPILE([#include ], - [llrint(0.0); + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[llrint(0.0); llrintf(0.0f); llrintl(0.0l); llround(0.0); llroundf(0.0f); llroundl(0.0l); - ], - [glibcxx_cv_c99_math_llround=yes], - [glibcxx_cv_c99_math_llround=no]) + ]])],[glibcxx_cv_c99_math_llround=yes],[glibcxx_cv_c99_math_llround=no]) ]) ;; esac @@ -1959,15 +1894,14 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ ac_c99_inttypes_tr1=no; if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then AC_MSG_CHECKING([for ISO C99 support to TR1 in ]) - AC_TRY_COMPILE([#include ], - [intmax_t i, numer, denom, base; + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[intmax_t i, numer, denom, base; const char* s; char** endptr; intmax_t ret = imaxabs(i); imaxdiv_t dret = imaxdiv(numer, denom); ret = strtoimax(s, endptr, base); uintmax_t uret = strtoumax(s, endptr, base); - ],[ac_c99_inttypes_tr1=yes], [ac_c99_inttypes_tr1=no]) + ]])],[ac_c99_inttypes_tr1=yes],[ac_c99_inttypes_tr1=no]) AC_MSG_RESULT($ac_c99_inttypes_tr1) fi if test x"$ac_c99_inttypes_tr1" = x"yes"; then @@ -1981,14 +1915,12 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ ac_c99_inttypes_wchar_t_tr1=no; if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then AC_MSG_CHECKING([for wchar_t ISO C99 support to TR1 in ]) - AC_TRY_COMPILE([#include ], - [intmax_t base; + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[intmax_t base; const wchar_t* s; wchar_t** endptr; intmax_t ret = wcstoimax(s, endptr, base); uintmax_t uret = wcstoumax(s, endptr, base); - ],[ac_c99_inttypes_wchar_t_tr1=yes], - [ac_c99_inttypes_wchar_t_tr1=no]) + ]])],[ac_c99_inttypes_wchar_t_tr1=yes],[ac_c99_inttypes_wchar_t_tr1=no]) AC_MSG_RESULT($ac_c99_inttypes_wchar_t_tr1) fi if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then @@ -2004,7 +1936,7 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [ AC_CHECK_HEADERS(stdalign.h) CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -2015,14 +1947,13 @@ AC_DEFUN([GLIBCXX_CHECK_UCHAR_H], [ # Test uchar.h. AC_CHECK_HEADERS(uchar.h, ac_has_uchar_h=yes, ac_has_uchar_h=no) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -std=c++11" if test x"$ac_has_uchar_h" = x"yes"; then AC_MSG_CHECKING([for ISO C11 support for ]) - AC_TRY_COMPILE([#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef __STDC_UTF_16__ long i = __STDC_UTF_16__; #endif @@ -2036,8 +1967,7 @@ AC_DEFUN([GLIBCXX_CHECK_UCHAR_H], [ using ::mbrtoc16; using ::mbrtoc32; } - ], - [], [ac_c11_uchar_cxx11=yes], [ac_c11_uchar_cxx11=no]) + ]], [[]])],[ac_c11_uchar_cxx11=yes],[ac_c11_uchar_cxx11=no]) AC_MSG_RESULT($ac_c11_uchar_cxx11) else ac_c11_uchar_cxx11=no @@ -2051,15 +1981,13 @@ AC_DEFUN([GLIBCXX_CHECK_UCHAR_H], [ CXXFLAGS="$CXXFLAGS -fchar8_t" if test x"$ac_has_uchar_h" = x"yes"; then AC_MSG_CHECKING([for c8rtomb and mbrtoc8 in with -fchar8_t]) - AC_TRY_COMPILE([#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include namespace test { using ::c8rtomb; using ::mbrtoc8; } - ], - [], [ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes], - [ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no]) + ]], [[]])],[ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes],[ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no]) else ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no fi @@ -2073,15 +2001,13 @@ AC_DEFUN([GLIBCXX_CHECK_UCHAR_H], [ CXXFLAGS="$CXXFLAGS -std=c++20" if test x"$ac_has_uchar_h" = x"yes"; then AC_MSG_CHECKING([for c8rtomb and mbrtoc8 in with -std=c++20]) - AC_TRY_COMPILE([#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include namespace test { using ::c8rtomb; using ::mbrtoc8; } - ], - [], [ac_uchar_c8rtomb_mbrtoc8_cxx20=yes], - [ac_uchar_c8rtomb_mbrtoc8_cxx20=no]) + ]], [[]])],[ac_uchar_c8rtomb_mbrtoc8_cxx20=yes],[ac_uchar_c8rtomb_mbrtoc8_cxx20=no]) else ac_uchar_c8rtomb_mbrtoc8_cxx20=no fi @@ -2093,7 +2019,7 @@ AC_DEFUN([GLIBCXX_CHECK_UCHAR_H], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) @@ -2166,8 +2092,7 @@ dnl Check whether required C++ overloads are present in . dnl AC_DEFUN([GLIBCXX_CHECK_STDIO_PROTO], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) # Use C++11 because a conforming won't define gets for C++14, # and we don't need a declaration for C++14 anyway. ac_save_CXXFLAGS="$CXXFLAGS" @@ -2190,7 +2115,7 @@ AC_DEFUN([GLIBCXX_CHECK_STDIO_PROTO], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -2199,8 +2124,7 @@ dnl types are present in . dnl AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -std=c++11" @@ -2336,7 +2260,7 @@ AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [ esac CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -2395,7 +2319,7 @@ AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [ # default to on for easier handling. USE_NLS=no AC_ARG_ENABLE(nls, - AC_HELP_STRING([--enable-nls],[use Native Language Support (default)]), + AS_HELP_STRING([--enable-nls],[use Native Language Support (default)]), [], [enable_nls=yes]) @@ -2448,20 +2372,16 @@ AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [ CFLAGS="-Wimplicit-function-declaration -Werror" # Use strxfrm_l if available. - AC_TRY_COMPILE([#define _GNU_SOURCE 1 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE 1 #include - #include ], - [char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);], - AC_DEFINE(HAVE_STRXFRM_L, 1, - [Define if strxfrm_l is available in .]),) + #include ]], [[char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);]])],[AC_DEFINE(HAVE_STRXFRM_L, 1, + Define if strxfrm_l is available in .)],[]) # Use strerror_l if available. - AC_TRY_COMPILE([#define _GNU_SOURCE 1 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE 1 #include - #include ], - [__locale_t loc; strerror_l(5, loc);], - AC_DEFINE(HAVE_STRERROR_L, 1, - [Define if strerror_l is available in .]),) + #include ]], [[__locale_t loc; strerror_l(5, loc);]])],[AC_DEFINE(HAVE_STRERROR_L, 1, + Define if strerror_l is available in .)],[]) CFLAGS="$ac_save_CFLAGS" fi @@ -2469,12 +2389,10 @@ AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [ # Perhaps use strerror_r if available, and strerror_l isn't. ac_save_CFLAGS="$CFLAGS" CFLAGS="-Wimplicit-function-declaration -Werror" - AC_TRY_COMPILE([#define _GNU_SOURCE 1 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE 1 #include - #include ], - [char s[128]; strerror_r(5, s, 128);], - AC_DEFINE(HAVE_STRERROR_R, 1, - [Define if strerror_r is available in .]),) + #include ]], [[char s[128]; strerror_r(5, s, 128);]])],[AC_DEFINE(HAVE_STRERROR_R, 1, + Define if strerror_r is available in .)],[]) CFLAGS="$ac_save_CFLAGS" # Set configure bits for specified locale package @@ -2970,8 +2888,7 @@ dnl _GLIBCXX_HOSTED (always defined, either to 1 or 0) dnl AC_DEFUN([GLIBCXX_ENABLE_HOSTED], [ AC_ARG_ENABLE([hosted-libstdcxx], - AC_HELP_STRING([--disable-hosted-libstdcxx], - [only build freestanding C++ runtime support]),, + AS_HELP_STRING([--disable-hosted-libstdcxx],[only build freestanding C++ runtime support]),, [case "$host" in arm*-*-symbianelf*) enable_hosted_libstdcxx=no @@ -3013,8 +2930,7 @@ dnl _GLIBCXX_VERBOSE (always defined, either to 1 or 0) dnl AC_DEFUN([GLIBCXX_ENABLE_VERBOSE], [ AC_ARG_ENABLE([libstdcxx-verbose], - AC_HELP_STRING([--disable-libstdcxx-verbose], - [disable termination messages to standard error]),, + AS_HELP_STRING([--disable-libstdcxx-verbose],[disable termination messages to standard error]),, [enable_libstdcxx_verbose=yes]) if test x"$enable_libstdcxx_verbose" = xyes; then verbose_define=1 @@ -3060,7 +2976,7 @@ dnl _GLIBCXX_USE_DECIMAL_FLOAT dnl AC_DEFUN([GLIBCXX_ENABLE_DECIMAL_FLOAT], [ - # Fake what AC_TRY_COMPILE does, without linking as this is + # Fake what AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) does, without linking as this is # unnecessary for this test. cat > conftest.$ac_ext << EOF @@ -3096,10 +3012,9 @@ dnl ENABLE_FLOAT128 dnl AC_DEFUN([GLIBCXX_ENABLE_FLOAT128], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) - # Fake what AC_TRY_COMPILE does, without linking as this is + # Fake what AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) does, without linking as this is # unnecessary for this test. cat > conftest.$ac_ext << EOF @@ -3128,7 +3043,7 @@ EOF GLIBCXX_CONDITIONAL(ENABLE_FLOAT128, test $enable_float128 = yes) rm -f conftest* - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -3147,9 +3062,7 @@ AC_DEFUN([GLIBCXX_ENABLE_WCHAR_T], [ # Test wchar.h for mbstate_t, which is needed for char_traits and fpos. AC_CHECK_HEADERS(wchar.h, ac_has_wchar_h=yes, ac_has_wchar_h=no) AC_MSG_CHECKING([for mbstate_t]) - AC_TRY_COMPILE([#include ], - [mbstate_t teststate;], - have_mbstate_t=yes, have_mbstate_t=no) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[mbstate_t teststate;]])],[have_mbstate_t=yes],[have_mbstate_t=no]) AC_MSG_RESULT($have_mbstate_t) if test x"$have_mbstate_t" = xyes; then AC_DEFINE(HAVE_MBSTATE_T,1,[Define if mbstate_t exists in wchar.h.]) @@ -3161,12 +3074,11 @@ AC_DEFUN([GLIBCXX_ENABLE_WCHAR_T], [ if test x"$enable_wchar_t" = x"yes"; then - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then - AC_TRY_COMPILE([#include + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include wint_t i; long l = WEOF; @@ -3227,12 +3139,12 @@ AC_DEFUN([GLIBCXX_ENABLE_WCHAR_T], [ using ::wprintf; using ::wscanf; } - ],[],[], [enable_wchar_t=no]) + ]], [[]])],[],[enable_wchar_t=no]) else enable_wchar_t=no fi - AC_LANG_RESTORE + AC_LANG_POP([]) fi if test x"$enable_wchar_t" = x"yes"; then @@ -3266,8 +3178,7 @@ AC_DEFUN([GLIBCXX_ENABLE_PCH], [ [glibcxx_cv_prog_CXX_pch], [ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated" - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) echo '#include ' > conftest.h if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \ -o conftest.h.gch 1>&5 2>&1 && @@ -3281,7 +3192,7 @@ AC_DEFUN([GLIBCXX_ENABLE_PCH], [ fi rm -f conftest* CXXFLAGS=$ac_save_CXXFLAGS - AC_LANG_RESTORE + AC_LANG_POP([]) ]) enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch fi @@ -3313,8 +3224,7 @@ dnl Note: dnl libgomp and libgfortran use a link test, see CHECK_SYNC_FETCH_AND_ADD. dnl AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) old_CXXFLAGS="$CXXFLAGS" # Do link tests if possible, instead asm tests, limited to some platforms @@ -3338,9 +3248,7 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ AC_CACHE_CHECK([for atomic builtins for bool], glibcxx_cv_atomic_bool, [ - AC_TRY_LINK( - [ ], - [typedef bool atomic_type; + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ ]], [[typedef bool atomic_type; atomic_type c1; atomic_type c2; atomic_type c3(0); @@ -3349,16 +3257,12 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ __ATOMIC_RELAXED); __atomic_test_and_set(&c1, __ATOMIC_RELAXED); __atomic_load_n(&c1, __ATOMIC_RELAXED); - ], - [glibcxx_cv_atomic_bool=yes], - [glibcxx_cv_atomic_bool=no]) + ]])],[glibcxx_cv_atomic_bool=yes],[glibcxx_cv_atomic_bool=no]) ]) AC_CACHE_CHECK([for atomic builtins for short], glibcxx_cv_atomic_short, [ - AC_TRY_LINK( - [ ], - [typedef short atomic_type; + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ ]], [[typedef short atomic_type; atomic_type c1; atomic_type c2; atomic_type c3(0); @@ -3367,16 +3271,12 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ __ATOMIC_RELAXED); __atomic_test_and_set(&c1, __ATOMIC_RELAXED); __atomic_load_n(&c1, __ATOMIC_RELAXED); - ], - [glibcxx_cv_atomic_short=yes], - [glibcxx_cv_atomic_short=no]) + ]])],[glibcxx_cv_atomic_short=yes],[glibcxx_cv_atomic_short=no]) ]) AC_CACHE_CHECK([for atomic builtins for int], glibcxx_cv_atomic_int, [ - AC_TRY_LINK( - [ ], - [typedef int atomic_type; + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ ]], [[typedef int atomic_type; atomic_type c1; atomic_type c2; atomic_type c3(0); @@ -3385,16 +3285,12 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ __ATOMIC_RELAXED); __atomic_test_and_set(&c1, __ATOMIC_RELAXED); __atomic_load_n(&c1, __ATOMIC_RELAXED); - ], - [glibcxx_cv_atomic_int=yes], - [glibcxx_cv_atomic_int=no]) + ]])],[glibcxx_cv_atomic_int=yes],[glibcxx_cv_atomic_int=no]) ]) AC_CACHE_CHECK([for atomic builtins for long long], glibcxx_cv_atomic_long_long, [ - AC_TRY_LINK( - [ ], - [typedef long long atomic_type; + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ ]], [[typedef long long atomic_type; atomic_type c1; atomic_type c2; atomic_type c3(0); @@ -3403,9 +3299,7 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ __ATOMIC_RELAXED); __atomic_test_and_set(&c1, __ATOMIC_RELAXED); __atomic_load_n(&c1, __ATOMIC_RELAXED); - ], - [glibcxx_cv_atomic_long_long=yes], - [glibcxx_cv_atomic_long_long=no]) + ]])],[glibcxx_cv_atomic_long_long=yes],[glibcxx_cv_atomic_long_long=no]) ]) else @@ -3415,7 +3309,7 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS], [ # Compile unoptimized. CXXFLAGS='-O0 -S' - # Fake what AC_TRY_COMPILE does. + # Fake what AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) does. cat > conftest.$ac_ext << EOF [#]line __oline__ "configure" @@ -3537,7 +3431,7 @@ EOF fi CXXFLAGS="$old_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) # Set atomicity_dir to builtins if all but the long long test above passes, # or if the builtins were already chosen (e.g. by configure.host). @@ -3592,8 +3486,7 @@ dnl AC_DEFUN([GLIBCXX_ENABLE_LOCK_POLICY], [ AC_ARG_WITH([libstdcxx-lock-policy], - AC_HELP_STRING([--with-libstdcxx-lock-policy={atomic,mutex,auto}], - [synchronization policy for shared_ptr reference counting [default=auto]]), + AS_HELP_STRING([--with-libstdcxx-lock-policy={atomic,mutex,auto}],[synchronization policy for shared_ptr reference counting [default=auto]]), [libstdcxx_atomic_lock_policy=$withval], [libstdcxx_atomic_lock_policy=auto]) @@ -3604,14 +3497,13 @@ AC_DEFUN([GLIBCXX_ENABLE_LOCK_POLICY], [ AC_MSG_CHECKING([for lock policy for shared_ptr reference counts]) if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" dnl Why do we care about 2-byte CAS on targets with 4-byte _Atomic_word?! dnl Why don't we check 8-byte CAS for sparc64, where _Atomic_word is long?! dnl New targets should only check for CAS for the _Atomic_word type. - AC_TRY_COMPILE([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #if defined __riscv # error "Defaulting to mutex-based locks for ABI compatibility" #endif @@ -3620,10 +3512,8 @@ AC_DEFUN([GLIBCXX_ENABLE_LOCK_POLICY], [ #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 # error "No 4-byte compare-and-swap" #endif - ],, - [libstdcxx_atomic_lock_policy=atomic], - [libstdcxx_atomic_lock_policy=mutex]) - AC_LANG_RESTORE + ]], [[]])],[libstdcxx_atomic_lock_policy=atomic],[libstdcxx_atomic_lock_policy=mutex]) + AC_LANG_POP([]) CXXFLAGS="$ac_save_CXXFLAGS" fi @@ -3655,9 +3545,7 @@ if test x$enable_libstdcxx_visibility = xyes ; then glibcxx_cv_have_attribute_visibility, [ save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" - AC_TRY_COMPILE([void __attribute__((visibility("hidden"))) foo(void) { }], - [], glibcxx_cv_have_attribute_visibility=yes, - glibcxx_cv_have_attribute_visibility=no) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[void __attribute__((visibility("hidden"))) foo(void) { }]], [[]])],[glibcxx_cv_have_attribute_visibility=yes],[glibcxx_cv_have_attribute_visibility=no]) CFLAGS="$save_CFLAGS"]) if test $glibcxx_cv_have_attribute_visibility = no; then enable_libstdcxx_visibility=no @@ -3766,7 +3654,7 @@ if test $enable_symvers = gnu || AC_MSG_CHECKING([for shared libgcc]) ac_save_CFLAGS="$CFLAGS" CFLAGS=' -lgcc_s' - AC_TRY_LINK(, [return 0;], glibcxx_shared_libgcc=yes, glibcxx_shared_libgcc=no) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[return 0;]])],[glibcxx_shared_libgcc=yes],[glibcxx_shared_libgcc=no]) CFLAGS="$ac_save_CFLAGS" if test $glibcxx_shared_libgcc = no; then cat > conftest.c < #include #include - ], - [ + ]], [[ #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0 # error "POSIX Timeouts option not supported" #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0 @@ -4047,9 +3926,7 @@ AC_DEFUN([GLIBCXX_CHECK_GTHREADS], [ struct timespec ts = { 0 }; sem_timedwait(&sem, &ts); #endif - ], - [ac_have_posix_semaphore=yes], - [ac_have_posix_semaphore=no])], + ]])],[ac_have_posix_semaphore=yes],[ac_have_posix_semaphore=no])], [ac_have_posix_semaphore=no]) if test $ac_have_posix_semaphore = yes ; then @@ -4060,7 +3937,7 @@ AC_DEFUN([GLIBCXX_CHECK_GTHREADS], [ AC_MSG_RESULT([$ac_have_posix_semaphore]) CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) @@ -4074,8 +3951,7 @@ AC_DEFUN([GLIBCXX_CHECK_GTHREADS], [ AC_DEFUN([AC_LC_MESSAGES], [ AC_CHECK_HEADER(locale.h, [ AC_CACHE_CHECK([for LC_MESSAGES], ac_cv_val_LC_MESSAGES, - [AC_TRY_COMPILE([#include ], [return LC_MESSAGES], - ac_cv_val_LC_MESSAGES=yes, ac_cv_val_LC_MESSAGES=no)]) + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[return LC_MESSAGES]])],[ac_cv_val_LC_MESSAGES=yes],[ac_cv_val_LC_MESSAGES=no])]) if test $ac_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if LC_MESSAGES is available in .]) @@ -4092,8 +3968,7 @@ AC_DEFUN([GLIBCXX_CHECK_X86_RDRAND], [ case "$target" in i?86-*-* | \ x86_64-*-*) - AC_TRY_COMPILE(, [asm("rdrand %eax");], - [ac_cv_x86_rdrand=yes], [ac_cv_x86_rdrand=no]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[asm("rdrand %eax");]])],[ac_cv_x86_rdrand=yes],[ac_cv_x86_rdrand=no]) esac ]) if test $ac_cv_x86_rdrand = yes; then @@ -4111,8 +3986,7 @@ AC_DEFUN([GLIBCXX_CHECK_X86_RDSEED], [ case "$target" in i?86-*-* | \ x86_64-*-*) - AC_TRY_COMPILE(, [asm("rdseed %eax");], - [ac_cv_x86_rdseed=yes], [ac_cv_x86_rdseed=no]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[asm("rdseed %eax");]])],[ac_cv_x86_rdseed=yes],[ac_cv_x86_rdseed=no]) esac ]) if test $ac_cv_x86_rdseed = yes; then @@ -4126,8 +4000,7 @@ dnl Check whether get_nprocs is available in , and define _GLIBCX dnl AC_DEFUN([GLIBCXX_CHECK_GET_NPROCS], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -4144,7 +4017,7 @@ AC_DEFUN([GLIBCXX_CHECK_GET_NPROCS], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4152,8 +4025,7 @@ dnl Check whether sysconf(_SC_NPROCESSORS_ONLN) is available in , and dnl AC_DEFUN([GLIBCXX_CHECK_SC_NPROCESSORS_ONLN], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -4170,7 +4042,7 @@ AC_DEFUN([GLIBCXX_CHECK_SC_NPROCESSORS_ONLN], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4178,8 +4050,7 @@ dnl Check whether sysconf(_SC_NPROC_ONLN) is available in , and define dnl AC_DEFUN([GLIBCXX_CHECK_SC_NPROC_ONLN], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -4196,7 +4067,7 @@ AC_DEFUN([GLIBCXX_CHECK_SC_NPROC_ONLN], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4204,8 +4075,7 @@ dnl Check whether pthread_num_processors_np is available in , and def dnl AC_DEFUN([GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -4222,7 +4092,7 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4231,8 +4101,7 @@ dnl and define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT. dnl AC_DEFUN([GLIBCXX_CHECK_PTHREAD_COND_CLOCKWAIT], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" ac_save_LIBS="$LIBS" @@ -4252,7 +4121,7 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_COND_CLOCKWAIT], [ CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4261,8 +4130,7 @@ dnl and define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK. dnl AC_DEFUN([GLIBCXX_CHECK_PTHREAD_MUTEX_CLOCKLOCK], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" ac_save_LIBS="$LIBS" @@ -4282,7 +4150,7 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_MUTEX_CLOCKLOCK], [ CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4291,8 +4159,7 @@ dnl and define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK. dnl AC_DEFUN([GLIBCXX_CHECK_PTHREAD_RWLOCK_CLOCKLOCK], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" ac_save_LIBS="$LIBS" @@ -4314,7 +4181,7 @@ AC_DEFUN([GLIBCXX_CHECK_PTHREAD_RWLOCK_CLOCKLOCK], [ CXXFLAGS="$ac_save_CXXFLAGS" LIBS="$ac_save_LIBS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4322,8 +4189,7 @@ dnl Check whether sysctl is available in , and define _GLIBCXX_USE_SY dnl AC_DEFUN([GLIBCXX_CHECK_SYSCTL_HW_NCPU], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" @@ -4348,7 +4214,7 @@ AC_DEFUN([GLIBCXX_CHECK_SYSCTL_HW_NCPU], [ fi CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4388,8 +4254,7 @@ dnl and define _GLIBCXX_USE_TMPNAM. dnl AC_DEFUN([GLIBCXX_CHECK_TMPNAM], [dnl dnl - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" dnl @@ -4405,7 +4270,7 @@ dnl fi dnl CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4416,8 +4281,7 @@ AC_DEFUN([GLIBCXX_CHECK_SDT_H], [ # Note that this test has to be run with the C language. # Otherwise, sdt.h will try to include some headers from # libstdc++ itself. - AC_LANG_SAVE - AC_LANG_C + AC_LANG_PUSH([C]) AC_CACHE_CHECK([for suitable sys/sdt.h], glibcxx_cv_sys_sdt_h, [ # Because we have to run the test in C, we use grep rather @@ -4430,7 +4294,7 @@ AC_DEFUN([GLIBCXX_CHECK_SDT_H], [ int f() { STAP_PROBE(hi, bob); } ], [glibcxx_cv_sys_sdt_h=yes], [glibcxx_cv_sys_sdt_h=no]) ]) - AC_LANG_RESTORE + AC_LANG_POP([]) if test $glibcxx_cv_sys_sdt_h = yes; then AC_DEFINE(HAVE_SYS_SDT_H, 1, [Define to 1 if you have a suitable header file]) @@ -4551,8 +4415,7 @@ dnl HAVE_SYMLINK dnl AC_DEFUN([GLIBCXX_CHECK_FILESYSTEM_DEPS], [dnl dnl - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -fno-exceptions" dnl @@ -4787,7 +4650,7 @@ dnl fi dnl CXXFLAGS="$ac_save_CXXFLAGS" - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4796,20 +4659,11 @@ dnl AC_DEFUN([GLIBCXX_CHECK_SIZE_T_MANGLING], [ AC_CACHE_CHECK([how size_t is mangled], glibcxx_cv_size_t_mangling, [ - AC_TRY_COMPILE([], [extern __SIZE_TYPE__ x; extern unsigned long x;], - [glibcxx_cv_size_t_mangling=m], [ - AC_TRY_COMPILE([], [extern __SIZE_TYPE__ x; extern unsigned int x;], - [glibcxx_cv_size_t_mangling=j], [ - AC_TRY_COMPILE([], - [extern __SIZE_TYPE__ x; extern unsigned long long x;], - [glibcxx_cv_size_t_mangling=y], [ - AC_TRY_COMPILE([], - [extern __SIZE_TYPE__ x; extern unsigned short x;], - [glibcxx_cv_size_t_mangling=t], [ - AC_TRY_COMPILE([], - [extern __SIZE_TYPE__ x; extern __int20 unsigned x;], - [glibcxx_cv_size_t_mangling=u6uint20], - [glibcxx_cv_size_t_mangling=x]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[extern __SIZE_TYPE__ x; extern unsigned long x;]])],[glibcxx_cv_size_t_mangling=m],[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[extern __SIZE_TYPE__ x; extern unsigned int x;]])],[glibcxx_cv_size_t_mangling=j],[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[extern __SIZE_TYPE__ x; extern unsigned long long x;]])],[glibcxx_cv_size_t_mangling=y],[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[extern __SIZE_TYPE__ x; extern unsigned short x;]])],[glibcxx_cv_size_t_mangling=t],[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[extern __SIZE_TYPE__ x; extern __int20 unsigned x;]])],[glibcxx_cv_size_t_mangling=u6uint20],[glibcxx_cv_size_t_mangling=x]) ]) ]) ]) @@ -4840,13 +4694,11 @@ AC_DEFUN([GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER], [ *) # If the value of this macro changes then we will need to hardcode # yes/no here for additional targets based on the original value. - AC_TRY_COMPILE([], [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ #if __GCC_ATOMIC_INT_LOCK_FREE <= 1 # error atomic int not always lock free #endif - ], - [ac_exception_ptr_since_gcc46=yes], - [ac_exception_ptr_since_gcc46=no]) + ]])],[ac_exception_ptr_since_gcc46=yes],[ac_exception_ptr_since_gcc46=no]) ;; esac if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then @@ -4864,8 +4716,7 @@ dnl Check whether getentropy is present in . dnl AC_DEFUN([GLIBCXX_CHECK_GETENTROPY], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) AC_CACHE_CHECK([for getentropy], glibcxx_cv_getentropy, [ GCC_TRY_COMPILE_OR_LINK( [#include ], @@ -4877,7 +4728,7 @@ AC_DEFUN([GLIBCXX_CHECK_GETENTROPY], [ if test $glibcxx_cv_getentropy = yes; then AC_DEFINE(HAVE_GETENTROPY, 1, [Define if getentropy is available in .]) fi - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl @@ -4885,8 +4736,7 @@ dnl Check whether arc4random is present in . dnl AC_DEFUN([GLIBCXX_CHECK_ARC4RANDOM], [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) AC_CACHE_CHECK([for arc4random], glibcxx_cv_arc4random, [ GCC_TRY_COMPILE_OR_LINK( [#include ], @@ -4897,7 +4747,7 @@ AC_DEFUN([GLIBCXX_CHECK_ARC4RANDOM], [ if test $glibcxx_cv_arc4random = yes; then AC_DEFINE(HAVE_ARC4RANDOM, 1, [Define if arc4random is available in .]) fi - AC_LANG_RESTORE + AC_LANG_POP([]) ]) dnl diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index b2f43aa10a6..b9e9174a5a0 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.5 -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2017 Free Software Foundation, Inc. +# Copyright (C) 2002-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.]) # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.15' +[am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15.1], [], +m4_if([$1], [1.16.5], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15.1])dnl +[AM_AUTOMAKE_VERSION([1.16.5])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# Copyright (C) 1997-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -143,7 +143,7 @@ fi])]) # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -171,6 +171,10 @@ m4_defn([AC_PROG_CC]) # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl +m4_ifdef([_$0_ALREADY_INIT], + [m4_fatal([$0 expanded multiple times +]m4_defn([_$0_ALREADY_INIT]))], + [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl @@ -207,7 +211,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( - m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl @@ -230,8 +234,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. @@ -259,6 +263,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) +# Variables for tags utilities; see am/tags.am +if test -z "$CTAGS"; then + CTAGS=ctags +fi +AC_SUBST([CTAGS]) +if test -z "$ETAGS"; then + ETAGS=etags +fi +AC_SUBST([ETAGS]) +if test -z "$CSCOPE"; then + CSCOPE=cscope +fi +AC_SUBST([CSCOPE]) + AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This @@ -298,7 +316,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -340,7 +358,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -364,7 +382,7 @@ AC_SUBST([install_sh])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -399,7 +417,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# Copyright (C) 1997-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -420,12 +438,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac + MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then @@ -438,7 +451,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -467,7 +480,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -514,7 +527,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -533,7 +546,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -614,7 +627,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2017 Free Software Foundation, Inc. +# Copyright (C) 2009-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -674,7 +687,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -702,7 +715,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2017 Free Software Foundation, Inc. +# Copyright (C) 2006-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -721,7 +734,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2017 Free Software Foundation, Inc. +# Copyright (C) 2004-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 9b94fd71e42..5104124adbc 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -831,6 +831,9 @@ AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V +CSCOPE +ETAGS +CTAGS am__untar am__tar AMTAR @@ -3317,7 +3320,6 @@ test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- - target_alias=${target_alias-$host_alias} # Handy for debugging: @@ -3348,7 +3350,7 @@ else GLIBCXX_IS_NATIVE=true fi -# Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the +# Sets up automake. Must come after AC_CANONICAL_TARGET. Each of the # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am. # 1.x: minimum required version # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch @@ -3360,7 +3362,7 @@ fi # no-dist: we don't want 'dist' and related rules. # -Wall: turns on all automake warnings... # -Wno-portability: ...except this one, since GNU make is now required. -am__api_version='1.15' +am__api_version='1.16' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -3536,12 +3538,7 @@ program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING="\${SHELL} $am_aux_dir/missing" ;; - esac + MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then @@ -3867,8 +3864,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: -# -# +# +# mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The @@ -3887,6 +3884,20 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' +# Variables for tags utilities; see am/tags.am +if test -z "$CTAGS"; then + CTAGS=ctags +fi + +if test -z "$ETAGS"; then + ETAGS=etags +fi + +if test -z "$CSCOPE"; then + CSCOPE=cscope +fi + + # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile @@ -3919,7 +3930,7 @@ END Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . +that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM @@ -12191,7 +12202,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12194 "configure" +#line 12205 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12297,7 +12308,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12300 "configure" +#line 12311 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15612,7 +15623,7 @@ fi # Override the libtool's pic_flag and pic_mode. -# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT. +# Do this step after LT_INIT, but before AC_OUTPUT. # NB: this impacts --with-pic and --without-pic. lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag" pic_mode='default' @@ -15709,7 +15720,6 @@ if ${glibcxx_cv_prog_CXX_pch+:} false; then : else ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated" - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -15779,7 +15789,6 @@ esac - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -15978,10 +15987,10 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; } # Compile unoptimized. CXXFLAGS='-O0 -S' - # Fake what AC_TRY_COMPILE does. + # Fake what AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) does. cat > conftest.$ac_ext << EOF -#line 15984 "configure" +#line 15993 "configure" int main() { typedef bool atomic_type; @@ -16016,7 +16025,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 16019 "configure" +#line 16028 "configure" int main() { typedef short atomic_type; @@ -16051,7 +16060,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 16054 "configure" +#line 16063 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -16087,7 +16096,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 16090 "configure" +#line 16099 "configure" int main() { typedef long long atomic_type; @@ -16181,7 +16190,6 @@ fi $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; } if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -16239,11 +16247,11 @@ $as_echo "mutex" >&6; } - # Fake what AC_TRY_COMPILE does, without linking as this is + # Fake what AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) does, without linking as this is # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 16246 "configure" +#line 16254 "configure" int main() { _Decimal32 d1; @@ -16273,7 +16281,6 @@ $as_echo "$enable_dfp" >&6; } - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -16281,11 +16288,11 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Fake what AC_TRY_COMPILE does, without linking as this is + # Fake what AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) does, without linking as this is # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 16288 "configure" +#line 16295 "configure" template struct same { typedef T2 type; }; @@ -16332,7 +16339,6 @@ fi # All these tests are for C++; save the language and the compiler flags. # The CXXFLAGS thing is suspicious, but based on similar bits previously # found in GLIBCXX_CONFIGURE. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -17081,7 +17087,6 @@ done if test x"$enable_wchar_t" = x"yes"; then - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -17209,7 +17214,6 @@ fi if test x"$enable_c99" = x"yes"; then - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -17886,7 +17890,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -18833,7 +18836,6 @@ fi # Checks for operating systems support that doesn't require linking. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -18887,7 +18889,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -19102,7 +19103,6 @@ fi done - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -19244,7 +19244,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # For LFS support. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -19351,8 +19350,6 @@ fi done - - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -19432,8 +19429,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -19587,8 +19582,6 @@ fi done - - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -19687,7 +19680,6 @@ done # For C99 support to TR1. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -20361,7 +20353,6 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5 $as_echo_n "checking for gettimeofday... " >&6; } - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -20467,7 +20458,6 @@ fi - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21128,7 +21118,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Check for tmpnam which is obsolescent in POSIX.1-2008 - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21204,7 +21193,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # For pthread_cond_clockwait - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21286,7 +21274,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # For pthread_mutex_clocklock - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21368,7 +21355,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21506,7 +21492,6 @@ done - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21595,7 +21580,6 @@ done - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21672,7 +21656,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21749,7 +21732,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21826,7 +21808,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -21921,7 +21902,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Note that this test has to be run with the C language. # Otherwise, sdt.h will try to include some headers from # libstdc++ itself. - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22027,116 +22007,6 @@ if $GLIBCXX_IS_NATIVE; then CANADIAN=no - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${lt_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${lt_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - # If we're not using GNU ld, then there's no point in even trying these # tests. Check for that first. We should have already tested for gld # by now (in libtool), but require it now just to be safe... @@ -22347,7 +22217,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22409,7 +22278,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22476,7 +22344,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22538,7 +22405,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22605,7 +22471,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22667,7 +22532,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22734,7 +22598,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22792,7 +22655,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22855,7 +22717,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22917,7 +22778,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22984,7 +22844,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23046,7 +22905,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23113,7 +22971,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23171,7 +23028,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23233,7 +23089,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23246,7 +23101,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -23287,7 +23142,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23300,7 +23154,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -23347,7 +23201,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23360,7 +23213,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -23401,7 +23254,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23414,7 +23266,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -23463,7 +23315,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23525,7 +23376,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23592,7 +23442,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23654,7 +23503,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23721,7 +23569,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23783,7 +23630,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23850,7 +23696,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23908,7 +23753,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23971,7 +23815,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24033,7 +23876,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24100,7 +23942,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24158,7 +23999,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24221,7 +24061,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24279,7 +24118,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24342,7 +24180,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24400,7 +24237,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24463,7 +24299,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24521,7 +24356,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24584,7 +24418,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24646,7 +24479,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24713,7 +24545,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24775,7 +24606,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24842,7 +24672,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24900,7 +24729,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24963,7 +24791,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25021,7 +24848,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25084,7 +24910,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25142,7 +24967,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25205,7 +25029,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25267,7 +25090,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25334,7 +25156,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25392,7 +25213,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25455,7 +25275,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25517,7 +25336,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25583,7 +25401,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25596,7 +25413,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -25637,7 +25454,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25650,7 +25466,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -25697,7 +25513,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25710,7 +25525,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -25751,7 +25566,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25764,7 +25578,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -25813,7 +25627,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25875,7 +25688,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25942,7 +25754,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26004,7 +25815,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26071,7 +25881,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26129,7 +25938,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26192,7 +26000,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26254,7 +26061,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26321,7 +26127,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26383,7 +26188,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26450,7 +26254,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26508,7 +26311,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26571,7 +26373,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26629,7 +26430,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26692,7 +26492,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26750,7 +26549,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26813,7 +26611,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26871,7 +26668,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26934,7 +26730,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26996,7 +26791,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27063,7 +26857,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27125,7 +26918,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27192,7 +26984,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27250,7 +27041,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27313,7 +27103,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27371,7 +27160,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27434,7 +27222,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27496,7 +27283,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27563,7 +27349,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27621,7 +27406,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27684,7 +27468,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27746,7 +27529,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27821,7 +27603,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27879,7 +27660,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27937,7 +27717,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27997,7 +27776,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29302,7 +29080,6 @@ case "${host}" in # All these tests are for C++; save the language and the compiler flags. # The CXXFLAGS thing is suspicious, but based on similar bits previously # found in GLIBCXX_CONFIGURE. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29564,7 +29341,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29626,7 +29402,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29693,7 +29468,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29755,7 +29529,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29822,7 +29595,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29884,7 +29656,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -29951,7 +29722,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30009,7 +29779,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30072,7 +29841,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30134,7 +29902,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30201,7 +29968,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30263,7 +30029,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30330,7 +30095,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30388,7 +30152,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30450,7 +30213,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30463,7 +30225,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -30504,7 +30266,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30517,7 +30278,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -30564,7 +30325,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30577,7 +30337,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -30618,7 +30378,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30631,7 +30390,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -30680,7 +30439,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30742,7 +30500,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30809,7 +30566,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30871,7 +30627,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -30938,7 +30693,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31000,7 +30754,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31067,7 +30820,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31125,7 +30877,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31188,7 +30939,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31250,7 +31000,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31317,7 +31066,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31375,7 +31123,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31438,7 +31185,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31496,7 +31242,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31559,7 +31304,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31617,7 +31361,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31680,7 +31423,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31738,7 +31480,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31801,7 +31542,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31863,7 +31603,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31930,7 +31669,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31992,7 +31730,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32059,7 +31796,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32117,7 +31853,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32180,7 +31915,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32238,7 +31972,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32301,7 +32034,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32359,7 +32091,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32422,7 +32153,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32484,7 +32214,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32551,7 +32280,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32609,7 +32337,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32672,7 +32399,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32734,7 +32460,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32800,7 +32525,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32813,7 +32537,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -32854,7 +32578,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32867,7 +32590,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -32914,7 +32637,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32927,7 +32649,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -32968,7 +32690,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32981,7 +32702,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -33030,7 +32751,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33092,7 +32812,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33159,7 +32878,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33221,7 +32939,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33288,7 +33005,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33346,7 +33062,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33409,7 +33124,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33471,7 +33185,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33538,7 +33251,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33600,7 +33312,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33667,7 +33378,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33725,7 +33435,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33788,7 +33497,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33846,7 +33554,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33909,7 +33616,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33967,7 +33673,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34030,7 +33735,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34088,7 +33792,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34151,7 +33854,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34213,7 +33915,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34280,7 +33981,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34342,7 +34042,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34409,7 +34108,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34467,7 +34165,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34530,7 +34227,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34588,7 +34284,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34651,7 +34346,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34713,7 +34407,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34780,7 +34473,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34838,7 +34530,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34901,7 +34592,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34963,7 +34653,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35038,7 +34727,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35096,7 +34784,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35154,7 +34841,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35214,7 +34900,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35499,7 +35184,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35561,7 +35245,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35628,7 +35311,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35690,7 +35372,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35757,7 +35438,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35819,7 +35499,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35886,7 +35565,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35944,7 +35622,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36007,7 +35684,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36069,7 +35745,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36136,7 +35811,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36198,7 +35872,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36265,7 +35938,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36323,7 +35995,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36385,7 +36056,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36398,7 +36068,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -36439,7 +36109,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36452,7 +36121,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -36499,7 +36168,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36512,7 +36180,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -36553,7 +36221,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36566,7 +36233,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -36615,7 +36282,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36677,7 +36343,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36744,7 +36409,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36806,7 +36470,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36873,7 +36536,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36935,7 +36597,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37002,7 +36663,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37060,7 +36720,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37123,7 +36782,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37185,7 +36843,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37252,7 +36909,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37310,7 +36966,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37373,7 +37028,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37431,7 +37085,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37494,7 +37147,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37552,7 +37204,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37615,7 +37266,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37673,7 +37323,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37736,7 +37385,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37798,7 +37446,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37865,7 +37512,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37927,7 +37573,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37994,7 +37639,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38052,7 +37696,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38115,7 +37758,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38173,7 +37815,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38236,7 +37877,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38294,7 +37934,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38357,7 +37996,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38419,7 +38057,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38486,7 +38123,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38544,7 +38180,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38607,7 +38242,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38669,7 +38303,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38735,7 +38368,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38748,7 +38380,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -38789,7 +38421,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38802,7 +38433,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -38849,7 +38480,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38862,7 +38492,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -38903,7 +38533,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38916,7 +38545,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -38965,7 +38594,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39027,7 +38655,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39094,7 +38721,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39156,7 +38782,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39223,7 +38848,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39281,7 +38905,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39344,7 +38967,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39406,7 +39028,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39473,7 +39094,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39535,7 +39155,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39602,7 +39221,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39660,7 +39278,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39723,7 +39340,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39781,7 +39397,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39844,7 +39459,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39902,7 +39516,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39965,7 +39578,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40023,7 +39635,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40086,7 +39697,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40148,7 +39758,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40215,7 +39824,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40277,7 +39885,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40344,7 +39951,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40402,7 +40008,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40465,7 +40070,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40523,7 +40127,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40586,7 +40189,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40648,7 +40250,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40715,7 +40316,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40773,7 +40373,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40836,7 +40435,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40898,7 +40496,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40973,7 +40570,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41031,7 +40627,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41089,7 +40684,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41149,7 +40743,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41486,7 +41079,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41548,7 +41140,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41615,7 +41206,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41677,7 +41267,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41744,7 +41333,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41806,7 +41394,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41873,7 +41460,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41931,7 +41517,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41994,7 +41579,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42056,7 +41640,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42123,7 +41706,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42185,7 +41767,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42252,7 +41833,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42310,7 +41890,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42372,7 +41951,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42385,7 +41963,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -42426,7 +42004,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42439,7 +42016,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -42486,7 +42063,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42499,7 +42075,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -42540,7 +42116,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42553,7 +42128,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -42602,7 +42177,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42664,7 +42238,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42731,7 +42304,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42793,7 +42365,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42860,7 +42431,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42922,7 +42492,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -42989,7 +42558,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43047,7 +42615,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43110,7 +42677,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43172,7 +42738,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43239,7 +42804,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43297,7 +42861,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43360,7 +42923,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43418,7 +42980,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43481,7 +43042,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43539,7 +43099,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43602,7 +43161,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43660,7 +43218,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43723,7 +43280,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43785,7 +43341,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43852,7 +43407,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43914,7 +43468,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -43981,7 +43534,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44039,7 +43591,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44102,7 +43653,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44160,7 +43710,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44223,7 +43772,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44281,7 +43829,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44344,7 +43891,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44406,7 +43952,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44473,7 +44018,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44531,7 +44075,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44594,7 +44137,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44656,7 +44198,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44722,7 +44263,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44735,7 +44275,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -44776,7 +44316,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44789,7 +44328,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -44836,7 +44375,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44849,7 +44387,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -44890,7 +44428,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -44903,7 +44440,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -44952,7 +44489,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45014,7 +44550,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45081,7 +44616,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45143,7 +44677,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45210,7 +44743,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45268,7 +44800,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45331,7 +44862,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45393,7 +44923,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45460,7 +44989,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45522,7 +45050,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45589,7 +45116,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45647,7 +45173,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45710,7 +45235,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45768,7 +45292,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45831,7 +45354,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45889,7 +45411,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -45952,7 +45473,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46010,7 +45530,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46073,7 +45592,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46135,7 +45653,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46202,7 +45719,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46264,7 +45780,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46331,7 +45846,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46389,7 +45903,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46452,7 +45965,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46510,7 +46022,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46573,7 +46084,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46635,7 +46145,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46702,7 +46211,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46760,7 +46268,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46823,7 +46330,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46885,7 +46391,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -46960,7 +46465,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -47018,7 +46522,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -47076,7 +46579,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -47136,7 +46638,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -47938,7 +47439,6 @@ $as_echo "#define HAVE_TLS 1" >>confdefs.h # All these tests are for C++; save the language and the compiler flags. # The CXXFLAGS thing is suspicious, but based on similar bits previously # found in GLIBCXX_CONFIGURE. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48200,7 +47700,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48262,7 +47761,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48329,7 +47827,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48391,7 +47888,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48458,7 +47954,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48520,7 +48015,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48587,7 +48081,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48645,7 +48138,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48708,7 +48200,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48770,7 +48261,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48837,7 +48327,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48899,7 +48388,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -48966,7 +48454,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49024,7 +48511,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49086,7 +48572,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49099,7 +48584,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -49140,7 +48625,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49153,7 +48637,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -49200,7 +48684,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49213,7 +48696,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -49254,7 +48737,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49267,7 +48749,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -49316,7 +48798,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49378,7 +48859,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49445,7 +48925,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49507,7 +48986,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49574,7 +49052,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49636,7 +49113,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49703,7 +49179,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49761,7 +49236,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49824,7 +49298,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49886,7 +49359,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -49953,7 +49425,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50011,7 +49482,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50074,7 +49544,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50132,7 +49601,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50195,7 +49663,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50253,7 +49720,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50316,7 +49782,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50374,7 +49839,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50437,7 +49901,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50499,7 +49962,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50566,7 +50028,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50628,7 +50089,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50695,7 +50155,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50753,7 +50212,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50816,7 +50274,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50874,7 +50331,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50937,7 +50393,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -50995,7 +50450,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51058,7 +50512,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51120,7 +50573,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51187,7 +50639,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51245,7 +50696,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51308,7 +50758,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51370,7 +50819,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51436,7 +50884,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51449,7 +50896,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -51490,7 +50937,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51503,7 +50949,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -51550,7 +50996,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51563,7 +51008,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -51604,7 +51049,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51617,7 +51061,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -51666,7 +51110,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51728,7 +51171,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51795,7 +51237,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51857,7 +51298,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51924,7 +51364,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -51982,7 +51421,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52045,7 +51483,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52107,7 +51544,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52174,7 +51610,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52236,7 +51671,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52303,7 +51737,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52361,7 +51794,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52424,7 +51856,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52482,7 +51913,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52545,7 +51975,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52603,7 +52032,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52666,7 +52094,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52724,7 +52151,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52787,7 +52213,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52849,7 +52274,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52916,7 +52340,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -52978,7 +52401,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53045,7 +52467,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53103,7 +52524,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53166,7 +52586,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53224,7 +52643,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53287,7 +52705,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53349,7 +52766,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53416,7 +52832,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53474,7 +52889,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53537,7 +52951,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53599,7 +53012,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53674,7 +53086,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53732,7 +53143,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53790,7 +53200,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -53850,7 +53259,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54591,7 +53999,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54653,7 +54060,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54720,7 +54126,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54782,7 +54187,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54849,7 +54253,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54911,7 +54314,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -54978,7 +54380,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55036,7 +54437,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55099,7 +54499,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55161,7 +54560,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55228,7 +54626,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55290,7 +54687,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55357,7 +54753,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55415,7 +54810,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55477,7 +54871,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55490,7 +54883,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -55531,7 +54924,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55544,7 +54936,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -55591,7 +54983,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55604,7 +54995,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -55645,7 +55036,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55658,7 +55048,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -55707,7 +55097,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55769,7 +55158,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55836,7 +55224,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55898,7 +55285,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -55965,7 +55351,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56027,7 +55412,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56094,7 +55478,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56152,7 +55535,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56215,7 +55597,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56277,7 +55658,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56344,7 +55724,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56402,7 +55781,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56465,7 +55843,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56523,7 +55900,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56586,7 +55962,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56644,7 +56019,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56707,7 +56081,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56765,7 +56138,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56828,7 +56200,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56890,7 +56261,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -56957,7 +56327,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57019,7 +56388,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57086,7 +56454,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57144,7 +56511,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57207,7 +56573,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57265,7 +56630,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57328,7 +56692,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57386,7 +56749,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57449,7 +56811,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57511,7 +56872,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57578,7 +56938,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57636,7 +56995,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57699,7 +57057,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57761,7 +57118,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57827,7 +57183,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57840,7 +57195,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -57881,7 +57236,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57894,7 +57248,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -57941,7 +57295,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -57954,7 +57307,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -57995,7 +57348,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58008,7 +57360,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -58057,7 +57409,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58119,7 +57470,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58186,7 +57536,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58248,7 +57597,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58315,7 +57663,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58373,7 +57720,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58436,7 +57782,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58498,7 +57843,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58565,7 +57909,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58627,7 +57970,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58694,7 +58036,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58752,7 +58093,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58815,7 +58155,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58873,7 +58212,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58936,7 +58274,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -58994,7 +58331,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59057,7 +58393,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59115,7 +58450,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59178,7 +58512,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59240,7 +58573,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59307,7 +58639,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59369,7 +58700,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59436,7 +58766,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59494,7 +58823,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59557,7 +58885,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59615,7 +58942,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59678,7 +59004,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59740,7 +59065,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59807,7 +59131,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59865,7 +59188,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59928,7 +59250,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -59990,7 +59311,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -60065,7 +59385,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -60123,7 +59442,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -60181,7 +59499,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -60241,7 +59558,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -60925,7 +60241,6 @@ $as_echo "$ac_ld_relro" >&6; } # All these tests are for C++; save the language and the compiler flags. # The CXXFLAGS thing is suspicious, but based on similar bits previously # found in GLIBCXX_CONFIGURE. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61187,7 +60502,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61249,7 +60563,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61316,7 +60629,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61378,7 +60690,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61445,7 +60756,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61507,7 +60817,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61574,7 +60883,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61632,7 +60940,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61695,7 +61002,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61757,7 +61063,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61824,7 +61129,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61886,7 +61190,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -61953,7 +61256,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62011,7 +61313,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62073,7 +61374,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62086,7 +61386,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -62127,7 +61427,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62140,7 +61439,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -62187,7 +61486,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62200,7 +61498,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -62241,7 +61539,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62254,7 +61551,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -62303,7 +61600,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62365,7 +61661,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62432,7 +61727,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62494,7 +61788,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62561,7 +61854,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62623,7 +61915,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62690,7 +61981,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62748,7 +62038,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62811,7 +62100,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62873,7 +62161,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62940,7 +62227,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -62998,7 +62284,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63061,7 +62346,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63119,7 +62403,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63182,7 +62465,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63240,7 +62522,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63303,7 +62584,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63361,7 +62641,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63424,7 +62703,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63486,7 +62764,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63553,7 +62830,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63615,7 +62891,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63682,7 +62957,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63740,7 +63014,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63803,7 +63076,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63861,7 +63133,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63924,7 +63195,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -63982,7 +63252,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64045,7 +63314,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64107,7 +63375,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64174,7 +63441,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64232,7 +63498,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64295,7 +63560,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64357,7 +63621,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64423,7 +63686,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64436,7 +63698,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -64477,7 +63739,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64490,7 +63751,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -64537,7 +63798,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64550,7 +63810,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -64591,7 +63851,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64604,7 +63863,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -64653,7 +63912,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64715,7 +63973,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64782,7 +64039,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64844,7 +64100,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64911,7 +64166,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -64969,7 +64223,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65032,7 +64285,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65094,7 +64346,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65161,7 +64412,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65223,7 +64473,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65290,7 +64539,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65348,7 +64596,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65411,7 +64658,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65469,7 +64715,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65532,7 +64777,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65590,7 +64834,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65653,7 +64896,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65711,7 +64953,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65774,7 +65015,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65836,7 +65076,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65903,7 +65142,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -65965,7 +65203,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66032,7 +65269,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66090,7 +65326,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66153,7 +65388,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66211,7 +65445,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66274,7 +65507,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66336,7 +65568,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66403,7 +65634,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66461,7 +65691,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66524,7 +65753,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66586,7 +65814,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66661,7 +65888,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66719,7 +65945,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66777,7 +66002,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66837,7 +66061,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -66991,7 +66214,6 @@ $as_echo_n "checking for isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67053,7 +66275,6 @@ $as_echo_n "checking for _isinf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67120,7 +66341,6 @@ $as_echo_n "checking for isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67182,7 +66402,6 @@ $as_echo_n "checking for _isnan declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67249,7 +66468,6 @@ $as_echo_n "checking for finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67311,7 +66529,6 @@ $as_echo_n "checking for _finite declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67378,7 +66595,6 @@ $as_echo_n "checking for sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67436,7 +66652,6 @@ $as_echo_n "checking for _sincos declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67499,7 +66714,6 @@ $as_echo_n "checking for fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67561,7 +66775,6 @@ $as_echo_n "checking for _fpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67628,7 +66841,6 @@ $as_echo_n "checking for qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67690,7 +66902,6 @@ $as_echo_n "checking for _qfpclass declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67757,7 +66968,6 @@ $as_echo_n "checking for hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67815,7 +67025,6 @@ $as_echo_n "checking for _hypot declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67877,7 +67086,6 @@ $as_echo_n "checking for float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67890,7 +67098,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -67931,7 +67139,6 @@ $as_echo_n "checking for _float trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -67944,7 +67151,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -67991,7 +67198,6 @@ $as_echo_n "checking for float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68004,7 +67210,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceilf (0); floorf (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -68045,7 +67251,6 @@ $as_echo_n "checking for _float round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68058,7 +67263,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -68107,7 +67312,6 @@ $as_echo_n "checking for expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68169,7 +67373,6 @@ $as_echo_n "checking for _expf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68236,7 +67439,6 @@ $as_echo_n "checking for isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68298,7 +67500,6 @@ $as_echo_n "checking for _isnanf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68365,7 +67566,6 @@ $as_echo_n "checking for isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68427,7 +67627,6 @@ $as_echo_n "checking for _isinff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68494,7 +67693,6 @@ $as_echo_n "checking for atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68552,7 +67750,6 @@ $as_echo_n "checking for _atan2f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68615,7 +67812,6 @@ $as_echo_n "checking for fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68677,7 +67873,6 @@ $as_echo_n "checking for _fabsf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68744,7 +67939,6 @@ $as_echo_n "checking for fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68802,7 +67996,6 @@ $as_echo_n "checking for _fmodf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68865,7 +68058,6 @@ $as_echo_n "checking for frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68923,7 +68115,6 @@ $as_echo_n "checking for _frexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -68986,7 +68177,6 @@ $as_echo_n "checking for hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69044,7 +68234,6 @@ $as_echo_n "checking for _hypotf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69107,7 +68296,6 @@ $as_echo_n "checking for ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69165,7 +68353,6 @@ $as_echo_n "checking for _ldexpf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69228,7 +68415,6 @@ $as_echo_n "checking for logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69290,7 +68476,6 @@ $as_echo_n "checking for _logf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69357,7 +68542,6 @@ $as_echo_n "checking for log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69419,7 +68603,6 @@ $as_echo_n "checking for _log10f declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69486,7 +68669,6 @@ $as_echo_n "checking for modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69544,7 +68726,6 @@ $as_echo_n "checking for _modff declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69607,7 +68788,6 @@ $as_echo_n "checking for modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69665,7 +68845,6 @@ $as_echo_n "checking for _modf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69728,7 +68907,6 @@ $as_echo_n "checking for powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69786,7 +68964,6 @@ $as_echo_n "checking for _powf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69849,7 +69026,6 @@ $as_echo_n "checking for sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69911,7 +69087,6 @@ $as_echo_n "checking for _sqrtf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -69978,7 +69153,6 @@ $as_echo_n "checking for sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70036,7 +69210,6 @@ $as_echo_n "checking for _sincosf declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70099,7 +69272,6 @@ $as_echo_n "checking for finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70161,7 +69333,6 @@ $as_echo_n "checking for _finitef declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70227,7 +69398,6 @@ $as_echo_n "checking for long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70240,7 +69410,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -70281,7 +69451,6 @@ $as_echo_n "checking for _long double trig functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70294,7 +69463,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -70341,7 +69510,6 @@ $as_echo_n "checking for long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70354,7 +69522,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -ceill (0); floorl (0); +patsubst(funclist,\w+,\& (0);) ; return 0; } @@ -70395,7 +69563,6 @@ $as_echo_n "checking for _long double round functions... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70408,7 +69575,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); +patsubst(funclist,\w+,_\& (0);) ; return 0; } @@ -70457,7 +69624,6 @@ $as_echo_n "checking for isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70519,7 +69685,6 @@ $as_echo_n "checking for _isnanl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70586,7 +69751,6 @@ $as_echo_n "checking for isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70648,7 +69812,6 @@ $as_echo_n "checking for _isinfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70715,7 +69878,6 @@ $as_echo_n "checking for atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70773,7 +69935,6 @@ $as_echo_n "checking for _atan2l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70836,7 +69997,6 @@ $as_echo_n "checking for expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70898,7 +70058,6 @@ $as_echo_n "checking for _expl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -70965,7 +70124,6 @@ $as_echo_n "checking for fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71027,7 +70185,6 @@ $as_echo_n "checking for _fabsl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71094,7 +70251,6 @@ $as_echo_n "checking for fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71152,7 +70308,6 @@ $as_echo_n "checking for _fmodl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71215,7 +70370,6 @@ $as_echo_n "checking for frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71273,7 +70427,6 @@ $as_echo_n "checking for _frexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71336,7 +70489,6 @@ $as_echo_n "checking for hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71394,7 +70546,6 @@ $as_echo_n "checking for _hypotl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71457,7 +70608,6 @@ $as_echo_n "checking for ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71515,7 +70665,6 @@ $as_echo_n "checking for _ldexpl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71578,7 +70727,6 @@ $as_echo_n "checking for logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71640,7 +70788,6 @@ $as_echo_n "checking for _logl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71707,7 +70854,6 @@ $as_echo_n "checking for log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71769,7 +70915,6 @@ $as_echo_n "checking for _log10l declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71836,7 +70981,6 @@ $as_echo_n "checking for modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71894,7 +71038,6 @@ $as_echo_n "checking for _modfl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -71957,7 +71100,6 @@ $as_echo_n "checking for powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72015,7 +71157,6 @@ $as_echo_n "checking for _powl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72078,7 +71219,6 @@ $as_echo_n "checking for sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72140,7 +71280,6 @@ $as_echo_n "checking for _sqrtl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72207,7 +71346,6 @@ $as_echo_n "checking for sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72265,7 +71403,6 @@ $as_echo_n "checking for _sincosl declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72328,7 +71465,6 @@ $as_echo_n "checking for finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72390,7 +71526,6 @@ $as_echo_n "checking for _finitel declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72465,7 +71600,6 @@ $as_echo_n "checking for at_quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72523,7 +71657,6 @@ $as_echo_n "checking for quick_exit declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72581,7 +71714,6 @@ $as_echo_n "checking for strtold declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72641,7 +71773,6 @@ $as_echo_n "checking for strtof declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72748,7 +71879,6 @@ if ${glibcxx_cv_func_acosl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72799,7 +71929,6 @@ if ${glibcxx_cv_func_asinl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72850,7 +71979,6 @@ if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72901,7 +72029,6 @@ if ${glibcxx_cv_func_atanl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -72952,7 +72079,6 @@ if ${glibcxx_cv_func_ceill_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73003,7 +72129,6 @@ if ${glibcxx_cv_func_cosl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73054,7 +72179,6 @@ if ${glibcxx_cv_func_coshl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73105,7 +72229,6 @@ if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73156,7 +72279,6 @@ if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73207,7 +72329,6 @@ if ${glibcxx_cv_func_floorl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73258,7 +72379,6 @@ if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73309,7 +72429,6 @@ if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73360,7 +72479,6 @@ if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73411,7 +72529,6 @@ if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73462,7 +72579,6 @@ if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73513,7 +72629,6 @@ if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73564,7 +72679,6 @@ if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73615,7 +72729,6 @@ if ${glibcxx_cv_func_sinl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73666,7 +72779,6 @@ if ${glibcxx_cv_func_sinhl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73717,7 +72829,6 @@ if ${glibcxx_cv_func_sqrtl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73768,7 +72879,6 @@ if ${glibcxx_cv_func_tanl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73819,7 +72929,6 @@ if ${glibcxx_cv_func_tanhl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73870,7 +72979,6 @@ if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73921,7 +73029,6 @@ if ${glibcxx_cv_func_ldexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -73972,7 +73079,6 @@ if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -74023,7 +73129,6 @@ if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -74074,7 +73179,6 @@ if ${glibcxx_cv_func_frexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -75522,7 +74626,6 @@ $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h # Check for other random number APIs - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -75597,7 +74700,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -75673,7 +74775,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Do checks for resource limit functions. - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -75918,7 +75019,6 @@ $as_echo_n "checking for setenv declaration... " >&6; } $as_echo_n "(cached) " >&6 else - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -76010,7 +75110,6 @@ fi if test x$enable_libstdcxx_threads = xauto || test x$enable_libstdcxx_threads = xyes; then - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -76267,7 +75366,6 @@ $as_echo_n "checking whether to build Filesystem TS support... " >&6; } $as_echo "$enable_libstdcxx_filesystem_ts" >&6; } - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -78848,7 +77946,7 @@ ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h" # append it here. Only modify Makefiles that have just been created. # # Also, get rid of this simulated-VPATH thing that automake does. -ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile" +ac_config_files="$ac_config_files include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace doc po testsuite python/Makefile" ac_config_commands="$ac_config_commands generate-headers" @@ -80107,18 +79205,18 @@ do "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;; "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;; "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;; - "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; - "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;; - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;; - "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;; - "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;; - "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;; - "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;; - "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;; - "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; - "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; - "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; + "include") CONFIG_FILES="$CONFIG_FILES include" ;; + "libsupc++") CONFIG_FILES="$CONFIG_FILES libsupc++" ;; + "src") CONFIG_FILES="$CONFIG_FILES src" ;; + "src/c++98") CONFIG_FILES="$CONFIG_FILES src/c++98" ;; + "src/c++11") CONFIG_FILES="$CONFIG_FILES src/c++11" ;; + "src/c++17") CONFIG_FILES="$CONFIG_FILES src/c++17" ;; + "src/c++20") CONFIG_FILES="$CONFIG_FILES src/c++20" ;; + "src/filesystem") CONFIG_FILES="$CONFIG_FILES src/filesystem" ;; + "src/libbacktrace") CONFIG_FILES="$CONFIG_FILES src/libbacktrace" ;; + "doc") CONFIG_FILES="$CONFIG_FILES doc" ;; + "po") CONFIG_FILES="$CONFIG_FILES po" ;; + "testsuite") CONFIG_FILES="$CONFIG_FILES testsuite" ;; "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;; @@ -81908,7 +81006,7 @@ fi ;; "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;; "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;; - "include/Makefile":F) cat > vpsed$$ << \_EOF + "include":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81919,7 +81017,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF + "libsupc++":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81930,7 +81028,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "src/Makefile":F) cat > vpsed$$ << \_EOF + "src":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81941,7 +81039,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF + "src/c++98":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81952,7 +81050,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF + "src/c++11":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81963,7 +81061,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF + "src/c++17":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81974,7 +81072,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF + "src/c++20":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81985,7 +81083,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF + "src/filesystem":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -81996,7 +81094,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF + "src/libbacktrace":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -82007,7 +81105,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "doc/Makefile":F) cat > vpsed$$ << \_EOF + "doc":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -82018,7 +81116,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "po/Makefile":F) cat > vpsed$$ << \_EOF + "po":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ @@ -82029,7 +81127,7 @@ _EOF . ${multi_basedir}/config-ml.in { ml_norecursion=; unset ml_norecursion;} ;; - "testsuite/Makefile":F) cat > vpsed$$ << \_EOF + "testsuite":F) cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF sed -f vpsed$$ $ac_file > tmp$$ diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index e59bcdb2944..fc2c3062b38 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoreconf to produce a configure script. -AC_INIT(package-unused, version-unused,, libstdc++) +AC_INIT([package-unused],[version-unused],[],[libstdc++]) AC_CONFIG_SRCDIR(src/shared/hashtable-aux.cc) AC_CONFIG_HEADER(config.h) @@ -27,7 +27,7 @@ AM_ENABLE_MULTILIB(, ..) # # Do not delete or change the following two lines. For why, see # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html -AC_CANONICAL_SYSTEM +AC_CANONICAL_TARGET target_alias=${target_alias-$host_alias} # Handy for debugging: @@ -58,7 +58,7 @@ else GLIBCXX_IS_NATIVE=true fi -# Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the +# Sets up automake. Must come after AC_CANONICAL_TARGET. Each of the # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am. # 1.x: minimum required version # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch @@ -133,7 +133,7 @@ AC_SUBST(glibcxx_compiler_pic_flag) AC_SUBST(glibcxx_compiler_shared_flag) # Override the libtool's pic_flag and pic_mode. -# Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT. +# Do this step after LT_INIT, but before AC_OUTPUT. # NB: this impacts --with-pic and --without-pic. lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag" pic_mode='default' @@ -417,11 +417,11 @@ case "$target" in sparc*-*-linux* | \ s390*-*-linux* | \ alpha*-*-linux*) - AC_TRY_COMPILE(, [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__)) #error no need for long double compatibility #endif - ], [ac_ldbl_compat=yes], [ac_ldbl_compat=no]) + ]])],[ac_ldbl_compat=yes],[ac_ldbl_compat=no]) if test "$ac_ldbl_compat" = yes; then AC_DEFINE([_GLIBCXX_LONG_DOUBLE_COMPAT],1, [Define if compatibility should be provided for -mlong-double-64.]) @@ -435,11 +435,11 @@ case "$target" in [ac_ldbl_ieee128_in_libc=no]) if test $ac_ldbl_ieee128_in_libc = yes; then # Determine which long double format is the compiler's default: - AC_TRY_COMPILE(, [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ #ifndef __LONG_DOUBLE_IEEE128__ #error compiler defaults to ibm128 #endif - ], [ac_ldbl_ieee128_default=yes], [ac_ldbl_ieee128_default=no]) + ]])],[ac_ldbl_ieee128_default=yes],[ac_ldbl_ieee128_default=no]) # Library objects should use default long double format. if test "$ac_ldbl_ieee128_default" = yes; then LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute" @@ -641,7 +641,7 @@ AC_CONFIG_FILES([src/libbacktrace/backtrace-supported.h]) # append it here. Only modify Makefiles that have just been created. # # Also, get rid of this simulated-VPATH thing that automake does. -AC_CONFIG_FILES(AC_FOREACH([DIR], glibcxx_SUBDIRS, [DIR/Makefile ]), +AC_CONFIG_FILES(m4_foreach_w([DIR],[glibcxx_SUBDIRS],[DIR/Makefile ]), [cat > vpsed$$ << \_EOF s!`test -f '$<' || echo '$(srcdir)/'`!! _EOF diff --git a/libstdc++-v3/configure.scan b/libstdc++-v3/configure.scan new file mode 100644 index 00000000000..34e0ca1d571 --- /dev/null +++ b/libstdc++-v3/configure.scan @@ -0,0 +1,70 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ([2.69]) +AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) +AC_CONFIG_SRCDIR([config.h.in]) +AC_CONFIG_HEADERS([config.h]) + +# Checks for programs. +AC_PROG_CXX +AC_PROG_AWK +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_MAKE_SET +AC_PROG_MKDIR_P +AC_PROG_RANLIB + +# Checks for libraries. +# FIXME: Replace `main' with a function in `-lgomp': +AC_CHECK_LIB([gomp], [main]) +# FIXME: Replace `main' with a function in `-lm': +AC_CHECK_LIB([m], [main]) + +# Checks for header files. +AC_CHECK_HEADERS([fcntl.h fenv.h float.h inttypes.h langinfo.h libintl.h limits.h locale.h malloc.h nl_types.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/statvfs.h sys/time.h unistd.h utime.h wchar.h wctype.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_CHECK_HEADER_STDBOOL +AC_C_INLINE +AC_TYPE_INT16_T +AC_TYPE_INT32_T +AC_TYPE_INT64_T +AC_TYPE_INT8_T +AC_TYPE_MODE_T +AC_TYPE_OFF_T +AC_TYPE_PID_T +AC_C_RESTRICT +AC_TYPE_SIZE_T +AC_TYPE_SSIZE_T +AC_TYPE_UINT16_T +AC_TYPE_UINT32_T +AC_TYPE_UINT64_T +AC_TYPE_UINT8_T +AC_CHECK_TYPES([ptrdiff_t]) + +# Checks for library functions. +AC_FUNC_ERROR_AT_LINE +AC_FUNC_FORK +AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK +AC_FUNC_MALLOC +AC_FUNC_MBRTOWC +AC_FUNC_STRCOLL +AC_FUNC_STRTOD +AC_CHECK_FUNCS([atexit clock_gettime dup2 fesetround floor getcwd gettimeofday memchr memmove memset mkdir mkfifo modf nl_langinfo pathconf pow realpath rint rmdir setenv setlocale socket sqrt strchr strdup strerror strpbrk strrchr strspn strstr strtol strtoul strtoull strtoumax utime]) + +AC_CONFIG_FILES([Makefile + doc/Makefile + include/Makefile + libsupc++/Makefile + po/Makefile + python/Makefile + src/Makefile + src/c++11/Makefile + src/c++17/Makefile + src/c++20/Makefile + src/c++98/Makefile + src/filesystem/Makefile + src/libbacktrace/Makefile + testsuite/Makefile]) +AC_OUTPUT diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index ae5283b7ad3..90edc3f5149 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -334,18 +334,17 @@ dnl GLIBCXX_CHECK_MATH_DECL AC_DEFUN([GLIBCXX_CHECK_MATH_DECL], [ AC_CACHE_CHECK([for $1 declaration], [glibcxx_cv_func_$1_use], [ - AC_LANG_SAVE - AC_LANG_C - AC_TRY_COMPILE([ + AC_LANG_PUSH([C]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #ifdef HAVE_IEEEFP_H # include #endif #undef $1 -], [ +]], [[ void (*f)(void) = (void (*)(void))$1; -], [glibcxx_cv_func_$1_use=yes -], [glibcxx_cv_func_$1_use=no])]) +]])],[glibcxx_cv_func_$1_use=yes +],[glibcxx_cv_func_$1_use=no])]) if test "x$glibcxx_cv_func_$1_use" = xyes; then AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1])) fi diff --git a/libstdc++-v3/linkage.m4 b/libstdc++-v3/linkage.m4 index 45a09cdf445..f26418d2099 100644 --- a/libstdc++-v3/linkage.m4 +++ b/libstdc++-v3/linkage.m4 @@ -12,16 +12,13 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECL_1], [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcxx_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_IEEEFP_H #include #endif - ], - [ $1(0);], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE + ]], [[ $1(0);]])],[glibcxx_cv_func_$1_use=yes],[glibcxx_cv_func_$1_use=no]) + AC_LANG_POP([]) ]) fi AC_MSG_RESULT($glibcxx_cv_func_$1_use) @@ -35,8 +32,7 @@ dnl but _func does, then it will "#define func _func". dnl dnl GLIBCXX_MAYBE_UNDERSCORED_FUNCS AC_DEFUN([GLIBCXX_MAYBE_UNDERSCORED_FUNCS], -[AC_FOREACH([glibcxx_ufunc], [$1], - [AH_VERBATIM(_[]glibcxx_ufunc, +[m4_foreach_w([glibcxx_ufunc],[$1],[AH_VERBATIM(_[]glibcxx_ufunc, [#if defined (]AS_TR_CPP(HAVE__[]glibcxx_ufunc)[) && ! defined (]AS_TR_CPP(HAVE_[]glibcxx_ufunc)[) # define ]AS_TR_CPP(HAVE_[]glibcxx_ufunc)[ 1 # define ]glibcxx_ufunc[ _]glibcxx_ufunc[ @@ -80,26 +76,18 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1], [ define([funclist],patsubst($3,\(\w+\)\(\W*\),\1 ))dnl AC_MSG_CHECKING([for $1 functions]) AC_CACHE_VAL(glibcxx_cv_func_$2_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - patsubst(funclist,[\w+],[\& (0);]), - [glibcxx_cv_func_$2_use=yes], - [glibcxx_cv_func_$2_use=no]) - AC_LANG_RESTORE]) + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[patsubst(funclist,\w+,\& (0);)]])],[glibcxx_cv_func_$2_use=yes],[glibcxx_cv_func_$2_use=no]) + AC_LANG_POP([])]) AC_MSG_RESULT($glibcxx_cv_func_$2_use) if test x$glibcxx_cv_func_$2_use = x"yes"; then AC_CHECK_FUNCS(funclist) else AC_MSG_CHECKING([for _$1 functions]) AC_CACHE_VAL(glibcxx_cv_func__$2_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - patsubst(funclist,[\w+],[_\& (0);]), - [glibcxx_cv_func__$2_use=yes], - [glibcxx_cv_func__$2_use=no]) - AC_LANG_RESTORE]) + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[patsubst(funclist,\w+,_\& (0);)]])],[glibcxx_cv_func__$2_use=yes],[glibcxx_cv_func__$2_use=no]) + AC_LANG_POP([])]) AC_MSG_RESULT($glibcxx_cv_func__$2_use) if test x$glibcxx_cv_func__$2_use = x"yes"; then AC_CHECK_FUNCS(patsubst(funclist,[\w+],[_\&])) @@ -119,12 +107,9 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECL_2], [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcxx_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - [ $1(0, 0);], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ $1(0, 0);]])],[glibcxx_cv_func_$1_use=yes],[glibcxx_cv_func_$1_use=no]) + AC_LANG_POP([]) ]) fi AC_MSG_RESULT($glibcxx_cv_func_$1_use) @@ -166,12 +151,9 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECL_3], [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcxx_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - [ $1(0, 0, 0);], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ $1(0, 0, 0);]])],[glibcxx_cv_func_$1_use=yes],[glibcxx_cv_func_$1_use=no]) + AC_LANG_POP([]) ]) fi AC_MSG_RESULT($glibcxx_cv_func_$1_use) @@ -217,12 +199,9 @@ AC_DEFUN([GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0], [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcxx_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - [ $1();], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ $1();]])],[glibcxx_cv_func_$1_use=yes],[glibcxx_cv_func_$1_use=no]) + AC_LANG_POP([]) ]) fi AC_MSG_RESULT($glibcxx_cv_func_$1_use) @@ -246,12 +225,9 @@ AC_DEFUN([GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_1], [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcxx_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - [ $1(0);], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ $1(0);]])],[glibcxx_cv_func_$1_use=yes],[glibcxx_cv_func_$1_use=no]) + AC_LANG_POP([]) ]) fi AC_MSG_RESULT($glibcxx_cv_func_$1_use) @@ -275,12 +251,9 @@ AC_DEFUN([GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2], [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcxx_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - [ $1(0, 0);], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ $1(0, 0);]])],[glibcxx_cv_func_$1_use=yes],[glibcxx_cv_func_$1_use=no]) + AC_LANG_POP([]) ]) fi AC_MSG_RESULT($glibcxx_cv_func_$1_use) @@ -305,12 +278,9 @@ AC_DEFUN([GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3], [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcxx_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcxx_cv_func_$1_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - [ $1(0, 0, 0);], - [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no]) - AC_LANG_RESTORE + AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ $1(0, 0, 0);]])],[glibcxx_cv_func_$1_use=yes],[glibcxx_cv_func_$1_use=no]) + AC_LANG_POP([]) ]) fi AC_MSG_RESULT($glibcxx_cv_func_$1_use) diff --git a/missing b/missing index f62bbae306c..1fe1611f185 100755 --- a/missing +++ b/missing @@ -1,9 +1,9 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2013-10-28.13; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ scriptversion=2013-10-28.13; # UTC # 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 . +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -101,9 +101,9 @@ else exit $st fi -perl_URL=http://www.perl.org/ -flex_URL=http://flex.sourceforge.net/ -gnu_software_URL=http://www.gnu.org/software +perl_URL=https://www.perl.org/ +flex_URL=https://github.com/westes/flex +gnu_software_URL=https://www.gnu.org/software program_details () { @@ -207,9 +207,9 @@ give_advice "$1" | sed -e '1s/^/WARNING: /' \ exit $st # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/mkinstalldirs b/mkinstalldirs index 55d537f872c..c364f3d5e12 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -1,7 +1,7 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -scriptversion=2009-04-28.21; # UTC +scriptversion=2020-07-26.22; # UTC # Original author: Noah Friedman # Created: 1993-05-16 @@ -92,6 +92,8 @@ case $dirmode in *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + echo "umask 22" + umask 22 echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else @@ -104,6 +106,9 @@ case $dirmode in ;; esac +echo "umask 22" +umask 22 + for file do case $file in @@ -132,21 +137,16 @@ do if test ! -d "$pathcomp"; then errstatus=$lasterr - else - if test ! -z "$dirmode"; then - echo "chmod $dirmode $pathcomp" - lasterr= - chmod "$dirmode" "$pathcomp" || lasterr=$? - - if test ! -z "$lasterr"; then - errstatus=$lasterr - fi - fi fi fi pathcomp=$pathcomp/ done + + if test ! -z "$dirmode"; then + echo "chmod $dirmode $file" + chmod "$dirmode" "$file" || errstatus=$? + fi done exit $errstatus @@ -154,9 +154,9 @@ exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: