1 diff --git a/config.sub b/config.sub
2 index 707e9e2efe8d..59dd372ec16c 100755
5 @@ -1359,6 +1359,7 @@ case $os in
6 | -sym* | -kopensolaris* | -plan9* \
7 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
10 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
11 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
12 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
13 diff --git a/gcc/config.gcc b/gcc/config.gcc
14 index 92d57ddf4fb3..8e794e895be0 100644
17 @@ -683,6 +683,12 @@ case ${target} in
18 tmake_file="${tmake_file} t-glibc"
19 target_has_targetcm=yes
24 + default_use_cxa_atexit=yes
28 tmake_file="t-slibgcc"
30 @@ -1212,9 +1224,21 @@ x86_64-*-darwin*)
32 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
34 +i[34567]86-pc-barrelfish*)
35 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/barrelfish-x86_32.h"
37 +i[34567]86-scc-barrelfish*)
38 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/barrelfish-scc.h"
41 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
43 +x86_64-k1om-barrelfish*)
44 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h i386/barrelfish-k1om.h"
46 +x86_64-*-barrelfish*)
47 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h i386/barrelfish-x86_64.h"
50 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/rdos.h"
52 diff --git a/gcc/config/i386/barrelfish-scc.h b/gcc/config/i386/barrelfish-scc.h
54 index 000000000000..930451c4dcdb
56 +++ b/gcc/config/i386/barrelfish-scc.h
58 +#define BF_SRC "{{BF_SRC}}"
59 +#define BF_BUILD "{{BF_BUILD}}"
61 +#undef TARGET_OS_CPP_BUILTINS
62 +#define TARGET_OS_CPP_BUILTINS() \
64 + builtin_define ("BARRELFISH"); \
65 + builtin_define_std ("barrelfish"); \
66 + builtin_define_std ("unix"); \
67 + builtin_define_std ("scc"); \
68 + builtin_define ("CONFIG_LAZY_THC"); \
69 + builtin_define ("CONFIG_NEWLIB"); \
70 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
71 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
72 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
73 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP_IPI"); \
74 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
75 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
76 + builtin_assert ("system=barrelfish"); \
77 + builtin_assert ("system=unix"); \
81 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
83 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
86 + "-isystem" BF_SRC "/include " \
87 + "-isystem" BF_SRC "/include/arch/scc " \
88 + "-isystem" BF_SRC "/include/arch/x86_32 " \
89 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
90 + "-isystem" BF_SRC "/include/c " \
91 + "-isystem" BF_SRC "/include/target/x86_32 " \
92 + "-isystem" BF_SRC "/include/ipv4 " \
93 + "-isystem" BF_BUILD "/scc/include " \
94 + "-isystem" BF_BUILD "/scc/include/dev"
96 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
97 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
100 + "-L" BF_BUILD "/scc/lib " \
102 + "-loctopus_parser " \
103 + BF_BUILD "/scc/errors/errno.o " \
113 +#undef STARTFILE_SPEC
114 +#define STARTFILE_SPEC \
115 + BF_BUILD "/scc/lib/crt0.o%s " \
116 + BF_BUILD "/scc/lib/crtbegin.o%s"
119 +#define ENDFILE_SPEC \
120 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
121 + "%{mpc32:crtprec32.o%s} " \
122 + "%{mpc64:crtprec64.o%s} " \
123 + "%{mpc80:crtprec80.o%s} " \
124 + BF_BUILD "/scc/lib/crtend.o%s " \
127 +/* System header files are C++ ready so don't wrap in extern "C". */
128 +#undef NO_IMPLICIT_EXTERN_C
129 +#define NO_IMPLICIT_EXTERN_C 1
130 diff --git a/gcc/config/i386/barrelfish-x86_32.h b/gcc/config/i386/barrelfish-x86_32.h
132 index 000000000000..84d0bf56721c
134 +++ b/gcc/config/i386/barrelfish-x86_32.h
136 +#define BF_SRC "{{BF_SRC}}"
137 +#define BF_BUILD "{{BF_BUILD}}"
139 +#undef TARGET_OS_CPP_BUILTINS
140 +#define TARGET_OS_CPP_BUILTINS() \
142 + builtin_define ("BARRELFISH"); \
143 + builtin_define_std ("barrelfish"); \
144 + builtin_define_std ("unix"); \
145 + builtin_define ("CONFIG_LAZY_THC"); \
146 + builtin_define ("CONFIG_NEWLIB"); \
147 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
148 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
149 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
150 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
151 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
152 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
153 + builtin_assert ("system=barrelfish"); \
154 + builtin_assert ("system=unix"); \
158 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
160 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
163 + "-isystem" BF_SRC "/include " \
164 + "-isystem" BF_SRC "/include/arch/x86_32 " \
165 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
166 + "-isystem" BF_SRC "/include/c " \
167 + "-isystem" BF_SRC "/include/target/x86_32 " \
168 + "-isystem" BF_SRC "/include/ipv4 " \
169 + "-isystem" BF_BUILD "/x86_32/include " \
170 + "-isystem" BF_BUILD "/x86_32/include/dev"
172 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
173 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
176 + "-L" BF_BUILD "/x86_32/lib " \
178 + "-loctopus_parser " \
179 + BF_BUILD "/x86_32/errors/errno.o " \
189 +#undef STARTFILE_SPEC
190 +#define STARTFILE_SPEC \
191 + BF_BUILD "/x86_32/lib/crt0.o%s " \
192 + BF_BUILD "/x86_32/lib/crtbegin.o%s"
195 +#define ENDFILE_SPEC \
196 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
197 + "%{mpc32:crtprec32.o%s} " \
198 + "%{mpc64:crtprec64.o%s} " \
199 + "%{mpc80:crtprec80.o%s} " \
200 + BF_BUILD "/x86_32/lib/crtend.o%s " \
203 +/* System header files are C++ ready so don't wrap in extern "C". */
204 +#undef NO_IMPLICIT_EXTERN_C
205 +#define NO_IMPLICIT_EXTERN_C 1
206 diff --git a/gcc/config/i386/barrelfish-x86_64.h b/gcc/config/i386/barrelfish-x86_64.h
208 index 000000000000..8608b62b1019
210 +++ b/gcc/config/i386/barrelfish-x86_64.h
212 +#define BF_SRC "{{BF_SRC}}"
213 +#define BF_BUILD "{{BF_BUILD}}"
215 +#undef TARGET_OS_CPP_BUILTINS
216 +#define TARGET_OS_CPP_BUILTINS() \
218 + builtin_define ("BARRELFISH"); \
219 + builtin_define_std ("barrelfish"); \
220 + builtin_define_std ("unix"); \
221 + builtin_define ("CONFIG_LAZY_THC"); \
222 + builtin_define ("CONFIG_NEWLIB"); \
223 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
224 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
225 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
226 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
227 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
228 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
229 + builtin_assert ("system=barrelfish"); \
230 + builtin_assert ("system=unix"); \
234 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
236 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
239 + "-isystem" BF_SRC "/include " \
240 + "-isystem" BF_SRC "/include/arch/x86_64 " \
241 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
242 + "-isystem" BF_SRC "/include/c " \
243 + "-isystem" BF_SRC "/include/target/x86_64 " \
244 + "-isystem" BF_SRC "/include/ipv4 " \
245 + "-isystem" BF_BUILD "/x86_64/include " \
246 + "-isystem" BF_BUILD "/x86_64/include/dev"
248 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
249 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
252 + "-L" BF_BUILD "/x86_64/lib " \
254 + "-loctopus_parser " \
255 + BF_BUILD "/x86_64/errors/errno.o " \
265 +#undef STARTFILE_SPEC
266 +#define STARTFILE_SPEC \
267 + BF_BUILD "/x86_64/lib/crt0.o%s " \
268 + BF_BUILD "/x86_64/lib/crtbegin.o%s"
271 +#define ENDFILE_SPEC \
272 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
273 + "%{mpc32:crtprec32.o%s} " \
274 + "%{mpc64:crtprec64.o%s} " \
275 + "%{mpc80:crtprec80.o%s} " \
276 + BF_BUILD "/x86_64/lib/crtend.o%s " \
279 +/* System header files are C++ ready so don't wrap in extern "C". */
280 +#undef NO_IMPLICIT_EXTERN_C
281 +#define NO_IMPLICIT_EXTERN_C 1
282 diff --git a/gcc/config/i386/barrelfish-k1om.h b/gcc/config/i386/barrelfish-k1om.h
284 index 000000000000..8608b62b1019
286 +++ b/gcc/config/i386/barrelfish-k1om.h
288 +#define BF_SRC "{{BF_SRC}}"
289 +#define BF_BUILD "{{BF_BUILD}}"
291 +#undef TARGET_OS_CPP_BUILTINS
292 +#define TARGET_OS_CPP_BUILTINS() \
294 + builtin_define ("BARRELFISH"); \
295 + builtin_define_std ("barrelfish"); \
296 + builtin_define_std ("unix"); \
297 + builtin_define ("CONFIG_LAZY_THC"); \
298 + builtin_define ("CONFIG_NEWLIB"); \
299 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
300 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
301 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
302 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
303 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
304 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
305 + builtin_assert ("system=barrelfish"); \
306 + builtin_assert ("system=unix"); \
310 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
312 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
315 + "-isystem" BF_SRC "/include " \
316 + "-isystem" BF_SRC "/include/arch/k1om " \
317 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
318 + "-isystem" BF_SRC "/include/c " \
319 + "-isystem" BF_SRC "/include/target/k1om " \
320 + "-isystem" BF_SRC "/include/ipv4 " \
321 + "-isystem" BF_BUILD "/k1om/include " \
322 + "-isystem" BF_BUILD "/k1om/include/dev"
324 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
325 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
328 + "-L" BF_BUILD "/k1om/lib " \
330 + "-loctopus_parser " \
331 + BF_BUILD "/k1om/errors/errno.o " \
341 +#undef STARTFILE_SPEC
342 +#define STARTFILE_SPEC \
343 + BF_BUILD "/k1om/lib/crt0.o%s " \
344 + BF_BUILD "/k1om/lib/crtbegin.o%s"
347 +#define ENDFILE_SPEC \
348 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
349 + "%{mpc32:crtprec32.o%s} " \
350 + "%{mpc64:crtprec64.o%s} " \
351 + "%{mpc80:crtprec80.o%s} " \
352 + BF_BUILD "/k1om/lib/crtend.o%s " \
355 +/* System header files are C++ ready so don't wrap in extern "C". */
356 +#undef NO_IMPLICIT_EXTERN_C
357 +#define NO_IMPLICIT_EXTERN_C 1
358 diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
359 index b04dd659abd8..4fe4906df44e 100644
360 --- a/gcc/ginclude/stddef.h
361 +++ b/gcc/ginclude/stddef.h
362 @@ -198,7 +198,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
365 #if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \
366 - || defined(__FreeBSD_kernel__)
367 + || defined(__FreeBSD_kernel__) || defined(__barrelfish__)
368 /* __size_t is a typedef on FreeBSD 5, must not trash it. */
369 #elif defined (__VMS__)
370 /* __size_t is also a typedef on VMS. */
371 diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
372 index 720135942bbf..e65f8891ef1e 100644
373 --- a/gcc/testsuite/g++.dg/dg.exp
374 +++ b/gcc/testsuite/g++.dg/dg.exp
375 @@ -31,6 +31,7 @@ dg-init
376 # Gather a list of all tests, with the exception of those in directories
377 # that are handled specially.
378 set tests [lsort [find $srcdir/$subdir *.C]]
379 +set tests [prune $tests $srcdir/$subdir/eh/*]
380 set tests [prune $tests $srcdir/$subdir/bprob/*]
381 set tests [prune $tests $srcdir/$subdir/charset/*]
382 set tests [prune $tests $srcdir/$subdir/compat/*]
383 diff --git a/libgcc/config.host b/libgcc/config.host
384 index 259c9a725f98..609b6a541c4f 100644
385 --- a/libgcc/config.host
386 +++ b/libgcc/config.host
387 @@ -199,6 +199,10 @@ case ${host} in
388 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"
389 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
392 + tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
393 + extra_parts="crtbegin.o crtend.o"
396 tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic"
397 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
398 @@ -523,6 +527,10 @@ i[34567]86-*-linux*)
399 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
400 md_unwind_header=i386/linux-unwind.h
402 +i[34567]86-*-barrelfish*)
403 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
404 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
406 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu)
407 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
408 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
409 @@ -532,6 +544,14 @@ x86_64-*-linux*)
410 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
411 md_unwind_header=i386/linux-unwind.h
413 +x86_64-k1om-barrelfish*)
414 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
415 + tmake_file="${tmake_file} i386/t-crtpc i386/t-mic-crtfm i386/${host_address}/t-mic-fprules-softfp i386/t-crtstuff"
417 +x86_64-*-barrelfish*)
418 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
419 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
421 x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
422 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
423 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
424 diff --git a/libiberty/clock.c b/libiberty/clock.c
425 index 07d902e8a160..4d5817a30cf9 100644
426 --- a/libiberty/clock.c
427 +++ b/libiberty/clock.c
428 @@ -66,7 +66,7 @@ number of seconds used.
430 /* FIXME: should be able to declare as clock_t. */
436 #ifdef HAVE_GETRUSAGE
437 diff --git a/libiberty/gettimeofday.c b/libiberty/gettimeofday.c
438 index fca16794028e..88f2f5ae70d3 100644
439 --- a/libiberty/gettimeofday.c
440 +++ b/libiberty/gettimeofday.c
441 @@ -19,7 +19,7 @@ that @var{tz} be NULL. Returns 0 on success, -1 on failure.
445 -gettimeofday (struct timeval *tp, void *tz)
446 +gettimeofday (struct timeval *tp, struct timezone *tz)
450 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
451 index 57452f7fe590..1a1cfd4a6cfa 100755
452 --- a/libstdc++-v3/configure
453 +++ b/libstdc++-v3/configure
454 @@ -52461,6 +52461,5983 @@ _ACEOF
460 + # All these tests are for C++; save the language and the compiler flags.
461 + # The CXXFLAGS thing is suspicious, but based on similar bits previously
462 + # found in GLIBCXX_CONFIGURE.
465 +ac_cpp='$CXXCPP $CPPFLAGS'
466 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
467 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
468 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
470 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
471 + ac_save_CXXFLAGS="$CXXFLAGS"
473 + # Check for maintainer-mode bits.
474 + if test x"$USE_MAINTAINER_MODE" = xno; then
480 + # Check for -ffunction-sections -fdata-sections
481 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
482 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
483 + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
484 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
485 +/* end confdefs.h. */
486 +int foo; void bar() { };
495 +if ac_fn_cxx_try_compile "$LINENO"; then :
500 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
501 + if test "$ac_test_CXXFLAGS" = set; then
502 + CXXFLAGS="$ac_save_CXXFLAGS"
504 + # this is the suspicious part
507 + if test x"$ac_fdsections" = x"yes"; then
508 + SECTION_FLAGS='-ffunction-sections -fdata-sections'
510 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
511 +$as_echo "$ac_fdsections" >&6; }
514 +ac_cpp='$CPP $CPPFLAGS'
515 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
516 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
517 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
523 + # If we're not using GNU ld, then there's no point in even trying these
524 + # tests. Check for that first. We should have already tested for gld
525 + # by now (in libtool), but require it now just to be safe...
526 + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
527 + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
531 + # The name set by libtool depends on the version of libtool. Shame on us
532 + # for depending on an impl detail, but c'est la vie. Older versions used
533 + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
534 + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
535 + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
536 + # set (hence we're using an older libtool), then set it.
537 + if test x${with_gnu_ld+set} != xset; then
538 + if test x${ac_cv_prog_gnu_ld+set} != xset; then
539 + # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
542 + with_gnu_ld=$ac_cv_prog_gnu_ld
546 + # Start by getting the version number. I think the libtool test already
547 + # does some of this, but throws away the result.
548 + glibcxx_ld_is_gold=no
549 + if test x"$with_gnu_ld" = x"yes"; then
550 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
551 +$as_echo_n "checking for ld version... " >&6; }
553 + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
554 + glibcxx_ld_is_gold=yes
556 + ldver=`$LD --version 2>/dev/null |
557 + 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'`
559 + glibcxx_gnu_ld_version=`echo $ldver | \
560 + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
561 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
562 +$as_echo "$glibcxx_gnu_ld_version" >&6; }
565 + # Set --gc-sections.
566 + glibcxx_have_gc_sections=no
567 + if test "$glibcxx_ld_is_gold" = "yes"; then
568 + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
569 + glibcxx_have_gc_sections=yes
572 + glibcxx_gcsections_min_ld=21602
573 + if test x"$with_gnu_ld" = x"yes" &&
574 + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
575 + glibcxx_have_gc_sections=yes
578 + if test "$glibcxx_have_gc_sections" = "yes"; then
579 + # Sufficiently young GNU ld it is! Joy and bunny rabbits!
580 + # NB: This flag only works reliably after 2.16.1. Configure tests
581 + # for this are difficult, so hard wire a value that should work.
583 + ac_test_CFLAGS="${CFLAGS+set}"
584 + ac_save_CFLAGS="$CFLAGS"
585 + CFLAGS='-Wl,--gc-sections'
587 + # Check for -Wl,--gc-sections
588 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
589 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
590 + if test x$gcc_no_link = xyes; then
591 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
593 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
594 +/* end confdefs.h. */
595 + int one(void) { return 1; }
596 + int two(void) { return 2; }
606 +if ac_fn_c_try_link "$LINENO"; then :
611 +rm -f core conftest.err conftest.$ac_objext \
612 + conftest$ac_exeext conftest.$ac_ext
613 + if test "$ac_gcsections" = "yes"; then
616 + if $CC -c conftest.c; then
617 + if $LD --gc-sections -o conftest conftest.o 2>&1 | \
618 + grep "Warning: gc-sections option ignored" > /dev/null; then
622 + rm -f conftest.c conftest.o conftest
624 + if test "$ac_gcsections" = "yes"; then
625 + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
627 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
628 +$as_echo "$ac_gcsections" >&6; }
630 + if test "$ac_test_CFLAGS" = set; then
631 + CFLAGS="$ac_save_CFLAGS"
633 + # this is the suspicious part
639 + # Note this is only for shared objects.
641 + if test x"$with_gnu_ld" = x"yes"; then
642 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
643 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
644 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
645 + if test -n "$cxx_z_relo"; then
646 + OPT_LDFLAGS="-Wl,-z,relro"
649 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
650 +$as_echo "$ac_ld_relro" >&6; }
653 + # Set linker optimization flags.
654 + if test x"$with_gnu_ld" = x"yes"; then
655 + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
662 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
663 + ac_save_CXXFLAGS="$CXXFLAGS"
664 + CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
666 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
667 +$as_echo_n "checking for sin in -lm... " >&6; }
668 +if test "${ac_cv_lib_m_sin+set}" = set; then :
669 + $as_echo_n "(cached) " >&6
671 + ac_check_lib_save_LIBS=$LIBS
673 +if test x$gcc_no_link = xyes; then
674 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
676 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
677 +/* end confdefs.h. */
679 +/* Override any GCC internal prototype to avoid an error.
680 + Use char because int might match the return type of a GCC
681 + builtin and then its argument prototype would still apply. */
694 +if ac_fn_c_try_link "$LINENO"; then :
695 + ac_cv_lib_m_sin=yes
699 +rm -f core conftest.err conftest.$ac_objext \
700 + conftest$ac_exeext conftest.$ac_ext
701 +LIBS=$ac_check_lib_save_LIBS
703 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
704 +$as_echo "$ac_cv_lib_m_sin" >&6; }
705 +if test "x$ac_cv_lib_m_sin" = x""yes; then :
709 + ac_save_LIBS="$LIBS"
714 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
715 +$as_echo_n "checking for isinf declaration... " >&6; }
716 + if test x${glibcxx_cv_func_isinf_use+set} != xset; then
717 + if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
718 + $as_echo_n "(cached) " >&6
723 +ac_cpp='$CXXCPP $CPPFLAGS'
724 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
725 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
726 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
728 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
729 +/* end confdefs.h. */
731 + #ifdef HAVE_IEEEFP_H
732 + #include <ieeefp.h>
743 +if ac_fn_cxx_try_compile "$LINENO"; then :
744 + glibcxx_cv_func_isinf_use=yes
746 + glibcxx_cv_func_isinf_use=no
748 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
750 +ac_cpp='$CPP $CPPFLAGS'
751 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
752 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
753 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
759 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
760 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
762 + if test x$glibcxx_cv_func_isinf_use = x"yes"; then
763 + for ac_func in isinf
765 + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
766 +if test "x$ac_cv_func_isinf" = x""yes; then :
767 + cat >>confdefs.h <<_ACEOF
768 +#define HAVE_ISINF 1
776 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
777 +$as_echo_n "checking for _isinf declaration... " >&6; }
778 + if test x${glibcxx_cv_func__isinf_use+set} != xset; then
779 + if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
780 + $as_echo_n "(cached) " >&6
785 +ac_cpp='$CXXCPP $CPPFLAGS'
786 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
787 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
788 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
790 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
791 +/* end confdefs.h. */
793 + #ifdef HAVE_IEEEFP_H
794 + #include <ieeefp.h>
805 +if ac_fn_cxx_try_compile "$LINENO"; then :
806 + glibcxx_cv_func__isinf_use=yes
808 + glibcxx_cv_func__isinf_use=no
810 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
812 +ac_cpp='$CPP $CPPFLAGS'
813 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
814 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
815 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
821 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
822 +$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
824 + if test x$glibcxx_cv_func__isinf_use = x"yes"; then
825 + for ac_func in _isinf
827 + ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
828 +if test "x$ac_cv_func__isinf" = x""yes; then :
829 + cat >>confdefs.h <<_ACEOF
830 +#define HAVE__ISINF 1
843 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
844 +$as_echo_n "checking for isnan declaration... " >&6; }
845 + if test x${glibcxx_cv_func_isnan_use+set} != xset; then
846 + if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
847 + $as_echo_n "(cached) " >&6
852 +ac_cpp='$CXXCPP $CPPFLAGS'
853 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
854 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
855 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
857 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
858 +/* end confdefs.h. */
860 + #ifdef HAVE_IEEEFP_H
861 + #include <ieeefp.h>
872 +if ac_fn_cxx_try_compile "$LINENO"; then :
873 + glibcxx_cv_func_isnan_use=yes
875 + glibcxx_cv_func_isnan_use=no
877 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
879 +ac_cpp='$CPP $CPPFLAGS'
880 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
881 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
882 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
888 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
889 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
891 + if test x$glibcxx_cv_func_isnan_use = x"yes"; then
892 + for ac_func in isnan
894 + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
895 +if test "x$ac_cv_func_isnan" = x""yes; then :
896 + cat >>confdefs.h <<_ACEOF
897 +#define HAVE_ISNAN 1
905 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
906 +$as_echo_n "checking for _isnan declaration... " >&6; }
907 + if test x${glibcxx_cv_func__isnan_use+set} != xset; then
908 + if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
909 + $as_echo_n "(cached) " >&6
914 +ac_cpp='$CXXCPP $CPPFLAGS'
915 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
916 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
917 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
919 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
920 +/* end confdefs.h. */
922 + #ifdef HAVE_IEEEFP_H
923 + #include <ieeefp.h>
934 +if ac_fn_cxx_try_compile "$LINENO"; then :
935 + glibcxx_cv_func__isnan_use=yes
937 + glibcxx_cv_func__isnan_use=no
939 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
941 +ac_cpp='$CPP $CPPFLAGS'
942 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
943 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
944 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
950 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
951 +$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
953 + if test x$glibcxx_cv_func__isnan_use = x"yes"; then
954 + for ac_func in _isnan
956 + ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
957 +if test "x$ac_cv_func__isnan" = x""yes; then :
958 + cat >>confdefs.h <<_ACEOF
959 +#define HAVE__ISNAN 1
972 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
973 +$as_echo_n "checking for finite declaration... " >&6; }
974 + if test x${glibcxx_cv_func_finite_use+set} != xset; then
975 + if test "${glibcxx_cv_func_finite_use+set}" = set; then :
976 + $as_echo_n "(cached) " >&6
981 +ac_cpp='$CXXCPP $CPPFLAGS'
982 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
983 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
984 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
986 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
987 +/* end confdefs.h. */
989 + #ifdef HAVE_IEEEFP_H
990 + #include <ieeefp.h>
1001 +if ac_fn_cxx_try_compile "$LINENO"; then :
1002 + glibcxx_cv_func_finite_use=yes
1004 + glibcxx_cv_func_finite_use=no
1006 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1008 +ac_cpp='$CPP $CPPFLAGS'
1009 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1010 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1011 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1017 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
1018 +$as_echo "$glibcxx_cv_func_finite_use" >&6; }
1020 + if test x$glibcxx_cv_func_finite_use = x"yes"; then
1021 + for ac_func in finite
1023 + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
1024 +if test "x$ac_cv_func_finite" = x""yes; then :
1025 + cat >>confdefs.h <<_ACEOF
1026 +#define HAVE_FINITE 1
1034 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
1035 +$as_echo_n "checking for _finite declaration... " >&6; }
1036 + if test x${glibcxx_cv_func__finite_use+set} != xset; then
1037 + if test "${glibcxx_cv_func__finite_use+set}" = set; then :
1038 + $as_echo_n "(cached) " >&6
1043 +ac_cpp='$CXXCPP $CPPFLAGS'
1044 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1045 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1046 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1048 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1049 +/* end confdefs.h. */
1051 + #ifdef HAVE_IEEEFP_H
1052 + #include <ieeefp.h>
1063 +if ac_fn_cxx_try_compile "$LINENO"; then :
1064 + glibcxx_cv_func__finite_use=yes
1066 + glibcxx_cv_func__finite_use=no
1068 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1070 +ac_cpp='$CPP $CPPFLAGS'
1071 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1072 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1073 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1079 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
1080 +$as_echo "$glibcxx_cv_func__finite_use" >&6; }
1082 + if test x$glibcxx_cv_func__finite_use = x"yes"; then
1083 + for ac_func in _finite
1085 + ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
1086 +if test "x$ac_cv_func__finite" = x""yes; then :
1087 + cat >>confdefs.h <<_ACEOF
1088 +#define HAVE__FINITE 1
1101 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
1102 +$as_echo_n "checking for sincos declaration... " >&6; }
1103 + if test x${glibcxx_cv_func_sincos_use+set} != xset; then
1104 + if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
1105 + $as_echo_n "(cached) " >&6
1110 +ac_cpp='$CXXCPP $CPPFLAGS'
1111 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1112 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1113 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1115 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1116 +/* end confdefs.h. */
1126 +if ac_fn_cxx_try_compile "$LINENO"; then :
1127 + glibcxx_cv_func_sincos_use=yes
1129 + glibcxx_cv_func_sincos_use=no
1131 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1133 +ac_cpp='$CPP $CPPFLAGS'
1134 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1135 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1136 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1142 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
1143 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
1145 + if test x$glibcxx_cv_func_sincos_use = x"yes"; then
1146 + for ac_func in sincos
1148 + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
1149 +if test "x$ac_cv_func_sincos" = x""yes; then :
1150 + cat >>confdefs.h <<_ACEOF
1151 +#define HAVE_SINCOS 1
1159 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
1160 +$as_echo_n "checking for _sincos declaration... " >&6; }
1161 + if test x${glibcxx_cv_func__sincos_use+set} != xset; then
1162 + if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
1163 + $as_echo_n "(cached) " >&6
1168 +ac_cpp='$CXXCPP $CPPFLAGS'
1169 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1170 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1171 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1173 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1174 +/* end confdefs.h. */
1184 +if ac_fn_cxx_try_compile "$LINENO"; then :
1185 + glibcxx_cv_func__sincos_use=yes
1187 + glibcxx_cv_func__sincos_use=no
1189 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1191 +ac_cpp='$CPP $CPPFLAGS'
1192 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1193 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1194 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1200 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
1201 +$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
1203 + if test x$glibcxx_cv_func__sincos_use = x"yes"; then
1204 + for ac_func in _sincos
1206 + ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
1207 +if test "x$ac_cv_func__sincos" = x""yes; then :
1208 + cat >>confdefs.h <<_ACEOF
1209 +#define HAVE__SINCOS 1
1222 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
1223 +$as_echo_n "checking for fpclass declaration... " >&6; }
1224 + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
1225 + if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
1226 + $as_echo_n "(cached) " >&6
1231 +ac_cpp='$CXXCPP $CPPFLAGS'
1232 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1236 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1237 +/* end confdefs.h. */
1239 + #ifdef HAVE_IEEEFP_H
1240 + #include <ieeefp.h>
1251 +if ac_fn_cxx_try_compile "$LINENO"; then :
1252 + glibcxx_cv_func_fpclass_use=yes
1254 + glibcxx_cv_func_fpclass_use=no
1256 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1258 +ac_cpp='$CPP $CPPFLAGS'
1259 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1260 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1261 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1267 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
1268 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
1270 + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
1271 + for ac_func in fpclass
1273 + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
1274 +if test "x$ac_cv_func_fpclass" = x""yes; then :
1275 + cat >>confdefs.h <<_ACEOF
1276 +#define HAVE_FPCLASS 1
1284 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
1285 +$as_echo_n "checking for _fpclass declaration... " >&6; }
1286 + if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
1287 + if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
1288 + $as_echo_n "(cached) " >&6
1293 +ac_cpp='$CXXCPP $CPPFLAGS'
1294 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1295 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1296 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1298 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1299 +/* end confdefs.h. */
1301 + #ifdef HAVE_IEEEFP_H
1302 + #include <ieeefp.h>
1313 +if ac_fn_cxx_try_compile "$LINENO"; then :
1314 + glibcxx_cv_func__fpclass_use=yes
1316 + glibcxx_cv_func__fpclass_use=no
1318 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1320 +ac_cpp='$CPP $CPPFLAGS'
1321 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1322 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1323 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
1330 +$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
1332 + if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
1333 + for ac_func in _fpclass
1335 + ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
1336 +if test "x$ac_cv_func__fpclass" = x""yes; then :
1337 + cat >>confdefs.h <<_ACEOF
1338 +#define HAVE__FPCLASS 1
1351 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
1352 +$as_echo_n "checking for qfpclass declaration... " >&6; }
1353 + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
1354 + if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
1355 + $as_echo_n "(cached) " >&6
1360 +ac_cpp='$CXXCPP $CPPFLAGS'
1361 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1362 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1363 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1365 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1366 +/* end confdefs.h. */
1368 + #ifdef HAVE_IEEEFP_H
1369 + #include <ieeefp.h>
1380 +if ac_fn_cxx_try_compile "$LINENO"; then :
1381 + glibcxx_cv_func_qfpclass_use=yes
1383 + glibcxx_cv_func_qfpclass_use=no
1385 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1387 +ac_cpp='$CPP $CPPFLAGS'
1388 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1389 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1390 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1396 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
1397 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
1399 + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
1400 + for ac_func in qfpclass
1402 + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
1403 +if test "x$ac_cv_func_qfpclass" = x""yes; then :
1404 + cat >>confdefs.h <<_ACEOF
1405 +#define HAVE_QFPCLASS 1
1413 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
1414 +$as_echo_n "checking for _qfpclass declaration... " >&6; }
1415 + if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
1416 + if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
1417 + $as_echo_n "(cached) " >&6
1422 +ac_cpp='$CXXCPP $CPPFLAGS'
1423 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1424 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1425 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1427 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1428 +/* end confdefs.h. */
1430 + #ifdef HAVE_IEEEFP_H
1431 + #include <ieeefp.h>
1442 +if ac_fn_cxx_try_compile "$LINENO"; then :
1443 + glibcxx_cv_func__qfpclass_use=yes
1445 + glibcxx_cv_func__qfpclass_use=no
1447 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1449 +ac_cpp='$CPP $CPPFLAGS'
1450 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1451 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1452 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1458 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
1459 +$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
1461 + if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
1462 + for ac_func in _qfpclass
1464 + ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
1465 +if test "x$ac_cv_func__qfpclass" = x""yes; then :
1466 + cat >>confdefs.h <<_ACEOF
1467 +#define HAVE__QFPCLASS 1
1480 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
1481 +$as_echo_n "checking for hypot declaration... " >&6; }
1482 + if test x${glibcxx_cv_func_hypot_use+set} != xset; then
1483 + if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
1484 + $as_echo_n "(cached) " >&6
1489 +ac_cpp='$CXXCPP $CPPFLAGS'
1490 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1491 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1492 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1494 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1495 +/* end confdefs.h. */
1505 +if ac_fn_cxx_try_compile "$LINENO"; then :
1506 + glibcxx_cv_func_hypot_use=yes
1508 + glibcxx_cv_func_hypot_use=no
1510 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1512 +ac_cpp='$CPP $CPPFLAGS'
1513 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1521 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
1522 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
1524 + if test x$glibcxx_cv_func_hypot_use = x"yes"; then
1525 + for ac_func in hypot
1527 + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
1528 +if test "x$ac_cv_func_hypot" = x""yes; then :
1529 + cat >>confdefs.h <<_ACEOF
1530 +#define HAVE_HYPOT 1
1538 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
1539 +$as_echo_n "checking for _hypot declaration... " >&6; }
1540 + if test x${glibcxx_cv_func__hypot_use+set} != xset; then
1541 + if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
1542 + $as_echo_n "(cached) " >&6
1547 +ac_cpp='$CXXCPP $CPPFLAGS'
1548 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1549 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1550 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1552 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553 +/* end confdefs.h. */
1563 +if ac_fn_cxx_try_compile "$LINENO"; then :
1564 + glibcxx_cv_func__hypot_use=yes
1566 + glibcxx_cv_func__hypot_use=no
1568 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1570 +ac_cpp='$CPP $CPPFLAGS'
1571 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1572 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1573 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1579 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
1580 +$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
1582 + if test x$glibcxx_cv_func__hypot_use = x"yes"; then
1583 + for ac_func in _hypot
1585 + ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
1586 +if test "x$ac_cv_func__hypot" = x""yes; then :
1587 + cat >>confdefs.h <<_ACEOF
1588 +#define HAVE__HYPOT 1
1601 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
1602 +$as_echo_n "checking for float trig functions... " >&6; }
1603 + if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
1604 + $as_echo_n "(cached) " >&6
1609 +ac_cpp='$CXXCPP $CPPFLAGS'
1610 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1611 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1612 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1614 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1615 +/* end confdefs.h. */
1620 +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
1625 +if ac_fn_cxx_try_compile "$LINENO"; then :
1626 + glibcxx_cv_func_float_trig_use=yes
1628 + glibcxx_cv_func_float_trig_use=no
1630 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1632 +ac_cpp='$CPP $CPPFLAGS'
1633 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1634 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1635 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1639 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
1640 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
1641 + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
1642 + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
1644 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1645 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1646 +eval as_val=\$$as_ac_var
1647 + if test "x$as_val" = x""yes; then :
1648 + cat >>confdefs.h <<_ACEOF
1649 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1656 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
1657 +$as_echo_n "checking for _float trig functions... " >&6; }
1658 + if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
1659 + $as_echo_n "(cached) " >&6
1664 +ac_cpp='$CXXCPP $CPPFLAGS'
1665 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1666 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1667 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1669 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670 +/* end confdefs.h. */
1675 +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
1680 +if ac_fn_cxx_try_compile "$LINENO"; then :
1681 + glibcxx_cv_func__float_trig_use=yes
1683 + glibcxx_cv_func__float_trig_use=no
1685 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1687 +ac_cpp='$CPP $CPPFLAGS'
1688 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1689 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1690 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
1695 +$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
1696 + if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
1697 + for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
1699 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1700 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1701 +eval as_val=\$$as_ac_var
1702 + if test "x$as_val" = x""yes; then :
1703 + cat >>confdefs.h <<_ACEOF
1704 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1717 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
1718 +$as_echo_n "checking for float round functions... " >&6; }
1719 + if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
1720 + $as_echo_n "(cached) " >&6
1725 +ac_cpp='$CXXCPP $CPPFLAGS'
1726 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1727 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1728 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1730 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 +/* end confdefs.h. */
1736 +ceilf (0); floorf (0);
1741 +if ac_fn_cxx_try_compile "$LINENO"; then :
1742 + glibcxx_cv_func_float_round_use=yes
1744 + glibcxx_cv_func_float_round_use=no
1746 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 +ac_cpp='$CPP $CPPFLAGS'
1749 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1750 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1751 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1755 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
1756 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
1757 + if test x$glibcxx_cv_func_float_round_use = x"yes"; then
1758 + for ac_func in ceilf floorf
1760 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1761 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1762 +eval as_val=\$$as_ac_var
1763 + if test "x$as_val" = x""yes; then :
1764 + cat >>confdefs.h <<_ACEOF
1765 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1772 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
1773 +$as_echo_n "checking for _float round functions... " >&6; }
1774 + if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
1775 + $as_echo_n "(cached) " >&6
1780 +ac_cpp='$CXXCPP $CPPFLAGS'
1781 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1782 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1783 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1785 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 +/* end confdefs.h. */
1791 +_ceilf (0); _floorf (0);
1796 +if ac_fn_cxx_try_compile "$LINENO"; then :
1797 + glibcxx_cv_func__float_round_use=yes
1799 + glibcxx_cv_func__float_round_use=no
1801 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1803 +ac_cpp='$CPP $CPPFLAGS'
1804 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1805 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1806 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1810 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
1811 +$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
1812 + if test x$glibcxx_cv_func__float_round_use = x"yes"; then
1813 + for ac_func in _ceilf _floorf
1815 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1816 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1817 +eval as_val=\$$as_ac_var
1818 + if test "x$as_val" = x""yes; then :
1819 + cat >>confdefs.h <<_ACEOF
1820 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1834 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
1835 +$as_echo_n "checking for expf declaration... " >&6; }
1836 + if test x${glibcxx_cv_func_expf_use+set} != xset; then
1837 + if test "${glibcxx_cv_func_expf_use+set}" = set; then :
1838 + $as_echo_n "(cached) " >&6
1843 +ac_cpp='$CXXCPP $CPPFLAGS'
1844 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1845 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1846 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1848 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 +/* end confdefs.h. */
1851 + #ifdef HAVE_IEEEFP_H
1852 + #include <ieeefp.h>
1863 +if ac_fn_cxx_try_compile "$LINENO"; then :
1864 + glibcxx_cv_func_expf_use=yes
1866 + glibcxx_cv_func_expf_use=no
1868 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1870 +ac_cpp='$CPP $CPPFLAGS'
1871 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1872 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1873 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1879 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
1880 +$as_echo "$glibcxx_cv_func_expf_use" >&6; }
1882 + if test x$glibcxx_cv_func_expf_use = x"yes"; then
1883 + for ac_func in expf
1885 + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
1886 +if test "x$ac_cv_func_expf" = x""yes; then :
1887 + cat >>confdefs.h <<_ACEOF
1888 +#define HAVE_EXPF 1
1896 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
1897 +$as_echo_n "checking for _expf declaration... " >&6; }
1898 + if test x${glibcxx_cv_func__expf_use+set} != xset; then
1899 + if test "${glibcxx_cv_func__expf_use+set}" = set; then :
1900 + $as_echo_n "(cached) " >&6
1905 +ac_cpp='$CXXCPP $CPPFLAGS'
1906 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1907 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1908 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1910 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 +/* end confdefs.h. */
1913 + #ifdef HAVE_IEEEFP_H
1914 + #include <ieeefp.h>
1925 +if ac_fn_cxx_try_compile "$LINENO"; then :
1926 + glibcxx_cv_func__expf_use=yes
1928 + glibcxx_cv_func__expf_use=no
1930 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932 +ac_cpp='$CPP $CPPFLAGS'
1933 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1934 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1935 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1941 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
1942 +$as_echo "$glibcxx_cv_func__expf_use" >&6; }
1944 + if test x$glibcxx_cv_func__expf_use = x"yes"; then
1945 + for ac_func in _expf
1947 + ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
1948 +if test "x$ac_cv_func__expf" = x""yes; then :
1949 + cat >>confdefs.h <<_ACEOF
1950 +#define HAVE__EXPF 1
1963 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
1964 +$as_echo_n "checking for isnanf declaration... " >&6; }
1965 + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
1966 + if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
1967 + $as_echo_n "(cached) " >&6
1972 +ac_cpp='$CXXCPP $CPPFLAGS'
1973 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1974 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1975 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1977 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 +/* end confdefs.h. */
1980 + #ifdef HAVE_IEEEFP_H
1981 + #include <ieeefp.h>
1992 +if ac_fn_cxx_try_compile "$LINENO"; then :
1993 + glibcxx_cv_func_isnanf_use=yes
1995 + glibcxx_cv_func_isnanf_use=no
1997 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999 +ac_cpp='$CPP $CPPFLAGS'
2000 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
2009 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
2011 + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
2012 + for ac_func in isnanf
2014 + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
2015 +if test "x$ac_cv_func_isnanf" = x""yes; then :
2016 + cat >>confdefs.h <<_ACEOF
2017 +#define HAVE_ISNANF 1
2025 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
2026 +$as_echo_n "checking for _isnanf declaration... " >&6; }
2027 + if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
2028 + if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
2029 + $as_echo_n "(cached) " >&6
2034 +ac_cpp='$CXXCPP $CPPFLAGS'
2035 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2039 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 +/* end confdefs.h. */
2042 + #ifdef HAVE_IEEEFP_H
2043 + #include <ieeefp.h>
2054 +if ac_fn_cxx_try_compile "$LINENO"; then :
2055 + glibcxx_cv_func__isnanf_use=yes
2057 + glibcxx_cv_func__isnanf_use=no
2059 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2061 +ac_cpp='$CPP $CPPFLAGS'
2062 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2070 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
2071 +$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
2073 + if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
2074 + for ac_func in _isnanf
2076 + ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
2077 +if test "x$ac_cv_func__isnanf" = x""yes; then :
2078 + cat >>confdefs.h <<_ACEOF
2079 +#define HAVE__ISNANF 1
2092 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
2093 +$as_echo_n "checking for isinff declaration... " >&6; }
2094 + if test x${glibcxx_cv_func_isinff_use+set} != xset; then
2095 + if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
2096 + $as_echo_n "(cached) " >&6
2101 +ac_cpp='$CXXCPP $CPPFLAGS'
2102 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2106 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 +/* end confdefs.h. */
2109 + #ifdef HAVE_IEEEFP_H
2110 + #include <ieeefp.h>
2121 +if ac_fn_cxx_try_compile "$LINENO"; then :
2122 + glibcxx_cv_func_isinff_use=yes
2124 + glibcxx_cv_func_isinff_use=no
2126 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 +ac_cpp='$CPP $CPPFLAGS'
2129 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2137 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
2138 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
2140 + if test x$glibcxx_cv_func_isinff_use = x"yes"; then
2141 + for ac_func in isinff
2143 + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
2144 +if test "x$ac_cv_func_isinff" = x""yes; then :
2145 + cat >>confdefs.h <<_ACEOF
2146 +#define HAVE_ISINFF 1
2154 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
2155 +$as_echo_n "checking for _isinff declaration... " >&6; }
2156 + if test x${glibcxx_cv_func__isinff_use+set} != xset; then
2157 + if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
2158 + $as_echo_n "(cached) " >&6
2163 +ac_cpp='$CXXCPP $CPPFLAGS'
2164 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2165 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2166 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2168 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2169 +/* end confdefs.h. */
2171 + #ifdef HAVE_IEEEFP_H
2172 + #include <ieeefp.h>
2183 +if ac_fn_cxx_try_compile "$LINENO"; then :
2184 + glibcxx_cv_func__isinff_use=yes
2186 + glibcxx_cv_func__isinff_use=no
2188 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190 +ac_cpp='$CPP $CPPFLAGS'
2191 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2199 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
2200 +$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
2202 + if test x$glibcxx_cv_func__isinff_use = x"yes"; then
2203 + for ac_func in _isinff
2205 + ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
2206 +if test "x$ac_cv_func__isinff" = x""yes; then :
2207 + cat >>confdefs.h <<_ACEOF
2208 +#define HAVE__ISINFF 1
2221 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
2222 +$as_echo_n "checking for atan2f declaration... " >&6; }
2223 + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
2224 + if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
2225 + $as_echo_n "(cached) " >&6
2230 +ac_cpp='$CXXCPP $CPPFLAGS'
2231 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2235 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 +/* end confdefs.h. */
2246 +if ac_fn_cxx_try_compile "$LINENO"; then :
2247 + glibcxx_cv_func_atan2f_use=yes
2249 + glibcxx_cv_func_atan2f_use=no
2251 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2253 +ac_cpp='$CPP $CPPFLAGS'
2254 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2262 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
2263 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
2265 + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
2266 + for ac_func in atan2f
2268 + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
2269 +if test "x$ac_cv_func_atan2f" = x""yes; then :
2270 + cat >>confdefs.h <<_ACEOF
2271 +#define HAVE_ATAN2F 1
2279 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
2280 +$as_echo_n "checking for _atan2f declaration... " >&6; }
2281 + if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
2282 + if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
2283 + $as_echo_n "(cached) " >&6
2288 +ac_cpp='$CXXCPP $CPPFLAGS'
2289 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2293 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 +/* end confdefs.h. */
2304 +if ac_fn_cxx_try_compile "$LINENO"; then :
2305 + glibcxx_cv_func__atan2f_use=yes
2307 + glibcxx_cv_func__atan2f_use=no
2309 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2311 +ac_cpp='$CPP $CPPFLAGS'
2312 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2313 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2314 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
2321 +$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
2323 + if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
2324 + for ac_func in _atan2f
2326 + ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
2327 +if test "x$ac_cv_func__atan2f" = x""yes; then :
2328 + cat >>confdefs.h <<_ACEOF
2329 +#define HAVE__ATAN2F 1
2342 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
2343 +$as_echo_n "checking for fabsf declaration... " >&6; }
2344 + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
2345 + if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
2346 + $as_echo_n "(cached) " >&6
2351 +ac_cpp='$CXXCPP $CPPFLAGS'
2352 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2353 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2354 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2356 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2357 +/* end confdefs.h. */
2359 + #ifdef HAVE_IEEEFP_H
2360 + #include <ieeefp.h>
2371 +if ac_fn_cxx_try_compile "$LINENO"; then :
2372 + glibcxx_cv_func_fabsf_use=yes
2374 + glibcxx_cv_func_fabsf_use=no
2376 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 +ac_cpp='$CPP $CPPFLAGS'
2379 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
2388 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
2390 + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
2391 + for ac_func in fabsf
2393 + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
2394 +if test "x$ac_cv_func_fabsf" = x""yes; then :
2395 + cat >>confdefs.h <<_ACEOF
2396 +#define HAVE_FABSF 1
2404 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
2405 +$as_echo_n "checking for _fabsf declaration... " >&6; }
2406 + if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
2407 + if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
2408 + $as_echo_n "(cached) " >&6
2413 +ac_cpp='$CXXCPP $CPPFLAGS'
2414 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2418 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 +/* end confdefs.h. */
2421 + #ifdef HAVE_IEEEFP_H
2422 + #include <ieeefp.h>
2433 +if ac_fn_cxx_try_compile "$LINENO"; then :
2434 + glibcxx_cv_func__fabsf_use=yes
2436 + glibcxx_cv_func__fabsf_use=no
2438 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440 +ac_cpp='$CPP $CPPFLAGS'
2441 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2442 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2443 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2449 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
2450 +$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
2452 + if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
2453 + for ac_func in _fabsf
2455 + ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
2456 +if test "x$ac_cv_func__fabsf" = x""yes; then :
2457 + cat >>confdefs.h <<_ACEOF
2458 +#define HAVE__FABSF 1
2471 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
2472 +$as_echo_n "checking for fmodf declaration... " >&6; }
2473 + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
2474 + if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
2475 + $as_echo_n "(cached) " >&6
2480 +ac_cpp='$CXXCPP $CPPFLAGS'
2481 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2482 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2483 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2485 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 +/* end confdefs.h. */
2496 +if ac_fn_cxx_try_compile "$LINENO"; then :
2497 + glibcxx_cv_func_fmodf_use=yes
2499 + glibcxx_cv_func_fmodf_use=no
2501 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 +ac_cpp='$CPP $CPPFLAGS'
2504 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2505 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2506 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2512 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
2513 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
2515 + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
2516 + for ac_func in fmodf
2518 + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
2519 +if test "x$ac_cv_func_fmodf" = x""yes; then :
2520 + cat >>confdefs.h <<_ACEOF
2521 +#define HAVE_FMODF 1
2529 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
2530 +$as_echo_n "checking for _fmodf declaration... " >&6; }
2531 + if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
2532 + if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
2533 + $as_echo_n "(cached) " >&6
2538 +ac_cpp='$CXXCPP $CPPFLAGS'
2539 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2543 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 +/* end confdefs.h. */
2554 +if ac_fn_cxx_try_compile "$LINENO"; then :
2555 + glibcxx_cv_func__fmodf_use=yes
2557 + glibcxx_cv_func__fmodf_use=no
2559 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 +ac_cpp='$CPP $CPPFLAGS'
2562 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2563 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2564 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2570 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
2571 +$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
2573 + if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
2574 + for ac_func in _fmodf
2576 + ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
2577 +if test "x$ac_cv_func__fmodf" = x""yes; then :
2578 + cat >>confdefs.h <<_ACEOF
2579 +#define HAVE__FMODF 1
2592 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
2593 +$as_echo_n "checking for frexpf declaration... " >&6; }
2594 + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
2595 + if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
2596 + $as_echo_n "(cached) " >&6
2601 +ac_cpp='$CXXCPP $CPPFLAGS'
2602 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2603 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2604 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2606 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 +/* end confdefs.h. */
2617 +if ac_fn_cxx_try_compile "$LINENO"; then :
2618 + glibcxx_cv_func_frexpf_use=yes
2620 + glibcxx_cv_func_frexpf_use=no
2622 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2624 +ac_cpp='$CPP $CPPFLAGS'
2625 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2633 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
2634 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
2636 + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
2637 + for ac_func in frexpf
2639 + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
2640 +if test "x$ac_cv_func_frexpf" = x""yes; then :
2641 + cat >>confdefs.h <<_ACEOF
2642 +#define HAVE_FREXPF 1
2650 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
2651 +$as_echo_n "checking for _frexpf declaration... " >&6; }
2652 + if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
2653 + if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
2654 + $as_echo_n "(cached) " >&6
2659 +ac_cpp='$CXXCPP $CPPFLAGS'
2660 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2664 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 +/* end confdefs.h. */
2675 +if ac_fn_cxx_try_compile "$LINENO"; then :
2676 + glibcxx_cv_func__frexpf_use=yes
2678 + glibcxx_cv_func__frexpf_use=no
2680 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2682 +ac_cpp='$CPP $CPPFLAGS'
2683 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2691 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
2692 +$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
2694 + if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
2695 + for ac_func in _frexpf
2697 + ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
2698 +if test "x$ac_cv_func__frexpf" = x""yes; then :
2699 + cat >>confdefs.h <<_ACEOF
2700 +#define HAVE__FREXPF 1
2713 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
2714 +$as_echo_n "checking for hypotf declaration... " >&6; }
2715 + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
2716 + if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
2717 + $as_echo_n "(cached) " >&6
2722 +ac_cpp='$CXXCPP $CPPFLAGS'
2723 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2724 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2725 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2727 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 +/* end confdefs.h. */
2738 +if ac_fn_cxx_try_compile "$LINENO"; then :
2739 + glibcxx_cv_func_hypotf_use=yes
2741 + glibcxx_cv_func_hypotf_use=no
2743 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 +ac_cpp='$CPP $CPPFLAGS'
2746 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2754 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
2755 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
2757 + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
2758 + for ac_func in hypotf
2760 + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
2761 +if test "x$ac_cv_func_hypotf" = x""yes; then :
2762 + cat >>confdefs.h <<_ACEOF
2763 +#define HAVE_HYPOTF 1
2771 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
2772 +$as_echo_n "checking for _hypotf declaration... " >&6; }
2773 + if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
2774 + if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
2775 + $as_echo_n "(cached) " >&6
2780 +ac_cpp='$CXXCPP $CPPFLAGS'
2781 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2785 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786 +/* end confdefs.h. */
2796 +if ac_fn_cxx_try_compile "$LINENO"; then :
2797 + glibcxx_cv_func__hypotf_use=yes
2799 + glibcxx_cv_func__hypotf_use=no
2801 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 +ac_cpp='$CPP $CPPFLAGS'
2804 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
2813 +$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
2815 + if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
2816 + for ac_func in _hypotf
2818 + ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
2819 +if test "x$ac_cv_func__hypotf" = x""yes; then :
2820 + cat >>confdefs.h <<_ACEOF
2821 +#define HAVE__HYPOTF 1
2834 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
2835 +$as_echo_n "checking for ldexpf declaration... " >&6; }
2836 + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
2837 + if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
2838 + $as_echo_n "(cached) " >&6
2843 +ac_cpp='$CXXCPP $CPPFLAGS'
2844 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2845 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2846 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2848 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 +/* end confdefs.h. */
2859 +if ac_fn_cxx_try_compile "$LINENO"; then :
2860 + glibcxx_cv_func_ldexpf_use=yes
2862 + glibcxx_cv_func_ldexpf_use=no
2864 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 +ac_cpp='$CPP $CPPFLAGS'
2867 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2875 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
2876 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
2878 + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
2879 + for ac_func in ldexpf
2881 + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
2882 +if test "x$ac_cv_func_ldexpf" = x""yes; then :
2883 + cat >>confdefs.h <<_ACEOF
2884 +#define HAVE_LDEXPF 1
2892 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
2893 +$as_echo_n "checking for _ldexpf declaration... " >&6; }
2894 + if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
2895 + if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
2896 + $as_echo_n "(cached) " >&6
2901 +ac_cpp='$CXXCPP $CPPFLAGS'
2902 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2906 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 +/* end confdefs.h. */
2917 +if ac_fn_cxx_try_compile "$LINENO"; then :
2918 + glibcxx_cv_func__ldexpf_use=yes
2920 + glibcxx_cv_func__ldexpf_use=no
2922 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 +ac_cpp='$CPP $CPPFLAGS'
2925 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2933 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
2934 +$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
2936 + if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
2937 + for ac_func in _ldexpf
2939 + ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
2940 +if test "x$ac_cv_func__ldexpf" = x""yes; then :
2941 + cat >>confdefs.h <<_ACEOF
2942 +#define HAVE__LDEXPF 1
2955 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
2956 +$as_echo_n "checking for logf declaration... " >&6; }
2957 + if test x${glibcxx_cv_func_logf_use+set} != xset; then
2958 + if test "${glibcxx_cv_func_logf_use+set}" = set; then :
2959 + $as_echo_n "(cached) " >&6
2964 +ac_cpp='$CXXCPP $CPPFLAGS'
2965 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2966 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2967 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2969 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970 +/* end confdefs.h. */
2972 + #ifdef HAVE_IEEEFP_H
2973 + #include <ieeefp.h>
2984 +if ac_fn_cxx_try_compile "$LINENO"; then :
2985 + glibcxx_cv_func_logf_use=yes
2987 + glibcxx_cv_func_logf_use=no
2989 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 +ac_cpp='$CPP $CPPFLAGS'
2992 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
3001 +$as_echo "$glibcxx_cv_func_logf_use" >&6; }
3003 + if test x$glibcxx_cv_func_logf_use = x"yes"; then
3004 + for ac_func in logf
3006 + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
3007 +if test "x$ac_cv_func_logf" = x""yes; then :
3008 + cat >>confdefs.h <<_ACEOF
3009 +#define HAVE_LOGF 1
3017 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
3018 +$as_echo_n "checking for _logf declaration... " >&6; }
3019 + if test x${glibcxx_cv_func__logf_use+set} != xset; then
3020 + if test "${glibcxx_cv_func__logf_use+set}" = set; then :
3021 + $as_echo_n "(cached) " >&6
3026 +ac_cpp='$CXXCPP $CPPFLAGS'
3027 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3031 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 +/* end confdefs.h. */
3034 + #ifdef HAVE_IEEEFP_H
3035 + #include <ieeefp.h>
3046 +if ac_fn_cxx_try_compile "$LINENO"; then :
3047 + glibcxx_cv_func__logf_use=yes
3049 + glibcxx_cv_func__logf_use=no
3051 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 +ac_cpp='$CPP $CPPFLAGS'
3054 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3056 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3062 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
3063 +$as_echo "$glibcxx_cv_func__logf_use" >&6; }
3065 + if test x$glibcxx_cv_func__logf_use = x"yes"; then
3066 + for ac_func in _logf
3068 + ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
3069 +if test "x$ac_cv_func__logf" = x""yes; then :
3070 + cat >>confdefs.h <<_ACEOF
3071 +#define HAVE__LOGF 1
3084 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
3085 +$as_echo_n "checking for log10f declaration... " >&6; }
3086 + if test x${glibcxx_cv_func_log10f_use+set} != xset; then
3087 + if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
3088 + $as_echo_n "(cached) " >&6
3093 +ac_cpp='$CXXCPP $CPPFLAGS'
3094 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3098 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 +/* end confdefs.h. */
3101 + #ifdef HAVE_IEEEFP_H
3102 + #include <ieeefp.h>
3113 +if ac_fn_cxx_try_compile "$LINENO"; then :
3114 + glibcxx_cv_func_log10f_use=yes
3116 + glibcxx_cv_func_log10f_use=no
3118 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 +ac_cpp='$CPP $CPPFLAGS'
3121 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3129 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
3130 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
3132 + if test x$glibcxx_cv_func_log10f_use = x"yes"; then
3133 + for ac_func in log10f
3135 + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
3136 +if test "x$ac_cv_func_log10f" = x""yes; then :
3137 + cat >>confdefs.h <<_ACEOF
3138 +#define HAVE_LOG10F 1
3146 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
3147 +$as_echo_n "checking for _log10f declaration... " >&6; }
3148 + if test x${glibcxx_cv_func__log10f_use+set} != xset; then
3149 + if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
3150 + $as_echo_n "(cached) " >&6
3155 +ac_cpp='$CXXCPP $CPPFLAGS'
3156 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3160 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 +/* end confdefs.h. */
3163 + #ifdef HAVE_IEEEFP_H
3164 + #include <ieeefp.h>
3175 +if ac_fn_cxx_try_compile "$LINENO"; then :
3176 + glibcxx_cv_func__log10f_use=yes
3178 + glibcxx_cv_func__log10f_use=no
3180 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 +ac_cpp='$CPP $CPPFLAGS'
3183 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
3192 +$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
3194 + if test x$glibcxx_cv_func__log10f_use = x"yes"; then
3195 + for ac_func in _log10f
3197 + ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
3198 +if test "x$ac_cv_func__log10f" = x""yes; then :
3199 + cat >>confdefs.h <<_ACEOF
3200 +#define HAVE__LOG10F 1
3213 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
3214 +$as_echo_n "checking for modff declaration... " >&6; }
3215 + if test x${glibcxx_cv_func_modff_use+set} != xset; then
3216 + if test "${glibcxx_cv_func_modff_use+set}" = set; then :
3217 + $as_echo_n "(cached) " >&6
3222 +ac_cpp='$CXXCPP $CPPFLAGS'
3223 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3227 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 +/* end confdefs.h. */
3238 +if ac_fn_cxx_try_compile "$LINENO"; then :
3239 + glibcxx_cv_func_modff_use=yes
3241 + glibcxx_cv_func_modff_use=no
3243 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 +ac_cpp='$CPP $CPPFLAGS'
3246 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3254 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
3255 +$as_echo "$glibcxx_cv_func_modff_use" >&6; }
3257 + if test x$glibcxx_cv_func_modff_use = x"yes"; then
3258 + for ac_func in modff
3260 + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
3261 +if test "x$ac_cv_func_modff" = x""yes; then :
3262 + cat >>confdefs.h <<_ACEOF
3263 +#define HAVE_MODFF 1
3271 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
3272 +$as_echo_n "checking for _modff declaration... " >&6; }
3273 + if test x${glibcxx_cv_func__modff_use+set} != xset; then
3274 + if test "${glibcxx_cv_func__modff_use+set}" = set; then :
3275 + $as_echo_n "(cached) " >&6
3280 +ac_cpp='$CXXCPP $CPPFLAGS'
3281 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3282 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3283 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3285 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 +/* end confdefs.h. */
3296 +if ac_fn_cxx_try_compile "$LINENO"; then :
3297 + glibcxx_cv_func__modff_use=yes
3299 + glibcxx_cv_func__modff_use=no
3301 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 +ac_cpp='$CPP $CPPFLAGS'
3304 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3305 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3306 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3312 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
3313 +$as_echo "$glibcxx_cv_func__modff_use" >&6; }
3315 + if test x$glibcxx_cv_func__modff_use = x"yes"; then
3316 + for ac_func in _modff
3318 + ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
3319 +if test "x$ac_cv_func__modff" = x""yes; then :
3320 + cat >>confdefs.h <<_ACEOF
3321 +#define HAVE__MODFF 1
3334 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
3335 +$as_echo_n "checking for modf declaration... " >&6; }
3336 + if test x${glibcxx_cv_func_modf_use+set} != xset; then
3337 + if test "${glibcxx_cv_func_modf_use+set}" = set; then :
3338 + $as_echo_n "(cached) " >&6
3343 +ac_cpp='$CXXCPP $CPPFLAGS'
3344 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3348 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 +/* end confdefs.h. */
3359 +if ac_fn_cxx_try_compile "$LINENO"; then :
3360 + glibcxx_cv_func_modf_use=yes
3362 + glibcxx_cv_func_modf_use=no
3364 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 +ac_cpp='$CPP $CPPFLAGS'
3367 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3375 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
3376 +$as_echo "$glibcxx_cv_func_modf_use" >&6; }
3378 + if test x$glibcxx_cv_func_modf_use = x"yes"; then
3379 + for ac_func in modf
3381 + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
3382 +if test "x$ac_cv_func_modf" = x""yes; then :
3383 + cat >>confdefs.h <<_ACEOF
3384 +#define HAVE_MODF 1
3392 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
3393 +$as_echo_n "checking for _modf declaration... " >&6; }
3394 + if test x${glibcxx_cv_func__modf_use+set} != xset; then
3395 + if test "${glibcxx_cv_func__modf_use+set}" = set; then :
3396 + $as_echo_n "(cached) " >&6
3401 +ac_cpp='$CXXCPP $CPPFLAGS'
3402 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3406 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 +/* end confdefs.h. */
3417 +if ac_fn_cxx_try_compile "$LINENO"; then :
3418 + glibcxx_cv_func__modf_use=yes
3420 + glibcxx_cv_func__modf_use=no
3422 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 +ac_cpp='$CPP $CPPFLAGS'
3425 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3426 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3427 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
3434 +$as_echo "$glibcxx_cv_func__modf_use" >&6; }
3436 + if test x$glibcxx_cv_func__modf_use = x"yes"; then
3437 + for ac_func in _modf
3439 + ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
3440 +if test "x$ac_cv_func__modf" = x""yes; then :
3441 + cat >>confdefs.h <<_ACEOF
3442 +#define HAVE__MODF 1
3455 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
3456 +$as_echo_n "checking for powf declaration... " >&6; }
3457 + if test x${glibcxx_cv_func_powf_use+set} != xset; then
3458 + if test "${glibcxx_cv_func_powf_use+set}" = set; then :
3459 + $as_echo_n "(cached) " >&6
3464 +ac_cpp='$CXXCPP $CPPFLAGS'
3465 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3469 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 +/* end confdefs.h. */
3480 +if ac_fn_cxx_try_compile "$LINENO"; then :
3481 + glibcxx_cv_func_powf_use=yes
3483 + glibcxx_cv_func_powf_use=no
3485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3487 +ac_cpp='$CPP $CPPFLAGS'
3488 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3489 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3496 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
3497 +$as_echo "$glibcxx_cv_func_powf_use" >&6; }
3499 + if test x$glibcxx_cv_func_powf_use = x"yes"; then
3500 + for ac_func in powf
3502 + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
3503 +if test "x$ac_cv_func_powf" = x""yes; then :
3504 + cat >>confdefs.h <<_ACEOF
3505 +#define HAVE_POWF 1
3513 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
3514 +$as_echo_n "checking for _powf declaration... " >&6; }
3515 + if test x${glibcxx_cv_func__powf_use+set} != xset; then
3516 + if test "${glibcxx_cv_func__powf_use+set}" = set; then :
3517 + $as_echo_n "(cached) " >&6
3522 +ac_cpp='$CXXCPP $CPPFLAGS'
3523 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3524 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3525 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3527 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 +/* end confdefs.h. */
3538 +if ac_fn_cxx_try_compile "$LINENO"; then :
3539 + glibcxx_cv_func__powf_use=yes
3541 + glibcxx_cv_func__powf_use=no
3543 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545 +ac_cpp='$CPP $CPPFLAGS'
3546 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
3555 +$as_echo "$glibcxx_cv_func__powf_use" >&6; }
3557 + if test x$glibcxx_cv_func__powf_use = x"yes"; then
3558 + for ac_func in _powf
3560 + ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
3561 +if test "x$ac_cv_func__powf" = x""yes; then :
3562 + cat >>confdefs.h <<_ACEOF
3563 +#define HAVE__POWF 1
3576 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
3577 +$as_echo_n "checking for sqrtf declaration... " >&6; }
3578 + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
3579 + if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
3580 + $as_echo_n "(cached) " >&6
3585 +ac_cpp='$CXXCPP $CPPFLAGS'
3586 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3590 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 +/* end confdefs.h. */
3593 + #ifdef HAVE_IEEEFP_H
3594 + #include <ieeefp.h>
3605 +if ac_fn_cxx_try_compile "$LINENO"; then :
3606 + glibcxx_cv_func_sqrtf_use=yes
3608 + glibcxx_cv_func_sqrtf_use=no
3610 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612 +ac_cpp='$CPP $CPPFLAGS'
3613 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3614 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3621 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
3622 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
3624 + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
3625 + for ac_func in sqrtf
3627 + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
3628 +if test "x$ac_cv_func_sqrtf" = x""yes; then :
3629 + cat >>confdefs.h <<_ACEOF
3630 +#define HAVE_SQRTF 1
3638 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
3639 +$as_echo_n "checking for _sqrtf declaration... " >&6; }
3640 + if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
3641 + if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
3642 + $as_echo_n "(cached) " >&6
3647 +ac_cpp='$CXXCPP $CPPFLAGS'
3648 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3652 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 +/* end confdefs.h. */
3655 + #ifdef HAVE_IEEEFP_H
3656 + #include <ieeefp.h>
3667 +if ac_fn_cxx_try_compile "$LINENO"; then :
3668 + glibcxx_cv_func__sqrtf_use=yes
3670 + glibcxx_cv_func__sqrtf_use=no
3672 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3674 +ac_cpp='$CPP $CPPFLAGS'
3675 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
3684 +$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
3686 + if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
3687 + for ac_func in _sqrtf
3689 + ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
3690 +if test "x$ac_cv_func__sqrtf" = x""yes; then :
3691 + cat >>confdefs.h <<_ACEOF
3692 +#define HAVE__SQRTF 1
3705 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
3706 +$as_echo_n "checking for sincosf declaration... " >&6; }
3707 + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
3708 + if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
3709 + $as_echo_n "(cached) " >&6
3714 +ac_cpp='$CXXCPP $CPPFLAGS'
3715 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3719 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 +/* end confdefs.h. */
3730 +if ac_fn_cxx_try_compile "$LINENO"; then :
3731 + glibcxx_cv_func_sincosf_use=yes
3733 + glibcxx_cv_func_sincosf_use=no
3735 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737 +ac_cpp='$CPP $CPPFLAGS'
3738 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3739 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3740 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
3747 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
3749 + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
3750 + for ac_func in sincosf
3752 + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
3753 +if test "x$ac_cv_func_sincosf" = x""yes; then :
3754 + cat >>confdefs.h <<_ACEOF
3755 +#define HAVE_SINCOSF 1
3763 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
3764 +$as_echo_n "checking for _sincosf declaration... " >&6; }
3765 + if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
3766 + if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
3767 + $as_echo_n "(cached) " >&6
3772 +ac_cpp='$CXXCPP $CPPFLAGS'
3773 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3774 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3775 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3777 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 +/* end confdefs.h. */
3783 + _sincosf(0, 0, 0);
3788 +if ac_fn_cxx_try_compile "$LINENO"; then :
3789 + glibcxx_cv_func__sincosf_use=yes
3791 + glibcxx_cv_func__sincosf_use=no
3793 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 +ac_cpp='$CPP $CPPFLAGS'
3796 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
3805 +$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
3807 + if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
3808 + for ac_func in _sincosf
3810 + ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
3811 +if test "x$ac_cv_func__sincosf" = x""yes; then :
3812 + cat >>confdefs.h <<_ACEOF
3813 +#define HAVE__SINCOSF 1
3826 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
3827 +$as_echo_n "checking for finitef declaration... " >&6; }
3828 + if test x${glibcxx_cv_func_finitef_use+set} != xset; then
3829 + if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
3830 + $as_echo_n "(cached) " >&6
3835 +ac_cpp='$CXXCPP $CPPFLAGS'
3836 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3840 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 +/* end confdefs.h. */
3843 + #ifdef HAVE_IEEEFP_H
3844 + #include <ieeefp.h>
3855 +if ac_fn_cxx_try_compile "$LINENO"; then :
3856 + glibcxx_cv_func_finitef_use=yes
3858 + glibcxx_cv_func_finitef_use=no
3860 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862 +ac_cpp='$CPP $CPPFLAGS'
3863 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3871 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
3872 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
3874 + if test x$glibcxx_cv_func_finitef_use = x"yes"; then
3875 + for ac_func in finitef
3877 + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
3878 +if test "x$ac_cv_func_finitef" = x""yes; then :
3879 + cat >>confdefs.h <<_ACEOF
3880 +#define HAVE_FINITEF 1
3888 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
3889 +$as_echo_n "checking for _finitef declaration... " >&6; }
3890 + if test x${glibcxx_cv_func__finitef_use+set} != xset; then
3891 + if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
3892 + $as_echo_n "(cached) " >&6
3897 +ac_cpp='$CXXCPP $CPPFLAGS'
3898 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3899 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3900 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3902 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 +/* end confdefs.h. */
3905 + #ifdef HAVE_IEEEFP_H
3906 + #include <ieeefp.h>
3917 +if ac_fn_cxx_try_compile "$LINENO"; then :
3918 + glibcxx_cv_func__finitef_use=yes
3920 + glibcxx_cv_func__finitef_use=no
3922 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 +ac_cpp='$CPP $CPPFLAGS'
3925 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
3934 +$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
3936 + if test x$glibcxx_cv_func__finitef_use = x"yes"; then
3937 + for ac_func in _finitef
3939 + ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
3940 +if test "x$ac_cv_func__finitef" = x""yes; then :
3941 + cat >>confdefs.h <<_ACEOF
3942 +#define HAVE__FINITEF 1
3955 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
3956 +$as_echo_n "checking for long double trig functions... " >&6; }
3957 + if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
3958 + $as_echo_n "(cached) " >&6
3963 +ac_cpp='$CXXCPP $CPPFLAGS'
3964 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3968 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 +/* end confdefs.h. */
3974 +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
3979 +if ac_fn_cxx_try_compile "$LINENO"; then :
3980 + glibcxx_cv_func_long_double_trig_use=yes
3982 + glibcxx_cv_func_long_double_trig_use=no
3984 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3986 +ac_cpp='$CPP $CPPFLAGS'
3987 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
3994 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
3995 + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
3996 + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
3998 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3999 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4000 +eval as_val=\$$as_ac_var
4001 + if test "x$as_val" = x""yes; then :
4002 + cat >>confdefs.h <<_ACEOF
4003 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4010 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
4011 +$as_echo_n "checking for _long double trig functions... " >&6; }
4012 + if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
4013 + $as_echo_n "(cached) " >&6
4018 +ac_cpp='$CXXCPP $CPPFLAGS'
4019 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4023 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 +/* end confdefs.h. */
4029 +_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
4034 +if ac_fn_cxx_try_compile "$LINENO"; then :
4035 + glibcxx_cv_func__long_double_trig_use=yes
4037 + glibcxx_cv_func__long_double_trig_use=no
4039 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041 +ac_cpp='$CPP $CPPFLAGS'
4042 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4043 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4044 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
4049 +$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
4050 + if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
4051 + for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
4053 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4054 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4055 +eval as_val=\$$as_ac_var
4056 + if test "x$as_val" = x""yes; then :
4057 + cat >>confdefs.h <<_ACEOF
4058 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4071 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
4072 +$as_echo_n "checking for long double round functions... " >&6; }
4073 + if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
4074 + $as_echo_n "(cached) " >&6
4079 +ac_cpp='$CXXCPP $CPPFLAGS'
4080 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4084 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 +/* end confdefs.h. */
4090 +ceill (0); floorl (0);
4095 +if ac_fn_cxx_try_compile "$LINENO"; then :
4096 + glibcxx_cv_func_long_double_round_use=yes
4098 + glibcxx_cv_func_long_double_round_use=no
4100 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 +ac_cpp='$CPP $CPPFLAGS'
4103 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4104 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4105 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4109 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
4110 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
4111 + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
4112 + for ac_func in ceill floorl
4114 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4115 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4116 +eval as_val=\$$as_ac_var
4117 + if test "x$as_val" = x""yes; then :
4118 + cat >>confdefs.h <<_ACEOF
4119 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4126 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
4127 +$as_echo_n "checking for _long double round functions... " >&6; }
4128 + if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
4129 + $as_echo_n "(cached) " >&6
4134 +ac_cpp='$CXXCPP $CPPFLAGS'
4135 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4139 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 +/* end confdefs.h. */
4145 +_ceill (0); _floorl (0);
4150 +if ac_fn_cxx_try_compile "$LINENO"; then :
4151 + glibcxx_cv_func__long_double_round_use=yes
4153 + glibcxx_cv_func__long_double_round_use=no
4155 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4157 +ac_cpp='$CPP $CPPFLAGS'
4158 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4159 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4160 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
4165 +$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
4166 + if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
4167 + for ac_func in _ceill _floorl
4169 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4170 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4171 +eval as_val=\$$as_ac_var
4172 + if test "x$as_val" = x""yes; then :
4173 + cat >>confdefs.h <<_ACEOF
4174 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4188 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
4189 +$as_echo_n "checking for isnanl declaration... " >&6; }
4190 + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
4191 + if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
4192 + $as_echo_n "(cached) " >&6
4197 +ac_cpp='$CXXCPP $CPPFLAGS'
4198 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4202 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 +/* end confdefs.h. */
4205 + #ifdef HAVE_IEEEFP_H
4206 + #include <ieeefp.h>
4217 +if ac_fn_cxx_try_compile "$LINENO"; then :
4218 + glibcxx_cv_func_isnanl_use=yes
4220 + glibcxx_cv_func_isnanl_use=no
4222 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 +ac_cpp='$CPP $CPPFLAGS'
4225 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4233 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
4234 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
4236 + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
4237 + for ac_func in isnanl
4239 + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
4240 +if test "x$ac_cv_func_isnanl" = x""yes; then :
4241 + cat >>confdefs.h <<_ACEOF
4242 +#define HAVE_ISNANL 1
4250 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
4251 +$as_echo_n "checking for _isnanl declaration... " >&6; }
4252 + if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
4253 + if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
4254 + $as_echo_n "(cached) " >&6
4259 +ac_cpp='$CXXCPP $CPPFLAGS'
4260 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4264 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265 +/* end confdefs.h. */
4267 + #ifdef HAVE_IEEEFP_H
4268 + #include <ieeefp.h>
4279 +if ac_fn_cxx_try_compile "$LINENO"; then :
4280 + glibcxx_cv_func__isnanl_use=yes
4282 + glibcxx_cv_func__isnanl_use=no
4284 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4286 +ac_cpp='$CPP $CPPFLAGS'
4287 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
4296 +$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
4298 + if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
4299 + for ac_func in _isnanl
4301 + ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
4302 +if test "x$ac_cv_func__isnanl" = x""yes; then :
4303 + cat >>confdefs.h <<_ACEOF
4304 +#define HAVE__ISNANL 1
4317 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
4318 +$as_echo_n "checking for isinfl declaration... " >&6; }
4319 + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
4320 + if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
4321 + $as_echo_n "(cached) " >&6
4326 +ac_cpp='$CXXCPP $CPPFLAGS'
4327 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4331 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 +/* end confdefs.h. */
4334 + #ifdef HAVE_IEEEFP_H
4335 + #include <ieeefp.h>
4346 +if ac_fn_cxx_try_compile "$LINENO"; then :
4347 + glibcxx_cv_func_isinfl_use=yes
4349 + glibcxx_cv_func_isinfl_use=no
4351 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4353 +ac_cpp='$CPP $CPPFLAGS'
4354 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 +ac_compiler_gnu=$ac_cv_c_compiler_gnu