Attachment 'gcc-4.5.2-bf.patch'
Download 1 diff --git a/config.sub b/config.sub
2 index ae35431..7696a17 100755
3 --- a/config.sub
4 +++ b/config.sub
5 @@ -1297,6 +1297,7 @@ case $os in
6 | -sym* | -kopensolaris* \
7 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
8 | -aos* | -aros* \
9 + | -barrelfish* \
10 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
11 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
12 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
13 diff --git a/gcc/config.gcc b/gcc/config.gcc
14 index 6db775e..a902f22 100644
15 --- a/gcc/config.gcc
16 +++ b/gcc/config.gcc
17 @@ -534,6 +534,12 @@ case ${target} in
18 use_gcc_tgmath=no
19 use_gcc_stdint=wrap
20 ;;
21 +*-*-barrelfish*)
22 + extra_parts="crtbegin.o crtend.o"
23 + gas=yes
24 + gnu_ld=yes
25 + default_use_cxa_atexit=yes
26 + ;;
27 *-*-netbsd*)
28 tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic"
29 gas=yes
30 @@ -1106,10 +1112,24 @@ i[34567]86-*-elf*)
31 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
32 tmake_file="${tmake_file} i386/t-i386elf t-svr4"
33 ;;
34 +i[34567]86-pc-barrelfish*)
35 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/bf-x86_32.h"
36 + tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
37 + use_fixproto=yes
38 + ;;
39 +i[34567]86-scc-barrelfish*)
40 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/bf-scc.h"
41 + tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
42 + use_fixproto=yes
43 + ;;
44 x86_64-*-elf*)
45 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
46 tmake_file="${tmake_file} i386/t-i386elf t-svr4"
47 ;;
48 +x86_64-*-barrelfish*)
49 + 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/bf-x86_64.h"
50 + tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
51 + ;;
52 i[34567]86-*-freebsd*)
53 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
54 ;;
55 diff --git a/gcc/config/i386/bf-scc.h b/gcc/config/i386/bf-scc.h
56 new file mode 100644
57 index 0000000..93d6d4e
58 --- /dev/null
59 +++ b/gcc/config/i386/bf-scc.h
60 @@ -0,0 +1,35 @@
61 +#define BF_SRC "/home/zeus/arm/bf"
62 +#define BF_BUILD "/home/zeus/arm/bf/build"
63 +
64 +#undef TARGET_OS_CPP_BUILTINS
65 +#define TARGET_OS_CPP_BUILTINS() \
66 + do { \
67 + builtin_define ("BARRELFISH"); \
68 + builtin_define_std ("barrelfish"); \
69 + builtin_define_std ("unix"); \
70 + builtin_define_std ("scc"); \
71 + builtin_define ("CONFIG_LAZY_THC"); \
72 + builtin_define ("CONFIG_NEWLIB"); \
73 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
74 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
75 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
76 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP_IPI"); \
77 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
78 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
79 + builtin_assert ("system=barrelfish"); \
80 + builtin_assert ("system=unix"); \
81 + } while(0);
82 +
83 +#define LIB_SPEC "-L" BF_BUILD "/scc/lib -lbarrelfish -loctopus_parser " BF_BUILD "/scc/errors/errno.o -lnewlib -lposixcompat -lvfs -llwip -lbarrelfish -lnewlib -lnfs -lahci -lnewlib"
84 +
85 +#undef CC1_SPEC
86 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
87 +
88 +#undef CPP_SPEC
89 +#define CPP_SPEC "-I" BF_SRC "/include -I" BF_SRC "/include/arch/scc -I" BF_SRC "/include/arch/x86_32 -I" BF_SRC "/lib/newlib/newlib/libc/include -I" BF_SRC "/include/c -I" BF_SRC "/include/target/x86_32 -I" BF_SRC "/include/ipv4 -I" BF_BUILD "/scc/include -I" BF_BUILD "/scc/include/dev"
90 +
91 +#undef STARTFILE_SPEC
92 +#define STARTFILE_SPEC BF_BUILD "/scc/lib/crt0.o%s " BF_BUILD "/scc/lib/crtbegin.o%s"
93 +
94 +#undef ENDFILE_SPEC
95 +#define ENDFILE_SPEC BF_BUILD "/scc/lib/crtend.o%s -lcollections"
96 diff --git a/gcc/config/i386/bf-x86_32.h b/gcc/config/i386/bf-x86_32.h
97 new file mode 100644
98 index 0000000..b44d494
99 --- /dev/null
100 +++ b/gcc/config/i386/bf-x86_32.h
101 @@ -0,0 +1,34 @@
102 +#define BF_SRC "/home/zeus/arm/bf"
103 +#define BF_BUILD "/home/zeus/arm/bf/build"
104 +
105 +#undef TARGET_OS_CPP_BUILTINS
106 +#define TARGET_OS_CPP_BUILTINS() \
107 + do { \
108 + builtin_define ("BARRELFISH"); \
109 + builtin_define_std ("barrelfish"); \
110 + builtin_define_std ("unix"); \
111 + builtin_define ("CONFIG_LAZY_THC"); \
112 + builtin_define ("CONFIG_NEWLIB"); \
113 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
114 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
115 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
116 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
117 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
118 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
119 + builtin_assert ("system=barrelfish"); \
120 + builtin_assert ("system=unix"); \
121 + } while(0);
122 +
123 +#define LIB_SPEC "-L" BF_BUILD "/x86_32/lib -lbarrelfish -loctopus_parser " BF_BUILD "/x86_32/errors/errno.o -lnewlib -lposixcompat -lvfs -llwip -lbarrelfish -lnewlib -lnfs -lahci -lnewlib"
124 +
125 +#undef CC1_SPEC
126 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
127 +
128 +#undef CPP_SPEC
129 +#define CPP_SPEC "-I" BF_SRC "/include -I" BF_SRC "/include/arch/x86_32 -I" BF_SRC "/lib/newlib/newlib/libc/include -I" BF_SRC "/include/c -I" BF_SRC "/include/target/x86_32 -I" BF_SRC "/include/ipv4 -I" BF_BUILD "/x86_32/include -I" BF_BUILD "/x86_32/include/dev"
130 +
131 +#undef STARTFILE_SPEC
132 +#define STARTFILE_SPEC BF_BUILD "/x86_32/lib/crt0.o%s " BF_BUILD "/x86_32/lib/crtbegin.o%s"
133 +
134 +#undef ENDFILE_SPEC
135 +#define ENDFILE_SPEC BF_BUILD "/x86_32/lib/crtend.o%s -lcollections"
136 diff --git a/gcc/config/i386/bf-x86_64.h b/gcc/config/i386/bf-x86_64.h
137 new file mode 100644
138 index 0000000..dbba6e5
139 --- /dev/null
140 +++ b/gcc/config/i386/bf-x86_64.h
141 @@ -0,0 +1,34 @@
142 +#define BF_SRC "/home/zeus/arm/bf"
143 +#define BF_BUILD "/home/zeus/arm/bf/build"
144 +
145 +#undef TARGET_OS_CPP_BUILTINS
146 +#define TARGET_OS_CPP_BUILTINS() \
147 + do { \
148 + builtin_define ("BARRELFISH"); \
149 + builtin_define_std ("barrelfish"); \
150 + builtin_define_std ("unix"); \
151 + builtin_define ("CONFIG_LAZY_THC"); \
152 + builtin_define ("CONFIG_NEWLIB"); \
153 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
154 + builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
155 + builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP"); \
156 + builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP"); \
157 + builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\""); \
158 + builtin_define ("BF_SRC_DIR=\"" BF_SRC "\""); \
159 + builtin_assert ("system=barrelfish"); \
160 + builtin_assert ("system=unix"); \
161 + } while(0);
162 +
163 +#define LIB_SPEC "-L" BF_BUILD "/x86_64/lib -lbarrelfish -loctopus_parser " BF_BUILD "/x86_64/errors/errno.o -lnewlib -lposixcompat -lvfs -llwip -lbarrelfish -lnewlib -lnfs -lahci -lnewlib"
164 +
165 +#undef CC1_SPEC
166 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
167 +
168 +#undef CPP_SPEC
169 +#define CPP_SPEC "-I" BF_SRC "/include -I" BF_SRC "/include/arch/x86_64 -I" BF_SRC "/lib/newlib/newlib/libc/include -I" BF_SRC "/include/c -I" BF_SRC "/include/target/x86_64 -I" BF_SRC "/include/ipv4 -I" BF_BUILD "/x86_64/include -I" BF_BUILD "/x86_64/include/dev"
170 +
171 +#undef STARTFILE_SPEC
172 +#define STARTFILE_SPEC BF_BUILD "/x86_64/lib/crt0.o%s " BF_BUILD "/x86_64/lib/crtbegin.o%s"
173 +
174 +#undef ENDFILE_SPEC
175 +#define ENDFILE_SPEC BF_BUILD "/x86_64/lib/crtend.o%s -lcollections"
176 diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
177 index 2642da1..7b9fdb5 100644
178 --- a/gcc/testsuite/g++.dg/dg.exp
179 +++ b/gcc/testsuite/g++.dg/dg.exp
180 @@ -31,6 +31,7 @@ dg-init
181 # Gather a list of all tests, with the exception of those in directories
182 # that are handled specially.
183 set tests [lsort [find $srcdir/$subdir *.C]]
184 +set tests [prune $tests $srcdir/$subdir/eh/*]
185 set tests [prune $tests $srcdir/$subdir/bprob/*]
186 set tests [prune $tests $srcdir/$subdir/charset/*]
187 set tests [prune $tests $srcdir/$subdir/compat/*]
188 diff --git a/gcc/unwind-dw2-fde-glibc.c b/gcc/unwind-dw2-fde-glibc.c
189 index b8a7312..eed5fac 100644
190 --- a/gcc/unwind-dw2-fde-glibc.c
191 +++ b/gcc/unwind-dw2-fde-glibc.c
192 @@ -423,7 +423,7 @@ _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
193 data.ret = NULL;
194 data.check_cache = 1;
195
196 - if (dl_iterate_phdr (_Unwind_IteratePhdrCallback, &data) < 0)
197 + //if (dl_iterate_phdr (_Unwind_IteratePhdrCallback, &data) < 0)
198 return NULL;
199
200 if (data.ret)
201 diff --git a/libgcc/config.host b/libgcc/config.host
202 index b84940c..6656e16 100644
203 --- a/libgcc/config.host
204 +++ b/libgcc/config.host
205 @@ -296,6 +296,8 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i
206 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
207 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
208 ;;
209 +*-barrelfish*)
210 + ;;
211 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
212 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
213 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
214 diff --git a/libiberty/clock.c b/libiberty/clock.c
215 index 07d902e..4d5817a 100644
216 --- a/libiberty/clock.c
217 +++ b/libiberty/clock.c
218 @@ -66,7 +66,7 @@ number of seconds used.
219
220 /* FIXME: should be able to declare as clock_t. */
221
222 -long
223 +clock_t
224 clock (void)
225 {
226 #ifdef HAVE_GETRUSAGE
227 diff --git a/libiberty/gettimeofday.c b/libiberty/gettimeofday.c
228 index fca1679..88f2f5a 100644
229 --- a/libiberty/gettimeofday.c
230 +++ b/libiberty/gettimeofday.c
231 @@ -19,7 +19,7 @@ that @var{tz} be NULL. Returns 0 on success, -1 on failure.
232 */
233
234 int
235 -gettimeofday (struct timeval *tp, void *tz)
236 +gettimeofday (struct timeval *tp, struct timezone *tz)
237 {
238 if (tz)
239 abort ();
240 diff --git a/libstdc++-v3/config/io/basic_file_stdio.cc b/libstdc++-v3/config/io/basic_file_stdio.cc
241 index 472f123..bbc3389 100644
242 --- a/libstdc++-v3/config/io/basic_file_stdio.cc
243 +++ b/libstdc++-v3/config/io/basic_file_stdio.cc
244 @@ -28,6 +28,9 @@
245 //
246
247 #include <bits/basic_file.h>
248 +
249 +extern "C" {
250 +
251 #include <fcntl.h>
252 #include <errno.h>
253
254 @@ -63,6 +66,7 @@
255 # define _GLIBCXX_ISREG(x) (((x) & S_IFMT) == S_IFREG)
256 # endif
257 #endif
258 +}
259
260 #include <limits> // For <off_t>::max() and min() and <streamsize>::max()
261
262 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
263 index 69f6b5d..16e613f 100755
264 --- a/libstdc++-v3/configure
265 +++ b/libstdc++-v3/configure
266 @@ -50808,6 +50808,5869 @@ _ACEOF
267 fi
268
269 ;;
270 + *-barrelfish*)
271 +
272 + # All these tests are for C++; save the language and the compiler flags.
273 + # The CXXFLAGS thing is suspicious, but based on similar bits previously
274 + # found in GLIBCXX_CONFIGURE.
275 +
276 + ac_ext=cpp
277 +ac_cpp='$CXXCPP $CPPFLAGS'
278 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
279 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
280 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
281 +
282 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
283 + ac_save_CXXFLAGS="$CXXFLAGS"
284 +
285 + # Check for maintainer-mode bits.
286 + if test x"$USE_MAINTAINER_MODE" = xno; then
287 + WERROR=''
288 + else
289 + WERROR='-Werror'
290 + fi
291 +
292 + # Check for -ffunction-sections -fdata-sections
293 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
294 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
295 + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
296 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
297 +/* end confdefs.h. */
298 +int foo; void bar() { };
299 +int
300 +main ()
301 +{
302 +
303 + ;
304 + return 0;
305 +}
306 +_ACEOF
307 +if ac_fn_cxx_try_compile "$LINENO"; then :
308 + ac_fdsections=yes
309 +else
310 + ac_fdsections=no
311 +fi
312 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
313 + if test "$ac_test_CXXFLAGS" = set; then
314 + CXXFLAGS="$ac_save_CXXFLAGS"
315 + else
316 + # this is the suspicious part
317 + CXXFLAGS=''
318 + fi
319 + if test x"$ac_fdsections" = x"yes"; then
320 + SECTION_FLAGS='-ffunction-sections -fdata-sections'
321 + fi
322 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
323 +$as_echo "$ac_fdsections" >&6; }
324 +
325 + ac_ext=c
326 +ac_cpp='$CPP $CPPFLAGS'
327 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
328 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
329 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
330 +
331 +
332 +
333 +
334 +
335 + # If we're not using GNU ld, then there's no point in even trying these
336 + # tests. Check for that first. We should have already tested for gld
337 + # by now (in libtool), but require it now just to be safe...
338 + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
339 + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
340 +
341 +
342 +
343 + # The name set by libtool depends on the version of libtool. Shame on us
344 + # for depending on an impl detail, but c'est la vie. Older versions used
345 + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
346 + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
347 + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
348 + # set (hence we're using an older libtool), then set it.
349 + if test x${with_gnu_ld+set} != xset; then
350 + if test x${ac_cv_prog_gnu_ld+set} != xset; then
351 + # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
352 + with_gnu_ld=no
353 + else
354 + with_gnu_ld=$ac_cv_prog_gnu_ld
355 + fi
356 + fi
357 +
358 + # Start by getting the version number. I think the libtool test already
359 + # does some of this, but throws away the result.
360 + glibcxx_ld_is_gold=no
361 + if test x"$with_gnu_ld" = x"yes"; then
362 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
363 +$as_echo_n "checking for ld version... " >&6; }
364 +
365 + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
366 + glibcxx_ld_is_gold=yes
367 + fi
368 + ldver=`$LD --version 2>/dev/null |
369 + 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'`
370 +
371 + glibcxx_gnu_ld_version=`echo $ldver | \
372 + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
373 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
374 +$as_echo "$glibcxx_gnu_ld_version" >&6; }
375 + fi
376 +
377 + # Set --gc-sections.
378 + glibcxx_have_gc_sections=no
379 + if test "$glibcxx_ld_is_gold" = "yes"; then
380 + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
381 + glibcxx_have_gc_sections=yes
382 + fi
383 + else
384 + glibcxx_gcsections_min_ld=21602
385 + if test x"$with_gnu_ld" = x"yes" &&
386 + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
387 + glibcxx_have_gc_sections=yes
388 + fi
389 + fi
390 + if test "$glibcxx_have_gc_sections" = "yes"; then
391 + # Sufficiently young GNU ld it is! Joy and bunny rabbits!
392 + # NB: This flag only works reliably after 2.16.1. Configure tests
393 + # for this are difficult, so hard wire a value that should work.
394 +
395 + ac_test_CFLAGS="${CFLAGS+set}"
396 + ac_save_CFLAGS="$CFLAGS"
397 + CFLAGS='-Wl,--gc-sections'
398 +
399 + # Check for -Wl,--gc-sections
400 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
401 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
402 + if test x$gcc_no_link = xyes; then
403 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
404 +fi
405 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
406 +/* end confdefs.h. */
407 + int one(void) { return 1; }
408 + int two(void) { return 2; }
409 +
410 +int
411 +main ()
412 +{
413 + two();
414 + ;
415 + return 0;
416 +}
417 +_ACEOF
418 +if ac_fn_c_try_link "$LINENO"; then :
419 + ac_gcsections=yes
420 +else
421 + ac_gcsections=no
422 +fi
423 +rm -f core conftest.err conftest.$ac_objext \
424 + conftest$ac_exeext conftest.$ac_ext
425 + if test "$ac_gcsections" = "yes"; then
426 + rm -f conftest.c
427 + touch conftest.c
428 + if $CC -c conftest.c; then
429 + if $LD --gc-sections -o conftest conftest.o 2>&1 | \
430 + grep "Warning: gc-sections option ignored" > /dev/null; then
431 + ac_gcsections=no
432 + fi
433 + fi
434 + rm -f conftest.c conftest.o conftest
435 + fi
436 + if test "$ac_gcsections" = "yes"; then
437 + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
438 + fi
439 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
440 +$as_echo "$ac_gcsections" >&6; }
441 +
442 + if test "$ac_test_CFLAGS" = set; then
443 + CFLAGS="$ac_save_CFLAGS"
444 + else
445 + # this is the suspicious part
446 + CFLAGS=''
447 + fi
448 + fi
449 +
450 + # Set -z,relro.
451 + # Note this is only for shared objects.
452 + ac_ld_relro=no
453 + if test x"$with_gnu_ld" = x"yes"; then
454 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
455 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
456 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
457 + if test -n "$cxx_z_relo"; then
458 + OPT_LDFLAGS="-Wl,-z,relro"
459 + ac_ld_relro=yes
460 + fi
461 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
462 +$as_echo "$ac_ld_relro" >&6; }
463 + fi
464 +
465 + # Set linker optimization flags.
466 + if test x"$with_gnu_ld" = x"yes"; then
467 + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
468 + fi
469 +
470 +
471 +
472 +
473 +
474 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
475 + ac_save_CXXFLAGS="$CXXFLAGS"
476 + CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
477 +
478 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
479 +$as_echo_n "checking for sin in -lm... " >&6; }
480 +if test "${ac_cv_lib_m_sin+set}" = set; then :
481 + $as_echo_n "(cached) " >&6
482 +else
483 + ac_check_lib_save_LIBS=$LIBS
484 +LIBS="-lm $LIBS"
485 +if test x$gcc_no_link = xyes; then
486 + as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
487 +fi
488 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
489 +/* end confdefs.h. */
490 +
491 +/* Override any GCC internal prototype to avoid an error.
492 + Use char because int might match the return type of a GCC
493 + builtin and then its argument prototype would still apply. */
494 +#ifdef __cplusplus
495 +extern "C"
496 +#endif
497 +char sin ();
498 +int
499 +main ()
500 +{
501 +return sin ();
502 + ;
503 + return 0;
504 +}
505 +_ACEOF
506 +if ac_fn_c_try_link "$LINENO"; then :
507 + ac_cv_lib_m_sin=yes
508 +else
509 + ac_cv_lib_m_sin=no
510 +fi
511 +rm -f core conftest.err conftest.$ac_objext \
512 + conftest$ac_exeext conftest.$ac_ext
513 +LIBS=$ac_check_lib_save_LIBS
514 +fi
515 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
516 +$as_echo "$ac_cv_lib_m_sin" >&6; }
517 +if test "x$ac_cv_lib_m_sin" = x""yes; then :
518 + libm="-lm"
519 +fi
520 +
521 + ac_save_LIBS="$LIBS"
522 + LIBS="$LIBS $libm"
523 +
524 +
525 +
526 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
527 +$as_echo_n "checking for isinf declaration... " >&6; }
528 + if test x${glibcxx_cv_func_isinf_use+set} != xset; then
529 + if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
530 + $as_echo_n "(cached) " >&6
531 +else
532 +
533 +
534 + ac_ext=cpp
535 +ac_cpp='$CXXCPP $CPPFLAGS'
536 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
537 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
538 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
539 +
540 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
541 +/* end confdefs.h. */
542 +#include <math.h>
543 + #ifdef HAVE_IEEEFP_H
544 + #include <ieeefp.h>
545 + #endif
546 +
547 +int
548 +main ()
549 +{
550 + isinf(0);
551 + ;
552 + return 0;
553 +}
554 +_ACEOF
555 +if ac_fn_cxx_try_compile "$LINENO"; then :
556 + glibcxx_cv_func_isinf_use=yes
557 +else
558 + glibcxx_cv_func_isinf_use=no
559 +fi
560 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
561 + ac_ext=c
562 +ac_cpp='$CPP $CPPFLAGS'
563 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
564 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
565 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
566 +
567 +
568 +fi
569 +
570 + fi
571 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
572 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
573 +
574 + if test x$glibcxx_cv_func_isinf_use = x"yes"; then
575 + for ac_func in isinf
576 +do :
577 + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
578 +if test "x$ac_cv_func_isinf" = x""yes; then :
579 + cat >>confdefs.h <<_ACEOF
580 +#define HAVE_ISINF 1
581 +_ACEOF
582 +
583 +fi
584 +done
585 +
586 + else
587 +
588 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
589 +$as_echo_n "checking for _isinf declaration... " >&6; }
590 + if test x${glibcxx_cv_func__isinf_use+set} != xset; then
591 + if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
592 + $as_echo_n "(cached) " >&6
593 +else
594 +
595 +
596 + ac_ext=cpp
597 +ac_cpp='$CXXCPP $CPPFLAGS'
598 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
599 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
600 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
601 +
602 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
603 +/* end confdefs.h. */
604 +#include <math.h>
605 + #ifdef HAVE_IEEEFP_H
606 + #include <ieeefp.h>
607 + #endif
608 +
609 +int
610 +main ()
611 +{
612 + _isinf(0);
613 + ;
614 + return 0;
615 +}
616 +_ACEOF
617 +if ac_fn_cxx_try_compile "$LINENO"; then :
618 + glibcxx_cv_func__isinf_use=yes
619 +else
620 + glibcxx_cv_func__isinf_use=no
621 +fi
622 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
623 + ac_ext=c
624 +ac_cpp='$CPP $CPPFLAGS'
625 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
626 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
627 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
628 +
629 +
630 +fi
631 +
632 + fi
633 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
634 +$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
635 +
636 + if test x$glibcxx_cv_func__isinf_use = x"yes"; then
637 + for ac_func in _isinf
638 +do :
639 + ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
640 +if test "x$ac_cv_func__isinf" = x""yes; then :
641 + cat >>confdefs.h <<_ACEOF
642 +#define HAVE__ISINF 1
643 +_ACEOF
644 +
645 +fi
646 +done
647 +
648 + fi
649 + fi
650 +
651 +
652 +
653 +
654 +
655 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
656 +$as_echo_n "checking for isnan declaration... " >&6; }
657 + if test x${glibcxx_cv_func_isnan_use+set} != xset; then
658 + if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
659 + $as_echo_n "(cached) " >&6
660 +else
661 +
662 +
663 + ac_ext=cpp
664 +ac_cpp='$CXXCPP $CPPFLAGS'
665 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
666 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
667 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
668 +
669 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
670 +/* end confdefs.h. */
671 +#include <math.h>
672 + #ifdef HAVE_IEEEFP_H
673 + #include <ieeefp.h>
674 + #endif
675 +
676 +int
677 +main ()
678 +{
679 + isnan(0);
680 + ;
681 + return 0;
682 +}
683 +_ACEOF
684 +if ac_fn_cxx_try_compile "$LINENO"; then :
685 + glibcxx_cv_func_isnan_use=yes
686 +else
687 + glibcxx_cv_func_isnan_use=no
688 +fi
689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
690 + ac_ext=c
691 +ac_cpp='$CPP $CPPFLAGS'
692 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
693 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
694 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
695 +
696 +
697 +fi
698 +
699 + fi
700 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
701 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
702 +
703 + if test x$glibcxx_cv_func_isnan_use = x"yes"; then
704 + for ac_func in isnan
705 +do :
706 + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
707 +if test "x$ac_cv_func_isnan" = x""yes; then :
708 + cat >>confdefs.h <<_ACEOF
709 +#define HAVE_ISNAN 1
710 +_ACEOF
711 +
712 +fi
713 +done
714 +
715 + else
716 +
717 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
718 +$as_echo_n "checking for _isnan declaration... " >&6; }
719 + if test x${glibcxx_cv_func__isnan_use+set} != xset; then
720 + if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
721 + $as_echo_n "(cached) " >&6
722 +else
723 +
724 +
725 + ac_ext=cpp
726 +ac_cpp='$CXXCPP $CPPFLAGS'
727 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
728 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
729 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
730 +
731 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
732 +/* end confdefs.h. */
733 +#include <math.h>
734 + #ifdef HAVE_IEEEFP_H
735 + #include <ieeefp.h>
736 + #endif
737 +
738 +int
739 +main ()
740 +{
741 + _isnan(0);
742 + ;
743 + return 0;
744 +}
745 +_ACEOF
746 +if ac_fn_cxx_try_compile "$LINENO"; then :
747 + glibcxx_cv_func__isnan_use=yes
748 +else
749 + glibcxx_cv_func__isnan_use=no
750 +fi
751 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
752 + ac_ext=c
753 +ac_cpp='$CPP $CPPFLAGS'
754 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
755 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
756 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
757 +
758 +
759 +fi
760 +
761 + fi
762 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
763 +$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
764 +
765 + if test x$glibcxx_cv_func__isnan_use = x"yes"; then
766 + for ac_func in _isnan
767 +do :
768 + ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
769 +if test "x$ac_cv_func__isnan" = x""yes; then :
770 + cat >>confdefs.h <<_ACEOF
771 +#define HAVE__ISNAN 1
772 +_ACEOF
773 +
774 +fi
775 +done
776 +
777 + fi
778 + fi
779 +
780 +
781 +
782 +
783 +
784 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
785 +$as_echo_n "checking for finite declaration... " >&6; }
786 + if test x${glibcxx_cv_func_finite_use+set} != xset; then
787 + if test "${glibcxx_cv_func_finite_use+set}" = set; then :
788 + $as_echo_n "(cached) " >&6
789 +else
790 +
791 +
792 + ac_ext=cpp
793 +ac_cpp='$CXXCPP $CPPFLAGS'
794 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
795 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
796 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
797 +
798 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
799 +/* end confdefs.h. */
800 +#include <math.h>
801 + #ifdef HAVE_IEEEFP_H
802 + #include <ieeefp.h>
803 + #endif
804 +
805 +int
806 +main ()
807 +{
808 + finite(0);
809 + ;
810 + return 0;
811 +}
812 +_ACEOF
813 +if ac_fn_cxx_try_compile "$LINENO"; then :
814 + glibcxx_cv_func_finite_use=yes
815 +else
816 + glibcxx_cv_func_finite_use=no
817 +fi
818 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
819 + ac_ext=c
820 +ac_cpp='$CPP $CPPFLAGS'
821 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
822 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
823 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
824 +
825 +
826 +fi
827 +
828 + fi
829 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
830 +$as_echo "$glibcxx_cv_func_finite_use" >&6; }
831 +
832 + if test x$glibcxx_cv_func_finite_use = x"yes"; then
833 + for ac_func in finite
834 +do :
835 + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
836 +if test "x$ac_cv_func_finite" = x""yes; then :
837 + cat >>confdefs.h <<_ACEOF
838 +#define HAVE_FINITE 1
839 +_ACEOF
840 +
841 +fi
842 +done
843 +
844 + else
845 +
846 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
847 +$as_echo_n "checking for _finite declaration... " >&6; }
848 + if test x${glibcxx_cv_func__finite_use+set} != xset; then
849 + if test "${glibcxx_cv_func__finite_use+set}" = set; then :
850 + $as_echo_n "(cached) " >&6
851 +else
852 +
853 +
854 + ac_ext=cpp
855 +ac_cpp='$CXXCPP $CPPFLAGS'
856 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
857 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
858 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
859 +
860 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
861 +/* end confdefs.h. */
862 +#include <math.h>
863 + #ifdef HAVE_IEEEFP_H
864 + #include <ieeefp.h>
865 + #endif
866 +
867 +int
868 +main ()
869 +{
870 + _finite(0);
871 + ;
872 + return 0;
873 +}
874 +_ACEOF
875 +if ac_fn_cxx_try_compile "$LINENO"; then :
876 + glibcxx_cv_func__finite_use=yes
877 +else
878 + glibcxx_cv_func__finite_use=no
879 +fi
880 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
881 + ac_ext=c
882 +ac_cpp='$CPP $CPPFLAGS'
883 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
884 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
885 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
886 +
887 +
888 +fi
889 +
890 + fi
891 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
892 +$as_echo "$glibcxx_cv_func__finite_use" >&6; }
893 +
894 + if test x$glibcxx_cv_func__finite_use = x"yes"; then
895 + for ac_func in _finite
896 +do :
897 + ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
898 +if test "x$ac_cv_func__finite" = x""yes; then :
899 + cat >>confdefs.h <<_ACEOF
900 +#define HAVE__FINITE 1
901 +_ACEOF
902 +
903 +fi
904 +done
905 +
906 + fi
907 + fi
908 +
909 +
910 +
911 +
912 +
913 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
914 +$as_echo_n "checking for sincos declaration... " >&6; }
915 + if test x${glibcxx_cv_func_sincos_use+set} != xset; then
916 + if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
917 + $as_echo_n "(cached) " >&6
918 +else
919 +
920 +
921 + ac_ext=cpp
922 +ac_cpp='$CXXCPP $CPPFLAGS'
923 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
924 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
925 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
926 +
927 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
928 +/* end confdefs.h. */
929 +#include <math.h>
930 +int
931 +main ()
932 +{
933 + sincos(0, 0, 0);
934 + ;
935 + return 0;
936 +}
937 +_ACEOF
938 +if ac_fn_cxx_try_compile "$LINENO"; then :
939 + glibcxx_cv_func_sincos_use=yes
940 +else
941 + glibcxx_cv_func_sincos_use=no
942 +fi
943 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
944 + ac_ext=c
945 +ac_cpp='$CPP $CPPFLAGS'
946 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
947 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
948 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
949 +
950 +
951 +fi
952 +
953 + fi
954 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
955 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
956 +
957 + if test x$glibcxx_cv_func_sincos_use = x"yes"; then
958 + for ac_func in sincos
959 +do :
960 + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
961 +if test "x$ac_cv_func_sincos" = x""yes; then :
962 + cat >>confdefs.h <<_ACEOF
963 +#define HAVE_SINCOS 1
964 +_ACEOF
965 +
966 +fi
967 +done
968 +
969 + else
970 +
971 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
972 +$as_echo_n "checking for _sincos declaration... " >&6; }
973 + if test x${glibcxx_cv_func__sincos_use+set} != xset; then
974 + if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
975 + $as_echo_n "(cached) " >&6
976 +else
977 +
978 +
979 + ac_ext=cpp
980 +ac_cpp='$CXXCPP $CPPFLAGS'
981 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
982 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
983 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
984 +
985 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
986 +/* end confdefs.h. */
987 +#include <math.h>
988 +int
989 +main ()
990 +{
991 + _sincos(0, 0, 0);
992 + ;
993 + return 0;
994 +}
995 +_ACEOF
996 +if ac_fn_cxx_try_compile "$LINENO"; then :
997 + glibcxx_cv_func__sincos_use=yes
998 +else
999 + glibcxx_cv_func__sincos_use=no
1000 +fi
1001 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1002 + ac_ext=c
1003 +ac_cpp='$CPP $CPPFLAGS'
1004 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1005 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1006 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1007 +
1008 +
1009 +fi
1010 +
1011 + fi
1012 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
1013 +$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
1014 +
1015 + if test x$glibcxx_cv_func__sincos_use = x"yes"; then
1016 + for ac_func in _sincos
1017 +do :
1018 + ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
1019 +if test "x$ac_cv_func__sincos" = x""yes; then :
1020 + cat >>confdefs.h <<_ACEOF
1021 +#define HAVE__SINCOS 1
1022 +_ACEOF
1023 +
1024 +fi
1025 +done
1026 +
1027 + fi
1028 + fi
1029 +
1030 +
1031 +
1032 +
1033 +
1034 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
1035 +$as_echo_n "checking for fpclass declaration... " >&6; }
1036 + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
1037 + if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
1038 + $as_echo_n "(cached) " >&6
1039 +else
1040 +
1041 +
1042 + ac_ext=cpp
1043 +ac_cpp='$CXXCPP $CPPFLAGS'
1044 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1045 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1046 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1047 +
1048 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1049 +/* end confdefs.h. */
1050 +#include <math.h>
1051 + #ifdef HAVE_IEEEFP_H
1052 + #include <ieeefp.h>
1053 + #endif
1054 +
1055 +int
1056 +main ()
1057 +{
1058 + fpclass(0);
1059 + ;
1060 + return 0;
1061 +}
1062 +_ACEOF
1063 +if ac_fn_cxx_try_compile "$LINENO"; then :
1064 + glibcxx_cv_func_fpclass_use=yes
1065 +else
1066 + glibcxx_cv_func_fpclass_use=no
1067 +fi
1068 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1069 + ac_ext=c
1070 +ac_cpp='$CPP $CPPFLAGS'
1071 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1072 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1073 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1074 +
1075 +
1076 +fi
1077 +
1078 + fi
1079 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
1080 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
1081 +
1082 + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
1083 + for ac_func in fpclass
1084 +do :
1085 + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
1086 +if test "x$ac_cv_func_fpclass" = x""yes; then :
1087 + cat >>confdefs.h <<_ACEOF
1088 +#define HAVE_FPCLASS 1
1089 +_ACEOF
1090 +
1091 +fi
1092 +done
1093 +
1094 + else
1095 +
1096 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
1097 +$as_echo_n "checking for _fpclass declaration... " >&6; }
1098 + if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
1099 + if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
1100 + $as_echo_n "(cached) " >&6
1101 +else
1102 +
1103 +
1104 + ac_ext=cpp
1105 +ac_cpp='$CXXCPP $CPPFLAGS'
1106 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1107 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1108 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1109 +
1110 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1111 +/* end confdefs.h. */
1112 +#include <math.h>
1113 + #ifdef HAVE_IEEEFP_H
1114 + #include <ieeefp.h>
1115 + #endif
1116 +
1117 +int
1118 +main ()
1119 +{
1120 + _fpclass(0);
1121 + ;
1122 + return 0;
1123 +}
1124 +_ACEOF
1125 +if ac_fn_cxx_try_compile "$LINENO"; then :
1126 + glibcxx_cv_func__fpclass_use=yes
1127 +else
1128 + glibcxx_cv_func__fpclass_use=no
1129 +fi
1130 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1131 + ac_ext=c
1132 +ac_cpp='$CPP $CPPFLAGS'
1133 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1134 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1135 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1136 +
1137 +
1138 +fi
1139 +
1140 + fi
1141 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
1142 +$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
1143 +
1144 + if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
1145 + for ac_func in _fpclass
1146 +do :
1147 + ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
1148 +if test "x$ac_cv_func__fpclass" = x""yes; then :
1149 + cat >>confdefs.h <<_ACEOF
1150 +#define HAVE__FPCLASS 1
1151 +_ACEOF
1152 +
1153 +fi
1154 +done
1155 +
1156 + fi
1157 + fi
1158 +
1159 +
1160 +
1161 +
1162 +
1163 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
1164 +$as_echo_n "checking for qfpclass declaration... " >&6; }
1165 + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
1166 + if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
1167 + $as_echo_n "(cached) " >&6
1168 +else
1169 +
1170 +
1171 + ac_ext=cpp
1172 +ac_cpp='$CXXCPP $CPPFLAGS'
1173 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1174 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1175 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1176 +
1177 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1178 +/* end confdefs.h. */
1179 +#include <math.h>
1180 + #ifdef HAVE_IEEEFP_H
1181 + #include <ieeefp.h>
1182 + #endif
1183 +
1184 +int
1185 +main ()
1186 +{
1187 + qfpclass(0);
1188 + ;
1189 + return 0;
1190 +}
1191 +_ACEOF
1192 +if ac_fn_cxx_try_compile "$LINENO"; then :
1193 + glibcxx_cv_func_qfpclass_use=yes
1194 +else
1195 + glibcxx_cv_func_qfpclass_use=no
1196 +fi
1197 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1198 + ac_ext=c
1199 +ac_cpp='$CPP $CPPFLAGS'
1200 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1201 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1202 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1203 +
1204 +
1205 +fi
1206 +
1207 + fi
1208 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
1209 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
1210 +
1211 + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
1212 + for ac_func in qfpclass
1213 +do :
1214 + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
1215 +if test "x$ac_cv_func_qfpclass" = x""yes; then :
1216 + cat >>confdefs.h <<_ACEOF
1217 +#define HAVE_QFPCLASS 1
1218 +_ACEOF
1219 +
1220 +fi
1221 +done
1222 +
1223 + else
1224 +
1225 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
1226 +$as_echo_n "checking for _qfpclass declaration... " >&6; }
1227 + if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
1228 + if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
1229 + $as_echo_n "(cached) " >&6
1230 +else
1231 +
1232 +
1233 + ac_ext=cpp
1234 +ac_cpp='$CXXCPP $CPPFLAGS'
1235 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1236 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1237 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1238 +
1239 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1240 +/* end confdefs.h. */
1241 +#include <math.h>
1242 + #ifdef HAVE_IEEEFP_H
1243 + #include <ieeefp.h>
1244 + #endif
1245 +
1246 +int
1247 +main ()
1248 +{
1249 + _qfpclass(0);
1250 + ;
1251 + return 0;
1252 +}
1253 +_ACEOF
1254 +if ac_fn_cxx_try_compile "$LINENO"; then :
1255 + glibcxx_cv_func__qfpclass_use=yes
1256 +else
1257 + glibcxx_cv_func__qfpclass_use=no
1258 +fi
1259 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1260 + ac_ext=c
1261 +ac_cpp='$CPP $CPPFLAGS'
1262 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1263 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1264 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265 +
1266 +
1267 +fi
1268 +
1269 + fi
1270 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
1271 +$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
1272 +
1273 + if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
1274 + for ac_func in _qfpclass
1275 +do :
1276 + ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
1277 +if test "x$ac_cv_func__qfpclass" = x""yes; then :
1278 + cat >>confdefs.h <<_ACEOF
1279 +#define HAVE__QFPCLASS 1
1280 +_ACEOF
1281 +
1282 +fi
1283 +done
1284 +
1285 + fi
1286 + fi
1287 +
1288 +
1289 +
1290 +
1291 +
1292 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
1293 +$as_echo_n "checking for hypot declaration... " >&6; }
1294 + if test x${glibcxx_cv_func_hypot_use+set} != xset; then
1295 + if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
1296 + $as_echo_n "(cached) " >&6
1297 +else
1298 +
1299 +
1300 + ac_ext=cpp
1301 +ac_cpp='$CXXCPP $CPPFLAGS'
1302 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1305 +
1306 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1307 +/* end confdefs.h. */
1308 +#include <math.h>
1309 +int
1310 +main ()
1311 +{
1312 + hypot(0, 0);
1313 + ;
1314 + return 0;
1315 +}
1316 +_ACEOF
1317 +if ac_fn_cxx_try_compile "$LINENO"; then :
1318 + glibcxx_cv_func_hypot_use=yes
1319 +else
1320 + glibcxx_cv_func_hypot_use=no
1321 +fi
1322 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1323 + ac_ext=c
1324 +ac_cpp='$CPP $CPPFLAGS'
1325 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1326 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1327 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 +
1329 +
1330 +fi
1331 +
1332 + fi
1333 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
1334 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
1335 +
1336 + if test x$glibcxx_cv_func_hypot_use = x"yes"; then
1337 + for ac_func in hypot
1338 +do :
1339 + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
1340 +if test "x$ac_cv_func_hypot" = x""yes; then :
1341 + cat >>confdefs.h <<_ACEOF
1342 +#define HAVE_HYPOT 1
1343 +_ACEOF
1344 +
1345 +fi
1346 +done
1347 +
1348 + else
1349 +
1350 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
1351 +$as_echo_n "checking for _hypot declaration... " >&6; }
1352 + if test x${glibcxx_cv_func__hypot_use+set} != xset; then
1353 + if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
1354 + $as_echo_n "(cached) " >&6
1355 +else
1356 +
1357 +
1358 + ac_ext=cpp
1359 +ac_cpp='$CXXCPP $CPPFLAGS'
1360 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1361 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1362 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1363 +
1364 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1365 +/* end confdefs.h. */
1366 +#include <math.h>
1367 +int
1368 +main ()
1369 +{
1370 + _hypot(0, 0);
1371 + ;
1372 + return 0;
1373 +}
1374 +_ACEOF
1375 +if ac_fn_cxx_try_compile "$LINENO"; then :
1376 + glibcxx_cv_func__hypot_use=yes
1377 +else
1378 + glibcxx_cv_func__hypot_use=no
1379 +fi
1380 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1381 + ac_ext=c
1382 +ac_cpp='$CPP $CPPFLAGS'
1383 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1384 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1385 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1386 +
1387 +
1388 +fi
1389 +
1390 + fi
1391 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
1392 +$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
1393 +
1394 + if test x$glibcxx_cv_func__hypot_use = x"yes"; then
1395 + for ac_func in _hypot
1396 +do :
1397 + ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
1398 +if test "x$ac_cv_func__hypot" = x""yes; then :
1399 + cat >>confdefs.h <<_ACEOF
1400 +#define HAVE__HYPOT 1
1401 +_ACEOF
1402 +
1403 +fi
1404 +done
1405 +
1406 + fi
1407 + fi
1408 +
1409 +
1410 +
1411 +
1412 +
1413 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
1414 +$as_echo_n "checking for float trig functions... " >&6; }
1415 + if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
1416 + $as_echo_n "(cached) " >&6
1417 +else
1418 +
1419 +
1420 + ac_ext=cpp
1421 +ac_cpp='$CXXCPP $CPPFLAGS'
1422 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1423 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1424 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1425 +
1426 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1427 +/* end confdefs.h. */
1428 +#include <math.h>
1429 +int
1430 +main ()
1431 +{
1432 +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
1433 + ;
1434 + return 0;
1435 +}
1436 +_ACEOF
1437 +if ac_fn_cxx_try_compile "$LINENO"; then :
1438 + glibcxx_cv_func_float_trig_use=yes
1439 +else
1440 + glibcxx_cv_func_float_trig_use=no
1441 +fi
1442 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1443 + ac_ext=c
1444 +ac_cpp='$CPP $CPPFLAGS'
1445 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1446 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1447 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1448 +
1449 +fi
1450 +
1451 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
1452 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
1453 + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
1454 + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
1455 +do :
1456 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1457 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1458 +eval as_val=\$$as_ac_var
1459 + if test "x$as_val" = x""yes; then :
1460 + cat >>confdefs.h <<_ACEOF
1461 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1462 +_ACEOF
1463 +
1464 +fi
1465 +done
1466 +
1467 + else
1468 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
1469 +$as_echo_n "checking for _float trig functions... " >&6; }
1470 + if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
1471 + $as_echo_n "(cached) " >&6
1472 +else
1473 +
1474 +
1475 + ac_ext=cpp
1476 +ac_cpp='$CXXCPP $CPPFLAGS'
1477 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1478 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1479 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1480 +
1481 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1482 +/* end confdefs.h. */
1483 +#include <math.h>
1484 +int
1485 +main ()
1486 +{
1487 +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
1488 + ;
1489 + return 0;
1490 +}
1491 +_ACEOF
1492 +if ac_fn_cxx_try_compile "$LINENO"; then :
1493 + glibcxx_cv_func__float_trig_use=yes
1494 +else
1495 + glibcxx_cv_func__float_trig_use=no
1496 +fi
1497 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1498 + ac_ext=c
1499 +ac_cpp='$CPP $CPPFLAGS'
1500 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1501 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1502 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1503 +
1504 +fi
1505 +
1506 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
1507 +$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
1508 + if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
1509 + for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
1510 +do :
1511 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1512 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1513 +eval as_val=\$$as_ac_var
1514 + if test "x$as_val" = x""yes; then :
1515 + cat >>confdefs.h <<_ACEOF
1516 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1517 +_ACEOF
1518 +
1519 +fi
1520 +done
1521 +
1522 + fi
1523 + fi
1524 +
1525 +
1526 +
1527 +
1528 +
1529 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
1530 +$as_echo_n "checking for float round functions... " >&6; }
1531 + if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
1532 + $as_echo_n "(cached) " >&6
1533 +else
1534 +
1535 +
1536 + ac_ext=cpp
1537 +ac_cpp='$CXXCPP $CPPFLAGS'
1538 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1539 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1540 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1541 +
1542 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1543 +/* end confdefs.h. */
1544 +#include <math.h>
1545 +int
1546 +main ()
1547 +{
1548 +ceilf (0); floorf (0);
1549 + ;
1550 + return 0;
1551 +}
1552 +_ACEOF
1553 +if ac_fn_cxx_try_compile "$LINENO"; then :
1554 + glibcxx_cv_func_float_round_use=yes
1555 +else
1556 + glibcxx_cv_func_float_round_use=no
1557 +fi
1558 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1559 + ac_ext=c
1560 +ac_cpp='$CPP $CPPFLAGS'
1561 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1562 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1563 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1564 +
1565 +fi
1566 +
1567 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
1568 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
1569 + if test x$glibcxx_cv_func_float_round_use = x"yes"; then
1570 + for ac_func in ceilf floorf
1571 +do :
1572 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1573 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1574 +eval as_val=\$$as_ac_var
1575 + if test "x$as_val" = x""yes; then :
1576 + cat >>confdefs.h <<_ACEOF
1577 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1578 +_ACEOF
1579 +
1580 +fi
1581 +done
1582 +
1583 + else
1584 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
1585 +$as_echo_n "checking for _float round functions... " >&6; }
1586 + if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
1587 + $as_echo_n "(cached) " >&6
1588 +else
1589 +
1590 +
1591 + ac_ext=cpp
1592 +ac_cpp='$CXXCPP $CPPFLAGS'
1593 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1594 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1595 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1596 +
1597 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 +/* end confdefs.h. */
1599 +#include <math.h>
1600 +int
1601 +main ()
1602 +{
1603 +_ceilf (0); _floorf (0);
1604 + ;
1605 + return 0;
1606 +}
1607 +_ACEOF
1608 +if ac_fn_cxx_try_compile "$LINENO"; then :
1609 + glibcxx_cv_func__float_round_use=yes
1610 +else
1611 + glibcxx_cv_func__float_round_use=no
1612 +fi
1613 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1614 + ac_ext=c
1615 +ac_cpp='$CPP $CPPFLAGS'
1616 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1617 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1618 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1619 +
1620 +fi
1621 +
1622 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
1623 +$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
1624 + if test x$glibcxx_cv_func__float_round_use = x"yes"; then
1625 + for ac_func in _ceilf _floorf
1626 +do :
1627 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1628 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1629 +eval as_val=\$$as_ac_var
1630 + if test "x$as_val" = x""yes; then :
1631 + cat >>confdefs.h <<_ACEOF
1632 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1633 +_ACEOF
1634 +
1635 +fi
1636 +done
1637 +
1638 + fi
1639 + fi
1640 +
1641 +
1642 +
1643 +
1644 +
1645 +
1646 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
1647 +$as_echo_n "checking for expf declaration... " >&6; }
1648 + if test x${glibcxx_cv_func_expf_use+set} != xset; then
1649 + if test "${glibcxx_cv_func_expf_use+set}" = set; then :
1650 + $as_echo_n "(cached) " >&6
1651 +else
1652 +
1653 +
1654 + ac_ext=cpp
1655 +ac_cpp='$CXXCPP $CPPFLAGS'
1656 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1659 +
1660 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 +/* end confdefs.h. */
1662 +#include <math.h>
1663 + #ifdef HAVE_IEEEFP_H
1664 + #include <ieeefp.h>
1665 + #endif
1666 +
1667 +int
1668 +main ()
1669 +{
1670 + expf(0);
1671 + ;
1672 + return 0;
1673 +}
1674 +_ACEOF
1675 +if ac_fn_cxx_try_compile "$LINENO"; then :
1676 + glibcxx_cv_func_expf_use=yes
1677 +else
1678 + glibcxx_cv_func_expf_use=no
1679 +fi
1680 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1681 + ac_ext=c
1682 +ac_cpp='$CPP $CPPFLAGS'
1683 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1686 +
1687 +
1688 +fi
1689 +
1690 + fi
1691 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
1692 +$as_echo "$glibcxx_cv_func_expf_use" >&6; }
1693 +
1694 + if test x$glibcxx_cv_func_expf_use = x"yes"; then
1695 + for ac_func in expf
1696 +do :
1697 + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
1698 +if test "x$ac_cv_func_expf" = x""yes; then :
1699 + cat >>confdefs.h <<_ACEOF
1700 +#define HAVE_EXPF 1
1701 +_ACEOF
1702 +
1703 +fi
1704 +done
1705 +
1706 + else
1707 +
1708 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
1709 +$as_echo_n "checking for _expf declaration... " >&6; }
1710 + if test x${glibcxx_cv_func__expf_use+set} != xset; then
1711 + if test "${glibcxx_cv_func__expf_use+set}" = set; then :
1712 + $as_echo_n "(cached) " >&6
1713 +else
1714 +
1715 +
1716 + ac_ext=cpp
1717 +ac_cpp='$CXXCPP $CPPFLAGS'
1718 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1719 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1720 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1721 +
1722 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 +/* end confdefs.h. */
1724 +#include <math.h>
1725 + #ifdef HAVE_IEEEFP_H
1726 + #include <ieeefp.h>
1727 + #endif
1728 +
1729 +int
1730 +main ()
1731 +{
1732 + _expf(0);
1733 + ;
1734 + return 0;
1735 +}
1736 +_ACEOF
1737 +if ac_fn_cxx_try_compile "$LINENO"; then :
1738 + glibcxx_cv_func__expf_use=yes
1739 +else
1740 + glibcxx_cv_func__expf_use=no
1741 +fi
1742 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743 + ac_ext=c
1744 +ac_cpp='$CPP $CPPFLAGS'
1745 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1746 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1747 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1748 +
1749 +
1750 +fi
1751 +
1752 + fi
1753 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
1754 +$as_echo "$glibcxx_cv_func__expf_use" >&6; }
1755 +
1756 + if test x$glibcxx_cv_func__expf_use = x"yes"; then
1757 + for ac_func in _expf
1758 +do :
1759 + ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
1760 +if test "x$ac_cv_func__expf" = x""yes; then :
1761 + cat >>confdefs.h <<_ACEOF
1762 +#define HAVE__EXPF 1
1763 +_ACEOF
1764 +
1765 +fi
1766 +done
1767 +
1768 + fi
1769 + fi
1770 +
1771 +
1772 +
1773 +
1774 +
1775 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
1776 +$as_echo_n "checking for isnanf declaration... " >&6; }
1777 + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
1778 + if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
1779 + $as_echo_n "(cached) " >&6
1780 +else
1781 +
1782 +
1783 + ac_ext=cpp
1784 +ac_cpp='$CXXCPP $CPPFLAGS'
1785 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1788 +
1789 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 +/* end confdefs.h. */
1791 +#include <math.h>
1792 + #ifdef HAVE_IEEEFP_H
1793 + #include <ieeefp.h>
1794 + #endif
1795 +
1796 +int
1797 +main ()
1798 +{
1799 + isnanf(0);
1800 + ;
1801 + return 0;
1802 +}
1803 +_ACEOF
1804 +if ac_fn_cxx_try_compile "$LINENO"; then :
1805 + glibcxx_cv_func_isnanf_use=yes
1806 +else
1807 + glibcxx_cv_func_isnanf_use=no
1808 +fi
1809 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 + ac_ext=c
1811 +ac_cpp='$CPP $CPPFLAGS'
1812 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1813 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1814 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815 +
1816 +
1817 +fi
1818 +
1819 + fi
1820 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
1821 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
1822 +
1823 + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
1824 + for ac_func in isnanf
1825 +do :
1826 + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
1827 +if test "x$ac_cv_func_isnanf" = x""yes; then :
1828 + cat >>confdefs.h <<_ACEOF
1829 +#define HAVE_ISNANF 1
1830 +_ACEOF
1831 +
1832 +fi
1833 +done
1834 +
1835 + else
1836 +
1837 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
1838 +$as_echo_n "checking for _isnanf declaration... " >&6; }
1839 + if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
1840 + if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
1841 + $as_echo_n "(cached) " >&6
1842 +else
1843 +
1844 +
1845 + ac_ext=cpp
1846 +ac_cpp='$CXXCPP $CPPFLAGS'
1847 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1848 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1849 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1850 +
1851 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 +/* end confdefs.h. */
1853 +#include <math.h>
1854 + #ifdef HAVE_IEEEFP_H
1855 + #include <ieeefp.h>
1856 + #endif
1857 +
1858 +int
1859 +main ()
1860 +{
1861 + _isnanf(0);
1862 + ;
1863 + return 0;
1864 +}
1865 +_ACEOF
1866 +if ac_fn_cxx_try_compile "$LINENO"; then :
1867 + glibcxx_cv_func__isnanf_use=yes
1868 +else
1869 + glibcxx_cv_func__isnanf_use=no
1870 +fi
1871 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 + ac_ext=c
1873 +ac_cpp='$CPP $CPPFLAGS'
1874 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1875 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1876 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1877 +
1878 +
1879 +fi
1880 +
1881 + fi
1882 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
1883 +$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
1884 +
1885 + if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
1886 + for ac_func in _isnanf
1887 +do :
1888 + ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
1889 +if test "x$ac_cv_func__isnanf" = x""yes; then :
1890 + cat >>confdefs.h <<_ACEOF
1891 +#define HAVE__ISNANF 1
1892 +_ACEOF
1893 +
1894 +fi
1895 +done
1896 +
1897 + fi
1898 + fi
1899 +
1900 +
1901 +
1902 +
1903 +
1904 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
1905 +$as_echo_n "checking for isinff declaration... " >&6; }
1906 + if test x${glibcxx_cv_func_isinff_use+set} != xset; then
1907 + if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
1908 + $as_echo_n "(cached) " >&6
1909 +else
1910 +
1911 +
1912 + ac_ext=cpp
1913 +ac_cpp='$CXXCPP $CPPFLAGS'
1914 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1915 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1916 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1917 +
1918 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 +/* end confdefs.h. */
1920 +#include <math.h>
1921 + #ifdef HAVE_IEEEFP_H
1922 + #include <ieeefp.h>
1923 + #endif
1924 +
1925 +int
1926 +main ()
1927 +{
1928 + isinff(0);
1929 + ;
1930 + return 0;
1931 +}
1932 +_ACEOF
1933 +if ac_fn_cxx_try_compile "$LINENO"; then :
1934 + glibcxx_cv_func_isinff_use=yes
1935 +else
1936 + glibcxx_cv_func_isinff_use=no
1937 +fi
1938 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 + ac_ext=c
1940 +ac_cpp='$CPP $CPPFLAGS'
1941 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1944 +
1945 +
1946 +fi
1947 +
1948 + fi
1949 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
1950 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
1951 +
1952 + if test x$glibcxx_cv_func_isinff_use = x"yes"; then
1953 + for ac_func in isinff
1954 +do :
1955 + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
1956 +if test "x$ac_cv_func_isinff" = x""yes; then :
1957 + cat >>confdefs.h <<_ACEOF
1958 +#define HAVE_ISINFF 1
1959 +_ACEOF
1960 +
1961 +fi
1962 +done
1963 +
1964 + else
1965 +
1966 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
1967 +$as_echo_n "checking for _isinff declaration... " >&6; }
1968 + if test x${glibcxx_cv_func__isinff_use+set} != xset; then
1969 + if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
1970 + $as_echo_n "(cached) " >&6
1971 +else
1972 +
1973 +
1974 + ac_ext=cpp
1975 +ac_cpp='$CXXCPP $CPPFLAGS'
1976 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1977 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1978 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1979 +
1980 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 +/* end confdefs.h. */
1982 +#include <math.h>
1983 + #ifdef HAVE_IEEEFP_H
1984 + #include <ieeefp.h>
1985 + #endif
1986 +
1987 +int
1988 +main ()
1989 +{
1990 + _isinff(0);
1991 + ;
1992 + return 0;
1993 +}
1994 +_ACEOF
1995 +if ac_fn_cxx_try_compile "$LINENO"; then :
1996 + glibcxx_cv_func__isinff_use=yes
1997 +else
1998 + glibcxx_cv_func__isinff_use=no
1999 +fi
2000 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001 + ac_ext=c
2002 +ac_cpp='$CPP $CPPFLAGS'
2003 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 +
2007 +
2008 +fi
2009 +
2010 + fi
2011 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
2012 +$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
2013 +
2014 + if test x$glibcxx_cv_func__isinff_use = x"yes"; then
2015 + for ac_func in _isinff
2016 +do :
2017 + ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
2018 +if test "x$ac_cv_func__isinff" = x""yes; then :
2019 + cat >>confdefs.h <<_ACEOF
2020 +#define HAVE__ISINFF 1
2021 +_ACEOF
2022 +
2023 +fi
2024 +done
2025 +
2026 + fi
2027 + fi
2028 +
2029 +
2030 +
2031 +
2032 +
2033 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
2034 +$as_echo_n "checking for atan2f declaration... " >&6; }
2035 + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
2036 + if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
2037 + $as_echo_n "(cached) " >&6
2038 +else
2039 +
2040 +
2041 + ac_ext=cpp
2042 +ac_cpp='$CXXCPP $CPPFLAGS'
2043 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2046 +
2047 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 +/* end confdefs.h. */
2049 +#include <math.h>
2050 +int
2051 +main ()
2052 +{
2053 + atan2f(0, 0);
2054 + ;
2055 + return 0;
2056 +}
2057 +_ACEOF
2058 +if ac_fn_cxx_try_compile "$LINENO"; then :
2059 + glibcxx_cv_func_atan2f_use=yes
2060 +else
2061 + glibcxx_cv_func_atan2f_use=no
2062 +fi
2063 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 + ac_ext=c
2065 +ac_cpp='$CPP $CPPFLAGS'
2066 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2067 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2068 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2069 +
2070 +
2071 +fi
2072 +
2073 + fi
2074 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
2075 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
2076 +
2077 + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
2078 + for ac_func in atan2f
2079 +do :
2080 + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
2081 +if test "x$ac_cv_func_atan2f" = x""yes; then :
2082 + cat >>confdefs.h <<_ACEOF
2083 +#define HAVE_ATAN2F 1
2084 +_ACEOF
2085 +
2086 +fi
2087 +done
2088 +
2089 + else
2090 +
2091 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
2092 +$as_echo_n "checking for _atan2f declaration... " >&6; }
2093 + if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
2094 + if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
2095 + $as_echo_n "(cached) " >&6
2096 +else
2097 +
2098 +
2099 + ac_ext=cpp
2100 +ac_cpp='$CXXCPP $CPPFLAGS'
2101 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2102 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2103 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2104 +
2105 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 +/* end confdefs.h. */
2107 +#include <math.h>
2108 +int
2109 +main ()
2110 +{
2111 + _atan2f(0, 0);
2112 + ;
2113 + return 0;
2114 +}
2115 +_ACEOF
2116 +if ac_fn_cxx_try_compile "$LINENO"; then :
2117 + glibcxx_cv_func__atan2f_use=yes
2118 +else
2119 + glibcxx_cv_func__atan2f_use=no
2120 +fi
2121 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2122 + ac_ext=c
2123 +ac_cpp='$CPP $CPPFLAGS'
2124 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2125 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2126 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2127 +
2128 +
2129 +fi
2130 +
2131 + fi
2132 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
2133 +$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
2134 +
2135 + if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
2136 + for ac_func in _atan2f
2137 +do :
2138 + ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
2139 +if test "x$ac_cv_func__atan2f" = x""yes; then :
2140 + cat >>confdefs.h <<_ACEOF
2141 +#define HAVE__ATAN2F 1
2142 +_ACEOF
2143 +
2144 +fi
2145 +done
2146 +
2147 + fi
2148 + fi
2149 +
2150 +
2151 +
2152 +
2153 +
2154 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
2155 +$as_echo_n "checking for fabsf declaration... " >&6; }
2156 + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
2157 + if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
2158 + $as_echo_n "(cached) " >&6
2159 +else
2160 +
2161 +
2162 + ac_ext=cpp
2163 +ac_cpp='$CXXCPP $CPPFLAGS'
2164 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2165 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2166 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2167 +
2168 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2169 +/* end confdefs.h. */
2170 +#include <math.h>
2171 + #ifdef HAVE_IEEEFP_H
2172 + #include <ieeefp.h>
2173 + #endif
2174 +
2175 +int
2176 +main ()
2177 +{
2178 + fabsf(0);
2179 + ;
2180 + return 0;
2181 +}
2182 +_ACEOF
2183 +if ac_fn_cxx_try_compile "$LINENO"; then :
2184 + glibcxx_cv_func_fabsf_use=yes
2185 +else
2186 + glibcxx_cv_func_fabsf_use=no
2187 +fi
2188 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2189 + ac_ext=c
2190 +ac_cpp='$CPP $CPPFLAGS'
2191 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2194 +
2195 +
2196 +fi
2197 +
2198 + fi
2199 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
2200 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
2201 +
2202 + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
2203 + for ac_func in fabsf
2204 +do :
2205 + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
2206 +if test "x$ac_cv_func_fabsf" = x""yes; then :
2207 + cat >>confdefs.h <<_ACEOF
2208 +#define HAVE_FABSF 1
2209 +_ACEOF
2210 +
2211 +fi
2212 +done
2213 +
2214 + else
2215 +
2216 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
2217 +$as_echo_n "checking for _fabsf declaration... " >&6; }
2218 + if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
2219 + if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
2220 + $as_echo_n "(cached) " >&6
2221 +else
2222 +
2223 +
2224 + ac_ext=cpp
2225 +ac_cpp='$CXXCPP $CPPFLAGS'
2226 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2227 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2228 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2229 +
2230 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 +/* end confdefs.h. */
2232 +#include <math.h>
2233 + #ifdef HAVE_IEEEFP_H
2234 + #include <ieeefp.h>
2235 + #endif
2236 +
2237 +int
2238 +main ()
2239 +{
2240 + _fabsf(0);
2241 + ;
2242 + return 0;
2243 +}
2244 +_ACEOF
2245 +if ac_fn_cxx_try_compile "$LINENO"; then :
2246 + glibcxx_cv_func__fabsf_use=yes
2247 +else
2248 + glibcxx_cv_func__fabsf_use=no
2249 +fi
2250 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 + ac_ext=c
2252 +ac_cpp='$CPP $CPPFLAGS'
2253 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2256 +
2257 +
2258 +fi
2259 +
2260 + fi
2261 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
2262 +$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
2263 +
2264 + if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
2265 + for ac_func in _fabsf
2266 +do :
2267 + ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
2268 +if test "x$ac_cv_func__fabsf" = x""yes; then :
2269 + cat >>confdefs.h <<_ACEOF
2270 +#define HAVE__FABSF 1
2271 +_ACEOF
2272 +
2273 +fi
2274 +done
2275 +
2276 + fi
2277 + fi
2278 +
2279 +
2280 +
2281 +
2282 +
2283 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
2284 +$as_echo_n "checking for fmodf declaration... " >&6; }
2285 + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
2286 + if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
2287 + $as_echo_n "(cached) " >&6
2288 +else
2289 +
2290 +
2291 + ac_ext=cpp
2292 +ac_cpp='$CXXCPP $CPPFLAGS'
2293 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2294 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2295 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2296 +
2297 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 +/* end confdefs.h. */
2299 +#include <math.h>
2300 +int
2301 +main ()
2302 +{
2303 + fmodf(0, 0);
2304 + ;
2305 + return 0;
2306 +}
2307 +_ACEOF
2308 +if ac_fn_cxx_try_compile "$LINENO"; then :
2309 + glibcxx_cv_func_fmodf_use=yes
2310 +else
2311 + glibcxx_cv_func_fmodf_use=no
2312 +fi
2313 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2314 + ac_ext=c
2315 +ac_cpp='$CPP $CPPFLAGS'
2316 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2319 +
2320 +
2321 +fi
2322 +
2323 + fi
2324 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
2325 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
2326 +
2327 + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
2328 + for ac_func in fmodf
2329 +do :
2330 + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
2331 +if test "x$ac_cv_func_fmodf" = x""yes; then :
2332 + cat >>confdefs.h <<_ACEOF
2333 +#define HAVE_FMODF 1
2334 +_ACEOF
2335 +
2336 +fi
2337 +done
2338 +
2339 + else
2340 +
2341 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
2342 +$as_echo_n "checking for _fmodf declaration... " >&6; }
2343 + if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
2344 + if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
2345 + $as_echo_n "(cached) " >&6
2346 +else
2347 +
2348 +
2349 + ac_ext=cpp
2350 +ac_cpp='$CXXCPP $CPPFLAGS'
2351 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2354 +
2355 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2356 +/* end confdefs.h. */
2357 +#include <math.h>
2358 +int
2359 +main ()
2360 +{
2361 + _fmodf(0, 0);
2362 + ;
2363 + return 0;
2364 +}
2365 +_ACEOF
2366 +if ac_fn_cxx_try_compile "$LINENO"; then :
2367 + glibcxx_cv_func__fmodf_use=yes
2368 +else
2369 + glibcxx_cv_func__fmodf_use=no
2370 +fi
2371 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 + ac_ext=c
2373 +ac_cpp='$CPP $CPPFLAGS'
2374 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2375 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2376 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377 +
2378 +
2379 +fi
2380 +
2381 + fi
2382 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
2383 +$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
2384 +
2385 + if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
2386 + for ac_func in _fmodf
2387 +do :
2388 + ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
2389 +if test "x$ac_cv_func__fmodf" = x""yes; then :
2390 + cat >>confdefs.h <<_ACEOF
2391 +#define HAVE__FMODF 1
2392 +_ACEOF
2393 +
2394 +fi
2395 +done
2396 +
2397 + fi
2398 + fi
2399 +
2400 +
2401 +
2402 +
2403 +
2404 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
2405 +$as_echo_n "checking for frexpf declaration... " >&6; }
2406 + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
2407 + if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
2408 + $as_echo_n "(cached) " >&6
2409 +else
2410 +
2411 +
2412 + ac_ext=cpp
2413 +ac_cpp='$CXXCPP $CPPFLAGS'
2414 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2417 +
2418 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 +/* end confdefs.h. */
2420 +#include <math.h>
2421 +int
2422 +main ()
2423 +{
2424 + frexpf(0, 0);
2425 + ;
2426 + return 0;
2427 +}
2428 +_ACEOF
2429 +if ac_fn_cxx_try_compile "$LINENO"; then :
2430 + glibcxx_cv_func_frexpf_use=yes
2431 +else
2432 + glibcxx_cv_func_frexpf_use=no
2433 +fi
2434 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 + ac_ext=c
2436 +ac_cpp='$CPP $CPPFLAGS'
2437 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2440 +
2441 +
2442 +fi
2443 +
2444 + fi
2445 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
2446 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
2447 +
2448 + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
2449 + for ac_func in frexpf
2450 +do :
2451 + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
2452 +if test "x$ac_cv_func_frexpf" = x""yes; then :
2453 + cat >>confdefs.h <<_ACEOF
2454 +#define HAVE_FREXPF 1
2455 +_ACEOF
2456 +
2457 +fi
2458 +done
2459 +
2460 + else
2461 +
2462 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
2463 +$as_echo_n "checking for _frexpf declaration... " >&6; }
2464 + if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
2465 + if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
2466 + $as_echo_n "(cached) " >&6
2467 +else
2468 +
2469 +
2470 + ac_ext=cpp
2471 +ac_cpp='$CXXCPP $CPPFLAGS'
2472 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2475 +
2476 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 +/* end confdefs.h. */
2478 +#include <math.h>
2479 +int
2480 +main ()
2481 +{
2482 + _frexpf(0, 0);
2483 + ;
2484 + return 0;
2485 +}
2486 +_ACEOF
2487 +if ac_fn_cxx_try_compile "$LINENO"; then :
2488 + glibcxx_cv_func__frexpf_use=yes
2489 +else
2490 + glibcxx_cv_func__frexpf_use=no
2491 +fi
2492 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 + ac_ext=c
2494 +ac_cpp='$CPP $CPPFLAGS'
2495 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2496 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2497 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2498 +
2499 +
2500 +fi
2501 +
2502 + fi
2503 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
2504 +$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
2505 +
2506 + if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
2507 + for ac_func in _frexpf
2508 +do :
2509 + ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
2510 +if test "x$ac_cv_func__frexpf" = x""yes; then :
2511 + cat >>confdefs.h <<_ACEOF
2512 +#define HAVE__FREXPF 1
2513 +_ACEOF
2514 +
2515 +fi
2516 +done
2517 +
2518 + fi
2519 + fi
2520 +
2521 +
2522 +
2523 +
2524 +
2525 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
2526 +$as_echo_n "checking for hypotf declaration... " >&6; }
2527 + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
2528 + if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
2529 + $as_echo_n "(cached) " >&6
2530 +else
2531 +
2532 +
2533 + ac_ext=cpp
2534 +ac_cpp='$CXXCPP $CPPFLAGS'
2535 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2538 +
2539 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 +/* end confdefs.h. */
2541 +#include <math.h>
2542 +int
2543 +main ()
2544 +{
2545 + hypotf(0, 0);
2546 + ;
2547 + return 0;
2548 +}
2549 +_ACEOF
2550 +if ac_fn_cxx_try_compile "$LINENO"; then :
2551 + glibcxx_cv_func_hypotf_use=yes
2552 +else
2553 + glibcxx_cv_func_hypotf_use=no
2554 +fi
2555 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556 + ac_ext=c
2557 +ac_cpp='$CPP $CPPFLAGS'
2558 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2561 +
2562 +
2563 +fi
2564 +
2565 + fi
2566 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
2567 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
2568 +
2569 + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
2570 + for ac_func in hypotf
2571 +do :
2572 + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
2573 +if test "x$ac_cv_func_hypotf" = x""yes; then :
2574 + cat >>confdefs.h <<_ACEOF
2575 +#define HAVE_HYPOTF 1
2576 +_ACEOF
2577 +
2578 +fi
2579 +done
2580 +
2581 + else
2582 +
2583 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
2584 +$as_echo_n "checking for _hypotf declaration... " >&6; }
2585 + if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
2586 + if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
2587 + $as_echo_n "(cached) " >&6
2588 +else
2589 +
2590 +
2591 + ac_ext=cpp
2592 +ac_cpp='$CXXCPP $CPPFLAGS'
2593 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2596 +
2597 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2598 +/* end confdefs.h. */
2599 +#include <math.h>
2600 +int
2601 +main ()
2602 +{
2603 + _hypotf(0, 0);
2604 + ;
2605 + return 0;
2606 +}
2607 +_ACEOF
2608 +if ac_fn_cxx_try_compile "$LINENO"; then :
2609 + glibcxx_cv_func__hypotf_use=yes
2610 +else
2611 + glibcxx_cv_func__hypotf_use=no
2612 +fi
2613 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2614 + ac_ext=c
2615 +ac_cpp='$CPP $CPPFLAGS'
2616 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2619 +
2620 +
2621 +fi
2622 +
2623 + fi
2624 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
2625 +$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
2626 +
2627 + if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
2628 + for ac_func in _hypotf
2629 +do :
2630 + ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
2631 +if test "x$ac_cv_func__hypotf" = x""yes; then :
2632 + cat >>confdefs.h <<_ACEOF
2633 +#define HAVE__HYPOTF 1
2634 +_ACEOF
2635 +
2636 +fi
2637 +done
2638 +
2639 + fi
2640 + fi
2641 +
2642 +
2643 +
2644 +
2645 +
2646 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
2647 +$as_echo_n "checking for ldexpf declaration... " >&6; }
2648 + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
2649 + if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
2650 + $as_echo_n "(cached) " >&6
2651 +else
2652 +
2653 +
2654 + ac_ext=cpp
2655 +ac_cpp='$CXXCPP $CPPFLAGS'
2656 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2657 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2658 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2659 +
2660 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 +/* end confdefs.h. */
2662 +#include <math.h>
2663 +int
2664 +main ()
2665 +{
2666 + ldexpf(0, 0);
2667 + ;
2668 + return 0;
2669 +}
2670 +_ACEOF
2671 +if ac_fn_cxx_try_compile "$LINENO"; then :
2672 + glibcxx_cv_func_ldexpf_use=yes
2673 +else
2674 + glibcxx_cv_func_ldexpf_use=no
2675 +fi
2676 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 + ac_ext=c
2678 +ac_cpp='$CPP $CPPFLAGS'
2679 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2680 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2681 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2682 +
2683 +
2684 +fi
2685 +
2686 + fi
2687 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
2688 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
2689 +
2690 + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
2691 + for ac_func in ldexpf
2692 +do :
2693 + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
2694 +if test "x$ac_cv_func_ldexpf" = x""yes; then :
2695 + cat >>confdefs.h <<_ACEOF
2696 +#define HAVE_LDEXPF 1
2697 +_ACEOF
2698 +
2699 +fi
2700 +done
2701 +
2702 + else
2703 +
2704 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
2705 +$as_echo_n "checking for _ldexpf declaration... " >&6; }
2706 + if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
2707 + if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
2708 + $as_echo_n "(cached) " >&6
2709 +else
2710 +
2711 +
2712 + ac_ext=cpp
2713 +ac_cpp='$CXXCPP $CPPFLAGS'
2714 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2715 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2716 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2717 +
2718 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 +/* end confdefs.h. */
2720 +#include <math.h>
2721 +int
2722 +main ()
2723 +{
2724 + _ldexpf(0, 0);
2725 + ;
2726 + return 0;
2727 +}
2728 +_ACEOF
2729 +if ac_fn_cxx_try_compile "$LINENO"; then :
2730 + glibcxx_cv_func__ldexpf_use=yes
2731 +else
2732 + glibcxx_cv_func__ldexpf_use=no
2733 +fi
2734 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 + ac_ext=c
2736 +ac_cpp='$CPP $CPPFLAGS'
2737 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2738 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2739 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2740 +
2741 +
2742 +fi
2743 +
2744 + fi
2745 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
2746 +$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
2747 +
2748 + if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
2749 + for ac_func in _ldexpf
2750 +do :
2751 + ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
2752 +if test "x$ac_cv_func__ldexpf" = x""yes; then :
2753 + cat >>confdefs.h <<_ACEOF
2754 +#define HAVE__LDEXPF 1
2755 +_ACEOF
2756 +
2757 +fi
2758 +done
2759 +
2760 + fi
2761 + fi
2762 +
2763 +
2764 +
2765 +
2766 +
2767 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
2768 +$as_echo_n "checking for logf declaration... " >&6; }
2769 + if test x${glibcxx_cv_func_logf_use+set} != xset; then
2770 + if test "${glibcxx_cv_func_logf_use+set}" = set; then :
2771 + $as_echo_n "(cached) " >&6
2772 +else
2773 +
2774 +
2775 + ac_ext=cpp
2776 +ac_cpp='$CXXCPP $CPPFLAGS'
2777 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2780 +
2781 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 +/* end confdefs.h. */
2783 +#include <math.h>
2784 + #ifdef HAVE_IEEEFP_H
2785 + #include <ieeefp.h>
2786 + #endif
2787 +
2788 +int
2789 +main ()
2790 +{
2791 + logf(0);
2792 + ;
2793 + return 0;
2794 +}
2795 +_ACEOF
2796 +if ac_fn_cxx_try_compile "$LINENO"; then :
2797 + glibcxx_cv_func_logf_use=yes
2798 +else
2799 + glibcxx_cv_func_logf_use=no
2800 +fi
2801 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802 + ac_ext=c
2803 +ac_cpp='$CPP $CPPFLAGS'
2804 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2807 +
2808 +
2809 +fi
2810 +
2811 + fi
2812 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
2813 +$as_echo "$glibcxx_cv_func_logf_use" >&6; }
2814 +
2815 + if test x$glibcxx_cv_func_logf_use = x"yes"; then
2816 + for ac_func in logf
2817 +do :
2818 + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
2819 +if test "x$ac_cv_func_logf" = x""yes; then :
2820 + cat >>confdefs.h <<_ACEOF
2821 +#define HAVE_LOGF 1
2822 +_ACEOF
2823 +
2824 +fi
2825 +done
2826 +
2827 + else
2828 +
2829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
2830 +$as_echo_n "checking for _logf declaration... " >&6; }
2831 + if test x${glibcxx_cv_func__logf_use+set} != xset; then
2832 + if test "${glibcxx_cv_func__logf_use+set}" = set; then :
2833 + $as_echo_n "(cached) " >&6
2834 +else
2835 +
2836 +
2837 + ac_ext=cpp
2838 +ac_cpp='$CXXCPP $CPPFLAGS'
2839 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2842 +
2843 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 +/* end confdefs.h. */
2845 +#include <math.h>
2846 + #ifdef HAVE_IEEEFP_H
2847 + #include <ieeefp.h>
2848 + #endif
2849 +
2850 +int
2851 +main ()
2852 +{
2853 + _logf(0);
2854 + ;
2855 + return 0;
2856 +}
2857 +_ACEOF
2858 +if ac_fn_cxx_try_compile "$LINENO"; then :
2859 + glibcxx_cv_func__logf_use=yes
2860 +else
2861 + glibcxx_cv_func__logf_use=no
2862 +fi
2863 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 + ac_ext=c
2865 +ac_cpp='$CPP $CPPFLAGS'
2866 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2869 +
2870 +
2871 +fi
2872 +
2873 + fi
2874 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
2875 +$as_echo "$glibcxx_cv_func__logf_use" >&6; }
2876 +
2877 + if test x$glibcxx_cv_func__logf_use = x"yes"; then
2878 + for ac_func in _logf
2879 +do :
2880 + ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
2881 +if test "x$ac_cv_func__logf" = x""yes; then :
2882 + cat >>confdefs.h <<_ACEOF
2883 +#define HAVE__LOGF 1
2884 +_ACEOF
2885 +
2886 +fi
2887 +done
2888 +
2889 + fi
2890 + fi
2891 +
2892 +
2893 +
2894 +
2895 +
2896 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
2897 +$as_echo_n "checking for log10f declaration... " >&6; }
2898 + if test x${glibcxx_cv_func_log10f_use+set} != xset; then
2899 + if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
2900 + $as_echo_n "(cached) " >&6
2901 +else
2902 +
2903 +
2904 + ac_ext=cpp
2905 +ac_cpp='$CXXCPP $CPPFLAGS'
2906 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2909 +
2910 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 +/* end confdefs.h. */
2912 +#include <math.h>
2913 + #ifdef HAVE_IEEEFP_H
2914 + #include <ieeefp.h>
2915 + #endif
2916 +
2917 +int
2918 +main ()
2919 +{
2920 + log10f(0);
2921 + ;
2922 + return 0;
2923 +}
2924 +_ACEOF
2925 +if ac_fn_cxx_try_compile "$LINENO"; then :
2926 + glibcxx_cv_func_log10f_use=yes
2927 +else
2928 + glibcxx_cv_func_log10f_use=no
2929 +fi
2930 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 + ac_ext=c
2932 +ac_cpp='$CPP $CPPFLAGS'
2933 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 +
2937 +
2938 +fi
2939 +
2940 + fi
2941 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
2942 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
2943 +
2944 + if test x$glibcxx_cv_func_log10f_use = x"yes"; then
2945 + for ac_func in log10f
2946 +do :
2947 + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
2948 +if test "x$ac_cv_func_log10f" = x""yes; then :
2949 + cat >>confdefs.h <<_ACEOF
2950 +#define HAVE_LOG10F 1
2951 +_ACEOF
2952 +
2953 +fi
2954 +done
2955 +
2956 + else
2957 +
2958 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
2959 +$as_echo_n "checking for _log10f declaration... " >&6; }
2960 + if test x${glibcxx_cv_func__log10f_use+set} != xset; then
2961 + if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
2962 + $as_echo_n "(cached) " >&6
2963 +else
2964 +
2965 +
2966 + ac_ext=cpp
2967 +ac_cpp='$CXXCPP $CPPFLAGS'
2968 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2971 +
2972 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 +/* end confdefs.h. */
2974 +#include <math.h>
2975 + #ifdef HAVE_IEEEFP_H
2976 + #include <ieeefp.h>
2977 + #endif
2978 +
2979 +int
2980 +main ()
2981 +{
2982 + _log10f(0);
2983 + ;
2984 + return 0;
2985 +}
2986 +_ACEOF
2987 +if ac_fn_cxx_try_compile "$LINENO"; then :
2988 + glibcxx_cv_func__log10f_use=yes
2989 +else
2990 + glibcxx_cv_func__log10f_use=no
2991 +fi
2992 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 + ac_ext=c
2994 +ac_cpp='$CPP $CPPFLAGS'
2995 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998 +
2999 +
3000 +fi
3001 +
3002 + fi
3003 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
3004 +$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
3005 +
3006 + if test x$glibcxx_cv_func__log10f_use = x"yes"; then
3007 + for ac_func in _log10f
3008 +do :
3009 + ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
3010 +if test "x$ac_cv_func__log10f" = x""yes; then :
3011 + cat >>confdefs.h <<_ACEOF
3012 +#define HAVE__LOG10F 1
3013 +_ACEOF
3014 +
3015 +fi
3016 +done
3017 +
3018 + fi
3019 + fi
3020 +
3021 +
3022 +
3023 +
3024 +
3025 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
3026 +$as_echo_n "checking for modff declaration... " >&6; }
3027 + if test x${glibcxx_cv_func_modff_use+set} != xset; then
3028 + if test "${glibcxx_cv_func_modff_use+set}" = set; then :
3029 + $as_echo_n "(cached) " >&6
3030 +else
3031 +
3032 +
3033 + ac_ext=cpp
3034 +ac_cpp='$CXXCPP $CPPFLAGS'
3035 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3038 +
3039 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 +/* end confdefs.h. */
3041 +#include <math.h>
3042 +int
3043 +main ()
3044 +{
3045 + modff(0, 0);
3046 + ;
3047 + return 0;
3048 +}
3049 +_ACEOF
3050 +if ac_fn_cxx_try_compile "$LINENO"; then :
3051 + glibcxx_cv_func_modff_use=yes
3052 +else
3053 + glibcxx_cv_func_modff_use=no
3054 +fi
3055 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 + ac_ext=c
3057 +ac_cpp='$CPP $CPPFLAGS'
3058 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3059 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3060 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3061 +
3062 +
3063 +fi
3064 +
3065 + fi
3066 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
3067 +$as_echo "$glibcxx_cv_func_modff_use" >&6; }
3068 +
3069 + if test x$glibcxx_cv_func_modff_use = x"yes"; then
3070 + for ac_func in modff
3071 +do :
3072 + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
3073 +if test "x$ac_cv_func_modff" = x""yes; then :
3074 + cat >>confdefs.h <<_ACEOF
3075 +#define HAVE_MODFF 1
3076 +_ACEOF
3077 +
3078 +fi
3079 +done
3080 +
3081 + else
3082 +
3083 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
3084 +$as_echo_n "checking for _modff declaration... " >&6; }
3085 + if test x${glibcxx_cv_func__modff_use+set} != xset; then
3086 + if test "${glibcxx_cv_func__modff_use+set}" = set; then :
3087 + $as_echo_n "(cached) " >&6
3088 +else
3089 +
3090 +
3091 + ac_ext=cpp
3092 +ac_cpp='$CXXCPP $CPPFLAGS'
3093 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3096 +
3097 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 +/* end confdefs.h. */
3099 +#include <math.h>
3100 +int
3101 +main ()
3102 +{
3103 + _modff(0, 0);
3104 + ;
3105 + return 0;
3106 +}
3107 +_ACEOF
3108 +if ac_fn_cxx_try_compile "$LINENO"; then :
3109 + glibcxx_cv_func__modff_use=yes
3110 +else
3111 + glibcxx_cv_func__modff_use=no
3112 +fi
3113 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 + ac_ext=c
3115 +ac_cpp='$CPP $CPPFLAGS'
3116 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3118 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 +
3120 +
3121 +fi
3122 +
3123 + fi
3124 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
3125 +$as_echo "$glibcxx_cv_func__modff_use" >&6; }
3126 +
3127 + if test x$glibcxx_cv_func__modff_use = x"yes"; then
3128 + for ac_func in _modff
3129 +do :
3130 + ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
3131 +if test "x$ac_cv_func__modff" = x""yes; then :
3132 + cat >>confdefs.h <<_ACEOF
3133 +#define HAVE__MODFF 1
3134 +_ACEOF
3135 +
3136 +fi
3137 +done
3138 +
3139 + fi
3140 + fi
3141 +
3142 +
3143 +
3144 +
3145 +
3146 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
3147 +$as_echo_n "checking for modf declaration... " >&6; }
3148 + if test x${glibcxx_cv_func_modf_use+set} != xset; then
3149 + if test "${glibcxx_cv_func_modf_use+set}" = set; then :
3150 + $as_echo_n "(cached) " >&6
3151 +else
3152 +
3153 +
3154 + ac_ext=cpp
3155 +ac_cpp='$CXXCPP $CPPFLAGS'
3156 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3159 +
3160 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 +/* end confdefs.h. */
3162 +#include <math.h>
3163 +int
3164 +main ()
3165 +{
3166 + modf(0, 0);
3167 + ;
3168 + return 0;
3169 +}
3170 +_ACEOF
3171 +if ac_fn_cxx_try_compile "$LINENO"; then :
3172 + glibcxx_cv_func_modf_use=yes
3173 +else
3174 + glibcxx_cv_func_modf_use=no
3175 +fi
3176 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 + ac_ext=c
3178 +ac_cpp='$CPP $CPPFLAGS'
3179 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3180 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3181 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3182 +
3183 +
3184 +fi
3185 +
3186 + fi
3187 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
3188 +$as_echo "$glibcxx_cv_func_modf_use" >&6; }
3189 +
3190 + if test x$glibcxx_cv_func_modf_use = x"yes"; then
3191 + for ac_func in modf
3192 +do :
3193 + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
3194 +if test "x$ac_cv_func_modf" = x""yes; then :
3195 + cat >>confdefs.h <<_ACEOF
3196 +#define HAVE_MODF 1
3197 +_ACEOF
3198 +
3199 +fi
3200 +done
3201 +
3202 + else
3203 +
3204 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
3205 +$as_echo_n "checking for _modf declaration... " >&6; }
3206 + if test x${glibcxx_cv_func__modf_use+set} != xset; then
3207 + if test "${glibcxx_cv_func__modf_use+set}" = set; then :
3208 + $as_echo_n "(cached) " >&6
3209 +else
3210 +
3211 +
3212 + ac_ext=cpp
3213 +ac_cpp='$CXXCPP $CPPFLAGS'
3214 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3217 +
3218 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 +/* end confdefs.h. */
3220 +#include <math.h>
3221 +int
3222 +main ()
3223 +{
3224 + _modf(0, 0);
3225 + ;
3226 + return 0;
3227 +}
3228 +_ACEOF
3229 +if ac_fn_cxx_try_compile "$LINENO"; then :
3230 + glibcxx_cv_func__modf_use=yes
3231 +else
3232 + glibcxx_cv_func__modf_use=no
3233 +fi
3234 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 + ac_ext=c
3236 +ac_cpp='$CPP $CPPFLAGS'
3237 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3240 +
3241 +
3242 +fi
3243 +
3244 + fi
3245 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
3246 +$as_echo "$glibcxx_cv_func__modf_use" >&6; }
3247 +
3248 + if test x$glibcxx_cv_func__modf_use = x"yes"; then
3249 + for ac_func in _modf
3250 +do :
3251 + ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
3252 +if test "x$ac_cv_func__modf" = x""yes; then :
3253 + cat >>confdefs.h <<_ACEOF
3254 +#define HAVE__MODF 1
3255 +_ACEOF
3256 +
3257 +fi
3258 +done
3259 +
3260 + fi
3261 + fi
3262 +
3263 +
3264 +
3265 +
3266 +
3267 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
3268 +$as_echo_n "checking for powf declaration... " >&6; }
3269 + if test x${glibcxx_cv_func_powf_use+set} != xset; then
3270 + if test "${glibcxx_cv_func_powf_use+set}" = set; then :
3271 + $as_echo_n "(cached) " >&6
3272 +else
3273 +
3274 +
3275 + ac_ext=cpp
3276 +ac_cpp='$CXXCPP $CPPFLAGS'
3277 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3278 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3279 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3280 +
3281 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 +/* end confdefs.h. */
3283 +#include <math.h>
3284 +int
3285 +main ()
3286 +{
3287 + powf(0, 0);
3288 + ;
3289 + return 0;
3290 +}
3291 +_ACEOF
3292 +if ac_fn_cxx_try_compile "$LINENO"; then :
3293 + glibcxx_cv_func_powf_use=yes
3294 +else
3295 + glibcxx_cv_func_powf_use=no
3296 +fi
3297 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 + ac_ext=c
3299 +ac_cpp='$CPP $CPPFLAGS'
3300 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 +
3304 +
3305 +fi
3306 +
3307 + fi
3308 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
3309 +$as_echo "$glibcxx_cv_func_powf_use" >&6; }
3310 +
3311 + if test x$glibcxx_cv_func_powf_use = x"yes"; then
3312 + for ac_func in powf
3313 +do :
3314 + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
3315 +if test "x$ac_cv_func_powf" = x""yes; then :
3316 + cat >>confdefs.h <<_ACEOF
3317 +#define HAVE_POWF 1
3318 +_ACEOF
3319 +
3320 +fi
3321 +done
3322 +
3323 + else
3324 +
3325 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
3326 +$as_echo_n "checking for _powf declaration... " >&6; }
3327 + if test x${glibcxx_cv_func__powf_use+set} != xset; then
3328 + if test "${glibcxx_cv_func__powf_use+set}" = set; then :
3329 + $as_echo_n "(cached) " >&6
3330 +else
3331 +
3332 +
3333 + ac_ext=cpp
3334 +ac_cpp='$CXXCPP $CPPFLAGS'
3335 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3337 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3338 +
3339 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 +/* end confdefs.h. */
3341 +#include <math.h>
3342 +int
3343 +main ()
3344 +{
3345 + _powf(0, 0);
3346 + ;
3347 + return 0;
3348 +}
3349 +_ACEOF
3350 +if ac_fn_cxx_try_compile "$LINENO"; then :
3351 + glibcxx_cv_func__powf_use=yes
3352 +else
3353 + glibcxx_cv_func__powf_use=no
3354 +fi
3355 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 + ac_ext=c
3357 +ac_cpp='$CPP $CPPFLAGS'
3358 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3361 +
3362 +
3363 +fi
3364 +
3365 + fi
3366 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
3367 +$as_echo "$glibcxx_cv_func__powf_use" >&6; }
3368 +
3369 + if test x$glibcxx_cv_func__powf_use = x"yes"; then
3370 + for ac_func in _powf
3371 +do :
3372 + ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
3373 +if test "x$ac_cv_func__powf" = x""yes; then :
3374 + cat >>confdefs.h <<_ACEOF
3375 +#define HAVE__POWF 1
3376 +_ACEOF
3377 +
3378 +fi
3379 +done
3380 +
3381 + fi
3382 + fi
3383 +
3384 +
3385 +
3386 +
3387 +
3388 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
3389 +$as_echo_n "checking for sqrtf declaration... " >&6; }
3390 + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
3391 + if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
3392 + $as_echo_n "(cached) " >&6
3393 +else
3394 +
3395 +
3396 + ac_ext=cpp
3397 +ac_cpp='$CXXCPP $CPPFLAGS'
3398 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3401 +
3402 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 +/* end confdefs.h. */
3404 +#include <math.h>
3405 + #ifdef HAVE_IEEEFP_H
3406 + #include <ieeefp.h>
3407 + #endif
3408 +
3409 +int
3410 +main ()
3411 +{
3412 + sqrtf(0);
3413 + ;
3414 + return 0;
3415 +}
3416 +_ACEOF
3417 +if ac_fn_cxx_try_compile "$LINENO"; then :
3418 + glibcxx_cv_func_sqrtf_use=yes
3419 +else
3420 + glibcxx_cv_func_sqrtf_use=no
3421 +fi
3422 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3423 + ac_ext=c
3424 +ac_cpp='$CPP $CPPFLAGS'
3425 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3426 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3427 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3428 +
3429 +
3430 +fi
3431 +
3432 + fi
3433 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
3434 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
3435 +
3436 + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
3437 + for ac_func in sqrtf
3438 +do :
3439 + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
3440 +if test "x$ac_cv_func_sqrtf" = x""yes; then :
3441 + cat >>confdefs.h <<_ACEOF
3442 +#define HAVE_SQRTF 1
3443 +_ACEOF
3444 +
3445 +fi
3446 +done
3447 +
3448 + else
3449 +
3450 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
3451 +$as_echo_n "checking for _sqrtf declaration... " >&6; }
3452 + if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
3453 + if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
3454 + $as_echo_n "(cached) " >&6
3455 +else
3456 +
3457 +
3458 + ac_ext=cpp
3459 +ac_cpp='$CXXCPP $CPPFLAGS'
3460 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3463 +
3464 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 +/* end confdefs.h. */
3466 +#include <math.h>
3467 + #ifdef HAVE_IEEEFP_H
3468 + #include <ieeefp.h>
3469 + #endif
3470 +
3471 +int
3472 +main ()
3473 +{
3474 + _sqrtf(0);
3475 + ;
3476 + return 0;
3477 +}
3478 +_ACEOF
3479 +if ac_fn_cxx_try_compile "$LINENO"; then :
3480 + glibcxx_cv_func__sqrtf_use=yes
3481 +else
3482 + glibcxx_cv_func__sqrtf_use=no
3483 +fi
3484 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 + ac_ext=c
3486 +ac_cpp='$CPP $CPPFLAGS'
3487 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 +
3491 +
3492 +fi
3493 +
3494 + fi
3495 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
3496 +$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
3497 +
3498 + if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
3499 + for ac_func in _sqrtf
3500 +do :
3501 + ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
3502 +if test "x$ac_cv_func__sqrtf" = x""yes; then :
3503 + cat >>confdefs.h <<_ACEOF
3504 +#define HAVE__SQRTF 1
3505 +_ACEOF
3506 +
3507 +fi
3508 +done
3509 +
3510 + fi
3511 + fi
3512 +
3513 +
3514 +
3515 +
3516 +
3517 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
3518 +$as_echo_n "checking for sincosf declaration... " >&6; }
3519 + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
3520 + if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
3521 + $as_echo_n "(cached) " >&6
3522 +else
3523 +
3524 +
3525 + ac_ext=cpp
3526 +ac_cpp='$CXXCPP $CPPFLAGS'
3527 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3529 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3530 +
3531 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 +/* end confdefs.h. */
3533 +#include <math.h>
3534 +int
3535 +main ()
3536 +{
3537 + sincosf(0, 0, 0);
3538 + ;
3539 + return 0;
3540 +}
3541 +_ACEOF
3542 +if ac_fn_cxx_try_compile "$LINENO"; then :
3543 + glibcxx_cv_func_sincosf_use=yes
3544 +else
3545 + glibcxx_cv_func_sincosf_use=no
3546 +fi
3547 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 + ac_ext=c
3549 +ac_cpp='$CPP $CPPFLAGS'
3550 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3551 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3552 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3553 +
3554 +
3555 +fi
3556 +
3557 + fi
3558 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
3559 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
3560 +
3561 + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
3562 + for ac_func in sincosf
3563 +do :
3564 + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
3565 +if test "x$ac_cv_func_sincosf" = x""yes; then :
3566 + cat >>confdefs.h <<_ACEOF
3567 +#define HAVE_SINCOSF 1
3568 +_ACEOF
3569 +
3570 +fi
3571 +done
3572 +
3573 + else
3574 +
3575 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
3576 +$as_echo_n "checking for _sincosf declaration... " >&6; }
3577 + if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
3578 + if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
3579 + $as_echo_n "(cached) " >&6
3580 +else
3581 +
3582 +
3583 + ac_ext=cpp
3584 +ac_cpp='$CXXCPP $CPPFLAGS'
3585 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3586 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3587 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3588 +
3589 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 +/* end confdefs.h. */
3591 +#include <math.h>
3592 +int
3593 +main ()
3594 +{
3595 + _sincosf(0, 0, 0);
3596 + ;
3597 + return 0;
3598 +}
3599 +_ACEOF
3600 +if ac_fn_cxx_try_compile "$LINENO"; then :
3601 + glibcxx_cv_func__sincosf_use=yes
3602 +else
3603 + glibcxx_cv_func__sincosf_use=no
3604 +fi
3605 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606 + ac_ext=c
3607 +ac_cpp='$CPP $CPPFLAGS'
3608 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 +
3612 +
3613 +fi
3614 +
3615 + fi
3616 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
3617 +$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
3618 +
3619 + if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
3620 + for ac_func in _sincosf
3621 +do :
3622 + ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
3623 +if test "x$ac_cv_func__sincosf" = x""yes; then :
3624 + cat >>confdefs.h <<_ACEOF
3625 +#define HAVE__SINCOSF 1
3626 +_ACEOF
3627 +
3628 +fi
3629 +done
3630 +
3631 + fi
3632 + fi
3633 +
3634 +
3635 +
3636 +
3637 +
3638 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
3639 +$as_echo_n "checking for finitef declaration... " >&6; }
3640 + if test x${glibcxx_cv_func_finitef_use+set} != xset; then
3641 + if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
3642 + $as_echo_n "(cached) " >&6
3643 +else
3644 +
3645 +
3646 + ac_ext=cpp
3647 +ac_cpp='$CXXCPP $CPPFLAGS'
3648 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3651 +
3652 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 +/* end confdefs.h. */
3654 +#include <math.h>
3655 + #ifdef HAVE_IEEEFP_H
3656 + #include <ieeefp.h>
3657 + #endif
3658 +
3659 +int
3660 +main ()
3661 +{
3662 + finitef(0);
3663 + ;
3664 + return 0;
3665 +}
3666 +_ACEOF
3667 +if ac_fn_cxx_try_compile "$LINENO"; then :
3668 + glibcxx_cv_func_finitef_use=yes
3669 +else
3670 + glibcxx_cv_func_finitef_use=no
3671 +fi
3672 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3673 + ac_ext=c
3674 +ac_cpp='$CPP $CPPFLAGS'
3675 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678 +
3679 +
3680 +fi
3681 +
3682 + fi
3683 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
3684 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
3685 +
3686 + if test x$glibcxx_cv_func_finitef_use = x"yes"; then
3687 + for ac_func in finitef
3688 +do :
3689 + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
3690 +if test "x$ac_cv_func_finitef" = x""yes; then :
3691 + cat >>confdefs.h <<_ACEOF
3692 +#define HAVE_FINITEF 1
3693 +_ACEOF
3694 +
3695 +fi
3696 +done
3697 +
3698 + else
3699 +
3700 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
3701 +$as_echo_n "checking for _finitef declaration... " >&6; }
3702 + if test x${glibcxx_cv_func__finitef_use+set} != xset; then
3703 + if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
3704 + $as_echo_n "(cached) " >&6
3705 +else
3706 +
3707 +
3708 + ac_ext=cpp
3709 +ac_cpp='$CXXCPP $CPPFLAGS'
3710 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3713 +
3714 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 +/* end confdefs.h. */
3716 +#include <math.h>
3717 + #ifdef HAVE_IEEEFP_H
3718 + #include <ieeefp.h>
3719 + #endif
3720 +
3721 +int
3722 +main ()
3723 +{
3724 + _finitef(0);
3725 + ;
3726 + return 0;
3727 +}
3728 +_ACEOF
3729 +if ac_fn_cxx_try_compile "$LINENO"; then :
3730 + glibcxx_cv_func__finitef_use=yes
3731 +else
3732 + glibcxx_cv_func__finitef_use=no
3733 +fi
3734 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 + ac_ext=c
3736 +ac_cpp='$CPP $CPPFLAGS'
3737 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3738 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3739 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3740 +
3741 +
3742 +fi
3743 +
3744 + fi
3745 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
3746 +$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
3747 +
3748 + if test x$glibcxx_cv_func__finitef_use = x"yes"; then
3749 + for ac_func in _finitef
3750 +do :
3751 + ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
3752 +if test "x$ac_cv_func__finitef" = x""yes; then :
3753 + cat >>confdefs.h <<_ACEOF
3754 +#define HAVE__FINITEF 1
3755 +_ACEOF
3756 +
3757 +fi
3758 +done
3759 +
3760 + fi
3761 + fi
3762 +
3763 +
3764 +
3765 +
3766 +
3767 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
3768 +$as_echo_n "checking for long double trig functions... " >&6; }
3769 + if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
3770 + $as_echo_n "(cached) " >&6
3771 +else
3772 +
3773 +
3774 + ac_ext=cpp
3775 +ac_cpp='$CXXCPP $CPPFLAGS'
3776 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3779 +
3780 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 +/* end confdefs.h. */
3782 +#include <math.h>
3783 +int
3784 +main ()
3785 +{
3786 +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
3787 + ;
3788 + return 0;
3789 +}
3790 +_ACEOF
3791 +if ac_fn_cxx_try_compile "$LINENO"; then :
3792 + glibcxx_cv_func_long_double_trig_use=yes
3793 +else
3794 + glibcxx_cv_func_long_double_trig_use=no
3795 +fi
3796 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 + ac_ext=c
3798 +ac_cpp='$CPP $CPPFLAGS'
3799 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802 +
3803 +fi
3804 +
3805 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
3806 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
3807 + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
3808 + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
3809 +do :
3810 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3811 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3812 +eval as_val=\$$as_ac_var
3813 + if test "x$as_val" = x""yes; then :
3814 + cat >>confdefs.h <<_ACEOF
3815 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3816 +_ACEOF
3817 +
3818 +fi
3819 +done
3820 +
3821 + else
3822 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
3823 +$as_echo_n "checking for _long double trig functions... " >&6; }
3824 + if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
3825 + $as_echo_n "(cached) " >&6
3826 +else
3827 +
3828 +
3829 + ac_ext=cpp
3830 +ac_cpp='$CXXCPP $CPPFLAGS'
3831 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3834 +
3835 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 +/* end confdefs.h. */
3837 +#include <math.h>
3838 +int
3839 +main ()
3840 +{
3841 +_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
3842 + ;
3843 + return 0;
3844 +}
3845 +_ACEOF
3846 +if ac_fn_cxx_try_compile "$LINENO"; then :
3847 + glibcxx_cv_func__long_double_trig_use=yes
3848 +else
3849 + glibcxx_cv_func__long_double_trig_use=no
3850 +fi
3851 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3852 + ac_ext=c
3853 +ac_cpp='$CPP $CPPFLAGS'
3854 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3855 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3856 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3857 +
3858 +fi
3859 +
3860 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
3861 +$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
3862 + if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
3863 + for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
3864 +do :
3865 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3866 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3867 +eval as_val=\$$as_ac_var
3868 + if test "x$as_val" = x""yes; then :
3869 + cat >>confdefs.h <<_ACEOF
3870 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3871 +_ACEOF
3872 +
3873 +fi
3874 +done
3875 +
3876 + fi
3877 + fi
3878 +
3879 +
3880 +
3881 +
3882 +
3883 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
3884 +$as_echo_n "checking for long double round functions... " >&6; }
3885 + if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
3886 + $as_echo_n "(cached) " >&6
3887 +else
3888 +
3889 +
3890 + ac_ext=cpp
3891 +ac_cpp='$CXXCPP $CPPFLAGS'
3892 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3895 +
3896 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 +/* end confdefs.h. */
3898 +#include <math.h>
3899 +int
3900 +main ()
3901 +{
3902 +ceill (0); floorl (0);
3903 + ;
3904 + return 0;
3905 +}
3906 +_ACEOF
3907 +if ac_fn_cxx_try_compile "$LINENO"; then :
3908 + glibcxx_cv_func_long_double_round_use=yes
3909 +else
3910 + glibcxx_cv_func_long_double_round_use=no
3911 +fi
3912 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 + ac_ext=c
3914 +ac_cpp='$CPP $CPPFLAGS'
3915 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 +
3919 +fi
3920 +
3921 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
3922 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
3923 + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
3924 + for ac_func in ceill floorl
3925 +do :
3926 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3927 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3928 +eval as_val=\$$as_ac_var
3929 + if test "x$as_val" = x""yes; then :
3930 + cat >>confdefs.h <<_ACEOF
3931 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3932 +_ACEOF
3933 +
3934 +fi
3935 +done
3936 +
3937 + else
3938 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
3939 +$as_echo_n "checking for _long double round functions... " >&6; }
3940 + if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
3941 + $as_echo_n "(cached) " >&6
3942 +else
3943 +
3944 +
3945 + ac_ext=cpp
3946 +ac_cpp='$CXXCPP $CPPFLAGS'
3947 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3948 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3949 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3950 +
3951 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 +/* end confdefs.h. */
3953 +#include <math.h>
3954 +int
3955 +main ()
3956 +{
3957 +_ceill (0); _floorl (0);
3958 + ;
3959 + return 0;
3960 +}
3961 +_ACEOF
3962 +if ac_fn_cxx_try_compile "$LINENO"; then :
3963 + glibcxx_cv_func__long_double_round_use=yes
3964 +else
3965 + glibcxx_cv_func__long_double_round_use=no
3966 +fi
3967 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 + ac_ext=c
3969 +ac_cpp='$CPP $CPPFLAGS'
3970 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3971 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3972 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3973 +
3974 +fi
3975 +
3976 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
3977 +$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
3978 + if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
3979 + for ac_func in _ceill _floorl
3980 +do :
3981 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3982 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3983 +eval as_val=\$$as_ac_var
3984 + if test "x$as_val" = x""yes; then :
3985 + cat >>confdefs.h <<_ACEOF
3986 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3987 +_ACEOF
3988 +
3989 +fi
3990 +done
3991 +
3992 + fi
3993 + fi
3994 +
3995 +
3996 +
3997 +
3998 +
3999 +
4000 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
4001 +$as_echo_n "checking for isnanl declaration... " >&6; }
4002 + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
4003 + if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
4004 + $as_echo_n "(cached) " >&6
4005 +else
4006 +
4007 +
4008 + ac_ext=cpp
4009 +ac_cpp='$CXXCPP $CPPFLAGS'
4010 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4013 +
4014 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015 +/* end confdefs.h. */
4016 +#include <math.h>
4017 + #ifdef HAVE_IEEEFP_H
4018 + #include <ieeefp.h>
4019 + #endif
4020 +
4021 +int
4022 +main ()
4023 +{
4024 + isnanl(0);
4025 + ;
4026 + return 0;
4027 +}
4028 +_ACEOF
4029 +if ac_fn_cxx_try_compile "$LINENO"; then :
4030 + glibcxx_cv_func_isnanl_use=yes
4031 +else
4032 + glibcxx_cv_func_isnanl_use=no
4033 +fi
4034 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 + ac_ext=c
4036 +ac_cpp='$CPP $CPPFLAGS'
4037 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4040 +
4041 +
4042 +fi
4043 +
4044 + fi
4045 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
4046 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
4047 +
4048 + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
4049 + for ac_func in isnanl
4050 +do :
4051 + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
4052 +if test "x$ac_cv_func_isnanl" = x""yes; then :
4053 + cat >>confdefs.h <<_ACEOF
4054 +#define HAVE_ISNANL 1
4055 +_ACEOF
4056 +
4057 +fi
4058 +done
4059 +
4060 + else
4061 +
4062 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
4063 +$as_echo_n "checking for _isnanl declaration... " >&6; }
4064 + if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
4065 + if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
4066 + $as_echo_n "(cached) " >&6
4067 +else
4068 +
4069 +
4070 + ac_ext=cpp
4071 +ac_cpp='$CXXCPP $CPPFLAGS'
4072 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4073 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4074 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4075 +
4076 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 +/* end confdefs.h. */
4078 +#include <math.h>
4079 + #ifdef HAVE_IEEEFP_H
4080 + #include <ieeefp.h>
4081 + #endif
4082 +
4083 +int
4084 +main ()
4085 +{
4086 + _isnanl(0);
4087 + ;
4088 + return 0;
4089 +}
4090 +_ACEOF
4091 +if ac_fn_cxx_try_compile "$LINENO"; then :
4092 + glibcxx_cv_func__isnanl_use=yes
4093 +else
4094 + glibcxx_cv_func__isnanl_use=no
4095 +fi
4096 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 + ac_ext=c
4098 +ac_cpp='$CPP $CPPFLAGS'
4099 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4100 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4101 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4102 +
4103 +
4104 +fi
4105 +
4106 + fi
4107 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
4108 +$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
4109 +
4110 + if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
4111 + for ac_func in _isnanl
4112 +do :
4113 + ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
4114 +if test "x$ac_cv_func__isnanl" = x""yes; then :
4115 + cat >>confdefs.h <<_ACEOF
4116 +#define HAVE__ISNANL 1
4117 +_ACEOF
4118 +
4119 +fi
4120 +done
4121 +
4122 + fi
4123 + fi
4124 +
4125 +
4126 +
4127 +
4128 +
4129 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
4130 +$as_echo_n "checking for isinfl declaration... " >&6; }
4131 + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
4132 + if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
4133 + $as_echo_n "(cached) " >&6
4134 +else
4135 +
4136 +
4137 + ac_ext=cpp
4138 +ac_cpp='$CXXCPP $CPPFLAGS'
4139 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4140 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4141 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4142 +
4143 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 +/* end confdefs.h. */
4145 +#include <math.h>
4146 + #ifdef HAVE_IEEEFP_H
4147 + #include <ieeefp.h>
4148 + #endif
4149 +
4150 +int
4151 +main ()
4152 +{
4153 + isinfl(0);
4154 + ;
4155 + return 0;
4156 +}
4157 +_ACEOF
4158 +if ac_fn_cxx_try_compile "$LINENO"; then :
4159 + glibcxx_cv_func_isinfl_use=yes
4160 +else
4161 + glibcxx_cv_func_isinfl_use=no
4162 +fi
4163 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4164 + ac_ext=c
4165 +ac_cpp='$CPP $CPPFLAGS'
4166 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4167 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4168 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4169 +
4170 +
4171 +fi
4172 +
4173 + fi
4174 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
4175 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
4176 +
4177 + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
4178 + for ac_func in isinfl
4179 +do :
4180 + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
4181 +if test "x$ac_cv_func_isinfl" = x""yes; then :
4182 + cat >>confdefs.h <<_ACEOF
4183 +#define HAVE_ISINFL 1
4184 +_ACEOF
4185 +
4186 +fi
4187 +done
4188 +
4189 + else
4190 +
4191 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
4192 +$as_echo_n "checking for _isinfl declaration... " >&6; }
4193 + if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
4194 + if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
4195 + $as_echo_n "(cached) " >&6
4196 +else
4197 +
4198 +
4199 + ac_ext=cpp
4200 +ac_cpp='$CXXCPP $CPPFLAGS'
4201 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4204 +
4205 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 +/* end confdefs.h. */
4207 +#include <math.h>
4208 + #ifdef HAVE_IEEEFP_H
4209 + #include <ieeefp.h>
4210 + #endif
4211 +
4212 +int
4213 +main ()
4214 +{
4215 + _isinfl(0);
4216 + ;
4217 + return 0;
4218 +}
4219 +_ACEOF
4220 +if ac_fn_cxx_try_compile "$LINENO"; then :
4221 + glibcxx_cv_func__isinfl_use=yes
4222 +else
4223 + glibcxx_cv_func__isinfl_use=no
4224 +fi
4225 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 + ac_ext=c
4227 +ac_cpp='$CPP $CPPFLAGS'
4228 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4231 +
4232 +
4233 +fi
4234 +
4235 + fi
4236 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
4237 +$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
4238 +
4239 + if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
4240 + for ac_func in _isinfl
4241 +do :
4242 + ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
4243 +if test "x$ac_cv_func__isinfl" = x""yes; then :
4244 + cat >>confdefs.h <<_ACEOF
4245 +#define HAVE__ISINFL 1
4246 +_ACEOF
4247 +
4248 +fi
4249 +done
4250 +
4251 + fi
4252 + fi
4253 +
4254 +
4255 +
4256 +
4257 +
4258 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
4259 +$as_echo_n "checking for atan2l declaration... " >&6; }
4260 + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
4261 + if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
4262 + $as_echo_n "(cached) " >&6
4263 +else
4264 +
4265 +
4266 + ac_ext=cpp
4267 +ac_cpp='$CXXCPP $CPPFLAGS'
4268 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4271 +
4272 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 +/* end confdefs.h. */
4274 +#include <math.h>
4275 +int
4276 +main ()
4277 +{
4278 + atan2l(0, 0);
4279 + ;
4280 + return 0;
4281 +}
4282 +_ACEOF
4283 +if ac_fn_cxx_try_compile "$LINENO"; then :
4284 + glibcxx_cv_func_atan2l_use=yes
4285 +else
4286 + glibcxx_cv_func_atan2l_use=no
4287 +fi
4288 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4289 + ac_ext=c
4290 +ac_cpp='$CPP $CPPFLAGS'
4291 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294 +
4295 +
4296 +fi
4297 +
4298 + fi
4299 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
4300 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
4301 +
4302 + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
4303 + for ac_func in atan2l
4304 +do :
4305 + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
4306 +if test "x$ac_cv_func_atan2l" = x""yes; then :
4307 + cat >>confdefs.h <<_ACEOF
4308 +#define HAVE_ATAN2L 1
4309 +_ACEOF
4310 +
4311 +fi
4312 +done
4313 +
4314 + else
4315 +
4316 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
4317 +$as_echo_n "checking for _atan2l declaration... " >&6; }
4318 + if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
4319 + if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
4320 + $as_echo_n "(cached) " >&6
4321 +else
4322 +
4323 +
4324 + ac_ext=cpp
4325 +ac_cpp='$CXXCPP $CPPFLAGS'
4326 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4329 +
4330 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 +/* end confdefs.h. */
4332 +#include <math.h>
4333 +int
4334 +main ()
4335 +{
4336 + _atan2l(0, 0);
4337 + ;
4338 + return 0;
4339 +}
4340 +_ACEOF
4341 +if ac_fn_cxx_try_compile "$LINENO"; then :
4342 + glibcxx_cv_func__atan2l_use=yes
4343 +else
4344 + glibcxx_cv_func__atan2l_use=no
4345 +fi
4346 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 + ac_ext=c
4348 +ac_cpp='$CPP $CPPFLAGS'
4349 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 +
4353 +
4354 +fi
4355 +
4356 + fi
4357 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
4358 +$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
4359 +
4360 + if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
4361 + for ac_func in _atan2l
4362 +do :
4363 + ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
4364 +if test "x$ac_cv_func__atan2l" = x""yes; then :
4365 + cat >>confdefs.h <<_ACEOF
4366 +#define HAVE__ATAN2L 1
4367 +_ACEOF
4368 +
4369 +fi
4370 +done
4371 +
4372 + fi
4373 + fi
4374 +
4375 +
4376 +
4377 +
4378 +
4379 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
4380 +$as_echo_n "checking for expl declaration... " >&6; }
4381 + if test x${glibcxx_cv_func_expl_use+set} != xset; then
4382 + if test "${glibcxx_cv_func_expl_use+set}" = set; then :
4383 + $as_echo_n "(cached) " >&6
4384 +else
4385 +
4386 +
4387 + ac_ext=cpp
4388 +ac_cpp='$CXXCPP $CPPFLAGS'
4389 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392 +
4393 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 +/* end confdefs.h. */
4395 +#include <math.h>
4396 + #ifdef HAVE_IEEEFP_H
4397 + #include <ieeefp.h>
4398 + #endif
4399 +
4400 +int
4401 +main ()
4402 +{
4403 + expl(0);
4404 + ;
4405 + return 0;
4406 +}
4407 +_ACEOF
4408 +if ac_fn_cxx_try_compile "$LINENO"; then :
4409 + glibcxx_cv_func_expl_use=yes
4410 +else
4411 + glibcxx_cv_func_expl_use=no
4412 +fi
4413 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 + ac_ext=c
4415 +ac_cpp='$CPP $CPPFLAGS'
4416 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419 +
4420 +
4421 +fi
4422 +
4423 + fi
4424 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
4425 +$as_echo "$glibcxx_cv_func_expl_use" >&6; }
4426 +
4427 + if test x$glibcxx_cv_func_expl_use = x"yes"; then
4428 + for ac_func in expl
4429 +do :
4430 + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
4431 +if test "x$ac_cv_func_expl" = x""yes; then :
4432 + cat >>confdefs.h <<_ACEOF
4433 +#define HAVE_EXPL 1
4434 +_ACEOF
4435 +
4436 +fi
4437 +done
4438 +
4439 + else
4440 +
4441 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
4442 +$as_echo_n "checking for _expl declaration... " >&6; }
4443 + if test x${glibcxx_cv_func__expl_use+set} != xset; then
4444 + if test "${glibcxx_cv_func__expl_use+set}" = set; then :
4445 + $as_echo_n "(cached) " >&6
4446 +else
4447 +
4448 +
4449 + ac_ext=cpp
4450 +ac_cpp='$CXXCPP $CPPFLAGS'
4451 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4454 +
4455 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 +/* end confdefs.h. */
4457 +#include <math.h>
4458 + #ifdef HAVE_IEEEFP_H
4459 + #include <ieeefp.h>
4460 + #endif
4461 +
4462 +int
4463 +main ()
4464 +{
4465 + _expl(0);
4466 + ;
4467 + return 0;
4468 +}
4469 +_ACEOF
4470 +if ac_fn_cxx_try_compile "$LINENO"; then :
4471 + glibcxx_cv_func__expl_use=yes
4472 +else
4473 + glibcxx_cv_func__expl_use=no
4474 +fi
4475 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476 + ac_ext=c
4477 +ac_cpp='$CPP $CPPFLAGS'
4478 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4481 +
4482 +
4483 +fi
4484 +
4485 + fi
4486 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
4487 +$as_echo "$glibcxx_cv_func__expl_use" >&6; }
4488 +
4489 + if test x$glibcxx_cv_func__expl_use = x"yes"; then
4490 + for ac_func in _expl
4491 +do :
4492 + ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
4493 +if test "x$ac_cv_func__expl" = x""yes; then :
4494 + cat >>confdefs.h <<_ACEOF
4495 +#define HAVE__EXPL 1
4496 +_ACEOF
4497 +
4498 +fi
4499 +done
4500 +
4501 + fi
4502 + fi
4503 +
4504 +
4505 +
4506 +
4507 +
4508 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
4509 +$as_echo_n "checking for fabsl declaration... " >&6; }
4510 + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
4511 + if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
4512 + $as_echo_n "(cached) " >&6
4513 +else
4514 +
4515 +
4516 + ac_ext=cpp
4517 +ac_cpp='$CXXCPP $CPPFLAGS'
4518 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4521 +
4522 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 +/* end confdefs.h. */
4524 +#include <math.h>
4525 + #ifdef HAVE_IEEEFP_H
4526 + #include <ieeefp.h>
4527 + #endif
4528 +
4529 +int
4530 +main ()
4531 +{
4532 + fabsl(0);
4533 + ;
4534 + return 0;
4535 +}
4536 +_ACEOF
4537 +if ac_fn_cxx_try_compile "$LINENO"; then :
4538 + glibcxx_cv_func_fabsl_use=yes
4539 +else
4540 + glibcxx_cv_func_fabsl_use=no
4541 +fi
4542 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4543 + ac_ext=c
4544 +ac_cpp='$CPP $CPPFLAGS'
4545 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4546 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4547 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4548 +
4549 +
4550 +fi
4551 +
4552 + fi
4553 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
4554 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
4555 +
4556 + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
4557 + for ac_func in fabsl
4558 +do :
4559 + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
4560 +if test "x$ac_cv_func_fabsl" = x""yes; then :
4561 + cat >>confdefs.h <<_ACEOF
4562 +#define HAVE_FABSL 1
4563 +_ACEOF
4564 +
4565 +fi
4566 +done
4567 +
4568 + else
4569 +
4570 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
4571 +$as_echo_n "checking for _fabsl declaration... " >&6; }
4572 + if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
4573 + if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
4574 + $as_echo_n "(cached) " >&6
4575 +else
4576 +
4577 +
4578 + ac_ext=cpp
4579 +ac_cpp='$CXXCPP $CPPFLAGS'
4580 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4583 +
4584 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 +/* end confdefs.h. */
4586 +#include <math.h>
4587 + #ifdef HAVE_IEEEFP_H
4588 + #include <ieeefp.h>
4589 + #endif
4590 +
4591 +int
4592 +main ()
4593 +{
4594 + _fabsl(0);
4595 + ;
4596 + return 0;
4597 +}
4598 +_ACEOF
4599 +if ac_fn_cxx_try_compile "$LINENO"; then :
4600 + glibcxx_cv_func__fabsl_use=yes
4601 +else
4602 + glibcxx_cv_func__fabsl_use=no
4603 +fi
4604 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605 + ac_ext=c
4606 +ac_cpp='$CPP $CPPFLAGS'
4607 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4609 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4610 +
4611 +
4612 +fi
4613 +
4614 + fi
4615 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
4616 +$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
4617 +
4618 + if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
4619 + for ac_func in _fabsl
4620 +do :
4621 + ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
4622 +if test "x$ac_cv_func__fabsl" = x""yes; then :
4623 + cat >>confdefs.h <<_ACEOF
4624 +#define HAVE__FABSL 1
4625 +_ACEOF
4626 +
4627 +fi
4628 +done
4629 +
4630 + fi
4631 + fi
4632 +
4633 +
4634 +
4635 +
4636 +
4637 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
4638 +$as_echo_n "checking for fmodl declaration... " >&6; }
4639 + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
4640 + if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
4641 + $as_echo_n "(cached) " >&6
4642 +else
4643 +
4644 +
4645 + ac_ext=cpp
4646 +ac_cpp='$CXXCPP $CPPFLAGS'
4647 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4650 +
4651 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 +/* end confdefs.h. */
4653 +#include <math.h>
4654 +int
4655 +main ()
4656 +{
4657 + fmodl(0, 0);
4658 + ;
4659 + return 0;
4660 +}
4661 +_ACEOF
4662 +if ac_fn_cxx_try_compile "$LINENO"; then :
4663 + glibcxx_cv_func_fmodl_use=yes
4664 +else
4665 + glibcxx_cv_func_fmodl_use=no
4666 +fi
4667 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4668 + ac_ext=c
4669 +ac_cpp='$CPP $CPPFLAGS'
4670 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4671 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4672 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4673 +
4674 +
4675 +fi
4676 +
4677 + fi
4678 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
4679 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
4680 +
4681 + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
4682 + for ac_func in fmodl
4683 +do :
4684 + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
4685 +if test "x$ac_cv_func_fmodl" = x""yes; then :
4686 + cat >>confdefs.h <<_ACEOF
4687 +#define HAVE_FMODL 1
4688 +_ACEOF
4689 +
4690 +fi
4691 +done
4692 +
4693 + else
4694 +
4695 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
4696 +$as_echo_n "checking for _fmodl declaration... " >&6; }
4697 + if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
4698 + if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
4699 + $as_echo_n "(cached) " >&6
4700 +else
4701 +
4702 +
4703 + ac_ext=cpp
4704 +ac_cpp='$CXXCPP $CPPFLAGS'
4705 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4706 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4707 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4708 +
4709 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 +/* end confdefs.h. */
4711 +#include <math.h>
4712 +int
4713 +main ()
4714 +{
4715 + _fmodl(0, 0);
4716 + ;
4717 + return 0;
4718 +}
4719 +_ACEOF
4720 +if ac_fn_cxx_try_compile "$LINENO"; then :
4721 + glibcxx_cv_func__fmodl_use=yes
4722 +else
4723 + glibcxx_cv_func__fmodl_use=no
4724 +fi
4725 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 + ac_ext=c
4727 +ac_cpp='$CPP $CPPFLAGS'
4728 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 +
4732 +
4733 +fi
4734 +
4735 + fi
4736 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
4737 +$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
4738 +
4739 + if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
4740 + for ac_func in _fmodl
4741 +do :
4742 + ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
4743 +if test "x$ac_cv_func__fmodl" = x""yes; then :
4744 + cat >>confdefs.h <<_ACEOF
4745 +#define HAVE__FMODL 1
4746 +_ACEOF
4747 +
4748 +fi
4749 +done
4750 +
4751 + fi
4752 + fi
4753 +
4754 +
4755 +
4756 +
4757 +
4758 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
4759 +$as_echo_n "checking for frexpl declaration... " >&6; }
4760 + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
4761 + if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
4762 + $as_echo_n "(cached) " >&6
4763 +else
4764 +
4765 +
4766 + ac_ext=cpp
4767 +ac_cpp='$CXXCPP $CPPFLAGS'
4768 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4769 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4771 +
4772 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 +/* end confdefs.h. */
4774 +#include <math.h>
4775 +int
4776 +main ()
4777 +{
4778 + frexpl(0, 0);
4779 + ;
4780 + return 0;
4781 +}
4782 +_ACEOF
4783 +if ac_fn_cxx_try_compile "$LINENO"; then :
4784 + glibcxx_cv_func_frexpl_use=yes
4785 +else
4786 + glibcxx_cv_func_frexpl_use=no
4787 +fi
4788 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 + ac_ext=c
4790 +ac_cpp='$CPP $CPPFLAGS'
4791 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4792 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4793 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4794 +
4795 +
4796 +fi
4797 +
4798 + fi
4799 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
4800 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
4801 +
4802 + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
4803 + for ac_func in frexpl
4804 +do :
4805 + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
4806 +if test "x$ac_cv_func_frexpl" = x""yes; then :
4807 + cat >>confdefs.h <<_ACEOF
4808 +#define HAVE_FREXPL 1
4809 +_ACEOF
4810 +
4811 +fi
4812 +done
4813 +
4814 + else
4815 +
4816 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
4817 +$as_echo_n "checking for _frexpl declaration... " >&6; }
4818 + if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
4819 + if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
4820 + $as_echo_n "(cached) " >&6
4821 +else
4822 +
4823 +
4824 + ac_ext=cpp
4825 +ac_cpp='$CXXCPP $CPPFLAGS'
4826 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4827 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4828 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4829 +
4830 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831 +/* end confdefs.h. */
4832 +#include <math.h>
4833 +int
4834 +main ()
4835 +{
4836 + _frexpl(0, 0);
4837 + ;
4838 + return 0;
4839 +}
4840 +_ACEOF
4841 +if ac_fn_cxx_try_compile "$LINENO"; then :
4842 + glibcxx_cv_func__frexpl_use=yes
4843 +else
4844 + glibcxx_cv_func__frexpl_use=no
4845 +fi
4846 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847 + ac_ext=c
4848 +ac_cpp='$CPP $CPPFLAGS'
4849 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4850 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4851 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4852 +
4853 +
4854 +fi
4855 +
4856 + fi
4857 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
4858 +$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
4859 +
4860 + if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
4861 + for ac_func in _frexpl
4862 +do :
4863 + ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
4864 +if test "x$ac_cv_func__frexpl" = x""yes; then :
4865 + cat >>confdefs.h <<_ACEOF
4866 +#define HAVE__FREXPL 1
4867 +_ACEOF
4868 +
4869 +fi
4870 +done
4871 +
4872 + fi
4873 + fi
4874 +
4875 +
4876 +
4877 +
4878 +
4879 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
4880 +$as_echo_n "checking for hypotl declaration... " >&6; }
4881 + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
4882 + if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
4883 + $as_echo_n "(cached) " >&6
4884 +else
4885 +
4886 +
4887 + ac_ext=cpp
4888 +ac_cpp='$CXXCPP $CPPFLAGS'
4889 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4892 +
4893 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 +/* end confdefs.h. */
4895 +#include <math.h>
4896 +int
4897 +main ()
4898 +{
4899 + hypotl(0, 0);
4900 + ;
4901 + return 0;
4902 +}
4903 +_ACEOF
4904 +if ac_fn_cxx_try_compile "$LINENO"; then :
4905 + glibcxx_cv_func_hypotl_use=yes
4906 +else
4907 + glibcxx_cv_func_hypotl_use=no
4908 +fi
4909 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910 + ac_ext=c
4911 +ac_cpp='$CPP $CPPFLAGS'
4912 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4915 +
4916 +
4917 +fi
4918 +
4919 + fi
4920 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
4921 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
4922 +
4923 + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
4924 + for ac_func in hypotl
4925 +do :
4926 + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
4927 +if test "x$ac_cv_func_hypotl" = x""yes; then :
4928 + cat >>confdefs.h <<_ACEOF
4929 +#define HAVE_HYPOTL 1
4930 +_ACEOF
4931 +
4932 +fi
4933 +done
4934 +
4935 + else
4936 +
4937 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
4938 +$as_echo_n "checking for _hypotl declaration... " >&6; }
4939 + if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
4940 + if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
4941 + $as_echo_n "(cached) " >&6
4942 +else
4943 +
4944 +
4945 + ac_ext=cpp
4946 +ac_cpp='$CXXCPP $CPPFLAGS'
4947 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4948 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4949 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4950 +
4951 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 +/* end confdefs.h. */
4953 +#include <math.h>
4954 +int
4955 +main ()
4956 +{
4957 + _hypotl(0, 0);
4958 + ;
4959 + return 0;
4960 +}
4961 +_ACEOF
4962 +if ac_fn_cxx_try_compile "$LINENO"; then :
4963 + glibcxx_cv_func__hypotl_use=yes
4964 +else
4965 + glibcxx_cv_func__hypotl_use=no
4966 +fi
4967 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 + ac_ext=c
4969 +ac_cpp='$CPP $CPPFLAGS'
4970 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4973 +
4974 +
4975 +fi
4976 +
4977 + fi
4978 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
4979 +$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
4980 +
4981 + if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
4982 + for ac_func in _hypotl
4983 +do :
4984 + ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
4985 +if test "x$ac_cv_func__hypotl" = x""yes; then :
4986 + cat >>confdefs.h <<_ACEOF
4987 +#define HAVE__HYPOTL 1
4988 +_ACEOF
4989 +
4990 +fi
4991 +done
4992 +
4993 + fi
4994 + fi
4995 +
4996 +
4997 +
4998 +
4999 +
5000 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
5001 +$as_echo_n "checking for ldexpl declaration... " >&6; }
5002 + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
5003 + if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
5004 + $as_echo_n "(cached) " >&6
5005 +else
5006 +
5007 +
5008 + ac_ext=cpp
5009 +ac_cpp='$CXXCPP $CPPFLAGS'
5010 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5013 +
5014 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015 +/* end confdefs.h. */
5016 +#include <math.h>
5017 +int
5018 +main ()
5019 +{
5020 + ldexpl(0, 0);
5021 + ;
5022 + return 0;
5023 +}
5024 +_ACEOF
5025 +if ac_fn_cxx_try_compile "$LINENO"; then :
5026 + glibcxx_cv_func_ldexpl_use=yes
5027 +else
5028 + glibcxx_cv_func_ldexpl_use=no
5029 +fi
5030 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5031 + ac_ext=c
5032 +ac_cpp='$CPP $CPPFLAGS'
5033 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5036 +
5037 +
5038 +fi
5039 +
5040 + fi
5041 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
5042 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
5043 +
5044 + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
5045 + for ac_func in ldexpl
5046 +do :
5047 + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
5048 +if test "x$ac_cv_func_ldexpl" = x""yes; then :
5049 + cat >>confdefs.h <<_ACEOF
5050 +#define HAVE_LDEXPL 1
5051 +_ACEOF
5052 +
5053 +fi
5054 +done
5055 +
5056 + else
5057 +
5058 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
5059 +$as_echo_n "checking for _ldexpl declaration... " >&6; }
5060 + if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
5061 + if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
5062 + $as_echo_n "(cached) " >&6
5063 +else
5064 +
5065 +
5066 + ac_ext=cpp
5067 +ac_cpp='$CXXCPP $CPPFLAGS'
5068 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5071 +
5072 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 +/* end confdefs.h. */
5074 +#include <math.h>
5075 +int
5076 +main ()
5077 +{
5078 + _ldexpl(0, 0);
5079 + ;
5080 + return 0;
5081 +}
5082 +_ACEOF
5083 +if ac_fn_cxx_try_compile "$LINENO"; then :
5084 + glibcxx_cv_func__ldexpl_use=yes
5085 +else
5086 + glibcxx_cv_func__ldexpl_use=no
5087 +fi
5088 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 + ac_ext=c
5090 +ac_cpp='$CPP $CPPFLAGS'
5091 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094 +
5095 +
5096 +fi
5097 +
5098 + fi
5099 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
5100 +$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
5101 +
5102 + if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
5103 + for ac_func in _ldexpl
5104 +do :
5105 + ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
5106 +if test "x$ac_cv_func__ldexpl" = x""yes; then :
5107 + cat >>confdefs.h <<_ACEOF
5108 +#define HAVE__LDEXPL 1
5109 +_ACEOF
5110 +
5111 +fi
5112 +done
5113 +
5114 + fi
5115 + fi
5116 +
5117 +
5118 +
5119 +
5120 +
5121 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
5122 +$as_echo_n "checking for logl declaration... " >&6; }
5123 + if test x${glibcxx_cv_func_logl_use+set} != xset; then
5124 + if test "${glibcxx_cv_func_logl_use+set}" = set; then :
5125 + $as_echo_n "(cached) " >&6
5126 +else
5127 +
5128 +
5129 + ac_ext=cpp
5130 +ac_cpp='$CXXCPP $CPPFLAGS'
5131 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5134 +
5135 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 +/* end confdefs.h. */
5137 +#include <math.h>
5138 + #ifdef HAVE_IEEEFP_H
5139 + #include <ieeefp.h>
5140 + #endif
5141 +
5142 +int
5143 +main ()
5144 +{
5145 + logl(0);
5146 + ;
5147 + return 0;
5148 +}
5149 +_ACEOF
5150 +if ac_fn_cxx_try_compile "$LINENO"; then :
5151 + glibcxx_cv_func_logl_use=yes
5152 +else
5153 + glibcxx_cv_func_logl_use=no
5154 +fi
5155 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 + ac_ext=c
5157 +ac_cpp='$CPP $CPPFLAGS'
5158 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5159 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5160 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5161 +
5162 +
5163 +fi
5164 +
5165 + fi
5166 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
5167 +$as_echo "$glibcxx_cv_func_logl_use" >&6; }
5168 +
5169 + if test x$glibcxx_cv_func_logl_use = x"yes"; then
5170 + for ac_func in logl
5171 +do :
5172 + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
5173 +if test "x$ac_cv_func_logl" = x""yes; then :
5174 + cat >>confdefs.h <<_ACEOF
5175 +#define HAVE_LOGL 1
5176 +_ACEOF
5177 +
5178 +fi
5179 +done
5180 +
5181 + else
5182 +
5183 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
5184 +$as_echo_n "checking for _logl declaration... " >&6; }
5185 + if test x${glibcxx_cv_func__logl_use+set} != xset; then
5186 + if test "${glibcxx_cv_func__logl_use+set}" = set; then :
5187 + $as_echo_n "(cached) " >&6
5188 +else
5189 +
5190 +
5191 + ac_ext=cpp
5192 +ac_cpp='$CXXCPP $CPPFLAGS'
5193 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5194 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5195 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5196 +
5197 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5198 +/* end confdefs.h. */
5199 +#include <math.h>
5200 + #ifdef HAVE_IEEEFP_H
5201 + #include <ieeefp.h>
5202 + #endif
5203 +
5204 +int
5205 +main ()
5206 +{
5207 + _logl(0);
5208 + ;
5209 + return 0;
5210 +}
5211 +_ACEOF
5212 +if ac_fn_cxx_try_compile "$LINENO"; then :
5213 + glibcxx_cv_func__logl_use=yes
5214 +else
5215 + glibcxx_cv_func__logl_use=no
5216 +fi
5217 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5218 + ac_ext=c
5219 +ac_cpp='$CPP $CPPFLAGS'
5220 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5221 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5222 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5223 +
5224 +
5225 +fi
5226 +
5227 + fi
5228 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
5229 +$as_echo "$glibcxx_cv_func__logl_use" >&6; }
5230 +
5231 + if test x$glibcxx_cv_func__logl_use = x"yes"; then
5232 + for ac_func in _logl
5233 +do :
5234 + ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
5235 +if test "x$ac_cv_func__logl" = x""yes; then :
5236 + cat >>confdefs.h <<_ACEOF
5237 +#define HAVE__LOGL 1
5238 +_ACEOF
5239 +
5240 +fi
5241 +done
5242 +
5243 + fi
5244 + fi
5245 +
5246 +
5247 +
5248 +
5249 +
5250 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
5251 +$as_echo_n "checking for log10l declaration... " >&6; }
5252 + if test x${glibcxx_cv_func_log10l_use+set} != xset; then
5253 + if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
5254 + $as_echo_n "(cached) " >&6
5255 +else
5256 +
5257 +
5258 + ac_ext=cpp
5259 +ac_cpp='$CXXCPP $CPPFLAGS'
5260 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5261 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5262 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5263 +
5264 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 +/* end confdefs.h. */
5266 +#include <math.h>
5267 + #ifdef HAVE_IEEEFP_H
5268 + #include <ieeefp.h>
5269 + #endif
5270 +
5271 +int
5272 +main ()
5273 +{
5274 + log10l(0);
5275 + ;
5276 + return 0;
5277 +}
5278 +_ACEOF
5279 +if ac_fn_cxx_try_compile "$LINENO"; then :
5280 + glibcxx_cv_func_log10l_use=yes
5281 +else
5282 + glibcxx_cv_func_log10l_use=no
5283 +fi
5284 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5285 + ac_ext=c
5286 +ac_cpp='$CPP $CPPFLAGS'
5287 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5288 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5289 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5290 +
5291 +
5292 +fi
5293 +
5294 + fi
5295 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
5296 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
5297 +
5298 + if test x$glibcxx_cv_func_log10l_use = x"yes"; then
5299 + for ac_func in log10l
5300 +do :
5301 + ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
5302 +if test "x$ac_cv_func_log10l" = x""yes; then :
5303 + cat >>confdefs.h <<_ACEOF
5304 +#define HAVE_LOG10L 1
5305 +_ACEOF
5306 +
5307 +fi
5308 +done
5309 +
5310 + else
5311 +
5312 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
5313 +$as_echo_n "checking for _log10l declaration... " >&6; }
5314 + if test x${glibcxx_cv_func__log10l_use+set} != xset; then
5315 + if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
5316 + $as_echo_n "(cached) " >&6
5317 +else
5318 +
5319 +
5320 + ac_ext=cpp
5321 +ac_cpp='$CXXCPP $CPPFLAGS'
5322 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5323 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5324 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5325 +
5326 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 +/* end confdefs.h. */
5328 +#include <math.h>
5329 + #ifdef HAVE_IEEEFP_H
5330 + #include <ieeefp.h>
5331 + #endif
5332 +
5333 +int
5334 +main ()
5335 +{
5336 + _log10l(0);
5337 + ;
5338 + return 0;
5339 +}
5340 +_ACEOF
5341 +if ac_fn_cxx_try_compile "$LINENO"; then :
5342 + glibcxx_cv_func__log10l_use=yes
5343 +else
5344 + glibcxx_cv_func__log10l_use=no
5345 +fi
5346 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 + ac_ext=c
5348 +ac_cpp='$CPP $CPPFLAGS'
5349 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5350 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5351 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5352 +
5353 +
5354 +fi
5355 +
5356 + fi
5357 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
5358 +$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
5359 +
5360 + if test x$glibcxx_cv_func__log10l_use = x"yes"; then
5361 + for ac_func in _log10l
5362 +do :
5363 + ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
5364 +if test "x$ac_cv_func__log10l" = x""yes; then :
5365 + cat >>confdefs.h <<_ACEOF
5366 +#define HAVE__LOG10L 1
5367 +_ACEOF
5368 +
5369 +fi
5370 +done
5371 +
5372 + fi
5373 + fi
5374 +
5375 +
5376 +
5377 +
5378 +
5379 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
5380 +$as_echo_n "checking for modfl declaration... " >&6; }
5381 + if test x${glibcxx_cv_func_modfl_use+set} != xset; then
5382 + if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
5383 + $as_echo_n "(cached) " >&6
5384 +else
5385 +
5386 +
5387 + ac_ext=cpp
5388 +ac_cpp='$CXXCPP $CPPFLAGS'
5389 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5390 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5391 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5392 +
5393 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5394 +/* end confdefs.h. */
5395 +#include <math.h>
5396 +int
5397 +main ()
5398 +{
5399 + modfl(0, 0);
5400 + ;
5401 + return 0;
5402 +}
5403 +_ACEOF
5404 +if ac_fn_cxx_try_compile "$LINENO"; then :
5405 + glibcxx_cv_func_modfl_use=yes
5406 +else
5407 + glibcxx_cv_func_modfl_use=no
5408 +fi
5409 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5410 + ac_ext=c
5411 +ac_cpp='$CPP $CPPFLAGS'
5412 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5415 +
5416 +
5417 +fi
5418 +
5419 + fi
5420 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
5421 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
5422 +
5423 + if test x$glibcxx_cv_func_modfl_use = x"yes"; then
5424 + for ac_func in modfl
5425 +do :
5426 + ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
5427 +if test "x$ac_cv_func_modfl" = x""yes; then :
5428 + cat >>confdefs.h <<_ACEOF
5429 +#define HAVE_MODFL 1
5430 +_ACEOF
5431 +
5432 +fi
5433 +done
5434 +
5435 + else
5436 +
5437 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
5438 +$as_echo_n "checking for _modfl declaration... " >&6; }
5439 + if test x${glibcxx_cv_func__modfl_use+set} != xset; then
5440 + if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
5441 + $as_echo_n "(cached) " >&6
5442 +else
5443 +
5444 +
5445 + ac_ext=cpp
5446 +ac_cpp='$CXXCPP $CPPFLAGS'
5447 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5448 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5449 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5450 +
5451 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 +/* end confdefs.h. */
5453 +#include <math.h>
5454 +int
5455 +main ()
5456 +{
5457 + _modfl(0, 0);
5458 + ;
5459 + return 0;
5460 +}
5461 +_ACEOF
5462 +if ac_fn_cxx_try_compile "$LINENO"; then :
5463 + glibcxx_cv_func__modfl_use=yes
5464 +else
5465 + glibcxx_cv_func__modfl_use=no
5466 +fi
5467 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5468 + ac_ext=c
5469 +ac_cpp='$CPP $CPPFLAGS'
5470 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5471 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5472 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5473 +
5474 +
5475 +fi
5476 +
5477 + fi
5478 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
5479 +$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
5480 +
5481 + if test x$glibcxx_cv_func__modfl_use = x"yes"; then
5482 + for ac_func in _modfl
5483 +do :
5484 + ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
5485 +if test "x$ac_cv_func__modfl" = x""yes; then :
5486 + cat >>confdefs.h <<_ACEOF
5487 +#define HAVE__MODFL 1
5488 +_ACEOF
5489 +
5490 +fi
5491 +done
5492 +
5493 + fi
5494 + fi
5495 +
5496 +
5497 +
5498 +
5499 +
5500 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
5501 +$as_echo_n "checking for powl declaration... " >&6; }
5502 + if test x${glibcxx_cv_func_powl_use+set} != xset; then
5503 + if test "${glibcxx_cv_func_powl_use+set}" = set; then :
5504 + $as_echo_n "(cached) " >&6
5505 +else
5506 +
5507 +
5508 + ac_ext=cpp
5509 +ac_cpp='$CXXCPP $CPPFLAGS'
5510 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5513 +
5514 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515 +/* end confdefs.h. */
5516 +#include <math.h>
5517 +int
5518 +main ()
5519 +{
5520 + powl(0, 0);
5521 + ;
5522 + return 0;
5523 +}
5524 +_ACEOF
5525 +if ac_fn_cxx_try_compile "$LINENO"; then :
5526 + glibcxx_cv_func_powl_use=yes
5527 +else
5528 + glibcxx_cv_func_powl_use=no
5529 +fi
5530 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5531 + ac_ext=c
5532 +ac_cpp='$CPP $CPPFLAGS'
5533 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5534 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5535 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5536 +
5537 +
5538 +fi
5539 +
5540 + fi
5541 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
5542 +$as_echo "$glibcxx_cv_func_powl_use" >&6; }
5543 +
5544 + if test x$glibcxx_cv_func_powl_use = x"yes"; then
5545 + for ac_func in powl
5546 +do :
5547 + ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
5548 +if test "x$ac_cv_func_powl" = x""yes; then :
5549 + cat >>confdefs.h <<_ACEOF
5550 +#define HAVE_POWL 1
5551 +_ACEOF
5552 +
5553 +fi
5554 +done
5555 +
5556 + else
5557 +
5558 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
5559 +$as_echo_n "checking for _powl declaration... " >&6; }
5560 + if test x${glibcxx_cv_func__powl_use+set} != xset; then
5561 + if test "${glibcxx_cv_func__powl_use+set}" = set; then :
5562 + $as_echo_n "(cached) " >&6
5563 +else
5564 +
5565 +
5566 + ac_ext=cpp
5567 +ac_cpp='$CXXCPP $CPPFLAGS'
5568 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5569 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5570 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5571 +
5572 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573 +/* end confdefs.h. */
5574 +#include <math.h>
5575 +int
5576 +main ()
5577 +{
5578 + _powl(0, 0);
5579 + ;
5580 + return 0;
5581 +}
5582 +_ACEOF
5583 +if ac_fn_cxx_try_compile "$LINENO"; then :
5584 + glibcxx_cv_func__powl_use=yes
5585 +else
5586 + glibcxx_cv_func__powl_use=no
5587 +fi
5588 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5589 + ac_ext=c
5590 +ac_cpp='$CPP $CPPFLAGS'
5591 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5594 +
5595 +
5596 +fi
5597 +
5598 + fi
5599 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
5600 +$as_echo "$glibcxx_cv_func__powl_use" >&6; }
5601 +
5602 + if test x$glibcxx_cv_func__powl_use = x"yes"; then
5603 + for ac_func in _powl
5604 +do :
5605 + ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
5606 +if test "x$ac_cv_func__powl" = x""yes; then :
5607 + cat >>confdefs.h <<_ACEOF
5608 +#define HAVE__POWL 1
5609 +_ACEOF
5610 +
5611 +fi
5612 +done
5613 +
5614 + fi
5615 + fi
5616 +
5617 +
5618 +
5619 +
5620 +
5621 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
5622 +$as_echo_n "checking for sqrtl declaration... " >&6; }
5623 + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
5624 + if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
5625 + $as_echo_n "(cached) " >&6
5626 +else
5627 +
5628 +
5629 + ac_ext=cpp
5630 +ac_cpp='$CXXCPP $CPPFLAGS'
5631 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5634 +
5635 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 +/* end confdefs.h. */
5637 +#include <math.h>
5638 + #ifdef HAVE_IEEEFP_H
5639 + #include <ieeefp.h>
5640 + #endif
5641 +
5642 +int
5643 +main ()
5644 +{
5645 + sqrtl(0);
5646 + ;
5647 + return 0;
5648 +}
5649 +_ACEOF
5650 +if ac_fn_cxx_try_compile "$LINENO"; then :
5651 + glibcxx_cv_func_sqrtl_use=yes
5652 +else
5653 + glibcxx_cv_func_sqrtl_use=no
5654 +fi
5655 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5656 + ac_ext=c
5657 +ac_cpp='$CPP $CPPFLAGS'
5658 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5659 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5660 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5661 +
5662 +
5663 +fi
5664 +
5665 + fi
5666 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
5667 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
5668 +
5669 + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
5670 + for ac_func in sqrtl
5671 +do :
5672 + ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
5673 +if test "x$ac_cv_func_sqrtl" = x""yes; then :
5674 + cat >>confdefs.h <<_ACEOF
5675 +#define HAVE_SQRTL 1
5676 +_ACEOF
5677 +
5678 +fi
5679 +done
5680 +
5681 + else
5682 +
5683 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
5684 +$as_echo_n "checking for _sqrtl declaration... " >&6; }
5685 + if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
5686 + if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
5687 + $as_echo_n "(cached) " >&6
5688 +else
5689 +
5690 +
5691 + ac_ext=cpp
5692 +ac_cpp='$CXXCPP $CPPFLAGS'
5693 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5694 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5695 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5696 +
5697 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 +/* end confdefs.h. */
5699 +#include <math.h>
5700 + #ifdef HAVE_IEEEFP_H
5701 + #include <ieeefp.h>
5702 + #endif
5703 +
5704 +int
5705 +main ()
5706 +{
5707 + _sqrtl(0);
5708 + ;
5709 + return 0;
5710 +}
5711 +_ACEOF
5712 +if ac_fn_cxx_try_compile "$LINENO"; then :
5713 + glibcxx_cv_func__sqrtl_use=yes
5714 +else
5715 + glibcxx_cv_func__sqrtl_use=no
5716 +fi
5717 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5718 + ac_ext=c
5719 +ac_cpp='$CPP $CPPFLAGS'
5720 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5721 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5722 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5723 +
5724 +
5725 +fi
5726 +
5727 + fi
5728 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
5729 +$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
5730 +
5731 + if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
5732 + for ac_func in _sqrtl
5733 +do :
5734 + ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
5735 +if test "x$ac_cv_func__sqrtl" = x""yes; then :
5736 + cat >>confdefs.h <<_ACEOF
5737 +#define HAVE__SQRTL 1
5738 +_ACEOF
5739 +
5740 +fi
5741 +done
5742 +
5743 + fi
5744 + fi
5745 +
5746 +
5747 +
5748 +
5749 +
5750 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
5751 +$as_echo_n "checking for sincosl declaration... " >&6; }
5752 + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
5753 + if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
5754 + $as_echo_n "(cached) " >&6
5755 +else
5756 +
5757 +
5758 + ac_ext=cpp
5759 +ac_cpp='$CXXCPP $CPPFLAGS'
5760 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5761 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5762 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5763 +
5764 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5765 +/* end confdefs.h. */
5766 +#include <math.h>
5767 +int
5768 +main ()
5769 +{
5770 + sincosl(0, 0, 0);
5771 + ;
5772 + return 0;
5773 +}
5774 +_ACEOF
5775 +if ac_fn_cxx_try_compile "$LINENO"; then :
5776 + glibcxx_cv_func_sincosl_use=yes
5777 +else
5778 + glibcxx_cv_func_sincosl_use=no
5779 +fi
5780 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5781 + ac_ext=c
5782 +ac_cpp='$CPP $CPPFLAGS'
5783 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5784 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5785 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5786 +
5787 +
5788 +fi
5789 +
5790 + fi
5791 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
5792 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
5793 +
5794 + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
5795 + for ac_func in sincosl
5796 +do :
5797 + ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
5798 +if test "x$ac_cv_func_sincosl" = x""yes; then :
5799 + cat >>confdefs.h <<_ACEOF
5800 +#define HAVE_SINCOSL 1
5801 +_ACEOF
5802 +
5803 +fi
5804 +done
5805 +
5806 + else
5807 +
5808 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
5809 +$as_echo_n "checking for _sincosl declaration... " >&6; }
5810 + if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
5811 + if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
5812 + $as_echo_n "(cached) " >&6
5813 +else
5814 +
5815 +
5816 + ac_ext=cpp
5817 +ac_cpp='$CXXCPP $CPPFLAGS'
5818 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5819 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5820 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5821 +
5822 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 +/* end confdefs.h. */
5824 +#include <math.h>
5825 +int
5826 +main ()
5827 +{
5828 + _sincosl(0, 0, 0);
5829 + ;
5830 + return 0;
5831 +}
5832 +_ACEOF
5833 +if ac_fn_cxx_try_compile "$LINENO"; then :
5834 + glibcxx_cv_func__sincosl_use=yes
5835 +else
5836 + glibcxx_cv_func__sincosl_use=no
5837 +fi
5838 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5839 + ac_ext=c
5840 +ac_cpp='$CPP $CPPFLAGS'
5841 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5842 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5843 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5844 +
5845 +
5846 +fi
5847 +
5848 + fi
5849 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
5850 +$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
5851 +
5852 + if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
5853 + for ac_func in _sincosl
5854 +do :
5855 + ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
5856 +if test "x$ac_cv_func__sincosl" = x""yes; then :
5857 + cat >>confdefs.h <<_ACEOF
5858 +#define HAVE__SINCOSL 1
5859 +_ACEOF
5860 +
5861 +fi
5862 +done
5863 +
5864 + fi
5865 + fi
5866 +
5867 +
5868 +
5869 +
5870 +
5871 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
5872 +$as_echo_n "checking for finitel declaration... " >&6; }
5873 + if test x${glibcxx_cv_func_finitel_use+set} != xset; then
5874 + if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
5875 + $as_echo_n "(cached) " >&6
5876 +else
5877 +
5878 +
5879 + ac_ext=cpp
5880 +ac_cpp='$CXXCPP $CPPFLAGS'
5881 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5882 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5883 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5884 +
5885 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5886 +/* end confdefs.h. */
5887 +#include <math.h>
5888 + #ifdef HAVE_IEEEFP_H
5889 + #include <ieeefp.h>
5890 + #endif
5891 +
5892 +int
5893 +main ()
5894 +{
5895 + finitel(0);
5896 + ;
5897 + return 0;
5898 +}
5899 +_ACEOF
5900 +if ac_fn_cxx_try_compile "$LINENO"; then :
5901 + glibcxx_cv_func_finitel_use=yes
5902 +else
5903 + glibcxx_cv_func_finitel_use=no
5904 +fi
5905 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5906 + ac_ext=c
5907 +ac_cpp='$CPP $CPPFLAGS'
5908 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5909 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5910 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5911 +
5912 +
5913 +fi
5914 +
5915 + fi
5916 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
5917 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
5918 +
5919 + if test x$glibcxx_cv_func_finitel_use = x"yes"; then
5920 + for ac_func in finitel
5921 +do :
5922 + ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
5923 +if test "x$ac_cv_func_finitel" = x""yes; then :
5924 + cat >>confdefs.h <<_ACEOF
5925 +#define HAVE_FINITEL 1
5926 +_ACEOF
5927 +
5928 +fi
5929 +done
5930 +
5931 + else
5932 +
5933 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
5934 +$as_echo_n "checking for _finitel declaration... " >&6; }
5935 + if test x${glibcxx_cv_func__finitel_use+set} != xset; then
5936 + if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
5937 + $as_echo_n "(cached) " >&6
5938 +else
5939 +
5940 +
5941 + ac_ext=cpp
5942 +ac_cpp='$CXXCPP $CPPFLAGS'
5943 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5944 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5945 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5946 +
5947 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5948 +/* end confdefs.h. */
5949 +#include <math.h>
5950 + #ifdef HAVE_IEEEFP_H
5951 + #include <ieeefp.h>
5952 + #endif
5953 +
5954 +int
5955 +main ()
5956 +{
5957 + _finitel(0);
5958 + ;
5959 + return 0;
5960 +}
5961 +_ACEOF
5962 +if ac_fn_cxx_try_compile "$LINENO"; then :
5963 + glibcxx_cv_func__finitel_use=yes
5964 +else
5965 + glibcxx_cv_func__finitel_use=no
5966 +fi
5967 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5968 + ac_ext=c
5969 +ac_cpp='$CPP $CPPFLAGS'
5970 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5971 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5972 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5973 +
5974 +
5975 +fi
5976 +
5977 + fi
5978 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
5979 +$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
5980 +
5981 + if test x$glibcxx_cv_func__finitel_use = x"yes"; then
5982 + for ac_func in _finitel
5983 +do :
5984 + ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
5985 +if test "x$ac_cv_func__finitel" = x""yes; then :
5986 + cat >>confdefs.h <<_ACEOF
5987 +#define HAVE__FINITEL 1
5988 +_ACEOF
5989 +
5990 +fi
5991 +done
5992 +
5993 + fi
5994 + fi
5995 +
5996 +
5997 +
5998 +
5999 + LIBS="$ac_save_LIBS"
6000 + CXXFLAGS="$ac_save_CXXFLAGS"
6001 +
6002 + GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
6003 + GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
6004 +
6005 + ac_test_CXXFLAGS="${CXXFLAGS+set}"
6006 + ac_save_CXXFLAGS="$CXXFLAGS"
6007 + CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
6008 +
6009 +
6010 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
6011 +$as_echo_n "checking for strtold declaration... " >&6; }
6012 + if test x${glibcxx_cv_func_strtold_use+set} != xset; then
6013 + if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
6014 + $as_echo_n "(cached) " >&6
6015 +else
6016 +
6017 +
6018 + ac_ext=cpp
6019 +ac_cpp='$CXXCPP $CPPFLAGS'
6020 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6021 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6022 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6023 +
6024 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6025 +/* end confdefs.h. */
6026 +#include <stdlib.h>
6027 +int
6028 +main ()
6029 +{
6030 + strtold(0, 0);
6031 + ;
6032 + return 0;
6033 +}
6034 +_ACEOF
6035 +if ac_fn_cxx_try_compile "$LINENO"; then :
6036 + glibcxx_cv_func_strtold_use=yes
6037 +else
6038 + glibcxx_cv_func_strtold_use=no
6039 +fi
6040 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6041 + ac_ext=c
6042 +ac_cpp='$CPP $CPPFLAGS'
6043 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6044 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6045 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6046 +
6047 +
6048 +fi
6049 +
6050 + fi
6051 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
6052 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
6053 + if test x$glibcxx_cv_func_strtold_use = x"yes"; then
6054 + for ac_func in strtold
6055 +do :
6056 + ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
6057 +if test "x$ac_cv_func_strtold" = x""yes; then :
6058 + cat >>confdefs.h <<_ACEOF
6059 +#define HAVE_STRTOLD 1
6060 +_ACEOF
6061 +
6062 +fi
6063 +done
6064 +
6065 + fi
6066 +
6067 +
6068 +
6069 +
6070 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
6071 +$as_echo_n "checking for strtof declaration... " >&6; }
6072 + if test x${glibcxx_cv_func_strtof_use+set} != xset; then
6073 + if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
6074 + $as_echo_n "(cached) " >&6
6075 +else
6076 +
6077 +
6078 + ac_ext=cpp
6079 +ac_cpp='$CXXCPP $CPPFLAGS'
6080 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6081 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6082 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6083 +
6084 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 +/* end confdefs.h. */
6086 +#include <stdlib.h>
6087 +int
6088 +main ()
6089 +{
6090 + strtof(0, 0);
6091 + ;
6092 + return 0;
6093 +}
6094 +_ACEOF
6095 +if ac_fn_cxx_try_compile "$LINENO"; then :
6096 + glibcxx_cv_func_strtof_use=yes
6097 +else
6098 + glibcxx_cv_func_strtof_use=no
6099 +fi
6100 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6101 + ac_ext=c
6102 +ac_cpp='$CPP $CPPFLAGS'
6103 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6104 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6105 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6106 +
6107 +
6108 +fi
6109 +
6110 + fi
6111 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
6112 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
6113 + if test x$glibcxx_cv_func_strtof_use = x"yes"; then
6114 + for ac_func in strtof
6115 +do :
6116 + ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
6117 +if test "x$ac_cv_func_strtof" = x""yes; then :
6118 + cat >>confdefs.h <<_ACEOF
6119 +#define HAVE_STRTOF 1
6120 +_ACEOF
6121 +
6122 +fi
6123 +done
6124 +
6125 + fi
6126 +
6127 +
6128 +
6129 +
6130 + CXXFLAGS="$ac_save_CXXFLAGS"
6131 +
6132 + ;;
6133 *-mingw32*)
6134
6135 # If we're not using GNU ld, then there's no point in even trying these
6136 diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
6137 index fdaa9d6..4ba5391 100644
6138 --- a/libstdc++-v3/crossconfig.m4
6139 +++ b/libstdc++-v3/crossconfig.m4
6140 @@ -150,6 +150,14 @@ case "${host}" in
6141 GCC_CHECK_TLS
6142 AM_ICONV
6143 ;;
6144 + *-barrelfish*)
6145 + GLIBCXX_CHECK_COMPILER_FEATURES
6146 + GLIBCXX_CHECK_LINKER_FEATURES
6147 + GLIBCXX_CHECK_MATH_SUPPORT
6148 + GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
6149 + GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
6150 + GLIBCXX_CHECK_STDLIB_SUPPORT
6151 + ;;
6152 *-mingw32*)
6153 GLIBCXX_CHECK_LINKER_FEATURES
6154 GLIBCXX_CHECK_MATH_SUPPORT
6155 diff --git a/libstdc++-v3/include/c_global/csignal b/libstdc++-v3/include/c_global/csignal
6156 index bbd58ca..7a81ef0 100644
6157 --- a/libstdc++-v3/include/c_global/csignal
6158 +++ b/libstdc++-v3/include/c_global/csignal
6159 @@ -51,9 +51,9 @@
6160
6161 _GLIBCXX_BEGIN_NAMESPACE(std)
6162
6163 - using ::sig_atomic_t;
6164 + //using ::sig_atomic_t;
6165 using ::signal;
6166 - using ::raise;
6167 + //using ::raise;
6168
6169 _GLIBCXX_END_NAMESPACE
6170
6171 diff --git a/libstdc++-v3/libsupc++/pure.cc b/libstdc++-v3/libsupc++/pure.cc
6172 index acf7232..9ee31aa 100644
6173 --- a/libstdc++-v3/libsupc++/pure.cc
6174 +++ b/libstdc++-v3/libsupc++/pure.cc
6175 @@ -28,7 +28,9 @@
6176
6177 #if _GLIBCXX_HOSTED
6178 #ifdef _GLIBCXX_HAVE_UNISTD_H
6179 +extern "C" {
6180 # include <unistd.h>
6181 +}
6182 # define writestr(str) write(2, str, sizeof(str) - 1)
6183 # ifdef __GNU_LIBRARY__
6184 /* Avoid forcing the library's meaning of `write' on the user program
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.