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"
69 -i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux*)
70 +i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish* )
71 tmake_file="${tmake_file} i386/t-pmm_malloc i386/t-i386"
73 i[34567]86-*-* | x86_64-*-* | [lk]1om-*-*)
74 @@ -2864,6 +2882,10 @@
82 k1om-*-linux* | x86_64-k1om-linux*)
87 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
90 + tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
92 i[34567]86-*-solaris2*)
93 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
95 diff --git a/gcc/configure b/gcc/configure
100 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [lk]1om*-*-linux* | s390*-*-linux* | \
101 - i?86*-*-mingw* | x86_64*-*-mingw* | \
102 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish* | \
104 enable_decimal_float=yes
106 @@ -13278,6 +13278,6 @@
107 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
108 x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
109 -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
110 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*|k1om-*-barrelfish*)
111 # Find out which ABI we are using.
112 echo 'int i;' > conftest.$ac_ext
113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
114 @@ -13325,6 +13325,9 @@
116 LD="${LD-ld} -m elf_k1om"
119 + LD="${LD-ld} -m elf_k1om"
121 ppc*-*linux*|powerpc*-*linux*)
122 LD="${LD-ld} -m elf64ppc"
124 diff --git a/boehm-gc/configure b/boehm-gc/configure
125 --- a/boehm-gc/configure
126 +++ b/boehm-gc/configure
127 @@ -6771,7 +6771,7 @@
130 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
131 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
132 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish \
133 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
134 # Find out which ABI we are using.
135 echo 'int i;' > conftest.$ac_ext
136 @@ -6820,6 +6820,9 @@
138 LD="${LD-ld} -m elf_k1om"
141 + LD="${LD-ld} -m elf_k1om"
143 ppc*-*linux*|powerpc*-*linux*)
144 LD="${LD-ld} -m elf64ppc"
146 @@ -14729,7 +14732,7 @@
150 - x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | alpha-*-linux*)
151 + x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | alpha-*-linux* | [lk]1om-*-barrelfish*)
153 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
155 @@ -15283,7 +15286,7 @@
156 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
159 - x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* )
160 + x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish* )
161 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
164 diff --git a/libgcc/configure b/libgcc/configure
165 --- a/libgcc/configure
166 +++ b/libgcc/configure
167 @@ -3683,7 +3683,7 @@
170 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [lk]1om*-*-linux* | s390*-*-linux* | \
171 - i?86*-*-mingw* | x86_64*-*-mingw* | \
172 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish* | \
174 enable_decimal_float=yes
176 diff --git a/libmudflap/configure b/libmudflap/configure
177 --- a/libmudflap/configure
178 +++ b/libmudflap/configure
179 @@ -6354,7 +6354,7 @@
182 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
183 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
184 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| k1om-*-barrelfish | \
185 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
186 # Find out which ABI we are using.
187 echo 'int i;' > conftest.$ac_ext
188 @@ -6403,6 +6403,9 @@
190 LD="${LD-ld} -m elf_k1om"
193 + LD="${LD-ld} -m elf_k1om"
195 ppc*-*linux*|powerpc*-*linux*)
196 LD="${LD-ld} -m elf64ppc"
198 diff --git a/libffi/configure b/libffi/configure
199 --- a/libffi/configure
200 +++ b/libffi/configure
201 @@ -6267,7 +6267,7 @@
204 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
205 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
206 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| k1om-*-barrelfish* |\
207 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
208 # Find out which ABI we are using.
209 echo 'int i;' > conftest.$ac_ext
210 @@ -6316,6 +6316,9 @@
212 LD="${LD-ld} -m elf_k1om"
215 + LD="${LD-ld} -m elf_k1om"
217 ppc*-*linux*|powerpc*-*linux*)
218 LD="${LD-ld} -m elf64ppc"
220 diff --git a/libquadmath/configure b/libquadmath/configure
221 --- a/libquadmath/configure
222 +++ b/libquadmath/configure
223 @@ -6249,7 +6249,7 @@
226 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
227 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
228 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
229 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
230 # Find out which ABI we are using.
231 echo 'int i;' > conftest.$ac_ext
232 @@ -6298,6 +6298,9 @@
234 LD="${LD-ld} -m elf_k1om"
237 + LD="${LD-ld} -m elf_k1om"
239 ppc*-*linux*|powerpc*-*linux*)
240 LD="${LD-ld} -m elf64ppc"
243 diff --git a/libtool.m4 b/libtool.m4
246 @@ -1221,7 +1221,7 @@
249 x86_64-*kfreebsd*-gnu|[[lk]]1om-*kfreebsd*-gnu| \
250 -x86_64-*linux*|[[lk]]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
251 +x86_64-*linux*|[[lk]]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
252 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
253 # Find out which ABI we are using.
254 echo 'int i;' > conftest.$ac_ext
255 @@ -1266,6 +1266,9 @@
257 LD="${LD-ld} -m elf_k1om"
260 + LD="${LD-ld} -m elf_k1om"
262 ppc*-*linux*|powerpc*-*linux*)
263 LD="${LD-ld} -m elf64ppc"
265 diff --git a/libdecnumber/configure b/libdecnumber/configure
266 --- a/libdecnumber/configure
267 +++ b/libdecnumber/configure
268 @@ -4603,7 +4603,7 @@
271 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [lk]1om*-*-linux* | s390*-*-linux* | \
272 - i?86*-*-mingw* | x86_64*-*-mingw* | \
273 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish*|\
275 enable_decimal_float=yes
277 diff --git a/config/dfp.m4 b/config/dfp.m4
283 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | [[lk]]1om*-*-linux* | s390*-*-linux* | \
284 - i?86*-*-mingw* | x86_64*-*-mingw* | \
285 + i?86*-*-mingw* | x86_64*-*-mingw* | k1om-*-barrelfish* |\
287 enable_decimal_float=yes
289 diff --git a/zlib/configure b/zlib/configure
292 @@ -5854,7 +5854,7 @@
295 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
296 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
297 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
298 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
299 # Find out which ABI we are using.
300 echo 'int i;' > conftest.$ac_ext
301 @@ -5900,6 +5900,9 @@
303 LD="${LD-ld} -m elf_l1om"
306 + LD="${LD-ld} -m elf_k1om"
309 LD="${LD-ld} -m elf_k1om"
311 diff --git a/libgomp/configure b/libgomp/configure
312 --- a/libgomp/configure
313 +++ b/libgomp/configure
314 @@ -6583,7 +6583,7 @@
317 x86_64-*kfreebsd*-gnu|[lk]1om-*kfreebsd*-gnu| \
318 -x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*| \
319 +x86_64-*linux*|[lk]1om-*linux*|ppc*-*linux*|powerpc*-*linux*|k1om-*-barrelfish*| \
320 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
321 # Find out which ABI we are using.
322 echo 'int i;' > conftest.$ac_ext
323 @@ -6632,6 +6632,9 @@
325 LD="${LD-ld} -m elf_k1om"
328 + LD="${LD-ld} -m elf_k1om"
330 ppc*-*linux*|powerpc*-*linux*)
331 LD="${LD-ld} -m elf64ppc"
334 diff --git a/gcc/config/i386/barrelfish-scc.h b/gcc/config/i386/barrelfish-scc.h
336 index 0000000..930451c
338 +++ b/gcc/config/i386/barrelfish-scc.h
340 +#define BF_SRC "{{BF_SRC}}"
341 +#define BF_BUILD "{{BF_BUILD}}"
343 +#undef TARGET_OS_CPP_BUILTINS
344 +#define TARGET_OS_CPP_BUILTINS() \
346 + builtin_define ("BARRELFISH"); \
347 + builtin_define_std ("barrelfish"); \
348 + builtin_define_std ("unix"); \
349 + builtin_define_std ("scc"); \
350 + builtin_define ("CONFIG_LAZY_THC"); \
351 + builtin_define ("CONFIG_NEWLIB"); \
352 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
353 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
354 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
355 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP_IPI"); \
356 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
357 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
358 + builtin_assert ("system=barrelfish"); \
359 + builtin_assert ("system=unix"); \
363 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
365 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
368 + "-isystem" BF_SRC "/include " \
369 + "-isystem" BF_SRC "/include/arch/scc " \
370 + "-isystem" BF_SRC "/include/arch/x86_32 " \
371 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
372 + "-isystem" BF_SRC "/include/c " \
373 + "-isystem" BF_SRC "/include/target/x86_32 " \
374 + "-isystem" BF_SRC "/include/ipv4 " \
375 + "-isystem" BF_BUILD "/scc/include " \
376 + "-isystem" BF_BUILD "/scc/include/dev"
378 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
379 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
382 + "-L" BF_BUILD "/scc/lib " \
384 + "-loctopus_parser " \
385 + BF_BUILD "/scc/errors/errno.o " \
395 +#undef STARTFILE_SPEC
396 +#define STARTFILE_SPEC \
397 + BF_BUILD "/scc/lib/crt0.o%s " \
398 + BF_BUILD "/scc/lib/crtbegin.o%s"
401 +#define ENDFILE_SPEC \
402 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
403 + "%{mpc32:crtprec32.o%s} " \
404 + "%{mpc64:crtprec64.o%s} " \
405 + "%{mpc80:crtprec80.o%s} " \
406 + BF_BUILD "/scc/lib/crtend.o%s " \
409 +/* System header files are C++ ready so don't wrap in extern "C". */
410 +#undef NO_IMPLICIT_EXTERN_C
411 +#define NO_IMPLICIT_EXTERN_C 1
412 diff --git a/gcc/config/i386/barrelfish-x86_32.h b/gcc/config/i386/barrelfish-x86_32.h
414 index 0000000..84d0bf5
416 +++ b/gcc/config/i386/barrelfish-x86_32.h
418 +#define BF_SRC "{{BF_SRC}}"
419 +#define BF_BUILD "{{BF_BUILD}}"
421 +#undef TARGET_OS_CPP_BUILTINS
422 +#define TARGET_OS_CPP_BUILTINS() \
424 + builtin_define ("BARRELFISH"); \
425 + builtin_define_std ("barrelfish"); \
426 + builtin_define_std ("unix"); \
427 + builtin_define ("CONFIG_LAZY_THC"); \
428 + builtin_define ("CONFIG_NEWLIB"); \
429 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
430 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
431 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
432 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
433 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
434 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
435 + builtin_assert ("system=barrelfish"); \
436 + builtin_assert ("system=unix"); \
440 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
442 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
445 + "-isystem" BF_SRC "/include " \
446 + "-isystem" BF_SRC "/include/arch/x86_32 " \
447 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
448 + "-isystem" BF_SRC "/include/c " \
449 + "-isystem" BF_SRC "/include/target/x86_32 " \
450 + "-isystem" BF_SRC "/include/ipv4 " \
451 + "-isystem" BF_BUILD "/x86_32/include " \
452 + "-isystem" BF_BUILD "/x86_32/include/dev"
454 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
455 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
458 + "-L" BF_BUILD "/x86_32/lib " \
460 + "-loctopus_parser " \
461 + BF_BUILD "/x86_32/errors/errno.o " \
471 +#undef STARTFILE_SPEC
472 +#define STARTFILE_SPEC \
473 + BF_BUILD "/x86_32/lib/crt0.o%s " \
474 + BF_BUILD "/x86_32/lib/crtbegin.o%s"
477 +#define ENDFILE_SPEC \
478 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
479 + "%{mpc32:crtprec32.o%s} " \
480 + "%{mpc64:crtprec64.o%s} " \
481 + "%{mpc80:crtprec80.o%s} " \
482 + BF_BUILD "/x86_32/lib/crtend.o%s " \
485 +/* System header files are C++ ready so don't wrap in extern "C". */
486 +#undef NO_IMPLICIT_EXTERN_C
487 +#define NO_IMPLICIT_EXTERN_C 1
488 diff --git a/gcc/config/i386/barrelfish-x86_64.h b/gcc/config/i386/barrelfish-x86_64.h
490 index 0000000..8608b62
492 +++ b/gcc/config/i386/barrelfish-x86_64.h
494 +#define BF_SRC "{{BF_SRC}}"
495 +#define BF_BUILD "{{BF_BUILD}}"
497 +#undef TARGET_OS_CPP_BUILTINS
498 +#define TARGET_OS_CPP_BUILTINS() \
500 + builtin_define ("BARRELFISH"); \
501 + builtin_define_std ("barrelfish"); \
502 + builtin_define_std ("unix"); \
503 + builtin_define ("CONFIG_LAZY_THC"); \
504 + builtin_define ("CONFIG_NEWLIB"); \
505 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
506 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
507 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
508 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
509 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
510 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
511 + builtin_assert ("system=barrelfish"); \
512 + builtin_assert ("system=unix"); \
516 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
518 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
521 + "-isystem" BF_SRC "/include " \
522 + "-isystem" BF_SRC "/include/arch/x86_64 " \
523 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
524 + "-isystem" BF_SRC "/include/c " \
525 + "-isystem" BF_SRC "/include/target/x86_64 " \
526 + "-isystem" BF_SRC "/include/ipv4 " \
527 + "-isystem" BF_BUILD "/x86_64/include " \
528 + "-isystem" BF_BUILD "/x86_64/include/dev"
530 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
531 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
534 + "-L" BF_BUILD "/x86_64/lib " \
536 + "-loctopus_parser " \
537 + BF_BUILD "/x86_64/errors/errno.o " \
547 +#undef STARTFILE_SPEC
548 +#define STARTFILE_SPEC \
549 + BF_BUILD "/x86_64/lib/crt0.o%s " \
550 + BF_BUILD "/x86_64/lib/crtbegin.o%s"
553 +#define ENDFILE_SPEC \
554 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
555 + "%{mpc32:crtprec32.o%s} " \
556 + "%{mpc64:crtprec64.o%s} " \
557 + "%{mpc80:crtprec80.o%s} " \
558 + BF_BUILD "/x86_64/lib/crtend.o%s " \
561 +/* System header files are C++ ready so don't wrap in extern "C". */
562 +#undef NO_IMPLICIT_EXTERN_C
563 +#define NO_IMPLICIT_EXTERN_C 1
564 diff --git a/gcc/config/i386/barrelfish-k1om.h b/gcc/config/i386/barrelfish-k1om.h
566 index 0000000..8608b62
568 +++ b/gcc/config/i386/barrelfish-k1om.h
570 +#define BF_SRC "{{BF_SRC}}"
571 +#define BF_BUILD "{{BF_BUILD}}"
573 +#undef TARGET_OS_CPP_BUILTINS
574 +#define TARGET_OS_CPP_BUILTINS() \
576 + builtin_define ("BARRELFISH"); \
577 + builtin_define_std ("barrelfish"); \
578 + builtin_define_std ("unix"); \
579 + builtin_define ("CONFIG_LAZY_THC"); \
580 + builtin_define ("CONFIG_NEWLIB"); \
581 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
582 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
583 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
584 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
585 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
586 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
587 + builtin_assert ("system=barrelfish"); \
588 + builtin_assert ("system=unix"); \
592 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
594 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
597 + "-isystem" BF_SRC "/include " \
598 + "-isystem" BF_SRC "/include/arch/k1om " \
599 + "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
600 + "-isystem" BF_SRC "/include/c " \
601 + "-isystem" BF_SRC "/include/target/k1om " \
602 + "-isystem" BF_SRC "/include/ipv4 " \
603 + "-isystem" BF_BUILD "/k1om/include " \
604 + "-isystem" BF_BUILD "/k1om/include/dev"
606 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
607 + Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
610 + "-L" BF_BUILD "/k1om/lib " \
612 + "-loctopus_parser " \
613 + BF_BUILD "/k1om/errors/errno.o " \
623 +#undef STARTFILE_SPEC
624 +#define STARTFILE_SPEC \
625 + BF_BUILD "/k1om/lib/crt0.o%s " \
626 + BF_BUILD "/k1om/lib/crtbegin.o%s"
629 +#define ENDFILE_SPEC \
630 + "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
631 + "%{mpc32:crtprec32.o%s} " \
632 + "%{mpc64:crtprec64.o%s} " \
633 + "%{mpc80:crtprec80.o%s} " \
634 + BF_BUILD "/k1om/lib/crtend.o%s " \
637 +/* System header files are C++ ready so don't wrap in extern "C". */
638 +#undef NO_IMPLICIT_EXTERN_C
639 +#define NO_IMPLICIT_EXTERN_C 1
640 diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
641 index 8a03948..fe302bc 100644
642 --- a/gcc/ginclude/stddef.h
643 +++ b/gcc/ginclude/stddef.h
645 #define ___int_size_t_h
648 -#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
649 +#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) || defined(__barrelfish__)
650 /* __size_t is a typedef on FreeBSD 5!, must not trash it. */
653 diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
654 index 0730c76..ea56210 100644
655 --- a/gcc/testsuite/g++.dg/dg.exp
656 +++ b/gcc/testsuite/g++.dg/dg.exp
657 @@ -31,6 +31,7 @@ dg-init
658 # Gather a list of all tests, with the exception of those in directories
659 # that are handled specially.
660 set tests [lsort [find $srcdir/$subdir *.C]]
661 +set tests [prune $tests $srcdir/$subdir/eh/*]
662 set tests [prune $tests $srcdir/$subdir/bprob/*]
663 set tests [prune $tests $srcdir/$subdir/charset/*]
664 set tests [prune $tests $srcdir/$subdir/compat/*]
665 diff --git a/libgcc/config.host b/libgcc/config.host
666 index 66b4724..86bb37d 100644
667 --- a/libgcc/config.host
668 +++ b/libgcc/config.host
670 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
671 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
673 +i[34567]86-*-barrelfish*)
674 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
675 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
677 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu | \
678 [lk]1om-*-linux* | [lk]1om-*-kfreebsd*-gnu | [lk]1om-*-knetbsd*-gnu)
679 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
685 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
686 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules i386/t-mic-crtfm"
688 +x86_64-*-barrelfish*)
689 + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
690 + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
692 i[34567]86-pc-msdosdjgpp*)
694 i[34567]86-*-lynxos*)
699 -i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | \
700 +i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish* | \
701 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \
703 tmake_file="${tmake_file} t-tls"
705 i[34567]86-*-darwin* | x86_64-*-darwin* | [lk]1om-*-darwin* | \
706 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | [lk]1om-*-kfreebsd*-gnu | \
707 i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | \
708 - i[34567]86-*-gnu* | \
709 + i[34567]86-*-gnu* | k1om-*-barrelfish* | \
710 i[34567]86-*-solaris2* | \
711 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
712 i[34567]86-*-freebsd* | x86_64-*-freebsd* | [lk]1om-*-freebsd*)
717 -i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux*)
718 +i[34567]86-*-linux* | x86_64-*-linux* | [lk]1om-*-linux* | k1om-*-barrelfish*)
719 # Provide backward binary compatibility for 64bit Linux/x86.
720 if test "${host_address}" = 64; then
721 tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
722 diff --git a/libiberty/clock.c b/libiberty/clock.c
723 index 07d902e..4d5817a 100644
724 --- a/libiberty/clock.c
725 +++ b/libiberty/clock.c
726 @@ -66,7 +66,7 @@ number of seconds used.
728 /* FIXME: should be able to declare as clock_t. */
734 #ifdef HAVE_GETRUSAGE
735 diff --git a/libiberty/gettimeofday.c b/libiberty/gettimeofday.c
736 index fca1679..88f2f5a 100644
737 --- a/libiberty/gettimeofday.c
738 +++ b/libiberty/gettimeofday.c
739 @@ -19,7 +19,7 @@ that @var{tz} be NULL. Returns 0 on success, -1 on failure.
743 -gettimeofday (struct timeval *tp, void *tz)
744 +gettimeofday (struct timeval *tp, struct timezone *tz)
748 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
749 index b642495..45e3ed3 100755
750 --- a/libstdc++-v3/configure
751 +++ b/libstdc++-v3/configure
752 @@ -50889,6 +51789,5867 @@ _ACEOF
758 + # All these tests are for C++; save the language and the compiler flags.
759 + # The CXXFLAGS thing is suspicious, but based on similar bits previously
760 + # found in GLIBCXX_CONFIGURE.
763 +ac_cpp='$CXXCPP $CPPFLAGS'
764 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
765 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
766 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
768 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
769 + ac_save_CXXFLAGS="$CXXFLAGS"
771 + # Check for maintainer-mode bits.
772 + if test x"$USE_MAINTAINER_MODE" = xno; then
778 + # Check for -ffunction-sections -fdata-sections
779 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
780 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
781 + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
782 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
783 +/* end confdefs.h. */
784 +int foo; void bar() { };
793 +if ac_fn_cxx_try_compile "$LINENO"; then :
798 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
799 + if test "$ac_test_CXXFLAGS" = set; then
800 + CXXFLAGS="$ac_save_CXXFLAGS"
802 + # this is the suspicious part
805 + if test x"$ac_fdsections" = x"yes"; then
806 + SECTION_FLAGS='-ffunction-sections -fdata-sections'
808 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
809 +$as_echo "$ac_fdsections" >&6; }
812 +ac_cpp='$CPP $CPPFLAGS'
813 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
814 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
815 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
821 + # If we're not using GNU ld, then there's no point in even trying these
822 + # tests. Check for that first. We should have already tested for gld
823 + # by now (in libtool), but require it now just to be safe...
824 + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
825 + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
829 + # The name set by libtool depends on the version of libtool. Shame on us
830 + # for depending on an impl detail, but c'est la vie. Older versions used
831 + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
832 + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
833 + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
834 + # set (hence we're using an older libtool), then set it.
835 + if test x${with_gnu_ld+set} != xset; then
836 + if test x${ac_cv_prog_gnu_ld+set} != xset; then
837 + # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
840 + with_gnu_ld=$ac_cv_prog_gnu_ld
844 + # Start by getting the version number. I think the libtool test already
845 + # does some of this, but throws away the result.
846 + glibcxx_ld_is_gold=no
847 + if test x"$with_gnu_ld" = x"yes"; then
848 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
849 +$as_echo_n "checking for ld version... " >&6; }
851 + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
852 + glibcxx_ld_is_gold=yes
854 + ldver=`$LD --version 2>/dev/null |
855 + 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'`
857 + glibcxx_gnu_ld_version=`echo $ldver | \
858 + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
859 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
860 +$as_echo "$glibcxx_gnu_ld_version" >&6; }
863 + # Set --gc-sections.
864 + glibcxx_have_gc_sections=no
865 + if test "$glibcxx_ld_is_gold" = "yes"; then
866 + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
867 + glibcxx_have_gc_sections=yes
870 + glibcxx_gcsections_min_ld=21602
871 + if test x"$with_gnu_ld" = x"yes" &&
872 + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
873 + glibcxx_have_gc_sections=yes
876 + if test "$glibcxx_have_gc_sections" = "yes"; then
877 + # Sufficiently young GNU ld it is! Joy and bunny rabbits!
878 + # NB: This flag only works reliably after 2.16.1. Configure tests
879 + # for this are difficult, so hard wire a value that should work.
881 + ac_test_CFLAGS="${CFLAGS+set}"
882 + ac_save_CFLAGS="$CFLAGS"
883 + CFLAGS='-Wl,--gc-sections'
885 + # Check for -Wl,--gc-sections
886 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
887 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
888 + if test x$gcc_no_link = xyes; then
889 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
891 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
892 +/* end confdefs.h. */
893 + int one(void) { return 1; }
894 + int two(void) { return 2; }
904 +if ac_fn_c_try_link "$LINENO"; then :
909 +rm -f core conftest.err conftest.$ac_objext \
910 + conftest$ac_exeext conftest.$ac_ext
911 + if test "$ac_gcsections" = "yes"; then
914 + if $CC -c conftest.c; then
915 + if $LD --gc-sections -o conftest conftest.o 2>&1 | \
916 + grep "Warning: gc-sections option ignored" > /dev/null; then
920 + rm -f conftest.c conftest.o conftest
922 + if test "$ac_gcsections" = "yes"; then
923 + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
925 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
926 +$as_echo "$ac_gcsections" >&6; }
928 + if test "$ac_test_CFLAGS" = set; then
929 + CFLAGS="$ac_save_CFLAGS"
931 + # this is the suspicious part
937 + # Note this is only for shared objects.
939 + if test x"$with_gnu_ld" = x"yes"; then
940 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
941 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
942 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
943 + if test -n "$cxx_z_relo"; then
944 + OPT_LDFLAGS="-Wl,-z,relro"
947 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
948 +$as_echo "$ac_ld_relro" >&6; }
951 + # Set linker optimization flags.
952 + if test x"$with_gnu_ld" = x"yes"; then
953 + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
960 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
961 + ac_save_CXXFLAGS="$CXXFLAGS"
962 + CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
964 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
965 +$as_echo_n "checking for sin in -lm... " >&6; }
966 +if test "${ac_cv_lib_m_sin+set}" = set; then :
967 + $as_echo_n "(cached) " >&6
969 + ac_check_lib_save_LIBS=$LIBS
971 +if test x$gcc_no_link = xyes; then
972 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
974 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
975 +/* end confdefs.h. */
977 +/* Override any GCC internal prototype to avoid an error.
978 + Use char because int might match the return type of a GCC
979 + builtin and then its argument prototype would still apply. */
992 +if ac_fn_c_try_link "$LINENO"; then :
993 + ac_cv_lib_m_sin=yes
997 +rm -f core conftest.err conftest.$ac_objext \
998 + conftest$ac_exeext conftest.$ac_ext
999 +LIBS=$ac_check_lib_save_LIBS
1001 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
1002 +$as_echo "$ac_cv_lib_m_sin" >&6; }
1003 +if test "x$ac_cv_lib_m_sin" = x""yes; then :
1007 + ac_save_LIBS="$LIBS"
1008 + LIBS="$LIBS $libm"
1012 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
1013 +$as_echo_n "checking for isinf declaration... " >&6; }
1014 + if test x${glibcxx_cv_func_isinf_use+set} != xset; then
1015 + if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
1016 + $as_echo_n "(cached) " >&6
1021 +ac_cpp='$CXXCPP $CPPFLAGS'
1022 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1023 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1024 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1026 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1027 +/* end confdefs.h. */
1029 + #ifdef HAVE_IEEEFP_H
1030 + #include <ieeefp.h>
1041 +if ac_fn_cxx_try_compile "$LINENO"; then :
1042 + glibcxx_cv_func_isinf_use=yes
1044 + glibcxx_cv_func_isinf_use=no
1046 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1048 +ac_cpp='$CPP $CPPFLAGS'
1049 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1050 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1051 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1057 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
1058 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
1060 + if test x$glibcxx_cv_func_isinf_use = x"yes"; then
1061 + for ac_func in isinf
1063 + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
1064 +if test "x$ac_cv_func_isinf" = x""yes; then :
1065 + cat >>confdefs.h <<_ACEOF
1066 +#define HAVE_ISINF 1
1074 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
1075 +$as_echo_n "checking for _isinf declaration... " >&6; }
1076 + if test x${glibcxx_cv_func__isinf_use+set} != xset; then
1077 + if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
1078 + $as_echo_n "(cached) " >&6
1083 +ac_cpp='$CXXCPP $CPPFLAGS'
1084 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1085 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1086 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1088 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1089 +/* end confdefs.h. */
1091 + #ifdef HAVE_IEEEFP_H
1092 + #include <ieeefp.h>
1103 +if ac_fn_cxx_try_compile "$LINENO"; then :
1104 + glibcxx_cv_func__isinf_use=yes
1106 + glibcxx_cv_func__isinf_use=no
1108 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1110 +ac_cpp='$CPP $CPPFLAGS'
1111 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1112 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1113 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1119 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
1120 +$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
1122 + if test x$glibcxx_cv_func__isinf_use = x"yes"; then
1123 + for ac_func in _isinf
1125 + ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
1126 +if test "x$ac_cv_func__isinf" = x""yes; then :
1127 + cat >>confdefs.h <<_ACEOF
1128 +#define HAVE__ISINF 1
1141 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
1142 +$as_echo_n "checking for isnan declaration... " >&6; }
1143 + if test x${glibcxx_cv_func_isnan_use+set} != xset; then
1144 + if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
1145 + $as_echo_n "(cached) " >&6
1150 +ac_cpp='$CXXCPP $CPPFLAGS'
1151 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1152 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1153 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1155 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1156 +/* end confdefs.h. */
1158 + #ifdef HAVE_IEEEFP_H
1159 + #include <ieeefp.h>
1170 +if ac_fn_cxx_try_compile "$LINENO"; then :
1171 + glibcxx_cv_func_isnan_use=yes
1173 + glibcxx_cv_func_isnan_use=no
1175 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1177 +ac_cpp='$CPP $CPPFLAGS'
1178 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1179 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1180 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1186 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
1187 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
1189 + if test x$glibcxx_cv_func_isnan_use = x"yes"; then
1190 + for ac_func in isnan
1192 + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
1193 +if test "x$ac_cv_func_isnan" = x""yes; then :
1194 + cat >>confdefs.h <<_ACEOF
1195 +#define HAVE_ISNAN 1
1203 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
1204 +$as_echo_n "checking for _isnan declaration... " >&6; }
1205 + if test x${glibcxx_cv_func__isnan_use+set} != xset; then
1206 + if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
1207 + $as_echo_n "(cached) " >&6
1212 +ac_cpp='$CXXCPP $CPPFLAGS'
1213 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1214 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1215 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1217 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1218 +/* end confdefs.h. */
1220 + #ifdef HAVE_IEEEFP_H
1221 + #include <ieeefp.h>
1232 +if ac_fn_cxx_try_compile "$LINENO"; then :
1233 + glibcxx_cv_func__isnan_use=yes
1235 + glibcxx_cv_func__isnan_use=no
1237 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1239 +ac_cpp='$CPP $CPPFLAGS'
1240 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1241 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1242 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1248 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
1249 +$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
1251 + if test x$glibcxx_cv_func__isnan_use = x"yes"; then
1252 + for ac_func in _isnan
1254 + ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
1255 +if test "x$ac_cv_func__isnan" = x""yes; then :
1256 + cat >>confdefs.h <<_ACEOF
1257 +#define HAVE__ISNAN 1
1270 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
1271 +$as_echo_n "checking for finite declaration... " >&6; }
1272 + if test x${glibcxx_cv_func_finite_use+set} != xset; then
1273 + if test "${glibcxx_cv_func_finite_use+set}" = set; then :
1274 + $as_echo_n "(cached) " >&6
1279 +ac_cpp='$CXXCPP $CPPFLAGS'
1280 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1281 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1282 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1284 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1285 +/* end confdefs.h. */
1287 + #ifdef HAVE_IEEEFP_H
1288 + #include <ieeefp.h>
1299 +if ac_fn_cxx_try_compile "$LINENO"; then :
1300 + glibcxx_cv_func_finite_use=yes
1302 + glibcxx_cv_func_finite_use=no
1304 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1306 +ac_cpp='$CPP $CPPFLAGS'
1307 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1315 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
1316 +$as_echo "$glibcxx_cv_func_finite_use" >&6; }
1318 + if test x$glibcxx_cv_func_finite_use = x"yes"; then
1319 + for ac_func in finite
1321 + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
1322 +if test "x$ac_cv_func_finite" = x""yes; then :
1323 + cat >>confdefs.h <<_ACEOF
1324 +#define HAVE_FINITE 1
1332 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
1333 +$as_echo_n "checking for _finite declaration... " >&6; }
1334 + if test x${glibcxx_cv_func__finite_use+set} != xset; then
1335 + if test "${glibcxx_cv_func__finite_use+set}" = set; then :
1336 + $as_echo_n "(cached) " >&6
1341 +ac_cpp='$CXXCPP $CPPFLAGS'
1342 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1343 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1344 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1346 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1347 +/* end confdefs.h. */
1349 + #ifdef HAVE_IEEEFP_H
1350 + #include <ieeefp.h>
1361 +if ac_fn_cxx_try_compile "$LINENO"; then :
1362 + glibcxx_cv_func__finite_use=yes
1364 + glibcxx_cv_func__finite_use=no
1366 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1368 +ac_cpp='$CPP $CPPFLAGS'
1369 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1370 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1371 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1377 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
1378 +$as_echo "$glibcxx_cv_func__finite_use" >&6; }
1380 + if test x$glibcxx_cv_func__finite_use = x"yes"; then
1381 + for ac_func in _finite
1383 + ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
1384 +if test "x$ac_cv_func__finite" = x""yes; then :
1385 + cat >>confdefs.h <<_ACEOF
1386 +#define HAVE__FINITE 1
1399 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
1400 +$as_echo_n "checking for sincos declaration... " >&6; }
1401 + if test x${glibcxx_cv_func_sincos_use+set} != xset; then
1402 + if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
1403 + $as_echo_n "(cached) " >&6
1408 +ac_cpp='$CXXCPP $CPPFLAGS'
1409 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1410 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1411 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1413 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1414 +/* end confdefs.h. */
1424 +if ac_fn_cxx_try_compile "$LINENO"; then :
1425 + glibcxx_cv_func_sincos_use=yes
1427 + glibcxx_cv_func_sincos_use=no
1429 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1431 +ac_cpp='$CPP $CPPFLAGS'
1432 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1433 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1434 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1440 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
1441 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
1443 + if test x$glibcxx_cv_func_sincos_use = x"yes"; then
1444 + for ac_func in sincos
1446 + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
1447 +if test "x$ac_cv_func_sincos" = x""yes; then :
1448 + cat >>confdefs.h <<_ACEOF
1449 +#define HAVE_SINCOS 1
1457 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
1458 +$as_echo_n "checking for _sincos declaration... " >&6; }
1459 + if test x${glibcxx_cv_func__sincos_use+set} != xset; then
1460 + if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
1461 + $as_echo_n "(cached) " >&6
1466 +ac_cpp='$CXXCPP $CPPFLAGS'
1467 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1468 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1469 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1471 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1472 +/* end confdefs.h. */
1482 +if ac_fn_cxx_try_compile "$LINENO"; then :
1483 + glibcxx_cv_func__sincos_use=yes
1485 + glibcxx_cv_func__sincos_use=no
1487 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1489 +ac_cpp='$CPP $CPPFLAGS'
1490 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1491 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1492 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1498 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
1499 +$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
1501 + if test x$glibcxx_cv_func__sincos_use = x"yes"; then
1502 + for ac_func in _sincos
1504 + ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
1505 +if test "x$ac_cv_func__sincos" = x""yes; then :
1506 + cat >>confdefs.h <<_ACEOF
1507 +#define HAVE__SINCOS 1
1520 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
1521 +$as_echo_n "checking for fpclass declaration... " >&6; }
1522 + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
1523 + if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
1524 + $as_echo_n "(cached) " >&6
1529 +ac_cpp='$CXXCPP $CPPFLAGS'
1530 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1531 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1532 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1534 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535 +/* end confdefs.h. */
1537 + #ifdef HAVE_IEEEFP_H
1538 + #include <ieeefp.h>
1549 +if ac_fn_cxx_try_compile "$LINENO"; then :
1550 + glibcxx_cv_func_fpclass_use=yes
1552 + glibcxx_cv_func_fpclass_use=no
1554 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1556 +ac_cpp='$CPP $CPPFLAGS'
1557 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1558 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1559 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1565 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
1566 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
1568 + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
1569 + for ac_func in fpclass
1571 + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
1572 +if test "x$ac_cv_func_fpclass" = x""yes; then :
1573 + cat >>confdefs.h <<_ACEOF
1574 +#define HAVE_FPCLASS 1
1582 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
1583 +$as_echo_n "checking for _fpclass declaration... " >&6; }
1584 + if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
1585 + if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
1586 + $as_echo_n "(cached) " >&6
1591 +ac_cpp='$CXXCPP $CPPFLAGS'
1592 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1593 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1594 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1596 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 +/* end confdefs.h. */
1599 + #ifdef HAVE_IEEEFP_H
1600 + #include <ieeefp.h>
1611 +if ac_fn_cxx_try_compile "$LINENO"; then :
1612 + glibcxx_cv_func__fpclass_use=yes
1614 + glibcxx_cv_func__fpclass_use=no
1616 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 +ac_cpp='$CPP $CPPFLAGS'
1619 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1620 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1621 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1627 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
1628 +$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
1630 + if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
1631 + for ac_func in _fpclass
1633 + ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
1634 +if test "x$ac_cv_func__fpclass" = x""yes; then :
1635 + cat >>confdefs.h <<_ACEOF
1636 +#define HAVE__FPCLASS 1
1649 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
1650 +$as_echo_n "checking for qfpclass declaration... " >&6; }
1651 + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
1652 + if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
1653 + $as_echo_n "(cached) " >&6
1658 +ac_cpp='$CXXCPP $CPPFLAGS'
1659 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1663 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664 +/* end confdefs.h. */
1666 + #ifdef HAVE_IEEEFP_H
1667 + #include <ieeefp.h>
1678 +if ac_fn_cxx_try_compile "$LINENO"; then :
1679 + glibcxx_cv_func_qfpclass_use=yes
1681 + glibcxx_cv_func_qfpclass_use=no
1683 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 +ac_cpp='$CPP $CPPFLAGS'
1686 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1687 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1688 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
1695 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
1697 + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
1698 + for ac_func in qfpclass
1700 + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
1701 +if test "x$ac_cv_func_qfpclass" = x""yes; then :
1702 + cat >>confdefs.h <<_ACEOF
1703 +#define HAVE_QFPCLASS 1
1711 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
1712 +$as_echo_n "checking for _qfpclass declaration... " >&6; }
1713 + if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
1714 + if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
1715 + $as_echo_n "(cached) " >&6
1720 +ac_cpp='$CXXCPP $CPPFLAGS'
1721 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1722 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1723 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1725 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1726 +/* end confdefs.h. */
1728 + #ifdef HAVE_IEEEFP_H
1729 + #include <ieeefp.h>
1740 +if ac_fn_cxx_try_compile "$LINENO"; then :
1741 + glibcxx_cv_func__qfpclass_use=yes
1743 + glibcxx_cv_func__qfpclass_use=no
1745 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1747 +ac_cpp='$CPP $CPPFLAGS'
1748 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1749 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1750 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1756 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
1757 +$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
1759 + if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
1760 + for ac_func in _qfpclass
1762 + ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
1763 +if test "x$ac_cv_func__qfpclass" = x""yes; then :
1764 + cat >>confdefs.h <<_ACEOF
1765 +#define HAVE__QFPCLASS 1
1778 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
1779 +$as_echo_n "checking for hypot declaration... " >&6; }
1780 + if test x${glibcxx_cv_func_hypot_use+set} != xset; then
1781 + if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
1782 + $as_echo_n "(cached) " >&6
1787 +ac_cpp='$CXXCPP $CPPFLAGS'
1788 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1789 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1790 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1792 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 +/* end confdefs.h. */
1803 +if ac_fn_cxx_try_compile "$LINENO"; then :
1804 + glibcxx_cv_func_hypot_use=yes
1806 + glibcxx_cv_func_hypot_use=no
1808 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 +ac_cpp='$CPP $CPPFLAGS'
1811 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1812 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1813 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1819 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
1820 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
1822 + if test x$glibcxx_cv_func_hypot_use = x"yes"; then
1823 + for ac_func in hypot
1825 + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
1826 +if test "x$ac_cv_func_hypot" = x""yes; then :
1827 + cat >>confdefs.h <<_ACEOF
1828 +#define HAVE_HYPOT 1
1836 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
1837 +$as_echo_n "checking for _hypot declaration... " >&6; }
1838 + if test x${glibcxx_cv_func__hypot_use+set} != xset; then
1839 + if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
1840 + $as_echo_n "(cached) " >&6
1845 +ac_cpp='$CXXCPP $CPPFLAGS'
1846 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1850 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 +/* end confdefs.h. */
1861 +if ac_fn_cxx_try_compile "$LINENO"; then :
1862 + glibcxx_cv_func__hypot_use=yes
1864 + glibcxx_cv_func__hypot_use=no
1866 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 +ac_cpp='$CPP $CPPFLAGS'
1869 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1870 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1871 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1877 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
1878 +$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
1880 + if test x$glibcxx_cv_func__hypot_use = x"yes"; then
1881 + for ac_func in _hypot
1883 + ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
1884 +if test "x$ac_cv_func__hypot" = x""yes; then :
1885 + cat >>confdefs.h <<_ACEOF
1886 +#define HAVE__HYPOT 1
1899 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
1900 +$as_echo_n "checking for float trig functions... " >&6; }
1901 + if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
1902 + $as_echo_n "(cached) " >&6
1907 +ac_cpp='$CXXCPP $CPPFLAGS'
1908 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1909 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1910 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1912 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 +/* end confdefs.h. */
1918 +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
1923 +if ac_fn_cxx_try_compile "$LINENO"; then :
1924 + glibcxx_cv_func_float_trig_use=yes
1926 + glibcxx_cv_func_float_trig_use=no
1928 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 +ac_cpp='$CPP $CPPFLAGS'
1931 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1933 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1937 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
1938 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
1939 + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
1940 + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
1942 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1943 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1944 +eval as_val=\$$as_ac_var
1945 + if test "x$as_val" = x""yes; then :
1946 + cat >>confdefs.h <<_ACEOF
1947 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1954 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
1955 +$as_echo_n "checking for _float trig functions... " >&6; }
1956 + if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
1957 + $as_echo_n "(cached) " >&6
1962 +ac_cpp='$CXXCPP $CPPFLAGS'
1963 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1964 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1965 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1967 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 +/* end confdefs.h. */
1973 +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
1978 +if ac_fn_cxx_try_compile "$LINENO"; then :
1979 + glibcxx_cv_func__float_trig_use=yes
1981 + glibcxx_cv_func__float_trig_use=no
1983 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 +ac_cpp='$CPP $CPPFLAGS'
1986 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1987 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1988 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1992 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
1993 +$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
1994 + if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
1995 + for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
1997 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1998 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1999 +eval as_val=\$$as_ac_var
2000 + if test "x$as_val" = x""yes; then :
2001 + cat >>confdefs.h <<_ACEOF
2002 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2015 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
2016 +$as_echo_n "checking for float round functions... " >&6; }
2017 + if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
2018 + $as_echo_n "(cached) " >&6
2023 +ac_cpp='$CXXCPP $CPPFLAGS'
2024 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2028 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 +/* end confdefs.h. */
2034 +ceilf (0); floorf (0);
2039 +if ac_fn_cxx_try_compile "$LINENO"; then :
2040 + glibcxx_cv_func_float_round_use=yes
2042 + glibcxx_cv_func_float_round_use=no
2044 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 +ac_cpp='$CPP $CPPFLAGS'
2047 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2048 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2049 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2053 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
2054 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
2055 + if test x$glibcxx_cv_func_float_round_use = x"yes"; then
2056 + for ac_func in ceilf floorf
2058 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2059 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2060 +eval as_val=\$$as_ac_var
2061 + if test "x$as_val" = x""yes; then :
2062 + cat >>confdefs.h <<_ACEOF
2063 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2070 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
2071 +$as_echo_n "checking for _float round functions... " >&6; }
2072 + if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
2073 + $as_echo_n "(cached) " >&6
2078 +ac_cpp='$CXXCPP $CPPFLAGS'
2079 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2080 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2081 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2083 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084 +/* end confdefs.h. */
2089 +_ceilf (0); _floorf (0);
2094 +if ac_fn_cxx_try_compile "$LINENO"; then :
2095 + glibcxx_cv_func__float_round_use=yes
2097 + glibcxx_cv_func__float_round_use=no
2099 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 +ac_cpp='$CPP $CPPFLAGS'
2102 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2108 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
2109 +$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
2110 + if test x$glibcxx_cv_func__float_round_use = x"yes"; then
2111 + for ac_func in _ceilf _floorf
2113 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2114 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2115 +eval as_val=\$$as_ac_var
2116 + if test "x$as_val" = x""yes; then :
2117 + cat >>confdefs.h <<_ACEOF
2118 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2132 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
2133 +$as_echo_n "checking for expf declaration... " >&6; }
2134 + if test x${glibcxx_cv_func_expf_use+set} != xset; then
2135 + if test "${glibcxx_cv_func_expf_use+set}" = set; then :
2136 + $as_echo_n "(cached) " >&6
2141 +ac_cpp='$CXXCPP $CPPFLAGS'
2142 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2146 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147 +/* end confdefs.h. */
2149 + #ifdef HAVE_IEEEFP_H
2150 + #include <ieeefp.h>
2161 +if ac_fn_cxx_try_compile "$LINENO"; then :
2162 + glibcxx_cv_func_expf_use=yes
2164 + glibcxx_cv_func_expf_use=no
2166 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168 +ac_cpp='$CPP $CPPFLAGS'
2169 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2177 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
2178 +$as_echo "$glibcxx_cv_func_expf_use" >&6; }
2180 + if test x$glibcxx_cv_func_expf_use = x"yes"; then
2181 + for ac_func in expf
2183 + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
2184 +if test "x$ac_cv_func_expf" = x""yes; then :
2185 + cat >>confdefs.h <<_ACEOF
2186 +#define HAVE_EXPF 1
2194 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
2195 +$as_echo_n "checking for _expf declaration... " >&6; }
2196 + if test x${glibcxx_cv_func__expf_use+set} != xset; then
2197 + if test "${glibcxx_cv_func__expf_use+set}" = set; then :
2198 + $as_echo_n "(cached) " >&6
2203 +ac_cpp='$CXXCPP $CPPFLAGS'
2204 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2205 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2206 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2208 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 +/* end confdefs.h. */
2211 + #ifdef HAVE_IEEEFP_H
2212 + #include <ieeefp.h>
2223 +if ac_fn_cxx_try_compile "$LINENO"; then :
2224 + glibcxx_cv_func__expf_use=yes
2226 + glibcxx_cv_func__expf_use=no
2228 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230 +ac_cpp='$CPP $CPPFLAGS'
2231 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2239 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
2240 +$as_echo "$glibcxx_cv_func__expf_use" >&6; }
2242 + if test x$glibcxx_cv_func__expf_use = x"yes"; then
2243 + for ac_func in _expf
2245 + ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
2246 +if test "x$ac_cv_func__expf" = x""yes; then :
2247 + cat >>confdefs.h <<_ACEOF
2248 +#define HAVE__EXPF 1
2261 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
2262 +$as_echo_n "checking for isnanf declaration... " >&6; }
2263 + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
2264 + if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
2265 + $as_echo_n "(cached) " >&6
2270 +ac_cpp='$CXXCPP $CPPFLAGS'
2271 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2275 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276 +/* end confdefs.h. */
2278 + #ifdef HAVE_IEEEFP_H
2279 + #include <ieeefp.h>
2290 +if ac_fn_cxx_try_compile "$LINENO"; then :
2291 + glibcxx_cv_func_isnanf_use=yes
2293 + glibcxx_cv_func_isnanf_use=no
2295 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2297 +ac_cpp='$CPP $CPPFLAGS'
2298 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2299 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2300 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2306 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
2307 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
2309 + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
2310 + for ac_func in isnanf
2312 + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
2313 +if test "x$ac_cv_func_isnanf" = x""yes; then :
2314 + cat >>confdefs.h <<_ACEOF
2315 +#define HAVE_ISNANF 1
2323 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
2324 +$as_echo_n "checking for _isnanf declaration... " >&6; }
2325 + if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
2326 + if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
2327 + $as_echo_n "(cached) " >&6
2332 +ac_cpp='$CXXCPP $CPPFLAGS'
2333 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2337 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 +/* end confdefs.h. */
2340 + #ifdef HAVE_IEEEFP_H
2341 + #include <ieeefp.h>
2352 +if ac_fn_cxx_try_compile "$LINENO"; then :
2353 + glibcxx_cv_func__isnanf_use=yes
2355 + glibcxx_cv_func__isnanf_use=no
2357 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 +ac_cpp='$CPP $CPPFLAGS'
2360 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
2369 +$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
2371 + if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
2372 + for ac_func in _isnanf
2374 + ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
2375 +if test "x$ac_cv_func__isnanf" = x""yes; then :
2376 + cat >>confdefs.h <<_ACEOF
2377 +#define HAVE__ISNANF 1
2390 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
2391 +$as_echo_n "checking for isinff declaration... " >&6; }
2392 + if test x${glibcxx_cv_func_isinff_use+set} != xset; then
2393 + if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
2394 + $as_echo_n "(cached) " >&6
2399 +ac_cpp='$CXXCPP $CPPFLAGS'
2400 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2401 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2402 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2404 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405 +/* end confdefs.h. */
2407 + #ifdef HAVE_IEEEFP_H
2408 + #include <ieeefp.h>
2419 +if ac_fn_cxx_try_compile "$LINENO"; then :
2420 + glibcxx_cv_func_isinff_use=yes
2422 + glibcxx_cv_func_isinff_use=no
2424 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 +ac_cpp='$CPP $CPPFLAGS'
2427 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2428 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2429 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
2436 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
2438 + if test x$glibcxx_cv_func_isinff_use = x"yes"; then
2439 + for ac_func in isinff
2441 + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
2442 +if test "x$ac_cv_func_isinff" = x""yes; then :
2443 + cat >>confdefs.h <<_ACEOF
2444 +#define HAVE_ISINFF 1
2452 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
2453 +$as_echo_n "checking for _isinff declaration... " >&6; }
2454 + if test x${glibcxx_cv_func__isinff_use+set} != xset; then
2455 + if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
2456 + $as_echo_n "(cached) " >&6
2461 +ac_cpp='$CXXCPP $CPPFLAGS'
2462 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2466 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 +/* end confdefs.h. */
2469 + #ifdef HAVE_IEEEFP_H
2470 + #include <ieeefp.h>
2481 +if ac_fn_cxx_try_compile "$LINENO"; then :
2482 + glibcxx_cv_func__isinff_use=yes
2484 + glibcxx_cv_func__isinff_use=no
2486 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2488 +ac_cpp='$CPP $CPPFLAGS'
2489 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2490 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2491 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2497 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
2498 +$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
2500 + if test x$glibcxx_cv_func__isinff_use = x"yes"; then
2501 + for ac_func in _isinff
2503 + ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
2504 +if test "x$ac_cv_func__isinff" = x""yes; then :
2505 + cat >>confdefs.h <<_ACEOF
2506 +#define HAVE__ISINFF 1
2519 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
2520 +$as_echo_n "checking for atan2f declaration... " >&6; }
2521 + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
2522 + if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
2523 + $as_echo_n "(cached) " >&6
2528 +ac_cpp='$CXXCPP $CPPFLAGS'
2529 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2533 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 +/* end confdefs.h. */
2544 +if ac_fn_cxx_try_compile "$LINENO"; then :
2545 + glibcxx_cv_func_atan2f_use=yes
2547 + glibcxx_cv_func_atan2f_use=no
2549 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 +ac_cpp='$CPP $CPPFLAGS'
2552 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2553 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2554 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2560 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
2561 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
2563 + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
2564 + for ac_func in atan2f
2566 + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
2567 +if test "x$ac_cv_func_atan2f" = x""yes; then :
2568 + cat >>confdefs.h <<_ACEOF
2569 +#define HAVE_ATAN2F 1
2577 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
2578 +$as_echo_n "checking for _atan2f declaration... " >&6; }
2579 + if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
2580 + if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
2581 + $as_echo_n "(cached) " >&6
2586 +ac_cpp='$CXXCPP $CPPFLAGS'
2587 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2588 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2589 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2591 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2592 +/* end confdefs.h. */
2602 +if ac_fn_cxx_try_compile "$LINENO"; then :
2603 + glibcxx_cv_func__atan2f_use=yes
2605 + glibcxx_cv_func__atan2f_use=no
2607 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 +ac_cpp='$CPP $CPPFLAGS'
2610 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2611 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2612 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2618 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
2619 +$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
2621 + if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
2622 + for ac_func in _atan2f
2624 + ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
2625 +if test "x$ac_cv_func__atan2f" = x""yes; then :
2626 + cat >>confdefs.h <<_ACEOF
2627 +#define HAVE__ATAN2F 1
2640 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
2641 +$as_echo_n "checking for fabsf declaration... " >&6; }
2642 + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
2643 + if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
2644 + $as_echo_n "(cached) " >&6
2649 +ac_cpp='$CXXCPP $CPPFLAGS'
2650 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2651 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2652 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2654 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 +/* end confdefs.h. */
2657 + #ifdef HAVE_IEEEFP_H
2658 + #include <ieeefp.h>
2669 +if ac_fn_cxx_try_compile "$LINENO"; then :
2670 + glibcxx_cv_func_fabsf_use=yes
2672 + glibcxx_cv_func_fabsf_use=no
2674 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 +ac_cpp='$CPP $CPPFLAGS'
2677 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2678 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2679 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2685 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
2686 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
2688 + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
2689 + for ac_func in fabsf
2691 + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
2692 +if test "x$ac_cv_func_fabsf" = x""yes; then :
2693 + cat >>confdefs.h <<_ACEOF
2694 +#define HAVE_FABSF 1
2702 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
2703 +$as_echo_n "checking for _fabsf declaration... " >&6; }
2704 + if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
2705 + if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
2706 + $as_echo_n "(cached) " >&6
2711 +ac_cpp='$CXXCPP $CPPFLAGS'
2712 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2713 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2714 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2716 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2717 +/* end confdefs.h. */
2719 + #ifdef HAVE_IEEEFP_H
2720 + #include <ieeefp.h>
2731 +if ac_fn_cxx_try_compile "$LINENO"; then :
2732 + glibcxx_cv_func__fabsf_use=yes
2734 + glibcxx_cv_func__fabsf_use=no
2736 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 +ac_cpp='$CPP $CPPFLAGS'
2739 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2740 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2741 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2747 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
2748 +$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
2750 + if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
2751 + for ac_func in _fabsf
2753 + ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
2754 +if test "x$ac_cv_func__fabsf" = x""yes; then :
2755 + cat >>confdefs.h <<_ACEOF
2756 +#define HAVE__FABSF 1
2769 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
2770 +$as_echo_n "checking for fmodf declaration... " >&6; }
2771 + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
2772 + if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
2773 + $as_echo_n "(cached) " >&6
2778 +ac_cpp='$CXXCPP $CPPFLAGS'
2779 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2780 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2781 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2783 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 +/* end confdefs.h. */
2794 +if ac_fn_cxx_try_compile "$LINENO"; then :
2795 + glibcxx_cv_func_fmodf_use=yes
2797 + glibcxx_cv_func_fmodf_use=no
2799 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 +ac_cpp='$CPP $CPPFLAGS'
2802 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2803 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2804 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2810 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
2811 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
2813 + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
2814 + for ac_func in fmodf
2816 + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
2817 +if test "x$ac_cv_func_fmodf" = x""yes; then :
2818 + cat >>confdefs.h <<_ACEOF
2819 +#define HAVE_FMODF 1
2827 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
2828 +$as_echo_n "checking for _fmodf declaration... " >&6; }
2829 + if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
2830 + if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
2831 + $as_echo_n "(cached) " >&6
2836 +ac_cpp='$CXXCPP $CPPFLAGS'
2837 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2841 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 +/* end confdefs.h. */
2852 +if ac_fn_cxx_try_compile "$LINENO"; then :
2853 + glibcxx_cv_func__fmodf_use=yes
2855 + glibcxx_cv_func__fmodf_use=no
2857 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 +ac_cpp='$CPP $CPPFLAGS'
2860 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2861 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2862 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2868 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
2869 +$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
2871 + if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
2872 + for ac_func in _fmodf
2874 + ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
2875 +if test "x$ac_cv_func__fmodf" = x""yes; then :
2876 + cat >>confdefs.h <<_ACEOF
2877 +#define HAVE__FMODF 1
2890 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
2891 +$as_echo_n "checking for frexpf declaration... " >&6; }
2892 + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
2893 + if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
2894 + $as_echo_n "(cached) " >&6
2899 +ac_cpp='$CXXCPP $CPPFLAGS'
2900 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2901 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2902 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2904 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 +/* end confdefs.h. */
2915 +if ac_fn_cxx_try_compile "$LINENO"; then :
2916 + glibcxx_cv_func_frexpf_use=yes
2918 + glibcxx_cv_func_frexpf_use=no
2920 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 +ac_cpp='$CPP $CPPFLAGS'
2923 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
2932 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
2934 + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
2935 + for ac_func in frexpf
2937 + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
2938 +if test "x$ac_cv_func_frexpf" = x""yes; then :
2939 + cat >>confdefs.h <<_ACEOF
2940 +#define HAVE_FREXPF 1
2948 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
2949 +$as_echo_n "checking for _frexpf declaration... " >&6; }
2950 + if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
2951 + if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
2952 + $as_echo_n "(cached) " >&6
2957 +ac_cpp='$CXXCPP $CPPFLAGS'
2958 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 +/* end confdefs.h. */
2973 +if ac_fn_cxx_try_compile "$LINENO"; then :
2974 + glibcxx_cv_func__frexpf_use=yes
2976 + glibcxx_cv_func__frexpf_use=no
2978 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 +ac_cpp='$CPP $CPPFLAGS'
2981 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2989 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
2990 +$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
2992 + if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
2993 + for ac_func in _frexpf
2995 + ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
2996 +if test "x$ac_cv_func__frexpf" = x""yes; then :
2997 + cat >>confdefs.h <<_ACEOF
2998 +#define HAVE__FREXPF 1
3011 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
3012 +$as_echo_n "checking for hypotf declaration... " >&6; }
3013 + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
3014 + if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
3015 + $as_echo_n "(cached) " >&6
3020 +ac_cpp='$CXXCPP $CPPFLAGS'
3021 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3025 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 +/* end confdefs.h. */
3036 +if ac_fn_cxx_try_compile "$LINENO"; then :
3037 + glibcxx_cv_func_hypotf_use=yes
3039 + glibcxx_cv_func_hypotf_use=no
3041 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 +ac_cpp='$CPP $CPPFLAGS'
3044 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3052 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
3053 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
3055 + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
3056 + for ac_func in hypotf
3058 + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
3059 +if test "x$ac_cv_func_hypotf" = x""yes; then :
3060 + cat >>confdefs.h <<_ACEOF
3061 +#define HAVE_HYPOTF 1
3069 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
3070 +$as_echo_n "checking for _hypotf declaration... " >&6; }
3071 + if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
3072 + if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
3073 + $as_echo_n "(cached) " >&6
3078 +ac_cpp='$CXXCPP $CPPFLAGS'
3079 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3083 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 +/* end confdefs.h. */
3094 +if ac_fn_cxx_try_compile "$LINENO"; then :
3095 + glibcxx_cv_func__hypotf_use=yes
3097 + glibcxx_cv_func__hypotf_use=no
3099 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3101 +ac_cpp='$CPP $CPPFLAGS'
3102 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3110 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
3111 +$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
3113 + if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
3114 + for ac_func in _hypotf
3116 + ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
3117 +if test "x$ac_cv_func__hypotf" = x""yes; then :
3118 + cat >>confdefs.h <<_ACEOF
3119 +#define HAVE__HYPOTF 1
3132 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
3133 +$as_echo_n "checking for ldexpf declaration... " >&6; }
3134 + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
3135 + if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
3136 + $as_echo_n "(cached) " >&6
3141 +ac_cpp='$CXXCPP $CPPFLAGS'
3142 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3143 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3144 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3146 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 +/* end confdefs.h. */
3157 +if ac_fn_cxx_try_compile "$LINENO"; then :
3158 + glibcxx_cv_func_ldexpf_use=yes
3160 + glibcxx_cv_func_ldexpf_use=no
3162 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 +ac_cpp='$CPP $CPPFLAGS'
3165 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3173 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
3174 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
3176 + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
3177 + for ac_func in ldexpf
3179 + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
3180 +if test "x$ac_cv_func_ldexpf" = x""yes; then :
3181 + cat >>confdefs.h <<_ACEOF
3182 +#define HAVE_LDEXPF 1
3190 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
3191 +$as_echo_n "checking for _ldexpf declaration... " >&6; }
3192 + if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
3193 + if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
3194 + $as_echo_n "(cached) " >&6
3199 +ac_cpp='$CXXCPP $CPPFLAGS'
3200 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3204 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 +/* end confdefs.h. */
3215 +if ac_fn_cxx_try_compile "$LINENO"; then :
3216 + glibcxx_cv_func__ldexpf_use=yes
3218 + glibcxx_cv_func__ldexpf_use=no
3220 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 +ac_cpp='$CPP $CPPFLAGS'
3223 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3231 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
3232 +$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
3234 + if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
3235 + for ac_func in _ldexpf
3237 + ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
3238 +if test "x$ac_cv_func__ldexpf" = x""yes; then :
3239 + cat >>confdefs.h <<_ACEOF
3240 +#define HAVE__LDEXPF 1
3253 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
3254 +$as_echo_n "checking for logf declaration... " >&6; }
3255 + if test x${glibcxx_cv_func_logf_use+set} != xset; then
3256 + if test "${glibcxx_cv_func_logf_use+set}" = set; then :
3257 + $as_echo_n "(cached) " >&6
3262 +ac_cpp='$CXXCPP $CPPFLAGS'
3263 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3267 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 +/* end confdefs.h. */
3270 + #ifdef HAVE_IEEEFP_H
3271 + #include <ieeefp.h>
3282 +if ac_fn_cxx_try_compile "$LINENO"; then :
3283 + glibcxx_cv_func_logf_use=yes
3285 + glibcxx_cv_func_logf_use=no
3287 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 +ac_cpp='$CPP $CPPFLAGS'
3290 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
3299 +$as_echo "$glibcxx_cv_func_logf_use" >&6; }
3301 + if test x$glibcxx_cv_func_logf_use = x"yes"; then
3302 + for ac_func in logf
3304 + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
3305 +if test "x$ac_cv_func_logf" = x""yes; then :
3306 + cat >>confdefs.h <<_ACEOF
3307 +#define HAVE_LOGF 1
3315 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
3316 +$as_echo_n "checking for _logf declaration... " >&6; }
3317 + if test x${glibcxx_cv_func__logf_use+set} != xset; then
3318 + if test "${glibcxx_cv_func__logf_use+set}" = set; then :
3319 + $as_echo_n "(cached) " >&6
3324 +ac_cpp='$CXXCPP $CPPFLAGS'
3325 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3327 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3329 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 +/* end confdefs.h. */
3332 + #ifdef HAVE_IEEEFP_H
3333 + #include <ieeefp.h>
3344 +if ac_fn_cxx_try_compile "$LINENO"; then :
3345 + glibcxx_cv_func__logf_use=yes
3347 + glibcxx_cv_func__logf_use=no
3349 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 +ac_cpp='$CPP $CPPFLAGS'
3352 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3360 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
3361 +$as_echo "$glibcxx_cv_func__logf_use" >&6; }
3363 + if test x$glibcxx_cv_func__logf_use = x"yes"; then
3364 + for ac_func in _logf
3366 + ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
3367 +if test "x$ac_cv_func__logf" = x""yes; then :
3368 + cat >>confdefs.h <<_ACEOF
3369 +#define HAVE__LOGF 1
3382 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
3383 +$as_echo_n "checking for log10f declaration... " >&6; }
3384 + if test x${glibcxx_cv_func_log10f_use+set} != xset; then
3385 + if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
3386 + $as_echo_n "(cached) " >&6
3391 +ac_cpp='$CXXCPP $CPPFLAGS'
3392 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3393 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3396 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 +/* end confdefs.h. */
3399 + #ifdef HAVE_IEEEFP_H
3400 + #include <ieeefp.h>
3411 +if ac_fn_cxx_try_compile "$LINENO"; then :
3412 + glibcxx_cv_func_log10f_use=yes
3414 + glibcxx_cv_func_log10f_use=no
3416 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 +ac_cpp='$CPP $CPPFLAGS'
3419 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3420 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3421 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
3428 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
3430 + if test x$glibcxx_cv_func_log10f_use = x"yes"; then
3431 + for ac_func in log10f
3433 + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
3434 +if test "x$ac_cv_func_log10f" = x""yes; then :
3435 + cat >>confdefs.h <<_ACEOF
3436 +#define HAVE_LOG10F 1
3444 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
3445 +$as_echo_n "checking for _log10f declaration... " >&6; }
3446 + if test x${glibcxx_cv_func__log10f_use+set} != xset; then
3447 + if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
3448 + $as_echo_n "(cached) " >&6
3453 +ac_cpp='$CXXCPP $CPPFLAGS'
3454 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3458 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 +/* end confdefs.h. */
3461 + #ifdef HAVE_IEEEFP_H
3462 + #include <ieeefp.h>
3473 +if ac_fn_cxx_try_compile "$LINENO"; then :
3474 + glibcxx_cv_func__log10f_use=yes
3476 + glibcxx_cv_func__log10f_use=no
3478 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 +ac_cpp='$CPP $CPPFLAGS'
3481 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
3490 +$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
3492 + if test x$glibcxx_cv_func__log10f_use = x"yes"; then
3493 + for ac_func in _log10f
3495 + ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
3496 +if test "x$ac_cv_func__log10f" = x""yes; then :
3497 + cat >>confdefs.h <<_ACEOF
3498 +#define HAVE__LOG10F 1
3511 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
3512 +$as_echo_n "checking for modff declaration... " >&6; }
3513 + if test x${glibcxx_cv_func_modff_use+set} != xset; then
3514 + if test "${glibcxx_cv_func_modff_use+set}" = set; then :
3515 + $as_echo_n "(cached) " >&6
3520 +ac_cpp='$CXXCPP $CPPFLAGS'
3521 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3525 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 +/* end confdefs.h. */
3536 +if ac_fn_cxx_try_compile "$LINENO"; then :
3537 + glibcxx_cv_func_modff_use=yes
3539 + glibcxx_cv_func_modff_use=no
3541 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 +ac_cpp='$CPP $CPPFLAGS'
3544 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
3553 +$as_echo "$glibcxx_cv_func_modff_use" >&6; }
3555 + if test x$glibcxx_cv_func_modff_use = x"yes"; then
3556 + for ac_func in modff
3558 + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
3559 +if test "x$ac_cv_func_modff" = x""yes; then :
3560 + cat >>confdefs.h <<_ACEOF
3561 +#define HAVE_MODFF 1
3569 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
3570 +$as_echo_n "checking for _modff declaration... " >&6; }
3571 + if test x${glibcxx_cv_func__modff_use+set} != xset; then
3572 + if test "${glibcxx_cv_func__modff_use+set}" = set; then :
3573 + $as_echo_n "(cached) " >&6
3578 +ac_cpp='$CXXCPP $CPPFLAGS'
3579 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3583 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 +/* end confdefs.h. */
3594 +if ac_fn_cxx_try_compile "$LINENO"; then :
3595 + glibcxx_cv_func__modff_use=yes
3597 + glibcxx_cv_func__modff_use=no
3599 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 +ac_cpp='$CPP $CPPFLAGS'
3602 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3610 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
3611 +$as_echo "$glibcxx_cv_func__modff_use" >&6; }
3613 + if test x$glibcxx_cv_func__modff_use = x"yes"; then
3614 + for ac_func in _modff
3616 + ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"