mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00

We now configure gcc to always use the -fno-exceptions flag. This does not affect our code since we do not use exceptions, and also fixes the gcc port.
7801 lines
213 KiB
Diff
7801 lines
213 KiB
Diff
diff -ruN a/config.sub b/config.sub
|
|
--- a/config.sub 2020-07-23 09:35:16.912379792 +0300
|
|
+++ b/config.sub 2020-12-12 10:43:35.280270540 +0200
|
|
@@ -2,7 +2,7 @@
|
|
# Configuration validation subroutine script.
|
|
# Copyright 1992-2019 Free Software Foundation, Inc.
|
|
|
|
-timestamp='2019-06-30'
|
|
+timestamp='2020-05-16'
|
|
|
|
# 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
|
|
@@ -1366,7 +1366,7 @@
|
|
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
|
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
|
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
|
- | nsk* | powerunix)
|
|
+ | nsk* | powerunix | serenity*)
|
|
# Remember, each alternative MUST END IN *, to match a version number.
|
|
;;
|
|
qnx*)
|
|
diff -ruN a/fixincludes/mkfixinc.sh b/fixincludes/mkfixinc.sh
|
|
--- a/fixincludes/mkfixinc.sh 2020-07-23 09:35:16.932380013 +0300
|
|
+++ b/fixincludes/mkfixinc.sh 2020-12-12 10:43:35.280270540 +0200
|
|
@@ -11,6 +11,7 @@
|
|
|
|
# Check for special fix rules for particular targets
|
|
case $machine in
|
|
+ *-serenity* | \
|
|
i?86-*-cygwin* | \
|
|
i?86-*-mingw32* | \
|
|
x86_64-*-mingw32* | \
|
|
diff -ruN a/gcc/config/arm/serenity-elf.h b/gcc/config/arm/serenity-elf.h
|
|
--- a/gcc/config/arm/serenity-elf.h 1970-01-01 02:00:00.000000000 +0200
|
|
+++ b/gcc/config/arm/serenity-elf.h 2020-12-12 10:43:35.280270540 +0200
|
|
@@ -0,0 +1,65 @@
|
|
+/* Definitions of target machine for GNU compiler, NetBSD/arm ELF version.
|
|
+ Copyright (C) 2002-2018 Free Software Foundation, Inc.
|
|
+ Contributed by Wasabi Systems, Inc.
|
|
+
|
|
+ This file is part of GCC.
|
|
+
|
|
+ GCC is free software; you can redistribute it and/or modify it
|
|
+ under the terms of the GNU General Public License as published
|
|
+ by the Free Software Foundation; either version 3, or (at your
|
|
+ option) any later version.
|
|
+
|
|
+ GCC is distributed in the hope that it will be useful, but WITHOUT
|
|
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
+ License for more details.
|
|
+
|
|
+ Under Section 7 of GPL version 3, you are granted additional
|
|
+ permissions described in the GCC Runtime Library Exception, version
|
|
+ 3.1, as published by the Free Software Foundation.
|
|
+
|
|
+ You should have received a copy of the GNU General Public License and
|
|
+ a copy of the GCC Runtime Library Exception along with this program;
|
|
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
+ <http://www.gnu.org/licenses/>. */
|
|
+
|
|
+/* Run-time Target Specification. */
|
|
+
|
|
+/* arm.h defaults to ARM6 CPU. */
|
|
+
|
|
+/* This defaults us to little-endian. */
|
|
+#ifndef TARGET_ENDIAN_DEFAULT
|
|
+#define TARGET_ENDIAN_DEFAULT 0
|
|
+#endif
|
|
+
|
|
+#undef MULTILIB_DEFAULTS
|
|
+
|
|
+/* Default it to use ATPCS with soft-VFP. */
|
|
+#undef TARGET_DEFAULT
|
|
+#define TARGET_DEFAULT \
|
|
+ (MASK_APCS_FRAME \
|
|
+ | TARGET_ENDIAN_DEFAULT)
|
|
+
|
|
+#undef ARM_DEFAULT_ABI
|
|
+#define ARM_DEFAULT_ABI ARM_ABI_ATPCS
|
|
+
|
|
+#undef SUBTARGET_CPP_SPEC
|
|
+#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT -D_PTHREADS}"
|
|
+
|
|
+#undef SUBTARGET_EXTRA_ASM_SPEC
|
|
+#define SUBTARGET_EXTRA_ASM_SPEC \
|
|
+ "%{" FPIE_OR_FPIC_SPEC ":-k}"
|
|
+
|
|
+/* Default to full VFP if -mfloat-abi=hard is specified. */
|
|
+#undef SUBTARGET_ASM_FLOAT_SPEC
|
|
+#define SUBTARGET_ASM_FLOAT_SPEC \
|
|
+ "%{mfloat-abi=hard:{!mfpu=*:-mfpu=vfp}}"
|
|
+
|
|
+
|
|
+/* Make GCC agree with <machine/ansi.h>. */
|
|
+
|
|
+#undef SIZE_TYPE
|
|
+#define SIZE_TYPE "long unsigned int"
|
|
+
|
|
+#undef PTRDIFF_TYPE
|
|
+#define PTRDIFF_TYPE "long int"
|
|
diff -ruN a/gcc/config/serenity.h b/gcc/config/serenity.h
|
|
--- a/gcc/config/serenity.h 1970-01-01 02:00:00.000000000 +0200
|
|
+++ b/gcc/config/serenity.h 2020-12-12 10:43:35.280270540 +0200
|
|
@@ -0,0 +1,37 @@
|
|
+/* Useful if you wish to make target-specific GCC changes. */
|
|
+#undef TARGET_SERENITY
|
|
+#define TARGET_SERENITY 1
|
|
+
|
|
+/* Default arguments you want when running your
|
|
+ i686-serenity-gcc/x86_64-serenity-gcc toolchain */
|
|
+#undef LIB_SPEC
|
|
+#define LIB_SPEC "-lc" /* link against C standard library */
|
|
+
|
|
+/* Files that are linked before user code.
|
|
+ The %s tells GCC to look for these files in the library directory. */
|
|
+#undef STARTFILE_SPEC
|
|
+#define STARTFILE_SPEC "%{static:crt0.o%s} crti.o%s %{!static: %{!fbuilding-libgcc:crt0_shared.o%s}} %{shared|pie:crtbeginS.o%s; :crtbegin.o%s}"
|
|
+
|
|
+/* Files that are linked after user code. */
|
|
+#undef ENDFILE_SPEC
|
|
+#define ENDFILE_SPEC "%{shared|pie:crtendS.o%s; :crtend.o%s} crtn.o%s"
|
|
+
|
|
+#undef LINK_SPEC
|
|
+#define LINK_SPEC "%{shared:-shared} %{static:-static} %{!static: %{rdynamic:-export-dynamic} %{!fbuilding-libgcc:-lgcc_s -dynamic-linker /usr/lib/Loader.so}}"
|
|
+
|
|
+#undef CC1_SPEC
|
|
+#define CC1_SPEC "-fno-exceptions"
|
|
+
|
|
+#undef CC1PLUS_SPEC
|
|
+#define CC1PLUS_SPEC "-fno-exceptions"
|
|
+
|
|
+/* Additional predefined macros. */
|
|
+#undef TARGET_OS_CPP_BUILTINS
|
|
+#define TARGET_OS_CPP_BUILTINS() \
|
|
+ do { \
|
|
+ builtin_define ("__serenity__"); \
|
|
+ builtin_define ("__unix__"); \
|
|
+ builtin_assert ("system=serenity"); \
|
|
+ builtin_assert ("system=unix"); \
|
|
+ builtin_assert ("system=posix"); \
|
|
+ } while(0);
|
|
diff -ruN a/gcc/config.gcc b/gcc/config.gcc
|
|
--- a/gcc/config.gcc 2020-07-23 09:35:17.316384243 +0300
|
|
+++ b/gcc/config.gcc 2020-12-12 10:43:35.280270540 +0200
|
|
@@ -675,6 +675,11 @@
|
|
|
|
# Common parts for widely ported systems.
|
|
case ${target} in
|
|
+*-*-serenity*)
|
|
+ gas=yes
|
|
+ gnu_ld=yes
|
|
+ default_use_cxa_atexit=yes
|
|
+ ;;
|
|
*-*-darwin*)
|
|
tmake_file="t-darwin "
|
|
tm_file="${tm_file} darwin.h"
|
|
@@ -1033,6 +1038,15 @@
|
|
esac
|
|
|
|
case ${target} in
|
|
+i[34567]86-*-serenity*)
|
|
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h glibc-stdint.h i386/i386elf.h serenity.h"
|
|
+ ;;
|
|
+x86_64-*-serenity*)
|
|
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h glibc-stdint.h i386/i386elf.h i386/x86-64.h serenity.h"
|
|
+ ;;
|
|
+arm-*-serenity*)
|
|
+ tm_file="dbxelf.h elfos.h arm/elf.h arm/aout.h glibc-stdint.h arm/serenity-elf.h ${tm_file} serenity.h"
|
|
+ ;;
|
|
aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
|
|
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h"
|
|
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-errata.h aarch64/aarch64-elf-raw.h"
|
|
diff -ruN a/libgcc/config/t-slibgcc b/libgcc/config/t-slibgcc
|
|
--- a/libgcc/config/t-slibgcc 2020-07-23 09:35:18.796400548 +0300
|
|
+++ b/libgcc/config/t-slibgcc 2020-12-12 10:56:01.439116155 +0200
|
|
@@ -26,7 +26,6 @@
|
|
SHLIB_OBJS = @shlib_objs@
|
|
SHLIB_DIR = @multilib_dir@
|
|
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
|
|
-SHLIB_LC = -lc
|
|
SHLIB_MAKE_SOLINK = $(LN_S) $(SHLIB_SONAME) $(SHLIB_DIR)/$(SHLIB_SOLINK)
|
|
SHLIB_INSTALL_SOLINK = $(LN_S) $(SHLIB_SONAME) \
|
|
$(DESTDIR)$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
|
|
@@ -34,7 +33,7 @@
|
|
SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
|
|
$(SHLIB_LDFLAGS) \
|
|
-o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp @multilib_flags@ \
|
|
- $(SHLIB_OBJS) $(SHLIB_LC) && \
|
|
+ $(SHLIB_OBJS) && \
|
|
rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \
|
|
if [ -f $(SHLIB_DIR)/$(SHLIB_SONAME) ]; then \
|
|
mv -f $(SHLIB_DIR)/$(SHLIB_SONAME) \
|
|
diff -ruN a/libgcc/config.host b/libgcc/config.host
|
|
--- a/libgcc/config.host 2020-07-23 09:35:18.752400064 +0300
|
|
+++ b/libgcc/config.host 2020-12-12 10:43:35.280270540 +0200
|
|
@@ -1491,6 +1491,22 @@
|
|
tmake_file="$tmake_file nvptx/t-nvptx"
|
|
extra_parts="crt0.o"
|
|
;;
|
|
+i[34567]86-*-serenity*)
|
|
+ extra_parts="$extra_parts crti.o crtbegin.o crtbeginS.o crtend.o crtendS.o crtn.o"
|
|
+ tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic t-slibgcc"
|
|
+ ;;
|
|
+x86_64-*-serenity*)
|
|
+ extra_parts="$extra_parts crti.o crtbegin.o crtbeginS.o crtend.o crtendS.o crtn.o"
|
|
+ tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic t-slibgcc"
|
|
+ ;;
|
|
+arm-*-serenity*)
|
|
+ tmake_file="${tmake_file} t-fixedpoint-gnu-prefix t-crtfm"
|
|
+ tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
|
|
+ tmake_file="${tmake_file} arm/t-bpabi"
|
|
+ tm_file="$tm_file arm/bpabi-lib.h"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
*)
|
|
echo "*** Configuration ${host} not supported" 1>&2
|
|
exit 1
|
|
diff -ruN a/libgcc/config.host.orig b/libgcc/config.host.orig
|
|
--- a/libgcc/config.host.orig 1970-01-01 02:00:00.000000000 +0200
|
|
+++ b/libgcc/config.host.orig 2020-07-23 09:35:18.752400064 +0300
|
|
@@ -0,0 +1,1571 @@
|
|
+# libgcc host-specific configuration file.
|
|
+# Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
|
+
|
|
+#This file is part of GCC.
|
|
+
|
|
+#GCC is free software; you can redistribute it and/or modify it under
|
|
+#the terms of the GNU General Public License as published by the Free
|
|
+#Software Foundation; either version 3, or (at your option) any later
|
|
+#version.
|
|
+
|
|
+#GCC is distributed in the hope that it will be useful, but WITHOUT
|
|
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
+#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
+#for more details.
|
|
+
|
|
+#You should have received a copy of the GNU General Public License
|
|
+#along with GCC; see the file COPYING3. If not see
|
|
+#<http://www.gnu.org/licenses/>.
|
|
+
|
|
+# This is the libgcc host-specific configuration file
|
|
+# where a configuration type is mapped to different system-specific
|
|
+# definitions and files. This is invoked by the autoconf-generated
|
|
+# configure script. Putting it in a separate shell file lets us skip
|
|
+# running autoconf when modifying host-specific information.
|
|
+
|
|
+# This file bears an obvious resemblance to gcc/config.gcc. The cases
|
|
+# should be kept similar, to ease moving library-specific settings
|
|
+# from config.gcc to this file. That is also why tmake_file is
|
|
+# left as tmake_file, rather than hmake_file, even though this library
|
|
+# switches on ${host}.
|
|
+
|
|
+# This file switches on the shell variable ${host}, and also uses the
|
|
+# following shell variables:
|
|
+#
|
|
+# with_* Various variables as set by configure.
|
|
+
|
|
+# This file sets the following shell variables for use by the
|
|
+# autoconf-generated configure script:
|
|
+#
|
|
+# asm_hidden_op The assembler pseudo-op to use for hide
|
|
+# lists for object files implemented in
|
|
+# assembly (with -fvisibility=hidden for C).
|
|
+# The default is ".hidden".
|
|
+# cpu_type The name of the cpu, if different from the first
|
|
+# chunk of the canonical host name.
|
|
+# enable_execute_stack The name of a source file implementing
|
|
+# __enable_execute_stack.
|
|
+# extra_parts List of extra object files that should be compiled
|
|
+# for this target machine. This may be overridden
|
|
+# by setting EXTRA_PARTS in a tmake_file fragment.
|
|
+# If either is set, EXTRA_PARTS and
|
|
+# EXTRA_MULTILIB_PARTS inherited from the GCC
|
|
+# subdirectory will be ignored.
|
|
+# md_unwind_header The name of a header file defining
|
|
+# MD_FALLBACK_FRAME_STATE_FOR.
|
|
+# sfp_machine_header The name of a sfp-machine.h header file for soft-fp.
|
|
+# Defaults to "$cpu_type/sfp-machine.h" if it exists,
|
|
+# no-sfp-machine.h otherwise.
|
|
+# tmake_file A list of machine-description-specific
|
|
+# makefile fragments.
|
|
+# tm_defines List of target macros to define for all compilations.
|
|
+# tm_file A list of target macro files used only for code
|
|
+# built for the target, not the host. These files
|
|
+# are relative to $srcdir/config and must not have
|
|
+# the same names as files in $srcdir/../gcc/config.
|
|
+# unwind_header The name of the header file declaring the unwind
|
|
+# runtime interface routines.
|
|
+
|
|
+asm_hidden_op=.hidden
|
|
+enable_execute_stack=
|
|
+extra_parts=
|
|
+tmake_file=
|
|
+tm_file=
|
|
+tm_define=
|
|
+md_unwind_header=no-unwind.h
|
|
+unwind_header=unwind-generic.h
|
|
+
|
|
+# Set default cpu_type so it can be updated in each machine entry.
|
|
+cpu_type=`echo ${host} | sed 's/-.*$//'`
|
|
+case ${host} in
|
|
+m32c*-*-*)
|
|
+ cpu_type=m32c
|
|
+ tmake_file=t-fdpbit
|
|
+ ;;
|
|
+aarch64*-*-*)
|
|
+ cpu_type=aarch64
|
|
+ ;;
|
|
+alpha*-*-*)
|
|
+ cpu_type=alpha
|
|
+ ;;
|
|
+am33_2.0-*-linux*)
|
|
+ cpu_type=mn10300
|
|
+ ;;
|
|
+amdgcn*-*-*)
|
|
+ cpu_type=gcn
|
|
+ tmake_file="${tmake_file} t-softfp-sfdf t-softfp"
|
|
+ ;;
|
|
+arc*-*-*)
|
|
+ cpu_type=arc
|
|
+ ;;
|
|
+arm*-*-*)
|
|
+ cpu_type=arm
|
|
+ ;;
|
|
+avr-*-*)
|
|
+ cpu_type=avr
|
|
+ ;;
|
|
+bfin*-*)
|
|
+ cpu_type=bfin
|
|
+ ;;
|
|
+bpf-*-*)
|
|
+ cpu_type=bpf
|
|
+ ;;
|
|
+cr16-*-*)
|
|
+ ;;
|
|
+crisv32-*-*)
|
|
+ cpu_type=cris
|
|
+ ;;
|
|
+csky*-*-*)
|
|
+ cpu_type=csky
|
|
+ ;;
|
|
+fido-*-*)
|
|
+ cpu_type=m68k
|
|
+ ;;
|
|
+frv*) cpu_type=frv
|
|
+ ;;
|
|
+ft32*) cpu_type=ft32
|
|
+ ;;
|
|
+moxie*) cpu_type=moxie
|
|
+ ;;
|
|
+i[34567]86-*-*)
|
|
+ cpu_type=i386
|
|
+ ;;
|
|
+x86_64-*-*)
|
|
+ cpu_type=i386
|
|
+ ;;
|
|
+ia64-*-*)
|
|
+ ;;
|
|
+hppa*-*-*)
|
|
+ cpu_type=pa
|
|
+ ;;
|
|
+lm32*-*-*)
|
|
+ cpu_type=lm32
|
|
+ ;;
|
|
+m32r*-*-*)
|
|
+ cpu_type=m32r
|
|
+ ;;
|
|
+m68k-*-*)
|
|
+ ;;
|
|
+microblaze*-*-*)
|
|
+ cpu_type=microblaze
|
|
+ ;;
|
|
+mips*-*-*)
|
|
+ # All MIPS targets provide a full set of FP routines.
|
|
+ cpu_type=mips
|
|
+ tmake_file="mips/t-mips"
|
|
+ if test "${libgcc_cv_mips_hard_float}" = yes; then
|
|
+ tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp"
|
|
+ else
|
|
+ tmake_file="${tmake_file} t-softfp-sfdf"
|
|
+ fi
|
|
+ if test "${ac_cv_sizeof_long_double}" = 16; then
|
|
+ tmake_file="${tmake_file} mips/t-softfp-tf"
|
|
+ fi
|
|
+ if test "${host_address}" = 64; then
|
|
+ tmake_file="${tmake_file} mips/t-mips64"
|
|
+ fi
|
|
+ tmake_file="${tmake_file} t-softfp"
|
|
+ ;;
|
|
+nds32*-*)
|
|
+ cpu_type=nds32
|
|
+ ;;
|
|
+nios2*-*-*)
|
|
+ cpu_type=nios2
|
|
+ ;;
|
|
+or1k*-*-*)
|
|
+ cpu_type=or1k
|
|
+ ;;
|
|
+powerpc*-*-*)
|
|
+ cpu_type=rs6000
|
|
+ ;;
|
|
+pru-*-*)
|
|
+ cpu_type=pru
|
|
+ ;;
|
|
+rs6000*-*-*)
|
|
+ ;;
|
|
+riscv*-*-*)
|
|
+ cpu_type=riscv
|
|
+ ;;
|
|
+sparc64*-*-*)
|
|
+ cpu_type=sparc
|
|
+ ;;
|
|
+sparc*-*-*)
|
|
+ cpu_type=sparc
|
|
+ ;;
|
|
+s390*-*-*)
|
|
+ cpu_type=s390
|
|
+ ;;
|
|
+# Note the 'l'; we need to be able to match e.g. "shle" or "shl".
|
|
+sh[123456789lbe]*-*-*)
|
|
+ cpu_type=sh
|
|
+ ;;
|
|
+tilegx*-*-*)
|
|
+ cpu_type=tilegx
|
|
+ ;;
|
|
+tilepro*-*-*)
|
|
+ cpu_type=tilepro
|
|
+ ;;
|
|
+v850*-*-*)
|
|
+ cpu_type=v850
|
|
+ ;;
|
|
+tic6x-*-*)
|
|
+ cpu_type=c6x
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+# Common parts for widely ported systems.
|
|
+case ${host} in
|
|
+*-*-darwin*)
|
|
+ asm_hidden_op=.private_extern
|
|
+ tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin"
|
|
+ extra_parts="crt3.o d10-uwfef.o crttms.o crttme.o"
|
|
+ ;;
|
|
+*-*-dragonfly*)
|
|
+ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
|
|
+ tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
|
|
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
|
|
+ ;;
|
|
+*-*-freebsd*)
|
|
+ # This is the generic ELF configuration of FreeBSD. Later
|
|
+ # machine-specific sections may refine and add to this
|
|
+ # configuration.
|
|
+ tmake_file="$tmake_file t-freebsd t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
|
|
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
|
|
+ case ${target_thread_file} in
|
|
+ posix)
|
|
+ tmake_file="${tmake_file} t-freebsd-thread"
|
|
+ # Before 5.0, FreeBSD can't bind shared libraries to -lc
|
|
+ # when "optionally" threaded via weak pthread_* checks.
|
|
+ case ${host} in
|
|
+ *-*-freebsd[34] | *-*-freebsd[34].*)
|
|
+ tmake_file="${tmake_file} t-slibgcc-nolc-override"
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+*-*-fuchsia*)
|
|
+ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-fuchsia"
|
|
+ extra_parts="crtbegin.o crtend.o"
|
|
+ ;;
|
|
+*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu | *-*-uclinuxfdpiceabi)
|
|
+ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
|
|
+ if test x$enable_vtable_verify = xyes; then
|
|
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
|
|
+ fi
|
|
+ ;;
|
|
+*-*-lynxos*)
|
|
+ tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic"
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
|
+ ;;
|
|
+*-*-netbsd*)
|
|
+ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
|
|
+ tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
|
|
+ tmake_file="$tmake_file t-slibgcc-libgcc"
|
|
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
|
|
+ ;;
|
|
+*-*-openbsd*)
|
|
+ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
|
|
+ case ${target_thread_file} in
|
|
+ posix)
|
|
+ tmake_file="$tmake_file t-openbsd-thread"
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+*-*-rtems*)
|
|
+ tmake_file="$tmake_file t-rtems"
|
|
+ extra_parts="crtbegin.o crtend.o"
|
|
+ ;;
|
|
+*-*-solaris2*)
|
|
+ # Unless linker support and dl_iterate_phdr are present,
|
|
+ # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c.
|
|
+ tmake_file="$tmake_file sol2/t-sol2 t-eh-dw2-dip t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-elf-ver"
|
|
+ if test $with_gnu_ld = yes; then
|
|
+ tmake_file="$tmake_file t-slibgcc-gld"
|
|
+ else
|
|
+ tmake_file="$tmake_file t-slibgcc-sld"
|
|
+ fi
|
|
+ # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES.
|
|
+ tmake_file="$tmake_file $cpu_type/t-sol2"
|
|
+ extra_parts="gmon.o crtbegin.o crtend.o"
|
|
+ if test "${libgcc_cv_solaris_crts}" = yes; then
|
|
+ # Solaris 11.4 provides crt1.o, crti.o, and crtn.o as part of the
|
|
+ # base system. crtp.o and crtpg.o implement the compiler-dependent parts.
|
|
+ extra_parts="$extra_parts crtp.o crtpg.o"
|
|
+ # If the Solaris CRTs are present, both ld and gld will have PIE support.
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o"
|
|
+ else
|
|
+ case ${host} in
|
|
+ i?86-*-solaris2* | x86_64-*-solaris2*)
|
|
+ # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
|
|
+ # part of the base system.
|
|
+ ;;
|
|
+ sparc*-*-solaris2*)
|
|
+ # Solaris 10+/SPARC lacks crt1.o and gcrt1.o.
|
|
+ extra_parts="$extra_parts crt1.o gcrt1.o"
|
|
+ ;;
|
|
+ esac
|
|
+ fi
|
|
+ if test x$enable_vtable_verify = xyes; then
|
|
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
|
|
+ fi
|
|
+ ;;
|
|
+*-*-uclinux*)
|
|
+ extra_parts="crtbegin.o crtend.o"
|
|
+ ;;
|
|
+*-*-*vms*)
|
|
+ tmake_file="vms/t-vms"
|
|
+ extra_parts="crt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
|
+ ;;
|
|
+*-*-vxworks7*)
|
|
+ tmake_file=t-vxworks7
|
|
+ ;;
|
|
+*-*-vxworksae*)
|
|
+ tmake_file=t-vxworksae
|
|
+ ;;
|
|
+*-*-vxworks*)
|
|
+ tmake_file=t-vxworks
|
|
+ ;;
|
|
+*-*-elf)
|
|
+ extra_parts="crtbegin.o crtend.o"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+# Except on ARM where we do not use DWARF, table based EH on VxWorks
|
|
+# relies on specially crafted crtstuff files
|
|
+case ${host} in
|
|
+arm-*-vxworks*)
|
|
+ ;;
|
|
+*-*-vxworks*)
|
|
+ tmake_file="${tmake_file} t-vxcrtstuff"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+case ${host} in
|
|
+*-*-darwin* | *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | \
|
|
+ *-*-solaris2*)
|
|
+ enable_execute_stack=enable-execute-stack-mprotect.c
|
|
+ ;;
|
|
+i[34567]86-*-mingw* | x86_64-*-mingw*)
|
|
+ enable_execute_stack=config/i386/enable-execute-stack-mingw32.c
|
|
+ ;;
|
|
+i[34567]86-*-cygwin* | x86_64-*-cygwin*)
|
|
+ enable_execute_stack=config/i386/enable-execute-stack-mingw32.c
|
|
+ ;;
|
|
+*)
|
|
+ enable_execute_stack=enable-execute-stack-empty.c;
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+case ${host} in
|
|
+aarch64*-*-elf | aarch64*-*-rtems*)
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
|
|
+ md_unwind_header=aarch64/aarch64-unwind.h
|
|
+ ;;
|
|
+aarch64*-*-freebsd*)
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
|
|
+ md_unwind_header=aarch64/freebsd-unwind.h
|
|
+ ;;
|
|
+aarch64*-*-netbsd*)
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
|
|
+ md_unwind_header=aarch64/aarch64-unwind.h
|
|
+ ;;
|
|
+aarch64*-*-fuchsia*)
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp"
|
|
+ ;;
|
|
+aarch64*-*-linux*)
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ md_unwind_header=aarch64/linux-unwind.h
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
|
|
+ ;;
|
|
+aarch64*-*-vxworks7*)
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ md_unwind_header=aarch64/aarch64-unwind.h
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
|
|
+ ;;
|
|
+alpha*-*-linux*)
|
|
+ tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux"
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ md_unwind_header=alpha/linux-unwind.h
|
|
+ ;;
|
|
+alpha*-*-freebsd*)
|
|
+ tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm"
|
|
+ extra_parts="$extra_parts crtbeginT.o crtfastmath.o"
|
|
+ ;;
|
|
+alpha*-*-netbsd*)
|
|
+ tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
|
|
+ ;;
|
|
+alpha*-*-openbsd*)
|
|
+ tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
|
|
+ ;;
|
|
+alpha64-dec-*vms*)
|
|
+ tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms"
|
|
+ extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
|
|
+ md_unwind_header=alpha/vms-unwind.h
|
|
+ ;;
|
|
+alpha*-dec-*vms*)
|
|
+ tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms"
|
|
+ extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
|
|
+ md_unwind_header=alpha/vms-unwind.h
|
|
+ ;;
|
|
+amdgcn*-*-amdhsa)
|
|
+ tmake_file="$tmake_file gcn/t-amdgcn"
|
|
+ extra_parts="crt0.o"
|
|
+ ;;
|
|
+arc*-*-elf*)
|
|
+ tmake_file="arc/t-arc"
|
|
+ extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o"
|
|
+ extra_parts="$extra_parts crttls.o"
|
|
+ ;;
|
|
+arc*-*-linux*)
|
|
+ tmake_file="${tmake_file} t-slibgcc-libgcc t-slibgcc-nolc-override arc/t-arc-uClibc arc/t-arc"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ extra_parts="$extra_parts crttls.o"
|
|
+ md_unwind_header=arc/linux-unwind.h
|
|
+ ;;
|
|
+arm-wrs-vxworks7*)
|
|
+ tmake_file="$tmake_file arm/t-arm arm/t-elf arm/t-bpabi arm/t-vxworks7"
|
|
+ tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
|
|
+ tm_file="$tm_file arm/bpabi-lib.h"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+arm*-*-freebsd*) # ARM FreeBSD EABI
|
|
+ tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix arm/t-elf"
|
|
+ tmake_file="${tmake_file} arm/t-bpabi arm/t-freebsd"
|
|
+ tm_file="${tm_file} arm/bpabi-lib.h"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
|
|
+ ;;
|
|
+arm*-*-fuchsia*)
|
|
+ tmake_file="${tmake_file} arm/t-arm arm/t-elf arm/t-bpabi"
|
|
+ tmake_file="${tmake_file} arm/tsoftfp t-softfp"
|
|
+ tm_file="${tm_file} arm/bpabi-lib.h"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ ;;
|
|
+arm*-*-netbsdelf*)
|
|
+ tmake_file="$tmake_file arm/t-arm"
|
|
+ case ${host} in
|
|
+ arm*-*-netbsdelf-*eabi*)
|
|
+ tmake_file="${tmake_file} arm/t-netbsd-eabi"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ ;;
|
|
+ *)
|
|
+ tmake_file="${tmake_file} arm/t-netbsd t-slibgcc-gld-nover"
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+arm*-*-linux* | arm*-*-uclinuxfdpiceabi)
|
|
+ tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix t-crtfm"
|
|
+ tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc"
|
|
+ tm_file="$tm_file arm/bpabi-lib.h"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ ;;
|
|
+arm*-*-uclinux*) # ARM ucLinux
|
|
+ tmake_file="${tmake_file} t-fixedpoint-gnu-prefix t-crtfm"
|
|
+ tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
|
|
+ tmake_file="${tmake_file} arm/t-bpabi"
|
|
+ tm_file="$tm_file arm/bpabi-lib.h"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+arm*-*-phoenix*)
|
|
+ tmake_file="t-hardfp t-softfp arm/t-arm arm/t-elf arm/t-softfp arm/t-phoenix"
|
|
+ tmake_file="${tmake_file} arm/t-bpabi"
|
|
+ tm_file="$tm_file arm/bpabi-lib.h"
|
|
+ extra_parts="crtbegin.o crtend.o crti.o crtn.o"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ ;;
|
|
+arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
|
|
+ tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix"
|
|
+ tm_file="$tm_file arm/bpabi-lib.h"
|
|
+ case ${host} in
|
|
+ arm*-*-eabi* | arm*-*-rtems*)
|
|
+ tmake_file="${tmake_file} arm/t-bpabi t-crtfm"
|
|
+ extra_parts="crtbegin.o crtend.o crti.o crtn.o"
|
|
+ ;;
|
|
+ arm*-*-symbianelf*)
|
|
+ tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override"
|
|
+ tm_file="$tm_file arm/symbian-lib.h"
|
|
+ # Symbian OS provides its own startup code.
|
|
+ ;;
|
|
+ esac
|
|
+ tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ unwind_header=config/arm/unwind-arm.h
|
|
+ ;;
|
|
+avr-*-*)
|
|
+ # Make HImode functions for AVR
|
|
+ tmake_file="${cpu_type}/t-avr t-fpbit"
|
|
+ # Make some DFmode functions from libf7, part of avr-libgcc.
|
|
+ # This must be prior to adding t-avrlibc.
|
|
+ case "y${with_libf7}" in
|
|
+ yno)
|
|
+ # No libf7 support.
|
|
+ ;;
|
|
+ ylibgcc)
|
|
+ tmake_file="$tmake_file ${cpu_type}/libf7/t-libf7"
|
|
+ ;;
|
|
+ ymath)
|
|
+ tmake_file="$tmake_file ${cpu_type}/libf7/t-libf7-math"
|
|
+ tmake_file="$tmake_file ${cpu_type}/libf7/t-libf7"
|
|
+ ;;
|
|
+ ymath-symbols | yyes | y)
|
|
+ tmake_file="$tmake_file ${cpu_type}/libf7/t-libf7-math-symbols"
|
|
+ tmake_file="$tmake_file ${cpu_type}/libf7/t-libf7-math"
|
|
+ tmake_file="$tmake_file ${cpu_type}/libf7/t-libf7"
|
|
+ ;;
|
|
+ *)
|
|
+ echo "Error: --with-libf7=${with_libf7} but can only be used with: 'libgcc', 'math', 'math-symbols', 'yes', 'no'" 1>&2
|
|
+ exit 1
|
|
+ ;;
|
|
+ esac
|
|
+ if test x${with_avrlibc} != xno; then
|
|
+ tmake_file="$tmake_file ${cpu_type}/t-avrlibc"
|
|
+ fi
|
|
+ tm_file="$tm_file avr/avr-lib.h"
|
|
+ if test x${with_fixed_point} = xno; then
|
|
+ fixed_point=no
|
|
+ fi
|
|
+ ;;
|
|
+bfin*-elf*)
|
|
+ tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o"
|
|
+ ;;
|
|
+bfin*-uclinux*)
|
|
+ tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o"
|
|
+ md_unwind_header=bfin/linux-unwind.h
|
|
+ ;;
|
|
+bfin*-linux-uclibc*)
|
|
+ tmake_file="$tmake_file bfin/t-bfin bfin/t-crtstuff t-libgcc-pic t-fdpbit bfin/t-linux"
|
|
+ # No need to build crtbeginT.o on uClibc systems. Should probably
|
|
+ # be moved to the OS specific section above.
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
|
+ md_unwind_header=bfin/linux-unwind.h
|
|
+ ;;
|
|
+bfin*-rtems*)
|
|
+ tmake_file="$tmake_file bfin/t-bfin t-fdpbit"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+bfin*-*)
|
|
+ tmake_file="$tmake_file bfin/t-bfin t-fdpbit"
|
|
+ extra_parts="crtbegin.o crtend.o crti.o crtn.o"
|
|
+ ;;
|
|
+bpf-*-*)
|
|
+ tmake_file="$tmake_file ${cpu_type}/t-${cpu_type}"
|
|
+ extra_parts="crti.o crtn.o"
|
|
+ ;;
|
|
+cr16-*-elf)
|
|
+ tmake_file="${tmake_file} cr16/t-cr16 cr16/t-crtlibid t-fdpbit"
|
|
+ extra_parts="$extra_parts crti.o crtn.o crtlibid.o"
|
|
+ ;;
|
|
+crisv32-*-elf)
|
|
+ tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp"
|
|
+ ;;
|
|
+cris-*-elf)
|
|
+ tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-elfmulti"
|
|
+ ;;
|
|
+cris-*-linux* | crisv32-*-linux*)
|
|
+ tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-linux"
|
|
+ ;;
|
|
+csky-*-elf*)
|
|
+ tmake_file="csky/t-csky t-fdpbit"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+csky-*-linux*)
|
|
+ tmake_file="$tmake_file csky/t-csky t-slibgcc-libgcc t-fdpbit csky/t-linux-csky"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ md_unwind_header=csky/linux-unwind.h
|
|
+ ;;
|
|
+epiphany-*-elf* | epiphany-*-rtems*)
|
|
+ tmake_file="$tmake_file epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf"
|
|
+ extra_parts="$extra_parts crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o crtn.o"
|
|
+ ;;
|
|
+fr30-*-elf)
|
|
+ tmake_file="$tmake_file fr30/t-fr30 t-fdpbit"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+frv-*-elf)
|
|
+ tmake_file="$tmake_file frv/t-frv t-fdpbit"
|
|
+ tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h"
|
|
+ # Don't use crtbegin.o, crtend.o.
|
|
+ extra_parts="frvbegin.o frvend.o"
|
|
+ ;;
|
|
+frv-*-*linux*)
|
|
+ tmake_file="$tmake_file frv/t-frv frv/t-linux t-fdpbit"
|
|
+ tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h"
|
|
+ ;;
|
|
+ft32-*-elf)
|
|
+ tmake_file="ft32/t-ft32 t-softfp-sfdf t-softfp-excl t-softfp"
|
|
+ extra_parts="$extra_parts crti.o crti-hw.o crtn.o"
|
|
+ ;;
|
|
+h8300-*-elf*)
|
|
+ tmake_file="$tmake_file h8300/t-h8300 t-fpbit"
|
|
+ tm_file="$tm_file h8300/h8300-lib.h"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+h8300-*-linux*)
|
|
+ tmake_file="t-linux h8300/t-linux t-softfp-sfdf t-softfp"
|
|
+ tm_file="$tm_file h8300/h8300-lib.h"
|
|
+ ;;
|
|
+hppa*64*-*-linux*)
|
|
+ tmake_file="$tmake_file pa/t-linux pa/t-linux64"
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
|
|
+ ;;
|
|
+hppa*-*-linux*)
|
|
+ tmake_file="$tmake_file pa/t-linux t-slibgcc-libgcc"
|
|
+ # Set the libgcc version number
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
|
|
+ else
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
|
|
+ fi
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
|
|
+ md_unwind_header=pa/linux-unwind.h
|
|
+ ;;
|
|
+hppa[12]*-*-hpux10*)
|
|
+ tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc"
|
|
+ # Set the libgcc version number
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
|
|
+ else
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
|
|
+ fi
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
|
|
+ md_unwind_header=pa/hpux-unwind.h
|
|
+ ;;
|
|
+hppa*64*-*-hpux11*)
|
|
+ tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-stublib t-libgcc-pic t-slibgcc"
|
|
+ # Set the libgcc version number
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
|
|
+ else
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
|
|
+ fi
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
|
|
+ tm_file="$tm_file pa/pa64-hpux-lib.h"
|
|
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \
|
|
+ libgcc_stub.a"
|
|
+ md_unwind_header=pa/hpux-unwind.h
|
|
+ ;;
|
|
+hppa[12]*-*-hpux11*)
|
|
+ tmake_file="$tmake_file pa/t-hpux pa/t-stublib t-libgcc-pic t-slibgcc"
|
|
+ # Set the libgcc version number
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
|
|
+ else
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
|
|
+ fi
|
|
+ tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
|
|
+ extra_parts="libgcc_stub.a"
|
|
+ md_unwind_header=pa/hpux-unwind.h
|
|
+ ;;
|
|
+hppa*-*-openbsd*)
|
|
+ tmake_file="$tmake_file pa/t-openbsd"
|
|
+ ;;
|
|
+hppa*-*-netbsd*)
|
|
+ tmake_file="$tmake_file pa/t-netbsd"
|
|
+ ;;
|
|
+i[34567]86-*-darwin*)
|
|
+ tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi"
|
|
+ tm_file="$tm_file i386/darwin-lib.h"
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ ;;
|
|
+x86_64-*-darwin*)
|
|
+ tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi"
|
|
+ tm_file="$tm_file i386/darwin-lib.h"
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ ;;
|
|
+i[34567]86-*-elfiamcu)
|
|
+ tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdftf i386/32/t-softfp i386/32/t-iamcu i386/t-softfp t-softfp t-dfprules"
|
|
+ ;;
|
|
+i[34567]86-*-elf*)
|
|
+ tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
|
|
+ ;;
|
|
+x86_64-*-elf* | x86_64-*-rtems*)
|
|
+ tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
|
|
+ case ${host} in
|
|
+ x86_64-*-rtems*)
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+x86_64-*-fuchsia*)
|
|
+ tmake_file="$tmake_file t-libgcc-pic"
|
|
+ ;;
|
|
+i[34567]86-*-dragonfly*)
|
|
+ tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff"
|
|
+ md_unwind_header=i386/dragonfly-unwind.h
|
|
+ ;;
|
|
+x86_64-*-dragonfly*)
|
|
+ tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff"
|
|
+ md_unwind_header=i386/dragonfly-unwind.h
|
|
+ ;;
|
|
+i[34567]86-*-freebsd*)
|
|
+ tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
|
|
+ md_unwind_header=i386/freebsd-unwind.h
|
|
+ ;;
|
|
+x86_64-*-freebsd*)
|
|
+ tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
|
|
+ md_unwind_header=i386/freebsd-unwind.h
|
|
+ ;;
|
|
+i[34567]86-*-netbsdelf*)
|
|
+ tmake_file="${tmake_file} i386/t-crtstuff"
|
|
+ ;;
|
|
+x86_64-*-netbsd*)
|
|
+ tmake_file="${tmake_file} i386/t-crtstuff"
|
|
+ ;;
|
|
+i[34567]86-*-openbsd*)
|
|
+ ;;
|
|
+x86_64-*-openbsd*)
|
|
+ ;;
|
|
+i[34567]86-*-linux*)
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
|
|
+ tm_file="${tm_file} i386/elf-lib.h"
|
|
+ md_unwind_header=i386/linux-unwind.h
|
|
+ ;;
|
|
+i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-kopensolaris*-gnu)
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
|
|
+ tm_file="${tm_file} i386/elf-lib.h"
|
|
+ ;;
|
|
+i[34567]86-*-gnu*)
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
|
|
+ tm_file="${tm_file} i386/elf-lib.h"
|
|
+ md_unwind_header=i386/gnu-unwind.h
|
|
+ ;;
|
|
+x86_64-*-linux*)
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
|
|
+ tm_file="${tm_file} i386/elf-lib.h"
|
|
+ md_unwind_header=i386/linux-unwind.h
|
|
+ ;;
|
|
+x86_64-*-kfreebsd*-gnu)
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
|
|
+ tm_file="${tm_file} i386/elf-lib.h"
|
|
+ ;;
|
|
+i[34567]86-pc-msdosdjgpp*)
|
|
+ ;;
|
|
+i[34567]86-*-lynxos*)
|
|
+ ;;
|
|
+i[34567]86-*-nto-qnx*)
|
|
+ tmake_file="$tmake_file i386/t-nto t-libgcc-pic"
|
|
+ extra_parts=crtbegin.o
|
|
+ ;;
|
|
+i[34567]86-*-rtems*)
|
|
+ tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdftf i386/32/t-softfp i386/t-softfp t-softfp"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+i[34567]86-*-solaris2* | x86_64-*-solaris2*)
|
|
+ tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi"
|
|
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
|
+ tm_file="${tm_file} i386/elf-lib.h"
|
|
+ md_unwind_header=i386/sol2-unwind.h
|
|
+ ;;
|
|
+i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae|i[4567]86-wrs-vxworks7|x86_64-wrs-vxworks7)
|
|
+ ;;
|
|
+i[34567]86-*-cygwin*)
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o"
|
|
+ if test x$enable_vtable_verify = xyes; then
|
|
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
|
|
+ fi
|
|
+ # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_eh_file="i386/t-sjlj-eh"
|
|
+ else
|
|
+ tmake_eh_file="i386/t-dw2-eh"
|
|
+ fi
|
|
+ # Shared libgcc DLL install dir depends on cross/native build.
|
|
+ if test x${build} = x${host} ; then
|
|
+ tmake_dlldir_file="i386/t-dlldir"
|
|
+ else
|
|
+ tmake_dlldir_file="i386/t-dlldir-x"
|
|
+ fi
|
|
+ tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin t-crtfm i386/t-chkstk t-dfprules"
|
|
+ ;;
|
|
+x86_64-*-cygwin*)
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o"
|
|
+ if test x$enable_vtable_verify = xyes; then
|
|
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
|
|
+ fi
|
|
+ # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_eh_file="i386/t-sjlj-eh"
|
|
+ elif test "${host_address}" = 32; then
|
|
+ # biarch -m32 with --disable-sjlj-exceptions
|
|
+ tmake_eh_file="i386/t-dw2-eh"
|
|
+ else
|
|
+ tmake_eh_file="i386/t-seh-eh"
|
|
+ fi
|
|
+ # Shared libgcc DLL install dir depends on cross/native build.
|
|
+ if test x${build} = x${host} ; then
|
|
+ tmake_dlldir_file="i386/t-dlldir"
|
|
+ else
|
|
+ tmake_dlldir_file="i386/t-dlldir-x"
|
|
+ fi
|
|
+ # FIXME - dj - t-chkstk used to be in here, need a 64-bit version of that
|
|
+ tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin t-crtfm t-dfprules i386/t-chkstk"
|
|
+ ;;
|
|
+i[34567]86-*-mingw*)
|
|
+ extra_parts="crtbegin.o crtend.o crtfastmath.o"
|
|
+ if test x$enable_vtable_verify = xyes; then
|
|
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
|
|
+ fi
|
|
+ case ${target_thread_file} in
|
|
+ win32)
|
|
+ tmake_file="$tmake_file i386/t-gthr-win32"
|
|
+ ;;
|
|
+ posix)
|
|
+ tmake_file="i386/t-mingw-pthread $tmake_file"
|
|
+ ;;
|
|
+ esac
|
|
+ # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_eh_file="i386/t-sjlj-eh"
|
|
+ else
|
|
+ tmake_eh_file="i386/t-dw2-eh"
|
|
+ md_unwind_header=i386/w32-unwind.h
|
|
+ fi
|
|
+ # Shared libgcc DLL install dir depends on cross/native build.
|
|
+ if test x${build} = x${host} ; then
|
|
+ tmake_dlldir_file="i386/t-dlldir"
|
|
+ else
|
|
+ tmake_dlldir_file="i386/t-dlldir-x"
|
|
+ fi
|
|
+ tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 t-crtfm i386/t-chkstk t-dfprules"
|
|
+ ;;
|
|
+x86_64-*-mingw*)
|
|
+ case ${target_thread_file} in
|
|
+ win32)
|
|
+ tmake_file="$tmake_file i386/t-gthr-win32"
|
|
+ ;;
|
|
+ posix)
|
|
+ tmake_file="i386/t-mingw-pthread $tmake_file"
|
|
+ ;;
|
|
+ esac
|
|
+ # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
|
|
+ if test x$ac_cv_sjlj_exceptions = xyes; then
|
|
+ tmake_eh_file="i386/t-sjlj-eh"
|
|
+ elif test "${host_address}" = 32; then
|
|
+ # biarch -m32 with --disable-sjlj-exceptions
|
|
+ tmake_eh_file="i386/t-dw2-eh"
|
|
+ md_unwind_header=i386/w32-unwind.h
|
|
+ else
|
|
+ tmake_eh_file="i386/t-seh-eh"
|
|
+ fi
|
|
+ # Shared libgcc DLL install dir depends on cross/native build.
|
|
+ if test x${build} = x${host} ; then
|
|
+ tmake_dlldir_file="i386/t-dlldir"
|
|
+ else
|
|
+ tmake_dlldir_file="i386/t-dlldir-x"
|
|
+ fi
|
|
+ tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 t-dfprules t-crtfm i386/t-chkstk"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o"
|
|
+ if test x$enable_vtable_verify = xyes; then
|
|
+ extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
|
|
+ fi
|
|
+ ;;
|
|
+ia64*-*-elf*)
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o"
|
|
+ tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat"
|
|
+ ;;
|
|
+ia64*-*-freebsd*)
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat"
|
|
+ ;;
|
|
+ia64*-*-linux*)
|
|
+ # Don't use crtbeginT.o from *-*-linux* default.
|
|
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
|
|
+ tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-eh-ia64 t-libunwind ia64/t-linux"
|
|
+ if test x$with_system_libunwind != xyes ; then
|
|
+ tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind"
|
|
+ fi
|
|
+ md_unwind_header=ia64/linux-unwind.h
|
|
+ ;;
|
|
+ia64*-*-hpux*)
|
|
+ tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux"
|
|
+ ;;
|
|
+ia64-hp-*vms*)
|
|
+ tmake_file="$tmake_file ia64/t-ia64 ia64/t-eh-ia64 ia64/t-vms t-slibgcc-vms t-softfp-tf ia64/t-softfp t-softfp"
|
|
+ extra_parts="$extra_parts crtinitS.o"
|
|
+ md_unwind_header=ia64/vms-unwind.h
|
|
+ ;;
|
|
+iq2000*-*-elf*)
|
|
+ tmake_file="iq2000/t-iq2000 t-fdpbit"
|
|
+ # Don't use default.
|
|
+ extra_parts=
|
|
+ ;;
|
|
+lm32-*-elf*)
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
|
|
+ ;;
|
|
+lm32-*-rtems*)
|
|
+ tmake_file="$tmake_file lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+lm32-*-uclinux*)
|
|
+ extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o"
|
|
+ tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp"
|
|
+ ;;
|
|
+m32r-*-elf*)
|
|
+ tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
|
|
+ extra_parts="$extra_parts crtinit.o crtfini.o"
|
|
+ ;;
|
|
+m32rle-*-elf*)
|
|
+ tmake_file=t-fdpbit
|
|
+ ;;
|
|
+m32r-*-linux*)
|
|
+ tmake_file="$tmake_file m32r/t-linux t-fdpbit"
|
|
+ ;;
|
|
+m32rle-*-linux*)
|
|
+ tmake_file="$tmake_file m32r/t-linux t-fdpbit"
|
|
+ ;;
|
|
+m68k-*-elf* | fido-*-elf)
|
|
+ tmake_file="$tmake_file m68k/t-floatlib"
|
|
+ ;;
|
|
+m68k*-*-netbsdelf*)
|
|
+ ;;
|
|
+m68k*-*-openbsd*)
|
|
+ ;;
|
|
+m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc
|
|
+ tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
|
|
+ md_unwind_header=m68k/linux-unwind.h
|
|
+ ;;
|
|
+m68k-*-linux*) # Motorola m68k's running GNU/Linux
|
|
+ # with ELF format using glibc 2
|
|
+ # aka the GNU/Linux C library 6.
|
|
+ tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
|
|
+ # If not configured with setjmp/longjmp exceptions, bump the
|
|
+ # libgcc version number.
|
|
+ if test x$ac_cv_sjlj_exceptions != xyes; then
|
|
+ tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
|
|
+ fi
|
|
+ md_unwind_header=m68k/linux-unwind.h
|
|
+ ;;
|
|
+m68k-*-rtems*)
|
|
+ tmake_file="$tmake_file m68k/t-floatlib"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mcore-*-elf)
|
|
+ tmake_file="mcore/t-mcore t-fdpbit"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+microblaze*-linux*)
|
|
+ tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc"
|
|
+ ;;
|
|
+microblaze*-*-elf)
|
|
+ tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
|
|
+ ;;
|
|
+microblaze*-*-rtems*)
|
|
+ tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
|
|
+ ;;
|
|
+mips*-*-netbsd*) # NetBSD/mips, either endian.
|
|
+ ;;
|
|
+mips*-*-linux*) # Linux MIPS, either endian.
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ tmake_file="${tmake_file} t-crtfm"
|
|
+ case ${host} in
|
|
+ mips64r5900* | mipsr5900*)
|
|
+ # The MIPS16 support code uses floating point
|
|
+ # instructions that are not supported on r5900.
|
|
+ ;;
|
|
+ *)
|
|
+ tmake_file="${tmake_file} mips/t-mips16 t-slibgcc-libgcc"
|
|
+ ;;
|
|
+ esac
|
|
+ md_unwind_header=mips/linux-unwind.h
|
|
+ ;;
|
|
+mips*-sde-elf*)
|
|
+ tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
|
|
+ case "${with_newlib}" in
|
|
+ yes)
|
|
+ # newlib / libgloss.
|
|
+ ;;
|
|
+ *)
|
|
+ # MIPS toolkit libraries.
|
|
+ tmake_file="$tmake_file mips/t-sdemtk"
|
|
+ ;;
|
|
+ esac
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mipsisa32-*-elf* | mipsisa32el-*-elf* | \
|
|
+mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \
|
|
+mipsisa32r6-*-elf* | mipsisa32r6el-*-elf* | \
|
|
+mipsisa64-*-elf* | mipsisa64el-*-elf* | \
|
|
+mipsisa64r2-*-elf* | mipsisa64r2el-*-elf* | \
|
|
+mipsisa64r6-*-elf* | mipsisa64r6el-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mipsisa64sr71k-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff t-fdpbit"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mips-*-elf* | mipsel-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mipsr5900-*-elf* | mipsr5900el-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mips64-*-elf* | mips64el-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mips64r5900-*-elf* | mips64r5900el-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mips64vr-*-elf* | mips64vrel-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-vr mips/t-crtstuff"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mips64orion-*-elf* | mips64orionel-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mips*-*-rtems*)
|
|
+ tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+mips-wrs-vxworks)
|
|
+ ;;
|
|
+mipstx39-*-elf* | mipstx39el-*-elf*)
|
|
+ tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
|
|
+ ;;
|
|
+mmix-knuth-mmixware)
|
|
+ extra_parts="crti.o crtn.o crtbegin.o crtend.o"
|
|
+ tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
|
|
+ ;;
|
|
+mn10300-*-*)
|
|
+ tmake_file=t-fdpbit
|
|
+ ;;
|
|
+moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux* | moxie-*-rtems*)
|
|
+ tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
|
|
+ extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o"
|
|
+ ;;
|
|
+msp430-*-elf*)
|
|
+ tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430"
|
|
+ extra_parts="crtbegin.o crtend.o crtbegin_no_eh.o crtend_no_eh.o"
|
|
+ extra_parts="$extra_parts libmul_none.a libmul_16.a libmul_32.a libmul_f5.a"
|
|
+ ;;
|
|
+nds32*-linux*)
|
|
+ # Basic makefile fragment and extra_parts for crt stuff.
|
|
+ # We also append c-isr library implementation.
|
|
+ tmake_file="${tmake_file} t-slibgcc-libgcc"
|
|
+ tmake_file="${tmake_file} nds32/t-nds32-glibc nds32/t-crtstuff t-softfp-sfdf t-softfp"
|
|
+ # The header file of defining MD_FALLBACK_FRAME_STATE_FOR.
|
|
+ md_unwind_header=nds32/linux-unwind.h
|
|
+ # Append library definition makefile fragment according to --with-nds32-lib=X setting.
|
|
+ case "${with_nds32_lib}" in
|
|
+ "" | glibc | uclibc )
|
|
+ ;;
|
|
+ *)
|
|
+ echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: glibc uclibc" 1>&2
|
|
+ exit 1
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+nds32*-elf*)
|
|
+ # Basic makefile fragment and extra_parts for crt stuff.
|
|
+ # We also append c-isr library implementation.
|
|
+ tmake_file="${tmake_file} nds32/t-nds32 nds32/t-nds32-isr"
|
|
+ extra_parts="crtbegin1.o crtend1.o libnds32_isr.a"
|
|
+ # Append library definition makefile fragment according to --with-nds32-lib=X setting.
|
|
+ case "${with_nds32_lib}" in
|
|
+ "" | newlib)
|
|
+ # Append library definition makefile fragment t-nds32-newlib.
|
|
+ # Append 'soft-fp' software floating point make rule fragment provided by gcc.
|
|
+ tmake_file="${tmake_file} nds32/t-nds32-newlib t-softfp-sfdf t-softfp"
|
|
+ ;;
|
|
+ mculib)
|
|
+ # Append library definition makefile fragment t-nds32-mculib.
|
|
+ # The software floating point library is included in mculib.
|
|
+ tmake_file="${tmake_file} nds32/t-nds32-mculib"
|
|
+ ;;
|
|
+ *)
|
|
+ echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: newlib mculib" 1>&2
|
|
+ exit 1
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+nios2-*-linux*)
|
|
+ tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-eh-dw2-dip t-slibgcc-libgcc"
|
|
+ tm_file="$tm_file nios2/elf-lib.h"
|
|
+ md_unwind_header=nios2/linux-unwind.h
|
|
+ ;;
|
|
+nios2-*-*)
|
|
+ tmake_file="$tmake_file nios2/t-nios2 t-softfp-sfdf t-softfp-excl t-softfp"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+or1k-*-linux*)
|
|
+ tmake_file="$tmake_file or1k/t-or1k"
|
|
+ tmake_file="$tmake_file t-softfp-sfdf t-softfp"
|
|
+ md_unwind_header=or1k/linux-unwind.h
|
|
+ ;;
|
|
+or1k-*-*)
|
|
+ tmake_file="$tmake_file or1k/t-or1k"
|
|
+ tmake_file="$tmake_file t-softfp-sfdf t-softfp"
|
|
+ ;;
|
|
+pdp11-*-*)
|
|
+ tmake_file="pdp11/t-pdp11 t-fdpbit"
|
|
+ ;;
|
|
+powerpc-*-darwin*)
|
|
+ case ${host} in
|
|
+ *-*-darwin9* | *-*-darwin[12][0-9]*)
|
|
+ # libSystem contains unwind information for signal frames since
|
|
+ # Darwin 9.
|
|
+ ;;
|
|
+ *)
|
|
+ md_unwind_header=rs6000/darwin-unwind.h
|
|
+ ;;
|
|
+ esac
|
|
+ tmake_file="$tmake_file rs6000/t-ppc64-fp rs6000/t-ibm-ldouble"
|
|
+ extra_parts="$extra_parts crt2.o crt3_2.o libef_ppc.a dw_ppc.o"
|
|
+ ;;
|
|
+powerpc64-*-darwin*)
|
|
+ tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble"
|
|
+ extra_parts="$extra_parts crt2.o crt3_2.o libef_ppc.a dw_ppc.o"
|
|
+ ;;
|
|
+powerpc*-*-freebsd*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp"
|
|
+ extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ case ${host} in
|
|
+ powerpc64*)
|
|
+ tmake_file="${tmake_file} rs6000/t-freebsd64"
|
|
+ md_unwind_header=rs6000/freebsd-unwind.h
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+powerpc-*-netbsd*)
|
|
+ tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
|
|
+ ;;
|
|
+powerpc-*-eabispe*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc-*-eabisimaltivec*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc-*-eabisim*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc-*-elf*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc-*-eabialtivec*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc-xilinx-eabi*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc-*-eabi*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc-*-rtems*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpc*-*-linux*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-dfprules rs6000/t-ppc64-fp t-slibgcc-libgcc"
|
|
+ tmake_file="${tmake_file} t-stack rs6000/t-stack-rs6000"
|
|
+ case $ppc_fp_type in
|
|
+ 64)
|
|
+ ;;
|
|
+ hard)
|
|
+ tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp"
|
|
+ ;;
|
|
+ soft)
|
|
+ tmake_file="${tmake_file} t-softfp-sfdf ${ppc_fp_compat} t-softfp"
|
|
+ ;;
|
|
+ e500v1)
|
|
+ tmake_file="${tmake_file} rs6000/t-e500v1-fp ${ppc_fp_compat} t-softfp t-hardfp"
|
|
+ ;;
|
|
+ e500v2)
|
|
+ tmake_file="${tmake_file} t-hardfp-sfdf rs6000/t-e500v2-fp ${ppc_fp_compat} t-softfp t-hardfp"
|
|
+ ;;
|
|
+ *)
|
|
+ echo "Unknown ppc_fp_type $ppc_fp_type" 1>&2
|
|
+ exit 1
|
|
+ ;;
|
|
+ esac
|
|
+
|
|
+ if test $libgcc_cv_powerpc_float128 = yes; then
|
|
+ tmake_file="${tmake_file} rs6000/t-float128"
|
|
+ fi
|
|
+
|
|
+ if test $libgcc_cv_powerpc_float128_hw = yes; then
|
|
+ tmake_file="${tmake_file} rs6000/t-float128-hw"
|
|
+ fi
|
|
+
|
|
+ extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ md_unwind_header=rs6000/linux-unwind.h
|
|
+ ;;
|
|
+powerpc-wrs-vxworks*)
|
|
+ tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o"
|
|
+ ;;
|
|
+powerpc-*-lynxos*)
|
|
+ tmake_file="$tmake_file rs6000/t-lynx t-fdpbit"
|
|
+ ;;
|
|
+powerpcle-*-elf*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpcle-*-eabisim*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+powerpcle-*-eabi*)
|
|
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
|
|
+ ;;
|
|
+pru-*-*)
|
|
+ tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix pru/t-pru"
|
|
+ tm_file="$tm_file pru/pru-abi.h"
|
|
+ ;;
|
|
+riscv*-*-linux*)
|
|
+ tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address} t-slibgcc-libgcc"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o"
|
|
+ md_unwind_header=riscv/linux-unwind.h
|
|
+ ;;
|
|
+riscv*-*-freebsd*)
|
|
+ tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address} t-slibgcc-libgcc"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o"
|
|
+ ;;
|
|
+riscv*-*-*)
|
|
+ tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address}"
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
|
|
+ ;;
|
|
+rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
|
|
+ md_unwind_header=rs6000/aix-unwind.h
|
|
+ tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble"
|
|
+ ;;
|
|
+rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
|
|
+ md_unwind_header=rs6000/aix-unwind.h
|
|
+ tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble"
|
|
+ ;;
|
|
+rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
|
|
+ md_unwind_header=rs6000/aix-unwind.h
|
|
+ tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble rs6000/t-aix-cxa"
|
|
+ extra_parts="crtcxa.o crtcxa_s.o crtdbase.o"
|
|
+ ;;
|
|
+rl78-*-elf)
|
|
+ tmake_file="$tm_file t-fdpbit rl78/t-rl78"
|
|
+ ;;
|
|
+rx-*-elf)
|
|
+ tmake_file="rx/t-rx t-fdpbit"
|
|
+ tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h"
|
|
+ ;;
|
|
+rx-*-linux*)
|
|
+ tmake_file="rx/t-rx t-fdpbit"
|
|
+ tm_file="$tm_file rx/rx-lib.h"
|
|
+ ;;
|
|
+s390-*-linux*)
|
|
+ tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi t-stack s390/t-stack-s390"
|
|
+ md_unwind_header=s390/linux-unwind.h
|
|
+ ;;
|
|
+s390x-*-linux*)
|
|
+ tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux t-stack s390/t-stack-s390"
|
|
+ if test "${host_address}" = 32; then
|
|
+ tmake_file="${tmake_file} s390/32/t-floattodi"
|
|
+ fi
|
|
+ md_unwind_header=s390/linux-unwind.h
|
|
+ ;;
|
|
+s390x-ibm-tpf*)
|
|
+ tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip s390/t-tpf"
|
|
+ extra_parts="crtbeginS.o crtendS.o"
|
|
+ md_unwind_header=s390/tpf-unwind.h
|
|
+ ;;
|
|
+sh-*-elf* | sh[12346l]*-*-elf*)
|
|
+ tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
|
|
+ libic_invalidate_array_4-100.a \
|
|
+ libic_invalidate_array_4-200.a \
|
|
+ libic_invalidate_array_4a.a \
|
|
+ libgcc-Os-4-200.a libgcc-4-300.a"
|
|
+ case ${host} in
|
|
+ sh*-superh-elf)
|
|
+ tmake_file="$tmake_file sh/t-superh"
|
|
+ extra_parts="$extra_parts crt1-mmu.o gcrt1-mmu.o gcrt1.o"
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+sh-*-linux* | sh[2346lbe]*-*-linux*)
|
|
+ tmake_file="${tmake_file} sh/t-sh t-slibgcc-libgcc sh/t-linux t-fdpbit"
|
|
+ md_unwind_header=sh/linux-unwind.h
|
|
+ ;;
|
|
+sh-*-netbsdelf* | shl*-*-netbsdelf*)
|
|
+ tmake_file="$tmake_file sh/t-sh sh/t-netbsd"
|
|
+
|
|
+ # NetBSD's C library includes a fast software FP library that
|
|
+ # has support for setting/setting the rounding mode, exception
|
|
+ # mask, etc. Therefore, we don't want to include software FP
|
|
+ # in libgcc.
|
|
+ ;;
|
|
+sh-*-rtems*)
|
|
+ tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
|
|
+ extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
|
|
+ libic_invalidate_array_4-100.a \
|
|
+ libic_invalidate_array_4-200.a \
|
|
+ libic_invalidate_array_4a.a \
|
|
+ libgcc-Os-4-200.a libgcc-4-300.a"
|
|
+ ;;
|
|
+sh-wrs-vxworks)
|
|
+ tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
|
|
+ ;;
|
|
+sparc-*-netbsdelf*)
|
|
+ ;;
|
|
+sparc64-*-openbsd*)
|
|
+ ;;
|
|
+sparc-*-elf*)
|
|
+ case ${host} in
|
|
+ *-leon[3-9]*)
|
|
+ ;;
|
|
+ *)
|
|
+ tmake_file="sparc/t-softmul"
|
|
+ ;;
|
|
+ esac
|
|
+ tmake_file="${tmake_file} t-fdpbit t-crtfm"
|
|
+ extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
|
|
+ ;;
|
|
+sparc-*-linux*) # SPARC's running GNU/Linux, libc6
|
|
+ tmake_file="${tmake_file} t-crtfm"
|
|
+ if test "${host_address}" = 64; then
|
|
+ tmake_file="$tmake_file sparc/t-linux64"
|
|
+ fi
|
|
+ case ${host} in
|
|
+ *-leon*)
|
|
+ tmake_file="${tmake_file} t-fdpbit"
|
|
+ ;;
|
|
+ *)
|
|
+ tmake_file="${tmake_file} sparc/t-linux"
|
|
+ ;;
|
|
+ esac
|
|
+ case ${host} in
|
|
+ *-leon[3-9]*)
|
|
+ ;;
|
|
+ *)
|
|
+ if test "${host_address}" = 32; then
|
|
+ tmake_file="$tmake_file sparc/t-softmul"
|
|
+ fi
|
|
+ ;;
|
|
+ esac
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ md_unwind_header=sparc/linux-unwind.h
|
|
+ ;;
|
|
+sparc-*-rtems*)
|
|
+ tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit"
|
|
+ extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
|
|
+ ;;
|
|
+sparc*-*-solaris2*)
|
|
+ tmake_file="$tmake_file t-crtfm"
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ md_unwind_header=sparc/sol2-unwind.h
|
|
+ ;;
|
|
+sparc64-*-elf*)
|
|
+ tmake_file="${tmake_file} t-crtfm"
|
|
+ extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
|
|
+ ;;
|
|
+sparc64-*-rtems*)
|
|
+ tmake_file="$tmake_file t-crtfm"
|
|
+ extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
|
|
+ ;;
|
|
+sparc-wrs-vxworks)
|
|
+ ;;
|
|
+sparc64-*-freebsd*|ultrasparc-*-freebsd*)
|
|
+ tmake_file="$tmake_file t-crtfm"
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ ;;
|
|
+sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
|
|
+ extra_parts="$extra_parts crtfastmath.o"
|
|
+ tmake_file="${tmake_file} t-crtfm sparc/t-linux"
|
|
+ if test "${host_address}" = 64; then
|
|
+ tmake_file="${tmake_file} sparc/t-linux64"
|
|
+ fi
|
|
+ if test "${host_address}" = 32; then
|
|
+ tmake_file="${tmake_file} sparc/t-softmul"
|
|
+ fi
|
|
+ md_unwind_header=sparc/linux-unwind.h
|
|
+ ;;
|
|
+sparc64-*-netbsd*)
|
|
+ ;;
|
|
+tic6x-*-uclinux)
|
|
+ tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp \
|
|
+ c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic \
|
|
+ t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix"
|
|
+ tm_file="$tm_file c6x/c6x-abi.h"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
|
|
+ unwind_header=config/c6x/unwind-c6x.h
|
|
+ ;;
|
|
+tic6x-*-elf)
|
|
+ tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf"
|
|
+ tm_file="$tm_file c6x/c6x-abi.h"
|
|
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
|
|
+ unwind_header=config/c6x/unwind-c6x.h
|
|
+ ;;
|
|
+tilegx*-*-linux*)
|
|
+ if test "${host_address}" = 64; then
|
|
+ tmake_file="${tmake_file} tilegx/t-softfp"
|
|
+ fi
|
|
+ tmake_file="${tmake_file} tilegx/t-crtstuff t-softfp-sfdf t-softfp tilegx/t-tilegx"
|
|
+ md_unwind_header=tilepro/linux-unwind.h
|
|
+ ;;
|
|
+tilepro*-*-linux*)
|
|
+ tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro t-slibgcc-libgcc"
|
|
+ md_unwind_header=tilepro/linux-unwind.h
|
|
+ ;;
|
|
+v850*-*-*)
|
|
+ tmake_file="${tmake_file} v850/t-v850 t-fdpbit"
|
|
+ ;;
|
|
+vax-*-linux*)
|
|
+ tmake_file="$tmake_file vax/t-linux"
|
|
+ ;;
|
|
+vax-*-netbsdelf*)
|
|
+ ;;
|
|
+vax-*-openbsd*)
|
|
+ ;;
|
|
+visium-*-elf*)
|
|
+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
|
|
+ tmake_file="visium/t-visium t-fdpbit"
|
|
+ ;;
|
|
+xstormy16-*-elf)
|
|
+ tmake_file="stormy16/t-stormy16 t-fdpbit"
|
|
+ ;;
|
|
+xtensa*-*-elf*)
|
|
+ tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf"
|
|
+ extra_parts="$extra_parts crti.o crtn.o"
|
|
+ ;;
|
|
+xtensa*-*-linux*)
|
|
+ tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
|
|
+ md_unwind_header=xtensa/linux-unwind.h
|
|
+ ;;
|
|
+xtensa*-*-uclinux*)
|
|
+ tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
|
|
+ md_unwind_header=xtensa/linux-unwind.h
|
|
+ extra_parts="$extra_parts crtbeginS.o crtbeginT.o crtendS.o"
|
|
+ ;;
|
|
+am33_2.0-*-linux*)
|
|
+ # Don't need crtbeginT.o from *-*-linux* default.
|
|
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
|
|
+ tmake_file="$tmake_file t-fdpbit"
|
|
+ ;;
|
|
+m32c-*-elf*|m32c-*-rtems*)
|
|
+ tmake_file="$tmake_file m32c/t-m32c"
|
|
+ ;;
|
|
+nvptx-*)
|
|
+ tmake_file="$tmake_file nvptx/t-nvptx"
|
|
+ extra_parts="crt0.o"
|
|
+ ;;
|
|
+*)
|
|
+ echo "*** Configuration ${host} not supported" 1>&2
|
|
+ exit 1
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+case ${host} in
|
|
+i[34567]86-*-* | x86_64-*-*)
|
|
+ case ${host} in
|
|
+ *-musl*)
|
|
+ tmake_file="${tmake_file} i386/t-cpuinfo-static"
|
|
+ ;;
|
|
+ *)
|
|
+ tmake_file="${tmake_file} i386/t-cpuinfo"
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+case ${host} in
|
|
+i[34567]86-*-linux* | x86_64-*-linux* | \
|
|
+ i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
|
|
+ i[34567]86-*-gnu*)
|
|
+ tmake_file="${tmake_file} t-tls i386/t-linux i386/t-msabi t-slibgcc-libgcc"
|
|
+ if test "$libgcc_cv_cfi" = "yes"; then
|
|
+ tmake_file="${tmake_file} t-stack i386/t-stack-i386"
|
|
+ fi
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+case ${host} in
|
|
+i[34567]86-*-elfiamcu | i[34567]86-*-rtems*)
|
|
+ # These use soft-fp for SFmode and DFmode, not just TFmode.
|
|
+ ;;
|
|
+i[34567]86-*-* | x86_64-*-*)
|
|
+ tmake_file="${tmake_file} t-softfp-tf"
|
|
+ if test "${host_address}" = 32; then
|
|
+ tmake_file="${tmake_file} i386/${host_address}/t-softfp"
|
|
+ fi
|
|
+ tmake_file="${tmake_file} i386/t-softfp t-softfp"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+case ${host} in
|
|
+i[34567]86-*-linux* | x86_64-*-linux*)
|
|
+ # Provide backward binary compatibility for 64bit Linux/x86.
|
|
+ if test "${host_address}" = 64; then
|
|
+ tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
|
|
+ fi
|
|
+ tm_file="${tm_file} i386/value-unwind.h"
|
|
+ ;;
|
|
+aarch64*-*-*)
|
|
+ # ILP32 needs an extra header for unwinding
|
|
+ tm_file="${tm_file} aarch64/value-unwind.h"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+# The vxworks threads implementation relies on a few extra sources,
|
|
+# which we arrange to add after everything else:
|
|
+
|
|
+case ${target_thread_file} in
|
|
+vxworks)
|
|
+ case ${host} in
|
|
+ *-*-vxworksae)
|
|
+ tmake_file="${tmake_file} t-gthr-vxworksae"
|
|
+ ;;
|
|
+ *-*-vxworks*)
|
|
+ tmake_file="${tmake_file} t-gthr-vxworks"
|
|
+ ;;
|
|
+ esac
|
|
+esac
|
|
+
|
|
+case ${host} in
|
|
+*-*-musl*)
|
|
+ # The gthr weak references are unsafe with static linking
|
|
+ tmake_file="$tmake_file t-gthr-noweak"
|
|
+ ;;
|
|
+esac
|
|
diff -ruN a/libstdc++-v3/configure b/libstdc++-v3/configure
|
|
--- a/libstdc++-v3/configure 2020-07-23 09:35:19.188404867 +0300
|
|
+++ b/libstdc++-v3/configure 2020-12-12 10:43:35.288270409 +0200
|
|
@@ -29846,6 +29846,5986 @@
|
|
|
|
# Base decisions on target environment.
|
|
case "${host}" in
|
|
+
|
|
+ *-serenity*)
|
|
+
|
|
+ # 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'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
|
+ ac_save_CXXFLAGS="$CXXFLAGS"
|
|
+
|
|
+ # Check for maintainer-mode bits.
|
|
+ if test x"$USE_MAINTAINER_MODE" = xno; then
|
|
+ WERROR=''
|
|
+ else
|
|
+ WERROR='-Werror'
|
|
+ fi
|
|
+
|
|
+ # Check for -ffunction-sections -fdata-sections
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
|
|
+$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
|
|
+ CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+int foo; void bar() { };
|
|
+int
|
|
+main ()
|
|
+{
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ ac_fdsections=yes
|
|
+else
|
|
+ ac_fdsections=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ if test "$ac_test_CXXFLAGS" = set; then
|
|
+ CXXFLAGS="$ac_save_CXXFLAGS"
|
|
+ else
|
|
+ # this is the suspicious part
|
|
+ CXXFLAGS=''
|
|
+ fi
|
|
+ if test x"$ac_fdsections" = x"yes"; then
|
|
+ SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
|
|
+$as_echo "$ac_fdsections" >&6; }
|
|
+
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ # 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...
|
|
+ test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
|
|
+ test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
|
|
+
|
|
+
|
|
+
|
|
+ # The name set by libtool depends on the version of libtool. Shame on us
|
|
+ # for depending on an impl detail, but c'est la vie. Older versions used
|
|
+ # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
|
|
+ # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
|
|
+ # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
|
|
+ # set (hence we're using an older libtool), then set it.
|
|
+ if test x${with_gnu_ld+set} != xset; then
|
|
+ if test x${ac_cv_prog_gnu_ld+set} != xset; then
|
|
+ # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
|
|
+ with_gnu_ld=no
|
|
+ else
|
|
+ with_gnu_ld=$ac_cv_prog_gnu_ld
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+ # Start by getting the version number. I think the libtool test already
|
|
+ # does some of this, but throws away the result.
|
|
+ glibcxx_ld_is_gold=no
|
|
+ if test x"$with_gnu_ld" = x"yes"; then
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
|
|
+$as_echo_n "checking for ld version... " >&6; }
|
|
+
|
|
+ if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
|
|
+ glibcxx_ld_is_gold=yes
|
|
+ fi
|
|
+ ldver=`$LD --version 2>/dev/null |
|
|
+ sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
|
|
+
|
|
+ glibcxx_gnu_ld_version=`echo $ldver | \
|
|
+ $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
|
|
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
|
|
+ fi
|
|
+
|
|
+ # Set --gc-sections.
|
|
+ glibcxx_have_gc_sections=no
|
|
+ if test "$glibcxx_ld_is_gold" = "yes"; then
|
|
+ if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
|
|
+ glibcxx_have_gc_sections=yes
|
|
+ fi
|
|
+ else
|
|
+ glibcxx_gcsections_min_ld=21602
|
|
+ if test x"$with_gnu_ld" = x"yes" &&
|
|
+ test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
|
|
+ glibcxx_have_gc_sections=yes
|
|
+ fi
|
|
+ fi
|
|
+ if test "$glibcxx_have_gc_sections" = "yes"; then
|
|
+ # Sufficiently young GNU ld it is! Joy and bunny rabbits!
|
|
+ # NB: This flag only works reliably after 2.16.1. Configure tests
|
|
+ # for this are difficult, so hard wire a value that should work.
|
|
+
|
|
+ ac_test_CFLAGS="${CFLAGS+set}"
|
|
+ ac_save_CFLAGS="$CFLAGS"
|
|
+ CFLAGS='-Wl,--gc-sections'
|
|
+
|
|
+ # Check for -Wl,--gc-sections
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
|
|
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
|
|
+ if test x$gcc_no_link = xyes; then
|
|
+ as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
|
|
+fi
|
|
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+ int one(void) { return 1; }
|
|
+ int two(void) { return 2; }
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ two();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_c_try_link "$LINENO"; then :
|
|
+ ac_gcsections=yes
|
|
+else
|
|
+ ac_gcsections=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+ if test "$ac_gcsections" = "yes"; then
|
|
+ rm -f conftest.c
|
|
+ touch conftest.c
|
|
+ if $CC -c conftest.c; then
|
|
+ if $LD --gc-sections -o conftest conftest.o 2>&1 | \
|
|
+ grep "Warning: gc-sections option ignored" > /dev/null; then
|
|
+ ac_gcsections=no
|
|
+ fi
|
|
+ fi
|
|
+ rm -f conftest.c conftest.o conftest
|
|
+ fi
|
|
+ if test "$ac_gcsections" = "yes"; then
|
|
+ SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
|
|
+$as_echo "$ac_gcsections" >&6; }
|
|
+
|
|
+ if test "$ac_test_CFLAGS" = set; then
|
|
+ CFLAGS="$ac_save_CFLAGS"
|
|
+ else
|
|
+ # this is the suspicious part
|
|
+ CFLAGS=''
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+ # Set -z,relro.
|
|
+ # Note this is only for shared objects.
|
|
+ ac_ld_relro=no
|
|
+ if test x"$with_gnu_ld" = x"yes"; then
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
|
|
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
|
|
+ cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
|
|
+ if test -n "$cxx_z_relo"; then
|
|
+ OPT_LDFLAGS="-Wl,-z,relro"
|
|
+ ac_ld_relro=yes
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
|
|
+$as_echo "$ac_ld_relro" >&6; }
|
|
+ fi
|
|
+
|
|
+ # Set linker optimization flags.
|
|
+ if test x"$with_gnu_ld" = x"yes"; then
|
|
+ OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
|
+ ac_save_CXXFLAGS="$CXXFLAGS"
|
|
+ CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
|
|
+$as_echo_n "checking for sin in -lm... " >&6; }
|
|
+if test "${ac_cv_lib_m_sin+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_check_lib_save_LIBS=$LIBS
|
|
+LIBS="-lm $LIBS"
|
|
+if test x$gcc_no_link = xyes; then
|
|
+ as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
|
|
+fi
|
|
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char sin ();
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return sin ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_c_try_link "$LINENO"; then :
|
|
+ ac_cv_lib_m_sin=yes
|
|
+else
|
|
+ ac_cv_lib_m_sin=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+LIBS=$ac_check_lib_save_LIBS
|
|
+fi
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
|
|
+$as_echo "$ac_cv_lib_m_sin" >&6; }
|
|
+if test "x$ac_cv_lib_m_sin" = x""yes; then :
|
|
+ libm="-lm"
|
|
+fi
|
|
+
|
|
+ ac_save_LIBS="$LIBS"
|
|
+ LIBS="$LIBS $libm"
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
|
|
+$as_echo_n "checking for isinf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_isinf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ isinf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_isinf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_isinf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_isinf_use = x"yes"; then
|
|
+ for ac_func in isinf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
|
|
+if test "x$ac_cv_func_isinf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ISINF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
|
|
+$as_echo_n "checking for _isinf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__isinf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _isinf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__isinf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__isinf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__isinf_use = x"yes"; then
|
|
+ for ac_func in _isinf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
|
|
+if test "x$ac_cv_func__isinf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ISINF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
|
|
+$as_echo_n "checking for isnan declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_isnan_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ isnan(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_isnan_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_isnan_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_isnan_use = x"yes"; then
|
|
+ for ac_func in isnan
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
|
|
+if test "x$ac_cv_func_isnan" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ISNAN 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
|
|
+$as_echo_n "checking for _isnan declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__isnan_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _isnan(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__isnan_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__isnan_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__isnan_use = x"yes"; then
|
|
+ for ac_func in _isnan
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
|
|
+if test "x$ac_cv_func__isnan" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ISNAN 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
|
|
+$as_echo_n "checking for finite declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_finite_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_finite_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ finite(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_finite_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_finite_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_finite_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_finite_use = x"yes"; then
|
|
+ for ac_func in finite
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
|
|
+if test "x$ac_cv_func_finite" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FINITE 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
|
|
+$as_echo_n "checking for _finite declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__finite_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__finite_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _finite(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__finite_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__finite_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__finite_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__finite_use = x"yes"; then
|
|
+ for ac_func in _finite
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
|
|
+if test "x$ac_cv_func__finite" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FINITE 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
|
|
+$as_echo_n "checking for sincos declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_sincos_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ sincos(0, 0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_sincos_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_sincos_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_sincos_use = x"yes"; then
|
|
+ for ac_func in sincos
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
|
|
+if test "x$ac_cv_func_sincos" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_SINCOS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
|
|
+$as_echo_n "checking for _sincos declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__sincos_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _sincos(0, 0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__sincos_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__sincos_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__sincos_use = x"yes"; then
|
|
+ for ac_func in _sincos
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
|
|
+if test "x$ac_cv_func__sincos" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__SINCOS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
|
|
+$as_echo_n "checking for fpclass declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ fpclass(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_fpclass_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_fpclass_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
|
|
+ for ac_func in fpclass
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
|
|
+if test "x$ac_cv_func_fpclass" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FPCLASS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
|
|
+$as_echo_n "checking for _fpclass declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _fpclass(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__fpclass_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__fpclass_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
|
|
+ for ac_func in _fpclass
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
|
|
+if test "x$ac_cv_func__fpclass" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FPCLASS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
|
|
+$as_echo_n "checking for qfpclass declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ qfpclass(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_qfpclass_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_qfpclass_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
|
|
+ for ac_func in qfpclass
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
|
|
+if test "x$ac_cv_func_qfpclass" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_QFPCLASS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
|
|
+$as_echo_n "checking for _qfpclass declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _qfpclass(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__qfpclass_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__qfpclass_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
|
|
+ for ac_func in _qfpclass
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
|
|
+if test "x$ac_cv_func__qfpclass" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__QFPCLASS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
|
|
+$as_echo_n "checking for hypot declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_hypot_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ hypot(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_hypot_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_hypot_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_hypot_use = x"yes"; then
|
|
+ for ac_func in hypot
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
|
|
+if test "x$ac_cv_func_hypot" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_HYPOT 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
|
|
+$as_echo_n "checking for _hypot declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__hypot_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _hypot(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__hypot_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__hypot_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__hypot_use = x"yes"; then
|
|
+ for ac_func in _hypot
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
|
|
+if test "x$ac_cv_func__hypot" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__HYPOT 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
|
|
+$as_echo_n "checking for float trig functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_float_trig_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_float_trig_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
|
|
+ for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
|
|
+$as_echo_n "checking for _float trig functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__float_trig_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__float_trig_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
|
|
+ if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
|
|
+ for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
|
|
+$as_echo_n "checking for float round functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ceilf (0); floorf (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_float_round_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_float_round_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_float_round_use = x"yes"; then
|
|
+ for ac_func in ceilf floorf
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
|
|
+$as_echo_n "checking for _float round functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+_ceilf (0); _floorf (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__float_round_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__float_round_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
|
|
+ if test x$glibcxx_cv_func__float_round_use = x"yes"; then
|
|
+ for ac_func in _ceilf _floorf
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
|
|
+$as_echo_n "checking for expf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_expf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_expf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ expf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_expf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_expf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_expf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_expf_use = x"yes"; then
|
|
+ for ac_func in expf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
|
|
+if test "x$ac_cv_func_expf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_EXPF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
|
|
+$as_echo_n "checking for _expf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__expf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__expf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _expf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__expf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__expf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__expf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__expf_use = x"yes"; then
|
|
+ for ac_func in _expf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
|
|
+if test "x$ac_cv_func__expf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__EXPF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
|
|
+$as_echo_n "checking for isnanf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ isnanf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_isnanf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_isnanf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
|
|
+ for ac_func in isnanf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
|
|
+if test "x$ac_cv_func_isnanf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ISNANF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
|
|
+$as_echo_n "checking for _isnanf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _isnanf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__isnanf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__isnanf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
|
|
+ for ac_func in _isnanf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
|
|
+if test "x$ac_cv_func__isnanf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ISNANF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
|
|
+$as_echo_n "checking for isinff declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_isinff_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ isinff(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_isinff_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_isinff_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_isinff_use = x"yes"; then
|
|
+ for ac_func in isinff
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
|
|
+if test "x$ac_cv_func_isinff" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ISINFF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
|
|
+$as_echo_n "checking for _isinff declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__isinff_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _isinff(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__isinff_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__isinff_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__isinff_use = x"yes"; then
|
|
+ for ac_func in _isinff
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
|
|
+if test "x$ac_cv_func__isinff" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ISINFF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
|
|
+$as_echo_n "checking for atan2f declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ atan2f(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_atan2f_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_atan2f_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
|
|
+ for ac_func in atan2f
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
|
|
+if test "x$ac_cv_func_atan2f" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ATAN2F 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
|
|
+$as_echo_n "checking for _atan2f declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _atan2f(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__atan2f_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__atan2f_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
|
|
+ for ac_func in _atan2f
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
|
|
+if test "x$ac_cv_func__atan2f" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ATAN2F 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
|
|
+$as_echo_n "checking for fabsf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ fabsf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_fabsf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_fabsf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
|
|
+ for ac_func in fabsf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
|
|
+if test "x$ac_cv_func_fabsf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FABSF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
|
|
+$as_echo_n "checking for _fabsf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _fabsf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__fabsf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__fabsf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
|
|
+ for ac_func in _fabsf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
|
|
+if test "x$ac_cv_func__fabsf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FABSF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
|
|
+$as_echo_n "checking for fmodf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ fmodf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_fmodf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_fmodf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
|
|
+ for ac_func in fmodf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
|
|
+if test "x$ac_cv_func_fmodf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FMODF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
|
|
+$as_echo_n "checking for _fmodf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _fmodf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__fmodf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__fmodf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
|
|
+ for ac_func in _fmodf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
|
|
+if test "x$ac_cv_func__fmodf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FMODF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
|
|
+$as_echo_n "checking for frexpf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ frexpf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_frexpf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_frexpf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
|
|
+ for ac_func in frexpf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
|
|
+if test "x$ac_cv_func_frexpf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FREXPF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
|
|
+$as_echo_n "checking for _frexpf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _frexpf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__frexpf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__frexpf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
|
|
+ for ac_func in _frexpf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
|
|
+if test "x$ac_cv_func__frexpf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FREXPF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
|
|
+$as_echo_n "checking for hypotf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ hypotf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_hypotf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_hypotf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
|
|
+ for ac_func in hypotf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
|
|
+if test "x$ac_cv_func_hypotf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_HYPOTF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
|
|
+$as_echo_n "checking for _hypotf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _hypotf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__hypotf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__hypotf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
|
|
+ for ac_func in _hypotf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
|
|
+if test "x$ac_cv_func__hypotf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__HYPOTF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
|
|
+$as_echo_n "checking for ldexpf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ ldexpf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_ldexpf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_ldexpf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
|
|
+ for ac_func in ldexpf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
|
|
+if test "x$ac_cv_func_ldexpf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_LDEXPF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
|
|
+$as_echo_n "checking for _ldexpf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _ldexpf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__ldexpf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__ldexpf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
|
|
+ for ac_func in _ldexpf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
|
|
+if test "x$ac_cv_func__ldexpf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__LDEXPF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
|
|
+$as_echo_n "checking for logf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_logf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_logf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ logf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_logf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_logf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_logf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_logf_use = x"yes"; then
|
|
+ for ac_func in logf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
|
|
+if test "x$ac_cv_func_logf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_LOGF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
|
|
+$as_echo_n "checking for _logf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__logf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__logf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _logf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__logf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__logf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__logf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__logf_use = x"yes"; then
|
|
+ for ac_func in _logf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
|
|
+if test "x$ac_cv_func__logf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__LOGF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
|
|
+$as_echo_n "checking for log10f declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_log10f_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ log10f(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_log10f_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_log10f_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_log10f_use = x"yes"; then
|
|
+ for ac_func in log10f
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
|
|
+if test "x$ac_cv_func_log10f" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_LOG10F 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
|
|
+$as_echo_n "checking for _log10f declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__log10f_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _log10f(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__log10f_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__log10f_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__log10f_use = x"yes"; then
|
|
+ for ac_func in _log10f
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
|
|
+if test "x$ac_cv_func__log10f" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__LOG10F 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
|
|
+$as_echo_n "checking for modff declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_modff_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_modff_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ modff(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_modff_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_modff_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_modff_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_modff_use = x"yes"; then
|
|
+ for ac_func in modff
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
|
|
+if test "x$ac_cv_func_modff" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_MODFF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
|
|
+$as_echo_n "checking for _modff declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__modff_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__modff_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _modff(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__modff_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__modff_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__modff_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__modff_use = x"yes"; then
|
|
+ for ac_func in _modff
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
|
|
+if test "x$ac_cv_func__modff" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__MODFF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
|
|
+$as_echo_n "checking for modf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_modf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_modf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ modf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_modf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_modf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_modf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_modf_use = x"yes"; then
|
|
+ for ac_func in modf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
|
|
+if test "x$ac_cv_func_modf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_MODF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
|
|
+$as_echo_n "checking for _modf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__modf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__modf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _modf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__modf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__modf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__modf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__modf_use = x"yes"; then
|
|
+ for ac_func in _modf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
|
|
+if test "x$ac_cv_func__modf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__MODF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
|
|
+$as_echo_n "checking for powf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_powf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_powf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ powf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_powf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_powf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_powf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_powf_use = x"yes"; then
|
|
+ for ac_func in powf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
|
|
+if test "x$ac_cv_func_powf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_POWF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
|
|
+$as_echo_n "checking for _powf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__powf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__powf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _powf(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__powf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__powf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__powf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__powf_use = x"yes"; then
|
|
+ for ac_func in _powf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
|
|
+if test "x$ac_cv_func__powf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__POWF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
|
|
+$as_echo_n "checking for sqrtf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ sqrtf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_sqrtf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_sqrtf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
|
|
+ for ac_func in sqrtf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
|
|
+if test "x$ac_cv_func_sqrtf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_SQRTF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
|
|
+$as_echo_n "checking for _sqrtf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _sqrtf(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__sqrtf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__sqrtf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
|
|
+ for ac_func in _sqrtf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
|
|
+if test "x$ac_cv_func__sqrtf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__SQRTF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
|
|
+$as_echo_n "checking for sincosf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ sincosf(0, 0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_sincosf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_sincosf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
|
|
+ for ac_func in sincosf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
|
|
+if test "x$ac_cv_func_sincosf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_SINCOSF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
|
|
+$as_echo_n "checking for _sincosf declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _sincosf(0, 0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__sincosf_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__sincosf_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
|
|
+ for ac_func in _sincosf
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
|
|
+if test "x$ac_cv_func__sincosf" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__SINCOSF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
|
|
+$as_echo_n "checking for finitef declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_finitef_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ finitef(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_finitef_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_finitef_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_finitef_use = x"yes"; then
|
|
+ for ac_func in finitef
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
|
|
+if test "x$ac_cv_func_finitef" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FINITEF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
|
|
+$as_echo_n "checking for _finitef declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__finitef_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _finitef(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__finitef_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__finitef_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__finitef_use = x"yes"; then
|
|
+ for ac_func in _finitef
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
|
|
+if test "x$ac_cv_func__finitef" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FINITEF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
|
|
+$as_echo_n "checking for long double trig functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_long_double_trig_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_long_double_trig_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
|
|
+ for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
|
|
+$as_echo_n "checking for _long double trig functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__long_double_trig_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__long_double_trig_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
|
|
+ if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
|
|
+ for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
|
|
+$as_echo_n "checking for long double round functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ceill (0); floorl (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_long_double_round_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_long_double_round_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
|
|
+ for ac_func in ceill floorl
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
|
|
+$as_echo_n "checking for _long double round functions... " >&6; }
|
|
+ if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+_ceill (0); _floorl (0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__long_double_round_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__long_double_round_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+fi
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
|
|
+ if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
|
|
+ for ac_func in _ceill _floorl
|
|
+do :
|
|
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
+eval as_val=\$$as_ac_var
|
|
+ if test "x$as_val" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
|
|
+$as_echo_n "checking for isnanl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ isnanl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_isnanl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_isnanl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
|
|
+ for ac_func in isnanl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
|
|
+if test "x$ac_cv_func_isnanl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ISNANL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
|
|
+$as_echo_n "checking for _isnanl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _isnanl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__isnanl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__isnanl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
|
|
+ for ac_func in _isnanl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
|
|
+if test "x$ac_cv_func__isnanl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ISNANL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
|
|
+$as_echo_n "checking for isinfl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ isinfl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_isinfl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_isinfl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
|
|
+ for ac_func in isinfl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
|
|
+if test "x$ac_cv_func_isinfl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ISINFL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
|
|
+$as_echo_n "checking for _isinfl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _isinfl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__isinfl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__isinfl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
|
|
+ for ac_func in _isinfl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
|
|
+if test "x$ac_cv_func__isinfl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ISINFL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
|
|
+$as_echo_n "checking for atan2l declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ atan2l(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_atan2l_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_atan2l_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
|
|
+ for ac_func in atan2l
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
|
|
+if test "x$ac_cv_func_atan2l" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ATAN2L 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
|
|
+$as_echo_n "checking for _atan2l declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _atan2l(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__atan2l_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__atan2l_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
|
|
+ for ac_func in _atan2l
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
|
|
+if test "x$ac_cv_func__atan2l" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__ATAN2L 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
|
|
+$as_echo_n "checking for expl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_expl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_expl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ expl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_expl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_expl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_expl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_expl_use = x"yes"; then
|
|
+ for ac_func in expl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
|
|
+if test "x$ac_cv_func_expl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_EXPL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
|
|
+$as_echo_n "checking for _expl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__expl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__expl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _expl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__expl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__expl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__expl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__expl_use = x"yes"; then
|
|
+ for ac_func in _expl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
|
|
+if test "x$ac_cv_func__expl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__EXPL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
|
|
+$as_echo_n "checking for fabsl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ fabsl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_fabsl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_fabsl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
|
|
+ for ac_func in fabsl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
|
|
+if test "x$ac_cv_func_fabsl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FABSL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
|
|
+$as_echo_n "checking for _fabsl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _fabsl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__fabsl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__fabsl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
|
|
+ for ac_func in _fabsl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
|
|
+if test "x$ac_cv_func__fabsl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FABSL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
|
|
+$as_echo_n "checking for fmodl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ fmodl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_fmodl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_fmodl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
|
|
+ for ac_func in fmodl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
|
|
+if test "x$ac_cv_func_fmodl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FMODL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
|
|
+$as_echo_n "checking for _fmodl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _fmodl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__fmodl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__fmodl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
|
|
+ for ac_func in _fmodl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
|
|
+if test "x$ac_cv_func__fmodl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FMODL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
|
|
+$as_echo_n "checking for frexpl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ frexpl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_frexpl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_frexpl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
|
|
+ for ac_func in frexpl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
|
|
+if test "x$ac_cv_func_frexpl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FREXPL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
|
|
+$as_echo_n "checking for _frexpl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _frexpl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__frexpl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__frexpl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
|
|
+ for ac_func in _frexpl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
|
|
+if test "x$ac_cv_func__frexpl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FREXPL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
|
|
+$as_echo_n "checking for hypotl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ hypotl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_hypotl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_hypotl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
|
|
+ for ac_func in hypotl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
|
|
+if test "x$ac_cv_func_hypotl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_HYPOTL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
|
|
+$as_echo_n "checking for _hypotl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _hypotl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__hypotl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__hypotl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
|
|
+ for ac_func in _hypotl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
|
|
+if test "x$ac_cv_func__hypotl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__HYPOTL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
|
|
+$as_echo_n "checking for ldexpl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ ldexpl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_ldexpl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_ldexpl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
|
|
+ for ac_func in ldexpl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
|
|
+if test "x$ac_cv_func_ldexpl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_LDEXPL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
|
|
+$as_echo_n "checking for _ldexpl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _ldexpl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__ldexpl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__ldexpl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
|
|
+ for ac_func in _ldexpl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
|
|
+if test "x$ac_cv_func__ldexpl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__LDEXPL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
|
|
+$as_echo_n "checking for logl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_logl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_logl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ logl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_logl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_logl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_logl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_logl_use = x"yes"; then
|
|
+ for ac_func in logl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
|
|
+if test "x$ac_cv_func_logl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_LOGL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
|
|
+$as_echo_n "checking for _logl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__logl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__logl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _logl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__logl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__logl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__logl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__logl_use = x"yes"; then
|
|
+ for ac_func in _logl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
|
|
+if test "x$ac_cv_func__logl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__LOGL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
|
|
+$as_echo_n "checking for log10l declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_log10l_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ log10l(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_log10l_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_log10l_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_log10l_use = x"yes"; then
|
|
+ for ac_func in log10l
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
|
|
+if test "x$ac_cv_func_log10l" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_LOG10L 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
|
|
+$as_echo_n "checking for _log10l declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__log10l_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _log10l(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__log10l_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__log10l_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__log10l_use = x"yes"; then
|
|
+ for ac_func in _log10l
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
|
|
+if test "x$ac_cv_func__log10l" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__LOG10L 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
|
|
+$as_echo_n "checking for modfl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_modfl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ modfl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_modfl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_modfl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_modfl_use = x"yes"; then
|
|
+ for ac_func in modfl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
|
|
+if test "x$ac_cv_func_modfl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_MODFL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
|
|
+$as_echo_n "checking for _modfl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__modfl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _modfl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__modfl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__modfl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__modfl_use = x"yes"; then
|
|
+ for ac_func in _modfl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
|
|
+if test "x$ac_cv_func__modfl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__MODFL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
|
|
+$as_echo_n "checking for powl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_powl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_powl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ powl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_powl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_powl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_powl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_powl_use = x"yes"; then
|
|
+ for ac_func in powl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
|
|
+if test "x$ac_cv_func_powl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_POWL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
|
|
+$as_echo_n "checking for _powl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__powl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__powl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _powl(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__powl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__powl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__powl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__powl_use = x"yes"; then
|
|
+ for ac_func in _powl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
|
|
+if test "x$ac_cv_func__powl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__POWL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
|
|
+$as_echo_n "checking for sqrtl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ sqrtl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_sqrtl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_sqrtl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
|
|
+ for ac_func in sqrtl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
|
|
+if test "x$ac_cv_func_sqrtl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_SQRTL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
|
|
+$as_echo_n "checking for _sqrtl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _sqrtl(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__sqrtl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__sqrtl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
|
|
+ for ac_func in _sqrtl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
|
|
+if test "x$ac_cv_func__sqrtl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__SQRTL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
|
|
+$as_echo_n "checking for sincosl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ sincosl(0, 0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_sincosl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_sincosl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
|
|
+ for ac_func in sincosl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
|
|
+if test "x$ac_cv_func_sincosl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_SINCOSL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
|
|
+$as_echo_n "checking for _sincosl declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _sincosl(0, 0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__sincosl_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__sincosl_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
|
|
+ for ac_func in _sincosl
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
|
|
+if test "x$ac_cv_func__sincosl" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__SINCOSL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
|
|
+$as_echo_n "checking for finitel declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_finitel_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ finitel(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_finitel_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_finitel_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func_finitel_use = x"yes"; then
|
|
+ for ac_func in finitel
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
|
|
+if test "x$ac_cv_func_finitel" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_FINITEL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ else
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
|
|
+$as_echo_n "checking for _finitel declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func__finitel_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <math.h>
|
|
+ #ifdef HAVE_IEEEFP_H
|
|
+ #include <ieeefp.h>
|
|
+ #endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ _finitel(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func__finitel_use=yes
|
|
+else
|
|
+ glibcxx_cv_func__finitel_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
|
|
+$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
|
|
+
|
|
+ if test x$glibcxx_cv_func__finitel_use = x"yes"; then
|
|
+ for ac_func in _finitel
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
|
|
+if test "x$ac_cv_func__finitel" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE__FINITEL 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ LIBS="$ac_save_LIBS"
|
|
+ CXXFLAGS="$ac_save_CXXFLAGS"
|
|
+
|
|
+
|
|
+ ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
|
+ ac_save_CXXFLAGS="$CXXFLAGS"
|
|
+ CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
|
|
+$as_echo_n "checking for at_quick_exit declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <stdlib.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ at_quick_exit(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_at_quick_exit_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_at_quick_exit_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
|
|
+ for ac_func in at_quick_exit
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
|
|
+if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_AT_QUICK_EXIT 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
|
|
+$as_echo_n "checking for quick_exit declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <stdlib.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ quick_exit(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_quick_exit_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_quick_exit_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
|
|
+ for ac_func in quick_exit
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
|
|
+if test "x$ac_cv_func_quick_exit" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_QUICK_EXIT 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
|
|
+$as_echo_n "checking for strtold declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_strtold_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <stdlib.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ strtold(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_strtold_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_strtold_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_strtold_use = x"yes"; then
|
|
+ for ac_func in strtold
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
|
|
+if test "x$ac_cv_func_strtold" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_STRTOLD 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
|
|
+$as_echo_n "checking for strtof declaration... " >&6; }
|
|
+ if test x${glibcxx_cv_func_strtof_use+set} != xset; then
|
|
+ if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+
|
|
+ ac_ext=cpp
|
|
+ac_cpp='$CXXCPP $CPPFLAGS'
|
|
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
+
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
+/* end confdefs.h. */
|
|
+#include <stdlib.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+ strtof(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
+ glibcxx_cv_func_strtof_use=yes
|
|
+else
|
|
+ glibcxx_cv_func_strtof_use=no
|
|
+fi
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
|
|
+$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
|
|
+ if test x$glibcxx_cv_func_strtof_use = x"yes"; then
|
|
+ for ac_func in strtof
|
|
+do :
|
|
+ ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
|
|
+if test "x$ac_cv_func_strtof" = x""yes; then :
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_STRTOF 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ CXXFLAGS="$ac_save_CXXFLAGS"
|
|
+
|
|
+ ;;
|
|
+
|
|
+
|
|
arm*-*-symbianelf*)
|
|
# This is a freestanding configuration; there is nothing to do here.
|
|
;;
|
|
diff -ruN a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
|
|
--- a/libstdc++-v3/crossconfig.m4 2020-07-23 09:35:19.188404867 +0300
|
|
+++ b/libstdc++-v3/crossconfig.m4 2020-12-12 10:43:35.288270409 +0200
|
|
@@ -5,6 +5,13 @@
|
|
AC_DEFUN([GLIBCXX_CROSSCONFIG],[
|
|
# Base decisions on target environment.
|
|
case "${host}" in
|
|
+ *-serenity*)
|
|
+ GLIBCXX_CHECK_COMPILER_FEATURES
|
|
+ GLIBCXX_CHECK_LINKER_FEATURES
|
|
+ GLIBCXX_CHECK_MATH_SUPPORT
|
|
+ GLIBCXX_CHECK_STDLIB_SUPPORT
|
|
+ ;;
|
|
+
|
|
arm*-*-symbianelf*)
|
|
# This is a freestanding configuration; there is nothing to do here.
|
|
;;
|