1 diff --git a/config.sub b/config.sub
2 index 78176a4..e16a497 100755
6 | -sym* | -kopensolaris* \
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/gengtype.c b/gcc/gengtype.c
14 index abf17f8..550d3bb 100644
17 @@ -3613,13 +3613,13 @@ write_field_root (outf_p f, pair_p v, type_p type, const char *name,
18 int has_length, struct fileloc *line, const char *if_marked,
19 bool emit_pch, type_p field_type, const char *field_name)
22 /* If the field reference is relative to V, rather than to some
23 subcomponent of V, we can mark any subarrays with a single stride.
24 We're effectively treating the field as a global variable in its
26 if (v && type == v->type)
31 newv.type = field_type;
32 diff --git a/gcc/config.gcc b/gcc/config.gcc
33 index 7282a68..3933f4d 100644
36 @@ -1172,10 +1172,28 @@
37 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
38 tmake_file="${tmake_file} i386/t-i386elf t-svr4"
40 +i[34567]86-pc-barrelfish*)
41 + 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"
42 + tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
45 +i[34567]86-scc-barrelfish*)
46 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/barrelfish-scc.h"
47 + tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
50 x86_64-*-elf* | [lk]1om-*-elf*)
51 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
52 tmake_file="${tmake_file} i386/t-i386elf t-svr4"
55 + 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"
56 + tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff i386/t-mic-crtfm"
58 +x86_64-*-barrelfish*)
59 + 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"
60 + tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
62 i[34567]86-*-freebsd*)
63 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
64 tmake_file="${tmake_file} i386/t-crtstuff"
65 @@ -2864,6 +2882,10 @@
73 k1om-*-linux* | x86_64-k1om-linux*)
78 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
81 + tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
83 i[34567]86-*-solaris2*)
84 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
90 -i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux*)
91 +i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish* )
92 tmake_file="${tmake_file} i386/t-pmm_malloc i386/t-i386"
94 i[34567]86-*-* | x86_64-*-* | [lk]1om-*-*)
95 diff --git a/boehm-gc/configure b/boehm-gc/configure
96 --- a/boehm-gc/configure
97 +++ b/boehm-gc/configure
101 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
102 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
103 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish \
104 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
105 # Find out which ABI we are using.
106 echo 'int i;' > conftest.$ac_ext
107 @@ -6820,6 +6820,9 @@
109 LD="${LD-ld} -m elf_k1om"
112 + LD="${LD-ld} -m elf_k1om"
114 ppc*-*linux*|powerpc*-*linux*)
115 LD="${LD-ld} -m elf64ppc"
117 @@ -14729,7 +14732,7 @@
121 - x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | alpha-*-linux*)
122 + x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | alpha-*-linux* | [lk]1om-*-barrelfish*)
124 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
126 @@ -15283,7 +15286,7 @@
127 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
130 - x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* )
131 + x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish* )
132 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
135 diff --git a/libgcc/configure b/libgcc/configure
136 --- a/libgcc/configure
137 +++ b/libgcc/configure
138 @@ -3683,7 +3683,7 @@
141 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [lk]1om*-*-linux* | s390*-*-linux* | \
142 - i?86*-*-mingw* | x86_64*-*-mingw* | \
143 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish* | \
145 enable_decimal_float=yes
147 @@ -6896,7 +6896,7 @@
150 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [lk]1om*-*-linux* | s390*-*-linux* | \
151 - i?86*-*-mingw* | x86_64*-*-mingw* | \
152 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish* | \
154 enable_decimal_float=yes
156 @@ -13277,7 +13277,7 @@
158 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
159 x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
160 -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
161 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*|k1om-*-barrelfish*)
162 # Find out which ABI we are using.
163 echo 'int i;' > conftest.$ac_ext
164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
165 @@ -13325,6 +13325,9 @@
167 LD="${LD-ld} -m elf_k1om"
170 + LD="${LD-ld} -m elf_k1om"
172 ppc*-*linux*|powerpc*-*linux*)
173 LD="${LD-ld} -m elf64ppc"
175 diff --git a/libmudflap/configure b/libmudflap/configure
176 --- a/libmudflap/configure
177 +++ b/libmudflap/configure
178 @@ -6354,7 +6354,7 @@
181 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
182 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
183 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| k1om-*-barrelfish | \
184 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
185 # Find out which ABI we are using.
186 echo 'int i;' > conftest.$ac_ext
187 @@ -6403,6 +6403,9 @@
189 LD="${LD-ld} -m elf_k1om"
192 + LD="${LD-ld} -m elf_k1om"
194 ppc*-*linux*|powerpc*-*linux*)
195 LD="${LD-ld} -m elf64ppc"
197 diff --git a/libffi/configure b/libffi/configure
198 --- a/libffi/configure
199 +++ b/libffi/configure
200 @@ -6267,7 +6267,7 @@
203 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
204 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
205 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| k1om-*-barrelfish* |\
206 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
207 # Find out which ABI we are using.
208 echo 'int i;' > conftest.$ac_ext
209 @@ -6316,6 +6316,9 @@
211 LD="${LD-ld} -m elf_k1om"
214 + LD="${LD-ld} -m elf_k1om"
216 ppc*-*linux*|powerpc*-*linux*)
217 LD="${LD-ld} -m elf64ppc"
219 diff --git a/libquadmath/configure b/libquadmath/configure
220 --- a/libquadmath/configure
221 +++ b/libquadmath/configure
222 @@ -6249,7 +6249,7 @@
225 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
226 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
227 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
228 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
229 # Find out which ABI we are using.
230 echo 'int i;' > conftest.$ac_ext
231 @@ -6298,6 +6298,9 @@
233 LD="${LD-ld} -m elf_k1om"
236 + LD="${LD-ld} -m elf_k1om"
238 ppc*-*linux*|powerpc*-*linux*)
239 LD="${LD-ld} -m elf64ppc"
242 diff --git a/libtool.m4 b/libtool.m4
245 @@ -1221,7 +1221,7 @@
248 x86_64-*kfreebsd*-gnu|[[lk]]1om-*kfreebsd*-gnu| \
249 -x86_64-*linux*|[[lk]]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
250 +x86_64-*linux*|[[lk]]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
251 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
252 # Find out which ABI we are using.
253 echo 'int i;' > conftest.$ac_ext
254 @@ -1266,6 +1266,9 @@
256 LD="${LD-ld} -m elf_k1om"
259 + LD="${LD-ld} -m elf_k1om"
261 ppc*-*linux*|powerpc*-*linux*)
262 LD="${LD-ld} -m elf64ppc"
264 diff --git a/libdecnumber/configure b/libdecnumber/configure
265 --- a/libdecnumber/configure
266 +++ b/libdecnumber/configure
267 @@ -4603,7 +4603,7 @@
270 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [lk]1om*-*-linux* | s390*-*-linux* | \
271 - i?86*-*-mingw* | x86_64*-*-mingw* | \
272 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish*|\
274 enable_decimal_float=yes
276 diff --git a/config/dfp.m4 b/config/dfp.m4
282 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [[lk]]1om*-*-linux* | s390*-*-linux* | \
283 - i?86*-*-mingw* | x86_64*-*-mingw* | \
284 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish* |\
286 enable_decimal_float=yes
288 diff --git a/zlib/configure b/zlib/configure
291 @@ -5854,7 +5854,7 @@
294 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
295 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
296 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
297 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
298 # Find out which ABI we are using.
299 echo 'int i;' > conftest.$ac_ext
300 @@ -5900,6 +5900,9 @@
302 LD="${LD-ld} -m elf_l1om"
305 + LD="${LD-ld} -m elf_k1om"
308 LD="${LD-ld} -m elf_k1om"
310 diff --git a/libgomp/configure b/libgomp/configure
311 --- a/libgomp/configure
312 +++ b/libgomp/configure
313 @@ -6583,7 +6583,7 @@
316 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
317 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
318 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
319 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
320 # Find out which ABI we are using.
321 echo 'int i;' > conftest.$ac_ext
322 @@ -6632,6 +6632,9 @@
324 LD="${LD-ld} -m elf_k1om"
327 + LD="${LD-ld} -m elf_k1om"
329 ppc*-*linux*|powerpc*-*linux*)
330 LD="${LD-ld} -m elf64ppc"
333 diff --git a/gcc/config/i386/barrelfish-scc.h b/gcc/config/i386/barrelfish-scc.h
335 index 0000000..930451c
337 +++ b/gcc/config/i386/barrelfish-scc.h
339 +#define BF_SRC "{{BF_SRC}}"
340 +#define BF_BUILD "{{BF_BUILD}}"
342 +#undef TARGET_OS_CPP_BUILTINS
343 +#define TARGET_OS_CPP_BUILTINS() \
345 + builtin_define ("BARRELFISH"); \
346 + builtin_define_std ("barrelfish"); \
347 + builtin_define_std ("unix"); \
348 + builtin_define_std ("scc"); \
349 + builtin_define ("CONFIG_LAZY_THC"); \
350 + builtin_define ("CONFIG_NEWLIB"); \
351 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
352 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
353 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
354 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP_IPI"); \
355 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
356 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
357 + builtin_assert ("system=barrelfish"); \
358 + builtin_assert ("system=unix"); \
362 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
364 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
367 + "-isystem" BF_SRC "/include " \
368 + "-isystem" BF_SRC "/include/arch/scc " \
369 + "-isystem" BF_SRC "/include/arch/x86_32 " \
370 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
371 + "-isystem" BF_SRC "/include/c " \
372 + "-isystem" BF_SRC "/include/target/x86_32 " \
373 + "-isystem" BF_SRC "/include/ipv4 " \
374 + "-isystem" BF_BUILD "/scc/include " \
375 + "-isystem" BF_BUILD "/scc/include/dev"
377 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
378 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
381 + "-L" BF_BUILD "/scc/lib " \
383 + "-loctopus_parser " \
384 + BF_BUILD "/scc/errors/errno.o " \
394 +#undef STARTFILE_SPEC
395 +#define STARTFILE_SPEC \
396 + BF_BUILD "/scc/lib/crt0.o%s " \
397 + BF_BUILD "/scc/lib/crtbegin.o%s"
400 +#define ENDFILE_SPEC \
401 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
402 + "%{mpc32:crtprec32.o%s} " \
403 + "%{mpc64:crtprec64.o%s} " \
404 + "%{mpc80:crtprec80.o%s} " \
405 + BF_BUILD "/scc/lib/crtend.o%s " \
408 +/* System header files are C++ ready so don't wrap in extern "C". */
409 +#undef NO_IMPLICIT_EXTERN_C
410 +#define NO_IMPLICIT_EXTERN_C 1
411 diff --git a/gcc/config/i386/barrelfish-x86_32.h b/gcc/config/i386/barrelfish-x86_32.h
413 index 0000000..84d0bf5
415 +++ b/gcc/config/i386/barrelfish-x86_32.h
417 +#define BF_SRC "{{BF_SRC}}"
418 +#define BF_BUILD "{{BF_BUILD}}"
420 +#undef TARGET_OS_CPP_BUILTINS
421 +#define TARGET_OS_CPP_BUILTINS() \
423 + builtin_define ("BARRELFISH"); \
424 + builtin_define_std ("barrelfish"); \
425 + builtin_define_std ("unix"); \
426 + builtin_define ("CONFIG_LAZY_THC"); \
427 + builtin_define ("CONFIG_NEWLIB"); \
428 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
429 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
430 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
431 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
432 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
433 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
434 + builtin_assert ("system=barrelfish"); \
435 + builtin_assert ("system=unix"); \
439 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
441 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
444 + "-isystem" BF_SRC "/include " \
445 + "-isystem" BF_SRC "/include/arch/x86_32 " \
446 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
447 + "-isystem" BF_SRC "/include/c " \
448 + "-isystem" BF_SRC "/include/target/x86_32 " \
449 + "-isystem" BF_SRC "/include/ipv4 " \
450 + "-isystem" BF_BUILD "/x86_32/include " \
451 + "-isystem" BF_BUILD "/x86_32/include/dev"
453 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
454 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
457 + "-L" BF_BUILD "/x86_32/lib " \
459 + "-loctopus_parser " \
460 + BF_BUILD "/x86_32/errors/errno.o " \
470 +#undef STARTFILE_SPEC
471 +#define STARTFILE_SPEC \
472 + BF_BUILD "/x86_32/lib/crt0.o%s " \
473 + BF_BUILD "/x86_32/lib/crtbegin.o%s"
476 +#define ENDFILE_SPEC \
477 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
478 + "%{mpc32:crtprec32.o%s} " \
479 + "%{mpc64:crtprec64.o%s} " \
480 + "%{mpc80:crtprec80.o%s} " \
481 + BF_BUILD "/x86_32/lib/crtend.o%s " \
484 +/* System header files are C++ ready so don't wrap in extern "C". */
485 +#undef NO_IMPLICIT_EXTERN_C
486 +#define NO_IMPLICIT_EXTERN_C 1
487 diff --git a/gcc/config/i386/barrelfish-x86_64.h b/gcc/config/i386/barrelfish-x86_64.h
489 index 0000000..8608b62
491 +++ b/gcc/config/i386/barrelfish-x86_64.h
493 +#define BF_SRC "{{BF_SRC}}"
494 +#define BF_BUILD "{{BF_BUILD}}"
496 +#undef TARGET_OS_CPP_BUILTINS
497 +#define TARGET_OS_CPP_BUILTINS() \
499 + builtin_define ("BARRELFISH"); \
500 + builtin_define_std ("barrelfish"); \
501 + builtin_define_std ("unix"); \
502 + builtin_define ("CONFIG_LAZY_THC"); \
503 + builtin_define ("CONFIG_NEWLIB"); \
504 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
505 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
506 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
507 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
508 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
509 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
510 + builtin_assert ("system=barrelfish"); \
511 + builtin_assert ("system=unix"); \
515 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
517 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
520 + "-isystem" BF_SRC "/include " \
521 + "-isystem" BF_SRC "/include/arch/x86_64 " \
522 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
523 + "-isystem" BF_SRC "/include/c " \
524 + "-isystem" BF_SRC "/include/target/x86_64 " \
525 + "-isystem" BF_SRC "/include/ipv4 " \
526 + "-isystem" BF_BUILD "/x86_64/include " \
527 + "-isystem" BF_BUILD "/x86_64/include/dev"
529 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
530 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
533 + "-L" BF_BUILD "/x86_64/lib " \
535 + "-loctopus_parser " \
536 + BF_BUILD "/x86_64/errors/errno.o " \
546 +#undef STARTFILE_SPEC
547 +#define STARTFILE_SPEC \
548 + BF_BUILD "/x86_64/lib/crt0.o%s " \
549 + BF_BUILD "/x86_64/lib/crtbegin.o%s"
552 +#define ENDFILE_SPEC \
553 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
554 + "%{mpc32:crtprec32.o%s} " \
555 + "%{mpc64:crtprec64.o%s} " \
556 + "%{mpc80:crtprec80.o%s} " \
557 + BF_BUILD "/x86_64/lib/crtend.o%s " \
560 +/* System header files are C++ ready so don't wrap in extern "C". */
561 +#undef NO_IMPLICIT_EXTERN_C
562 +#define NO_IMPLICIT_EXTERN_C 1
563 diff --git a/gcc/config/i386/barrelfish-k1om.h b/gcc/config/i386/barrelfish-k1om.h
565 index 0000000..8608b62
567 +++ b/gcc/config/i386/barrelfish-k1om.h
569 +#define BF_SRC "{{BF_SRC}}"
570 +#define BF_BUILD "{{BF_BUILD}}"
572 +#undef TARGET_OS_CPP_BUILTINS
573 +#define TARGET_OS_CPP_BUILTINS() \
575 + builtin_define ("BARRELFISH"); \
576 + builtin_define_std ("barrelfish"); \
577 + builtin_define_std ("unix"); \
578 + builtin_define ("CONFIG_LAZY_THC"); \
579 + builtin_define ("CONFIG_NEWLIB"); \
580 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
581 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
582 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
583 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
584 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
585 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
586 + builtin_assert ("system=barrelfish"); \
587 + builtin_assert ("system=unix"); \
591 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
593 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
596 + "-isystem" BF_SRC "/include " \
597 + "-isystem" BF_SRC "/include/arch/k1om " \
598 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
599 + "-isystem" BF_SRC "/include/c " \
600 + "-isystem" BF_SRC "/include/target/k1om " \
601 + "-isystem" BF_SRC "/include/ipv4 " \
602 + "-isystem" BF_BUILD "/k1om/include " \
603 + "-isystem" BF_BUILD "/k1om/include/dev"
605 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
606 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
609 + "-L" BF_BUILD "/k1om/lib " \
611 + "-loctopus_parser " \
612 + BF_BUILD "/k1om/errors/errno.o " \
622 +#undef STARTFILE_SPEC
623 +#define STARTFILE_SPEC \
624 + BF_BUILD "/k1om/lib/crt0.o%s " \
625 + BF_BUILD "/k1om/lib/crtbegin.o%s"
628 +#define ENDFILE_SPEC \
629 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
630 + "%{mpc32:crtprec32.o%s} " \
631 + "%{mpc64:crtprec64.o%s} " \
632 + "%{mpc80:crtprec80.o%s} " \
633 + BF_BUILD "/k1om/lib/crtend.o%s " \
636 +/* System header files are C++ ready so don't wrap in extern "C". */
637 +#undef NO_IMPLICIT_EXTERN_C
638 +#define NO_IMPLICIT_EXTERN_C 1
639 diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
640 index 8a03948..fe302bc 100644
641 --- a/gcc/ginclude/stddef.h
642 +++ b/gcc/ginclude/stddef.h
644 #define ___int_size_t_h
647 -#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
648 +#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) || defined(__barrelfish__)
649 /* __size_t is a typedef on FreeBSD 5!, must not trash it. */
652 diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
653 index 0730c76..ea56210 100644
654 --- a/gcc/testsuite/g++.dg/dg.exp
655 +++ b/gcc/testsuite/g++.dg/dg.exp
656 @@ -31,6 +31,7 @@ dg-init
657 # Gather a list of all tests, with the exception of those in directories
658 # that are handled specially.
659 set tests [lsort [find $srcdir/$subdir *.C]]
660 +set tests [prune $tests $srcdir/$subdir/eh/*]
661 set tests [prune $tests $srcdir/$subdir/bprob/*]
662 set tests [prune $tests $srcdir/$subdir/charset/*]
663 set tests [prune $tests $srcdir/$subdir/compat/*]
664 diff --git a/libgcc/config.host b/libgcc/config.host
665 index 66b4724..86bb37d 100644
666 --- a/libgcc/config.host
667 +++ b/libgcc/config.host
669 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
670 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
672 +i[34567]86-*-barrelfish*)
673 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
674 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
676 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu | \
677 [lk]1om-*-linux* | [lk]1om-*-kfreebsd*-gnu | [lk]1om-*-knetbsd*-gnu)
678 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
684 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
685 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules i386/t-mic-crtfm"
687 +x86_64-*-barrelfish*)
688 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
689 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
691 i[34567]86-pc-msdosdjgpp*)
693 i[34567]86-*-lynxos*)
698 -i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | \
699 +i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish* | \
700 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \
702 tmake_file="${tmake_file} t-tls"
704 i[34567]86-*-darwin* | x86_64-*-darwin* | [lk]1om-*-darwin* | \
705 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | [lk]1om-*-kfreebsd*-gnu | \
706 i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | \
707 - i[34567]86-*-gnu* | \
708 + i[34567]86-*-gnu* | k1om-*-barrelfish* | \
709 i[34567]86-*-solaris2* | \
710 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
711 i[34567]86-*-freebsd* | x86_64-*-freebsd* | [lk]1om-*-freebsd*)
716 -i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux*)
717 +i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish*)
718 # Provide backward binary compatibility for 64bit Linux/x86.
719 if test "${host_address}" = 64; then
720 tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
721 diff --git a/libiberty/clock.c b/libiberty/clock.c
722 index 07d902e..4d5817a 100644
723 --- a/libiberty/clock.c
724 +++ b/libiberty/clock.c
725 @@ -66,7 +66,7 @@ number of seconds used.
727 /* FIXME: should be able to declare as clock_t. */
733 #ifdef HAVE_GETRUSAGE
734 diff --git a/libiberty/gettimeofday.c b/libiberty/gettimeofday.c
735 index fca1679..88f2f5a 100644
736 --- a/libiberty/gettimeofday.c
737 +++ b/libiberty/gettimeofday.c
738 @@ -19,7 +19,7 @@ that @var{tz} be NULL. Returns 0 on success, -1 on failure.
742 -gettimeofday (struct timeval *tp, void *tz)
743 +gettimeofday (struct timeval *tp, struct timezone *tz)
747 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
748 index b642495..45e3ed3 100755
749 --- a/libstdc++-v3/configure
750 +++ b/libstdc++-v3/configure
751 @@ -50852,6 +51752,5867 @@ _ACEOF
757 + # All these tests are for C++; save the language and the compiler flags.
758 + # The CXXFLAGS thing is suspicious, but based on similar bits previously
759 + # found in GLIBCXX_CONFIGURE.
762 +ac_cpp='$CXXCPP $CPPFLAGS'
763 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
764 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
765 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
767 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
768 + ac_save_CXXFLAGS="$CXXFLAGS"
770 + # Check for maintainer-mode bits.
771 + if test x"$USE_MAINTAINER_MODE" = xno; then
777 + # Check for -ffunction-sections -fdata-sections
778 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
779 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
780 + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
781 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
782 +/* end confdefs.h. */
783 +int foo; void bar() { };
792 +if ac_fn_cxx_try_compile "$LINENO"; then :
797 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
798 + if test "$ac_test_CXXFLAGS" = set; then
799 + CXXFLAGS="$ac_save_CXXFLAGS"
801 + # this is the suspicious part
804 + if test x"$ac_fdsections" = x"yes"; then
805 + SECTION_FLAGS='-ffunction-sections -fdata-sections'
807 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
808 +$as_echo "$ac_fdsections" >&6; }
811 +ac_cpp='$CPP $CPPFLAGS'
812 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
813 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
814 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
820 + # If we're not using GNU ld, then there's no point in even trying these
821 + # tests. Check for that first. We should have already tested for gld
822 + # by now (in libtool), but require it now just to be safe...
823 + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
824 + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
828 + # The name set by libtool depends on the version of libtool. Shame on us
829 + # for depending on an impl detail, but c'est la vie. Older versions used
830 + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
831 + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
832 + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
833 + # set (hence we're using an older libtool), then set it.
834 + if test x${with_gnu_ld+set} != xset; then
835 + if test x${ac_cv_prog_gnu_ld+set} != xset; then
836 + # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
839 + with_gnu_ld=$ac_cv_prog_gnu_ld
843 + # Start by getting the version number. I think the libtool test already
844 + # does some of this, but throws away the result.
845 + glibcxx_ld_is_gold=no
846 + if test x"$with_gnu_ld" = x"yes"; then
847 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
848 +$as_echo_n "checking for ld version... " >&6; }
850 + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
851 + glibcxx_ld_is_gold=yes
853 + ldver=`$LD --version 2>/dev/null |
854 + 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'`
856 + glibcxx_gnu_ld_version=`echo $ldver | \
857 + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
858 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
859 +$as_echo "$glibcxx_gnu_ld_version" >&6; }
862 + # Set --gc-sections.
863 + glibcxx_have_gc_sections=no
864 + if test "$glibcxx_ld_is_gold" = "yes"; then
865 + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
866 + glibcxx_have_gc_sections=yes
869 + glibcxx_gcsections_min_ld=21602
870 + if test x"$with_gnu_ld" = x"yes" &&
871 + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
872 + glibcxx_have_gc_sections=yes
875 + if test "$glibcxx_have_gc_sections" = "yes"; then
876 + # Sufficiently young GNU ld it is! Joy and bunny rabbits!
877 + # NB: This flag only works reliably after 2.16.1. Configure tests
878 + # for this are difficult, so hard wire a value that should work.
880 + ac_test_CFLAGS="${CFLAGS+set}"
881 + ac_save_CFLAGS="$CFLAGS"
882 + CFLAGS='-Wl,--gc-sections'
884 + # Check for -Wl,--gc-sections
885 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
886 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
887 + if test x$gcc_no_link = xyes; then
888 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
890 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
891 +/* end confdefs.h. */
892 + int one(void) { return 1; }
893 + int two(void) { return 2; }
903 +if ac_fn_c_try_link "$LINENO"; then :
908 +rm -f core conftest.err conftest.$ac_objext \
909 + conftest$ac_exeext conftest.$ac_ext
910 + if test "$ac_gcsections" = "yes"; then
913 + if $CC -c conftest.c; then
914 + if $LD --gc-sections -o conftest conftest.o 2>&1 | \
915 + grep "Warning: gc-sections option ignored" > /dev/null; then
919 + rm -f conftest.c conftest.o conftest
921 + if test "$ac_gcsections" = "yes"; then
922 + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
924 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
925 +$as_echo "$ac_gcsections" >&6; }
927 + if test "$ac_test_CFLAGS" = set; then
928 + CFLAGS="$ac_save_CFLAGS"
930 + # this is the suspicious part
936 + # Note this is only for shared objects.
938 + if test x"$with_gnu_ld" = x"yes"; then
939 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
940 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
941 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
942 + if test -n "$cxx_z_relo"; then
943 + OPT_LDFLAGS="-Wl,-z,relro"
946 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
947 +$as_echo "$ac_ld_relro" >&6; }
950 + # Set linker optimization flags.
951 + if test x"$with_gnu_ld" = x"yes"; then
952 + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
959 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
960 + ac_save_CXXFLAGS="$CXXFLAGS"
961 + CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
963 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
964 +$as_echo_n "checking for sin in -lm... " >&6; }
965 +if test "${ac_cv_lib_m_sin+set}" = set; then :
966 + $as_echo_n "(cached) " >&6
968 + ac_check_lib_save_LIBS=$LIBS
970 +if test x$gcc_no_link = xyes; then
971 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
973 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
974 +/* end confdefs.h. */
976 +/* Override any GCC internal prototype to avoid an error.
977 + Use char because int might match the return type of a GCC
978 + builtin and then its argument prototype would still apply. */
991 +if ac_fn_c_try_link "$LINENO"; then :
992 + ac_cv_lib_m_sin=yes
996 +rm -f core conftest.err conftest.$ac_objext \
997 + conftest$ac_exeext conftest.$ac_ext
998 +LIBS=$ac_check_lib_save_LIBS
1000 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
1001 +$as_echo "$ac_cv_lib_m_sin" >&6; }
1002 +if test "x$ac_cv_lib_m_sin" = x""yes; then :
1006 + ac_save_LIBS="$LIBS"
1007 + LIBS="$LIBS $libm"
1011 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
1012 +$as_echo_n "checking for isinf declaration... " >&6; }
1013 + if test x${glibcxx_cv_func_isinf_use+set} != xset; then
1014 + if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
1015 + $as_echo_n "(cached) " >&6
1020 +ac_cpp='$CXXCPP $CPPFLAGS'
1021 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1022 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1023 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1025 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1026 +/* end confdefs.h. */
1028 + #ifdef HAVE_IEEEFP_H
1029 + #include <ieeefp.h>
1040 +if ac_fn_cxx_try_compile "$LINENO"; then :
1041 + glibcxx_cv_func_isinf_use=yes
1043 + glibcxx_cv_func_isinf_use=no
1045 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1047 +ac_cpp='$CPP $CPPFLAGS'
1048 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1049 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1050 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1056 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
1057 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
1059 + if test x$glibcxx_cv_func_isinf_use = x"yes"; then
1060 + for ac_func in isinf
1062 + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
1063 +if test "x$ac_cv_func_isinf" = x""yes; then :
1064 + cat >>confdefs.h <<_ACEOF
1065 +#define HAVE_ISINF 1
1073 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
1074 +$as_echo_n "checking for _isinf declaration... " >&6; }
1075 + if test x${glibcxx_cv_func__isinf_use+set} != xset; then
1076 + if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
1077 + $as_echo_n "(cached) " >&6
1082 +ac_cpp='$CXXCPP $CPPFLAGS'
1083 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1084 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1085 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1087 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1088 +/* end confdefs.h. */
1090 + #ifdef HAVE_IEEEFP_H
1091 + #include <ieeefp.h>
1102 +if ac_fn_cxx_try_compile "$LINENO"; then :
1103 + glibcxx_cv_func__isinf_use=yes
1105 + glibcxx_cv_func__isinf_use=no
1107 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1109 +ac_cpp='$CPP $CPPFLAGS'
1110 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1111 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1112 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1118 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
1119 +$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
1121 + if test x$glibcxx_cv_func__isinf_use = x"yes"; then
1122 + for ac_func in _isinf
1124 + ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
1125 +if test "x$ac_cv_func__isinf" = x""yes; then :
1126 + cat >>confdefs.h <<_ACEOF
1127 +#define HAVE__ISINF 1
1140 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
1141 +$as_echo_n "checking for isnan declaration... " >&6; }
1142 + if test x${glibcxx_cv_func_isnan_use+set} != xset; then
1143 + if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
1144 + $as_echo_n "(cached) " >&6
1149 +ac_cpp='$CXXCPP $CPPFLAGS'
1150 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1151 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1152 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1154 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1155 +/* end confdefs.h. */
1157 + #ifdef HAVE_IEEEFP_H
1158 + #include <ieeefp.h>
1169 +if ac_fn_cxx_try_compile "$LINENO"; then :
1170 + glibcxx_cv_func_isnan_use=yes
1172 + glibcxx_cv_func_isnan_use=no
1174 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1176 +ac_cpp='$CPP $CPPFLAGS'
1177 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1178 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1179 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1185 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
1186 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
1188 + if test x$glibcxx_cv_func_isnan_use = x"yes"; then
1189 + for ac_func in isnan
1191 + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
1192 +if test "x$ac_cv_func_isnan" = x""yes; then :
1193 + cat >>confdefs.h <<_ACEOF
1194 +#define HAVE_ISNAN 1
1202 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
1203 +$as_echo_n "checking for _isnan declaration... " >&6; }
1204 + if test x${glibcxx_cv_func__isnan_use+set} != xset; then
1205 + if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
1206 + $as_echo_n "(cached) " >&6
1211 +ac_cpp='$CXXCPP $CPPFLAGS'
1212 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1213 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1214 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1216 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1217 +/* end confdefs.h. */
1219 + #ifdef HAVE_IEEEFP_H
1220 + #include <ieeefp.h>
1231 +if ac_fn_cxx_try_compile "$LINENO"; then :
1232 + glibcxx_cv_func__isnan_use=yes
1234 + glibcxx_cv_func__isnan_use=no
1236 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1238 +ac_cpp='$CPP $CPPFLAGS'
1239 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1240 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1241 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1247 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
1248 +$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
1250 + if test x$glibcxx_cv_func__isnan_use = x"yes"; then
1251 + for ac_func in _isnan
1253 + ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
1254 +if test "x$ac_cv_func__isnan" = x""yes; then :
1255 + cat >>confdefs.h <<_ACEOF
1256 +#define HAVE__ISNAN 1
1269 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
1270 +$as_echo_n "checking for finite declaration... " >&6; }
1271 + if test x${glibcxx_cv_func_finite_use+set} != xset; then
1272 + if test "${glibcxx_cv_func_finite_use+set}" = set; then :
1273 + $as_echo_n "(cached) " >&6
1278 +ac_cpp='$CXXCPP $CPPFLAGS'
1279 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1280 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1281 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1283 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1284 +/* end confdefs.h. */
1286 + #ifdef HAVE_IEEEFP_H
1287 + #include <ieeefp.h>
1298 +if ac_fn_cxx_try_compile "$LINENO"; then :
1299 + glibcxx_cv_func_finite_use=yes
1301 + glibcxx_cv_func_finite_use=no
1303 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1305 +ac_cpp='$CPP $CPPFLAGS'
1306 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1307 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1308 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1314 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
1315 +$as_echo "$glibcxx_cv_func_finite_use" >&6; }
1317 + if test x$glibcxx_cv_func_finite_use = x"yes"; then
1318 + for ac_func in finite
1320 + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
1321 +if test "x$ac_cv_func_finite" = x""yes; then :
1322 + cat >>confdefs.h <<_ACEOF
1323 +#define HAVE_FINITE 1
1331 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
1332 +$as_echo_n "checking for _finite declaration... " >&6; }
1333 + if test x${glibcxx_cv_func__finite_use+set} != xset; then
1334 + if test "${glibcxx_cv_func__finite_use+set}" = set; then :
1335 + $as_echo_n "(cached) " >&6
1340 +ac_cpp='$CXXCPP $CPPFLAGS'
1341 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1342 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1343 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1345 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1346 +/* end confdefs.h. */
1348 + #ifdef HAVE_IEEEFP_H
1349 + #include <ieeefp.h>
1360 +if ac_fn_cxx_try_compile "$LINENO"; then :
1361 + glibcxx_cv_func__finite_use=yes
1363 + glibcxx_cv_func__finite_use=no
1365 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1367 +ac_cpp='$CPP $CPPFLAGS'
1368 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1369 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1370 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1376 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
1377 +$as_echo "$glibcxx_cv_func__finite_use" >&6; }
1379 + if test x$glibcxx_cv_func__finite_use = x"yes"; then
1380 + for ac_func in _finite
1382 + ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
1383 +if test "x$ac_cv_func__finite" = x""yes; then :
1384 + cat >>confdefs.h <<_ACEOF
1385 +#define HAVE__FINITE 1
1398 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
1399 +$as_echo_n "checking for sincos declaration... " >&6; }
1400 + if test x${glibcxx_cv_func_sincos_use+set} != xset; then
1401 + if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
1402 + $as_echo_n "(cached) " >&6
1407 +ac_cpp='$CXXCPP $CPPFLAGS'
1408 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1409 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1410 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1412 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1413 +/* end confdefs.h. */
1423 +if ac_fn_cxx_try_compile "$LINENO"; then :
1424 + glibcxx_cv_func_sincos_use=yes
1426 + glibcxx_cv_func_sincos_use=no
1428 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1430 +ac_cpp='$CPP $CPPFLAGS'
1431 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1432 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1433 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1439 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
1440 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
1442 + if test x$glibcxx_cv_func_sincos_use = x"yes"; then
1443 + for ac_func in sincos
1445 + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
1446 +if test "x$ac_cv_func_sincos" = x""yes; then :
1447 + cat >>confdefs.h <<_ACEOF
1448 +#define HAVE_SINCOS 1
1456 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
1457 +$as_echo_n "checking for _sincos declaration... " >&6; }
1458 + if test x${glibcxx_cv_func__sincos_use+set} != xset; then
1459 + if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
1460 + $as_echo_n "(cached) " >&6
1465 +ac_cpp='$CXXCPP $CPPFLAGS'
1466 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1467 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1468 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1470 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1471 +/* end confdefs.h. */
1481 +if ac_fn_cxx_try_compile "$LINENO"; then :
1482 + glibcxx_cv_func__sincos_use=yes
1484 + glibcxx_cv_func__sincos_use=no
1486 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1488 +ac_cpp='$CPP $CPPFLAGS'
1489 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1490 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1491 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1497 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
1498 +$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
1500 + if test x$glibcxx_cv_func__sincos_use = x"yes"; then
1501 + for ac_func in _sincos
1503 + ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
1504 +if test "x$ac_cv_func__sincos" = x""yes; then :
1505 + cat >>confdefs.h <<_ACEOF
1506 +#define HAVE__SINCOS 1
1519 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
1520 +$as_echo_n "checking for fpclass declaration... " >&6; }
1521 + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
1522 + if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
1523 + $as_echo_n "(cached) " >&6
1528 +ac_cpp='$CXXCPP $CPPFLAGS'
1529 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1530 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1531 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1533 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1534 +/* end confdefs.h. */
1536 + #ifdef HAVE_IEEEFP_H
1537 + #include <ieeefp.h>
1548 +if ac_fn_cxx_try_compile "$LINENO"; then :
1549 + glibcxx_cv_func_fpclass_use=yes
1551 + glibcxx_cv_func_fpclass_use=no
1553 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1555 +ac_cpp='$CPP $CPPFLAGS'
1556 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1557 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1558 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1564 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
1565 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
1567 + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
1568 + for ac_func in fpclass
1570 + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
1571 +if test "x$ac_cv_func_fpclass" = x""yes; then :
1572 + cat >>confdefs.h <<_ACEOF
1573 +#define HAVE_FPCLASS 1
1581 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
1582 +$as_echo_n "checking for _fpclass declaration... " >&6; }
1583 + if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
1584 + if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
1585 + $as_echo_n "(cached) " >&6
1590 +ac_cpp='$CXXCPP $CPPFLAGS'
1591 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1592 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1593 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1595 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1596 +/* end confdefs.h. */
1598 + #ifdef HAVE_IEEEFP_H
1599 + #include <ieeefp.h>
1610 +if ac_fn_cxx_try_compile "$LINENO"; then :
1611 + glibcxx_cv_func__fpclass_use=yes
1613 + glibcxx_cv_func__fpclass_use=no
1615 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1617 +ac_cpp='$CPP $CPPFLAGS'
1618 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1619 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1620 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1626 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
1627 +$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
1629 + if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
1630 + for ac_func in _fpclass
1632 + ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
1633 +if test "x$ac_cv_func__fpclass" = x""yes; then :
1634 + cat >>confdefs.h <<_ACEOF
1635 +#define HAVE__FPCLASS 1
1648 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
1649 +$as_echo_n "checking for qfpclass declaration... " >&6; }
1650 + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
1651 + if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
1652 + $as_echo_n "(cached) " >&6
1657 +ac_cpp='$CXXCPP $CPPFLAGS'
1658 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1659 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1660 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1662 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1663 +/* end confdefs.h. */
1665 + #ifdef HAVE_IEEEFP_H
1666 + #include <ieeefp.h>
1677 +if ac_fn_cxx_try_compile "$LINENO"; then :
1678 + glibcxx_cv_func_qfpclass_use=yes
1680 + glibcxx_cv_func_qfpclass_use=no
1682 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 +ac_cpp='$CPP $CPPFLAGS'
1685 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1686 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1687 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1693 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
1694 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
1696 + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
1697 + for ac_func in qfpclass
1699 + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
1700 +if test "x$ac_cv_func_qfpclass" = x""yes; then :
1701 + cat >>confdefs.h <<_ACEOF
1702 +#define HAVE_QFPCLASS 1
1710 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
1711 +$as_echo_n "checking for _qfpclass declaration... " >&6; }
1712 + if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
1713 + if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
1714 + $as_echo_n "(cached) " >&6
1719 +ac_cpp='$CXXCPP $CPPFLAGS'
1720 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1721 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1722 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1724 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725 +/* end confdefs.h. */
1727 + #ifdef HAVE_IEEEFP_H
1728 + #include <ieeefp.h>
1739 +if ac_fn_cxx_try_compile "$LINENO"; then :
1740 + glibcxx_cv_func__qfpclass_use=yes
1742 + glibcxx_cv_func__qfpclass_use=no
1744 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 +ac_cpp='$CPP $CPPFLAGS'
1747 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1748 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1749 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1755 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
1756 +$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
1758 + if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
1759 + for ac_func in _qfpclass
1761 + ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
1762 +if test "x$ac_cv_func__qfpclass" = x""yes; then :
1763 + cat >>confdefs.h <<_ACEOF
1764 +#define HAVE__QFPCLASS 1
1777 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
1778 +$as_echo_n "checking for hypot declaration... " >&6; }
1779 + if test x${glibcxx_cv_func_hypot_use+set} != xset; then
1780 + if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
1781 + $as_echo_n "(cached) " >&6
1786 +ac_cpp='$CXXCPP $CPPFLAGS'
1787 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1791 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 +/* end confdefs.h. */
1802 +if ac_fn_cxx_try_compile "$LINENO"; then :
1803 + glibcxx_cv_func_hypot_use=yes
1805 + glibcxx_cv_func_hypot_use=no
1807 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 +ac_cpp='$CPP $CPPFLAGS'
1810 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1811 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1812 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1818 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
1819 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
1821 + if test x$glibcxx_cv_func_hypot_use = x"yes"; then
1822 + for ac_func in hypot
1824 + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
1825 +if test "x$ac_cv_func_hypot" = x""yes; then :
1826 + cat >>confdefs.h <<_ACEOF
1827 +#define HAVE_HYPOT 1
1835 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
1836 +$as_echo_n "checking for _hypot declaration... " >&6; }
1837 + if test x${glibcxx_cv_func__hypot_use+set} != xset; then
1838 + if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
1839 + $as_echo_n "(cached) " >&6
1844 +ac_cpp='$CXXCPP $CPPFLAGS'
1845 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1846 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1847 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1849 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850 +/* end confdefs.h. */
1860 +if ac_fn_cxx_try_compile "$LINENO"; then :
1861 + glibcxx_cv_func__hypot_use=yes
1863 + glibcxx_cv_func__hypot_use=no
1865 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 +ac_cpp='$CPP $CPPFLAGS'
1868 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1876 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
1877 +$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
1879 + if test x$glibcxx_cv_func__hypot_use = x"yes"; then
1880 + for ac_func in _hypot
1882 + ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
1883 +if test "x$ac_cv_func__hypot" = x""yes; then :
1884 + cat >>confdefs.h <<_ACEOF
1885 +#define HAVE__HYPOT 1
1898 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
1899 +$as_echo_n "checking for float trig functions... " >&6; }
1900 + if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
1901 + $as_echo_n "(cached) " >&6
1906 +ac_cpp='$CXXCPP $CPPFLAGS'
1907 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1908 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1909 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1911 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912 +/* end confdefs.h. */
1917 +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
1922 +if ac_fn_cxx_try_compile "$LINENO"; then :
1923 + glibcxx_cv_func_float_trig_use=yes
1925 + glibcxx_cv_func_float_trig_use=no
1927 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929 +ac_cpp='$CPP $CPPFLAGS'
1930 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1936 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
1937 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
1938 + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
1939 + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
1941 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1942 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1943 +eval as_val=\$$as_ac_var
1944 + if test "x$as_val" = x""yes; then :
1945 + cat >>confdefs.h <<_ACEOF
1946 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1953 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
1954 +$as_echo_n "checking for _float trig functions... " >&6; }
1955 + if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
1956 + $as_echo_n "(cached) " >&6
1961 +ac_cpp='$CXXCPP $CPPFLAGS'
1962 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1963 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1964 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1966 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1967 +/* end confdefs.h. */
1972 +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
1977 +if ac_fn_cxx_try_compile "$LINENO"; then :
1978 + glibcxx_cv_func__float_trig_use=yes
1980 + glibcxx_cv_func__float_trig_use=no
1982 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984 +ac_cpp='$CPP $CPPFLAGS'
1985 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1986 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1987 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1991 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
1992 +$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
1993 + if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
1994 + for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
1996 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1997 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1998 +eval as_val=\$$as_ac_var
1999 + if test "x$as_val" = x""yes; then :
2000 + cat >>confdefs.h <<_ACEOF
2001 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2014 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
2015 +$as_echo_n "checking for float round functions... " >&6; }
2016 + if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
2017 + $as_echo_n "(cached) " >&6
2022 +ac_cpp='$CXXCPP $CPPFLAGS'
2023 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2024 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2025 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2027 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 +/* end confdefs.h. */
2033 +ceilf (0); floorf (0);
2038 +if ac_fn_cxx_try_compile "$LINENO"; then :
2039 + glibcxx_cv_func_float_round_use=yes
2041 + glibcxx_cv_func_float_round_use=no
2043 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2045 +ac_cpp='$CPP $CPPFLAGS'
2046 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2047 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2048 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2052 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
2053 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
2054 + if test x$glibcxx_cv_func_float_round_use = x"yes"; then
2055 + for ac_func in ceilf floorf
2057 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2058 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2059 +eval as_val=\$$as_ac_var
2060 + if test "x$as_val" = x""yes; then :
2061 + cat >>confdefs.h <<_ACEOF
2062 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2069 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
2070 +$as_echo_n "checking for _float round functions... " >&6; }
2071 + if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
2072 + $as_echo_n "(cached) " >&6
2077 +ac_cpp='$CXXCPP $CPPFLAGS'
2078 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2079 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2080 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2082 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 +/* end confdefs.h. */
2088 +_ceilf (0); _floorf (0);
2093 +if ac_fn_cxx_try_compile "$LINENO"; then :
2094 + glibcxx_cv_func__float_round_use=yes
2096 + glibcxx_cv_func__float_round_use=no
2098 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 +ac_cpp='$CPP $CPPFLAGS'
2101 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2102 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2103 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2107 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
2108 +$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
2109 + if test x$glibcxx_cv_func__float_round_use = x"yes"; then
2110 + for ac_func in _ceilf _floorf
2112 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2113 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2114 +eval as_val=\$$as_ac_var
2115 + if test "x$as_val" = x""yes; then :
2116 + cat >>confdefs.h <<_ACEOF
2117 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2131 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
2132 +$as_echo_n "checking for expf declaration... " >&6; }
2133 + if test x${glibcxx_cv_func_expf_use+set} != xset; then
2134 + if test "${glibcxx_cv_func_expf_use+set}" = set; then :
2135 + $as_echo_n "(cached) " >&6
2140 +ac_cpp='$CXXCPP $CPPFLAGS'
2141 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2142 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2143 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2145 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 +/* end confdefs.h. */
2148 + #ifdef HAVE_IEEEFP_H
2149 + #include <ieeefp.h>
2160 +if ac_fn_cxx_try_compile "$LINENO"; then :
2161 + glibcxx_cv_func_expf_use=yes
2163 + glibcxx_cv_func_expf_use=no
2165 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 +ac_cpp='$CPP $CPPFLAGS'
2168 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2169 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2170 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2176 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
2177 +$as_echo "$glibcxx_cv_func_expf_use" >&6; }
2179 + if test x$glibcxx_cv_func_expf_use = x"yes"; then
2180 + for ac_func in expf
2182 + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
2183 +if test "x$ac_cv_func_expf" = x""yes; then :
2184 + cat >>confdefs.h <<_ACEOF
2185 +#define HAVE_EXPF 1
2193 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
2194 +$as_echo_n "checking for _expf declaration... " >&6; }
2195 + if test x${glibcxx_cv_func__expf_use+set} != xset; then
2196 + if test "${glibcxx_cv_func__expf_use+set}" = set; then :
2197 + $as_echo_n "(cached) " >&6
2202 +ac_cpp='$CXXCPP $CPPFLAGS'
2203 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2204 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2207 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 +/* end confdefs.h. */
2210 + #ifdef HAVE_IEEEFP_H
2211 + #include <ieeefp.h>
2222 +if ac_fn_cxx_try_compile "$LINENO"; then :
2223 + glibcxx_cv_func__expf_use=yes
2225 + glibcxx_cv_func__expf_use=no
2227 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 +ac_cpp='$CPP $CPPFLAGS'
2230 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2231 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2232 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2238 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
2239 +$as_echo "$glibcxx_cv_func__expf_use" >&6; }
2241 + if test x$glibcxx_cv_func__expf_use = x"yes"; then
2242 + for ac_func in _expf
2244 + ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
2245 +if test "x$ac_cv_func__expf" = x""yes; then :
2246 + cat >>confdefs.h <<_ACEOF
2247 +#define HAVE__EXPF 1
2260 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
2261 +$as_echo_n "checking for isnanf declaration... " >&6; }
2262 + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
2263 + if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
2264 + $as_echo_n "(cached) " >&6
2269 +ac_cpp='$CXXCPP $CPPFLAGS'
2270 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2271 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2272 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2274 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 +/* end confdefs.h. */
2277 + #ifdef HAVE_IEEEFP_H
2278 + #include <ieeefp.h>
2289 +if ac_fn_cxx_try_compile "$LINENO"; then :
2290 + glibcxx_cv_func_isnanf_use=yes
2292 + glibcxx_cv_func_isnanf_use=no
2294 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2296 +ac_cpp='$CPP $CPPFLAGS'
2297 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2305 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
2306 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
2308 + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
2309 + for ac_func in isnanf
2311 + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
2312 +if test "x$ac_cv_func_isnanf" = x""yes; then :
2313 + cat >>confdefs.h <<_ACEOF
2314 +#define HAVE_ISNANF 1
2322 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
2323 +$as_echo_n "checking for _isnanf declaration... " >&6; }
2324 + if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
2325 + if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
2326 + $as_echo_n "(cached) " >&6
2331 +ac_cpp='$CXXCPP $CPPFLAGS'
2332 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2333 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2334 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2336 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 +/* end confdefs.h. */
2339 + #ifdef HAVE_IEEEFP_H
2340 + #include <ieeefp.h>
2351 +if ac_fn_cxx_try_compile "$LINENO"; then :
2352 + glibcxx_cv_func__isnanf_use=yes
2354 + glibcxx_cv_func__isnanf_use=no
2356 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2358 +ac_cpp='$CPP $CPPFLAGS'
2359 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2367 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
2368 +$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
2370 + if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
2371 + for ac_func in _isnanf
2373 + ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
2374 +if test "x$ac_cv_func__isnanf" = x""yes; then :
2375 + cat >>confdefs.h <<_ACEOF
2376 +#define HAVE__ISNANF 1
2389 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
2390 +$as_echo_n "checking for isinff declaration... " >&6; }
2391 + if test x${glibcxx_cv_func_isinff_use+set} != xset; then
2392 + if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
2393 + $as_echo_n "(cached) " >&6
2398 +ac_cpp='$CXXCPP $CPPFLAGS'
2399 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2403 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 +/* end confdefs.h. */
2406 + #ifdef HAVE_IEEEFP_H
2407 + #include <ieeefp.h>
2418 +if ac_fn_cxx_try_compile "$LINENO"; then :
2419 + glibcxx_cv_func_isinff_use=yes
2421 + glibcxx_cv_func_isinff_use=no
2423 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 +ac_cpp='$CPP $CPPFLAGS'
2426 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2427 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2428 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2434 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
2435 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
2437 + if test x$glibcxx_cv_func_isinff_use = x"yes"; then
2438 + for ac_func in isinff
2440 + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
2441 +if test "x$ac_cv_func_isinff" = x""yes; then :
2442 + cat >>confdefs.h <<_ACEOF
2443 +#define HAVE_ISINFF 1
2451 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
2452 +$as_echo_n "checking for _isinff declaration... " >&6; }
2453 + if test x${glibcxx_cv_func__isinff_use+set} != xset; then
2454 + if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
2455 + $as_echo_n "(cached) " >&6
2460 +ac_cpp='$CXXCPP $CPPFLAGS'
2461 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2465 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 +/* end confdefs.h. */
2468 + #ifdef HAVE_IEEEFP_H
2469 + #include <ieeefp.h>
2480 +if ac_fn_cxx_try_compile "$LINENO"; then :
2481 + glibcxx_cv_func__isinff_use=yes
2483 + glibcxx_cv_func__isinff_use=no
2485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 +ac_cpp='$CPP $CPPFLAGS'
2488 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2489 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2490 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2496 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
2497 +$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
2499 + if test x$glibcxx_cv_func__isinff_use = x"yes"; then
2500 + for ac_func in _isinff
2502 + ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
2503 +if test "x$ac_cv_func__isinff" = x""yes; then :
2504 + cat >>confdefs.h <<_ACEOF
2505 +#define HAVE__ISINFF 1
2518 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
2519 +$as_echo_n "checking for atan2f declaration... " >&6; }
2520 + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
2521 + if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
2522 + $as_echo_n "(cached) " >&6
2527 +ac_cpp='$CXXCPP $CPPFLAGS'
2528 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2532 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 +/* end confdefs.h. */
2543 +if ac_fn_cxx_try_compile "$LINENO"; then :
2544 + glibcxx_cv_func_atan2f_use=yes
2546 + glibcxx_cv_func_atan2f_use=no
2548 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 +ac_cpp='$CPP $CPPFLAGS'
2551 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2552 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2553 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2559 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
2560 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
2562 + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
2563 + for ac_func in atan2f
2565 + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
2566 +if test "x$ac_cv_func_atan2f" = x""yes; then :
2567 + cat >>confdefs.h <<_ACEOF
2568 +#define HAVE_ATAN2F 1
2576 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
2577 +$as_echo_n "checking for _atan2f declaration... " >&6; }
2578 + if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
2579 + if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
2580 + $as_echo_n "(cached) " >&6
2585 +ac_cpp='$CXXCPP $CPPFLAGS'
2586 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2590 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 +/* end confdefs.h. */
2601 +if ac_fn_cxx_try_compile "$LINENO"; then :
2602 + glibcxx_cv_func__atan2f_use=yes
2604 + glibcxx_cv_func__atan2f_use=no
2606 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 +ac_cpp='$CPP $CPPFLAGS'
2609 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
2618 +$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
2620 + if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
2621 + for ac_func in _atan2f
2623 + ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
2624 +if test "x$ac_cv_func__atan2f" = x""yes; then :
2625 + cat >>confdefs.h <<_ACEOF
2626 +#define HAVE__ATAN2F 1
2639 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
2640 +$as_echo_n "checking for fabsf declaration... " >&6; }
2641 + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
2642 + if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
2643 + $as_echo_n "(cached) " >&6
2648 +ac_cpp='$CXXCPP $CPPFLAGS'
2649 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2653 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 +/* end confdefs.h. */
2656 + #ifdef HAVE_IEEEFP_H
2657 + #include <ieeefp.h>
2668 +if ac_fn_cxx_try_compile "$LINENO"; then :
2669 + glibcxx_cv_func_fabsf_use=yes
2671 + glibcxx_cv_func_fabsf_use=no
2673 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2675 +ac_cpp='$CPP $CPPFLAGS'
2676 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2684 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
2685 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
2687 + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
2688 + for ac_func in fabsf
2690 + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
2691 +if test "x$ac_cv_func_fabsf" = x""yes; then :
2692 + cat >>confdefs.h <<_ACEOF
2693 +#define HAVE_FABSF 1
2701 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
2702 +$as_echo_n "checking for _fabsf declaration... " >&6; }
2703 + if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
2704 + if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
2705 + $as_echo_n "(cached) " >&6
2710 +ac_cpp='$CXXCPP $CPPFLAGS'
2711 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2712 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2713 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2715 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 +/* end confdefs.h. */
2718 + #ifdef HAVE_IEEEFP_H
2719 + #include <ieeefp.h>
2730 +if ac_fn_cxx_try_compile "$LINENO"; then :
2731 + glibcxx_cv_func__fabsf_use=yes
2733 + glibcxx_cv_func__fabsf_use=no
2735 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 +ac_cpp='$CPP $CPPFLAGS'
2738 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2746 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
2747 +$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
2749 + if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
2750 + for ac_func in _fabsf
2752 + ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
2753 +if test "x$ac_cv_func__fabsf" = x""yes; then :
2754 + cat >>confdefs.h <<_ACEOF
2755 +#define HAVE__FABSF 1
2768 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
2769 +$as_echo_n "checking for fmodf declaration... " >&6; }
2770 + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
2771 + if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
2772 + $as_echo_n "(cached) " >&6
2777 +ac_cpp='$CXXCPP $CPPFLAGS'
2778 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2779 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2780 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2782 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 +/* end confdefs.h. */
2793 +if ac_fn_cxx_try_compile "$LINENO"; then :
2794 + glibcxx_cv_func_fmodf_use=yes
2796 + glibcxx_cv_func_fmodf_use=no
2798 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800 +ac_cpp='$CPP $CPPFLAGS'
2801 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2802 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2803 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2809 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
2810 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
2812 + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
2813 + for ac_func in fmodf
2815 + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
2816 +if test "x$ac_cv_func_fmodf" = x""yes; then :
2817 + cat >>confdefs.h <<_ACEOF
2818 +#define HAVE_FMODF 1
2826 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
2827 +$as_echo_n "checking for _fmodf declaration... " >&6; }
2828 + if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
2829 + if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
2830 + $as_echo_n "(cached) " >&6
2835 +ac_cpp='$CXXCPP $CPPFLAGS'
2836 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2837 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2838 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2840 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 +/* end confdefs.h. */
2851 +if ac_fn_cxx_try_compile "$LINENO"; then :
2852 + glibcxx_cv_func__fmodf_use=yes
2854 + glibcxx_cv_func__fmodf_use=no
2856 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 +ac_cpp='$CPP $CPPFLAGS'
2859 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2860 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2861 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2867 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
2868 +$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
2870 + if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
2871 + for ac_func in _fmodf
2873 + ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
2874 +if test "x$ac_cv_func__fmodf" = x""yes; then :
2875 + cat >>confdefs.h <<_ACEOF
2876 +#define HAVE__FMODF 1
2889 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
2890 +$as_echo_n "checking for frexpf declaration... " >&6; }
2891 + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
2892 + if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
2893 + $as_echo_n "(cached) " >&6
2898 +ac_cpp='$CXXCPP $CPPFLAGS'
2899 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2903 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 +/* end confdefs.h. */
2914 +if ac_fn_cxx_try_compile "$LINENO"; then :
2915 + glibcxx_cv_func_frexpf_use=yes
2917 + glibcxx_cv_func_frexpf_use=no
2919 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 +ac_cpp='$CPP $CPPFLAGS'
2922 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2930 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
2931 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
2933 + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
2934 + for ac_func in frexpf
2936 + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
2937 +if test "x$ac_cv_func_frexpf" = x""yes; then :
2938 + cat >>confdefs.h <<_ACEOF
2939 +#define HAVE_FREXPF 1
2947 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
2948 +$as_echo_n "checking for _frexpf declaration... " >&6; }
2949 + if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
2950 + if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
2951 + $as_echo_n "(cached) " >&6
2956 +ac_cpp='$CXXCPP $CPPFLAGS'
2957 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2961 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 +/* end confdefs.h. */
2972 +if ac_fn_cxx_try_compile "$LINENO"; then :
2973 + glibcxx_cv_func__frexpf_use=yes
2975 + glibcxx_cv_func__frexpf_use=no
2977 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 +ac_cpp='$CPP $CPPFLAGS'
2980 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2988 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
2989 +$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
2991 + if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
2992 + for ac_func in _frexpf
2994 + ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
2995 +if test "x$ac_cv_func__frexpf" = x""yes; then :
2996 + cat >>confdefs.h <<_ACEOF
2997 +#define HAVE__FREXPF 1
3010 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
3011 +$as_echo_n "checking for hypotf declaration... " >&6; }
3012 + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
3013 + if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
3014 + $as_echo_n "(cached) " >&6
3019 +ac_cpp='$CXXCPP $CPPFLAGS'
3020 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 +/* end confdefs.h. */
3035 +if ac_fn_cxx_try_compile "$LINENO"; then :
3036 + glibcxx_cv_func_hypotf_use=yes
3038 + glibcxx_cv_func_hypotf_use=no
3040 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 +ac_cpp='$CPP $CPPFLAGS'
3043 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3044 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3045 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3051 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
3052 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
3054 + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
3055 + for ac_func in hypotf
3057 + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
3058 +if test "x$ac_cv_func_hypotf" = x""yes; then :
3059 + cat >>confdefs.h <<_ACEOF
3060 +#define HAVE_HYPOTF 1
3068 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
3069 +$as_echo_n "checking for _hypotf declaration... " >&6; }
3070 + if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
3071 + if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
3072 + $as_echo_n "(cached) " >&6
3077 +ac_cpp='$CXXCPP $CPPFLAGS'
3078 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3079 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3080 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3082 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3083 +/* end confdefs.h. */
3093 +if ac_fn_cxx_try_compile "$LINENO"; then :
3094 + glibcxx_cv_func__hypotf_use=yes
3096 + glibcxx_cv_func__hypotf_use=no
3098 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 +ac_cpp='$CPP $CPPFLAGS'
3101 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3102 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3103 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
3110 +$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
3112 + if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
3113 + for ac_func in _hypotf
3115 + ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
3116 +if test "x$ac_cv_func__hypotf" = x""yes; then :
3117 + cat >>confdefs.h <<_ACEOF
3118 +#define HAVE__HYPOTF 1
3131 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
3132 +$as_echo_n "checking for ldexpf declaration... " >&6; }
3133 + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
3134 + if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
3135 + $as_echo_n "(cached) " >&6
3140 +ac_cpp='$CXXCPP $CPPFLAGS'
3141 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3145 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 +/* end confdefs.h. */
3156 +if ac_fn_cxx_try_compile "$LINENO"; then :
3157 + glibcxx_cv_func_ldexpf_use=yes
3159 + glibcxx_cv_func_ldexpf_use=no
3161 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 +ac_cpp='$CPP $CPPFLAGS'
3164 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
3173 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
3175 + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
3176 + for ac_func in ldexpf
3178 + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
3179 +if test "x$ac_cv_func_ldexpf" = x""yes; then :
3180 + cat >>confdefs.h <<_ACEOF
3181 +#define HAVE_LDEXPF 1
3189 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
3190 +$as_echo_n "checking for _ldexpf declaration... " >&6; }
3191 + if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
3192 + if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
3193 + $as_echo_n "(cached) " >&6
3198 +ac_cpp='$CXXCPP $CPPFLAGS'
3199 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3203 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 +/* end confdefs.h. */
3214 +if ac_fn_cxx_try_compile "$LINENO"; then :
3215 + glibcxx_cv_func__ldexpf_use=yes
3217 + glibcxx_cv_func__ldexpf_use=no
3219 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 +ac_cpp='$CPP $CPPFLAGS'
3222 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3223 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3224 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3230 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
3231 +$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
3233 + if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
3234 + for ac_func in _ldexpf
3236 + ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
3237 +if test "x$ac_cv_func__ldexpf" = x""yes; then :
3238 + cat >>confdefs.h <<_ACEOF
3239 +#define HAVE__LDEXPF 1
3252 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
3253 +$as_echo_n "checking for logf declaration... " >&6; }
3254 + if test x${glibcxx_cv_func_logf_use+set} != xset; then
3255 + if test "${glibcxx_cv_func_logf_use+set}" = set; then :
3256 + $as_echo_n "(cached) " >&6
3261 +ac_cpp='$CXXCPP $CPPFLAGS'
3262 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3266 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 +/* end confdefs.h. */
3269 + #ifdef HAVE_IEEEFP_H
3270 + #include <ieeefp.h>
3281 +if ac_fn_cxx_try_compile "$LINENO"; then :
3282 + glibcxx_cv_func_logf_use=yes
3284 + glibcxx_cv_func_logf_use=no
3286 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 +ac_cpp='$CPP $CPPFLAGS'
3289 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3290 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3291 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3297 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
3298 +$as_echo "$glibcxx_cv_func_logf_use" >&6; }
3300 + if test x$glibcxx_cv_func_logf_use = x"yes"; then
3301 + for ac_func in logf
3303 + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
3304 +if test "x$ac_cv_func_logf" = x""yes; then :
3305 + cat >>confdefs.h <<_ACEOF
3306 +#define HAVE_LOGF 1
3314 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
3315 +$as_echo_n "checking for _logf declaration... " >&6; }
3316 + if test x${glibcxx_cv_func__logf_use+set} != xset; then
3317 + if test "${glibcxx_cv_func__logf_use+set}" = set; then :
3318 + $as_echo_n "(cached) " >&6
3323 +ac_cpp='$CXXCPP $CPPFLAGS'
3324 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3328 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 +/* end confdefs.h. */
3331 + #ifdef HAVE_IEEEFP_H
3332 + #include <ieeefp.h>
3343 +if ac_fn_cxx_try_compile "$LINENO"; then :
3344 + glibcxx_cv_func__logf_use=yes
3346 + glibcxx_cv_func__logf_use=no
3348 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 +ac_cpp='$CPP $CPPFLAGS'
3351 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3359 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
3360 +$as_echo "$glibcxx_cv_func__logf_use" >&6; }
3362 + if test x$glibcxx_cv_func__logf_use = x"yes"; then
3363 + for ac_func in _logf
3365 + ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
3366 +if test "x$ac_cv_func__logf" = x""yes; then :
3367 + cat >>confdefs.h <<_ACEOF
3368 +#define HAVE__LOGF 1
3381 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
3382 +$as_echo_n "checking for log10f declaration... " >&6; }
3383 + if test x${glibcxx_cv_func_log10f_use+set} != xset; then
3384 + if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
3385 + $as_echo_n "(cached) " >&6
3390 +ac_cpp='$CXXCPP $CPPFLAGS'
3391 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3395 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 +/* end confdefs.h. */
3398 + #ifdef HAVE_IEEEFP_H
3399 + #include <ieeefp.h>
3410 +if ac_fn_cxx_try_compile "$LINENO"; then :
3411 + glibcxx_cv_func_log10f_use=yes
3413 + glibcxx_cv_func_log10f_use=no
3415 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 +ac_cpp='$CPP $CPPFLAGS'
3418 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
3427 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
3429 + if test x$glibcxx_cv_func_log10f_use = x"yes"; then
3430 + for ac_func in log10f
3432 + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
3433 +if test "x$ac_cv_func_log10f" = x""yes; then :
3434 + cat >>confdefs.h <<_ACEOF
3435 +#define HAVE_LOG10F 1
3443 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
3444 +$as_echo_n "checking for _log10f declaration... " >&6; }
3445 + if test x${glibcxx_cv_func__log10f_use+set} != xset; then
3446 + if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
3447 + $as_echo_n "(cached) " >&6
3452 +ac_cpp='$CXXCPP $CPPFLAGS'
3453 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3457 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 +/* end confdefs.h. */
3460 + #ifdef HAVE_IEEEFP_H
3461 + #include <ieeefp.h>
3472 +if ac_fn_cxx_try_compile "$LINENO"; then :
3473 + glibcxx_cv_func__log10f_use=yes
3475 + glibcxx_cv_func__log10f_use=no
3477 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 +ac_cpp='$CPP $CPPFLAGS'
3480 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3481 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3482 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
3489 +$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
3491 + if test x$glibcxx_cv_func__log10f_use = x"yes"; then
3492 + for ac_func in _log10f
3494 + ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
3495 +if test "x$ac_cv_func__log10f" = x""yes; then :
3496 + cat >>confdefs.h <<_ACEOF
3497 +#define HAVE__LOG10F 1
3510 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
3511 +$as_echo_n "checking for modff declaration... " >&6; }
3512 + if test x${glibcxx_cv_func_modff_use+set} != xset; then
3513 + if test "${glibcxx_cv_func_modff_use+set}" = set; then :
3514 + $as_echo_n "(cached) " >&6
3519 +ac_cpp='$CXXCPP $CPPFLAGS'
3520 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3521 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3522 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3524 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 +/* end confdefs.h. */
3535 +if ac_fn_cxx_try_compile "$LINENO"; then :
3536 + glibcxx_cv_func_modff_use=yes
3538 + glibcxx_cv_func_modff_use=no
3540 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 +ac_cpp='$CPP $CPPFLAGS'
3543 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
3552 +$as_echo "$glibcxx_cv_func_modff_use" >&6; }
3554 + if test x$glibcxx_cv_func_modff_use = x"yes"; then
3555 + for ac_func in modff
3557 + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
3558 +if test "x$ac_cv_func_modff" = x""yes; then :
3559 + cat >>confdefs.h <<_ACEOF
3560 +#define HAVE_MODFF 1
3568 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
3569 +$as_echo_n "checking for _modff declaration... " >&6; }
3570 + if test x${glibcxx_cv_func__modff_use+set} != xset; then
3571 + if test "${glibcxx_cv_func__modff_use+set}" = set; then :
3572 + $as_echo_n "(cached) " >&6
3577 +ac_cpp='$CXXCPP $CPPFLAGS'
3578 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3582 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 +/* end confdefs.h. */
3593 +if ac_fn_cxx_try_compile "$LINENO"; then :
3594 + glibcxx_cv_func__modff_use=yes
3596 + glibcxx_cv_func__modff_use=no
3598 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 +ac_cpp='$CPP $CPPFLAGS'
3601 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3609 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
3610 +$as_echo "$glibcxx_cv_func__modff_use" >&6; }
3612 + if test x$glibcxx_cv_func__modff_use = x"yes"; then
3613 + for ac_func in _modff
3615 + ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
3616 +if test "x$ac_cv_func__modff" = x""yes; then :
3617 + cat >>confdefs.h <<_ACEOF
3618 +#define HAVE__MODFF 1
3631 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
3632 +$as_echo_n "checking for modf declaration... " >&6; }
3633 + if test x${glibcxx_cv_func_modf_use+set} != xset; then
3634 + if test "${glibcxx_cv_func_modf_use+set}" = set; then :
3635 + $as_echo_n "(cached) " >&6
3640 +ac_cpp='$CXXCPP $CPPFLAGS'
3641 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3645 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 +/* end confdefs.h. */
3656 +if ac_fn_cxx_try_compile "$LINENO"; then :
3657 + glibcxx_cv_func_modf_use=yes
3659 + glibcxx_cv_func_modf_use=no
3661 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 +ac_cpp='$CPP $CPPFLAGS'
3664 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3672 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
3673 +$as_echo "$glibcxx_cv_func_modf_use" >&6; }
3675 + if test x$glibcxx_cv_func_modf_use = x"yes"; then
3676 + for ac_func in modf
3678 + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
3679 +if test "x$ac_cv_func_modf" = x""yes; then :
3680 + cat >>confdefs.h <<_ACEOF
3681 +#define HAVE_MODF 1
3689 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
3690 +$as_echo_n "checking for _modf declaration... " >&6; }
3691 + if test x${glibcxx_cv_func__modf_use+set} != xset; then
3692 + if test "${glibcxx_cv_func__modf_use+set}" = set; then :
3693 + $as_echo_n "(cached) " >&6
3698 +ac_cpp='$CXXCPP $CPPFLAGS'
3699 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3700 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3701 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3703 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704 +/* end confdefs.h. */
3714 +if ac_fn_cxx_try_compile "$LINENO"; then :
3715 + glibcxx_cv_func__modf_use=yes
3717 + glibcxx_cv_func__modf_use=no
3719 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 +ac_cpp='$CPP $CPPFLAGS'
3722 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3730 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
3731 +$as_echo "$glibcxx_cv_func__modf_use" >&6; }
3733 + if test x$glibcxx_cv_func__modf_use = x"yes"; then
3734 + for ac_func in _modf
3736 + ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
3737 +if test "x$ac_cv_func__modf" = x""yes; then :
3738 + cat >>confdefs.h <<_ACEOF
3739 +#define HAVE__MODF 1
3752 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
3753 +$as_echo_n "checking for powf declaration... " >&6; }
3754 + if test x${glibcxx_cv_func_powf_use+set} != xset; then
3755 + if test "${glibcxx_cv_func_powf_use+set}" = set; then :
3756 + $as_echo_n "(cached) " >&6
3761 +ac_cpp='$CXXCPP $CPPFLAGS'
3762 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3763 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3764 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3766 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 +/* end confdefs.h. */
3777 +if ac_fn_cxx_try_compile "$LINENO"; then :
3778 + glibcxx_cv_func_powf_use=yes
3780 + glibcxx_cv_func_powf_use=no
3782 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3784 +ac_cpp='$CPP $CPPFLAGS'
3785 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3786 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3787 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
3794 +$as_echo "$glibcxx_cv_func_powf_use" >&6; }
3796 + if test x$glibcxx_cv_func_powf_use = x"yes"; then
3797 + for ac_func in powf
3799 + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
3800 +if test "x$ac_cv_func_powf" = x""yes; then :
3801 + cat >>confdefs.h <<_ACEOF
3802 +#define HAVE_POWF 1
3810 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
3811 +$as_echo_n "checking for _powf declaration... " >&6; }
3812 + if test x${glibcxx_cv_func__powf_use+set} != xset; then
3813 + if test "${glibcxx_cv_func__powf_use+set}" = set; then :
3814 + $as_echo_n "(cached) " >&6
3819 +ac_cpp='$CXXCPP $CPPFLAGS'
3820 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3821 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3822 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3824 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 +/* end confdefs.h. */
3835 +if ac_fn_cxx_try_compile "$LINENO"; then :
3836 + glibcxx_cv_func__powf_use=yes
3838 + glibcxx_cv_func__powf_use=no
3840 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 +ac_cpp='$CPP $CPPFLAGS'
3843 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3844 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3845 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3851 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
3852 +$as_echo "$glibcxx_cv_func__powf_use" >&6; }
3854 + if test x$glibcxx_cv_func__powf_use = x"yes"; then
3855 + for ac_func in _powf
3857 + ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
3858 +if test "x$ac_cv_func__powf" = x""yes; then :
3859 + cat >>confdefs.h <<_ACEOF
3860 +#define HAVE__POWF 1
3873 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
3874 +$as_echo_n "checking for sqrtf declaration... " >&6; }
3875 + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
3876 + if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
3877 + $as_echo_n "(cached) " >&6
3882 +ac_cpp='$CXXCPP $CPPFLAGS'
3883 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3887 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 +/* end confdefs.h. */
3890 + #ifdef HAVE_IEEEFP_H
3891 + #include <ieeefp.h>
3902 +if ac_fn_cxx_try_compile "$LINENO"; then :
3903 + glibcxx_cv_func_sqrtf_use=yes
3905 + glibcxx_cv_func_sqrtf_use=no
3907 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3909 +ac_cpp='$CPP $CPPFLAGS'
3910 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
3919 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
3921 + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
3922 + for ac_func in sqrtf
3924 + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
3925 +if test "x$ac_cv_func_sqrtf" = x""yes; then :
3926 + cat >>confdefs.h <<_ACEOF
3927 +#define HAVE_SQRTF 1
3935 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
3936 +$as_echo_n "checking for _sqrtf declaration... " >&6; }
3937 + if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
3938 + if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
3939 + $as_echo_n "(cached) " >&6
3944 +ac_cpp='$CXXCPP $CPPFLAGS'
3945 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3946 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3947 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3949 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 +/* end confdefs.h. */
3952 + #ifdef HAVE_IEEEFP_H
3953 + #include <ieeefp.h>
3964 +if ac_fn_cxx_try_compile "$LINENO"; then :
3965 + glibcxx_cv_func__sqrtf_use=yes
3967 + glibcxx_cv_func__sqrtf_use=no
3969 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 +ac_cpp='$CPP $CPPFLAGS'
3972 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3980 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
3981 +$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
3983 + if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
3984 + for ac_func in _sqrtf
3986 + ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
3987 +if test "x$ac_cv_func__sqrtf" = x""yes; then :
3988 + cat >>confdefs.h <<_ACEOF
3989 +#define HAVE__SQRTF 1
4002 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
4003 +$as_echo_n "checking for sincosf declaration... " >&6; }
4004 + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
4005 + if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
4006 + $as_echo_n "(cached) " >&6
4011 +ac_cpp='$CXXCPP $CPPFLAGS'
4012 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4016 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 +/* end confdefs.h. */
4027 +if ac_fn_cxx_try_compile "$LINENO"; then :
4028 + glibcxx_cv_func_sincosf_use=yes
4030 + glibcxx_cv_func_sincosf_use=no
4032 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4034 +ac_cpp='$CPP $CPPFLAGS'
4035 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
4044 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
4046 + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
4047 + for ac_func in sincosf
4049 + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
4050 +if test "x$ac_cv_func_sincosf" = x""yes; then :
4051 + cat >>confdefs.h <<_ACEOF
4052 +#define HAVE_SINCOSF 1
4060 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
4061 +$as_echo_n "checking for _sincosf declaration... " >&6; }
4062 + if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
4063 + if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
4064 + $as_echo_n "(cached) " >&6
4069 +ac_cpp='$CXXCPP $CPPFLAGS'
4070 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4074 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 +/* end confdefs.h. */
4080 + _sincosf(0, 0, 0);
4085 +if ac_fn_cxx_try_compile "$LINENO"; then :
4086 + glibcxx_cv_func__sincosf_use=yes
4088 + glibcxx_cv_func__sincosf_use=no
4090 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 +ac_cpp='$CPP $CPPFLAGS'
4093 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4094 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4095 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
4102 +$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
4104 + if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
4105 + for ac_func in _sincosf
4107 + ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
4108 +if test "x$ac_cv_func__sincosf" = x""yes; then :
4109 + cat >>confdefs.h <<_ACEOF
4110 +#define HAVE__SINCOSF 1
4123 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
4124 +$as_echo_n "checking for finitef declaration... " >&6; }
4125 + if test x${glibcxx_cv_func_finitef_use+set} != xset; then
4126 + if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
4127 + $as_echo_n "(cached) " >&6
4132 +ac_cpp='$CXXCPP $CPPFLAGS'
4133 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4137 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 +/* end confdefs.h. */
4140 + #ifdef HAVE_IEEEFP_H
4141 + #include <ieeefp.h>
4152 +if ac_fn_cxx_try_compile "$LINENO"; then :
4153 + glibcxx_cv_func_finitef_use=yes
4155 + glibcxx_cv_func_finitef_use=no
4157 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 +ac_cpp='$CPP $CPPFLAGS'
4160 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4168 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
4169 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
4171 + if test x$glibcxx_cv_func_finitef_use = x"yes"; then
4172 + for ac_func in finitef
4174 + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
4175 +if test "x$ac_cv_func_finitef" = x""yes; then :
4176 + cat >>confdefs.h <<_ACEOF
4177 +#define HAVE_FINITEF 1
4185 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
4186 +$as_echo_n "checking for _finitef declaration... " >&6; }
4187 + if test x${glibcxx_cv_func__finitef_use+set} != xset; then
4188 + if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
4189 + $as_echo_n "(cached) " >&6
4194 +ac_cpp='$CXXCPP $CPPFLAGS'
4195 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4196 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4199 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 +/* end confdefs.h. */
4202 + #ifdef HAVE_IEEEFP_H
4203 + #include <ieeefp.h>
4214 +if ac_fn_cxx_try_compile "$LINENO"; then :
4215 + glibcxx_cv_func__finitef_use=yes
4217 + glibcxx_cv_func__finitef_use=no
4219 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 +ac_cpp='$CPP $CPPFLAGS'
4222 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4230 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
4231 +$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
4233 + if test x$glibcxx_cv_func__finitef_use = x"yes"; then
4234 + for ac_func in _finitef
4236 + ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
4237 +if test "x$ac_cv_func__finitef" = x""yes; then :
4238 + cat >>confdefs.h <<_ACEOF
4239 +#define HAVE__FINITEF 1
4252 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
4253 +$as_echo_n "checking for long double trig functions... " >&6; }
4254 + if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
4255 + $as_echo_n "(cached) " >&6
4260 +ac_cpp='$CXXCPP $CPPFLAGS'
4261 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4262 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4263 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4265 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 +/* end confdefs.h. */
4271 +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
4276 +if ac_fn_cxx_try_compile "$LINENO"; then :
4277 + glibcxx_cv_func_long_double_trig_use=yes
4279 + glibcxx_cv_func_long_double_trig_use=no