* tree-eh.c (tree_could_trap_p): Handle VIEW_CONVERT_EXPR.
[official-gcc.git] / libstdc++-v3 / configure
blob5162b6b9167c4d8903c7b9801792ea57e66884bc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-long-long enable template specializations for 'long long'
873 [default=yes]
874 --enable-wchar_t enable template specializations for 'wchar_t'
875 [default=yes]
876 --enable-c99 turns on ISO/IEC 9899:1999 support
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-tls Use thread-local storage [default=yes]
891 --disable-rpath do not hardcode runtime library paths
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-visibility enables visibility safe usage [default=yes]
895 --enable-version-specific-runtime-libs
896 Specify that runtime libraries should be installed
897 in a compiler-specific directory
899 Optional Packages:
900 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
901 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
902 --with-target-subdir=SUBDIR
903 configuring in a subdirectory
904 --with-cross-host=HOST configuring with a cross compiler
905 --with-newlib assume newlib as a system C library
906 --with-gnu-ld assume the C compiler uses GNU ld default=no
907 --with-pic try to use only PIC/non-PIC objects default=use both
908 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
909 --without-libiconv-prefix don't search for libiconv in includedir and libdir
910 --with-gxx-include-dir=DIR
911 installation directory for include files
913 Some influential environment variables:
914 CC C compiler command
915 CFLAGS C compiler flags
916 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
917 nonstandard directory <lib dir>
918 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
919 headers in a nonstandard directory <include dir>
920 CXX C++ compiler command
921 CXXFLAGS C++ compiler flags
922 CPP C preprocessor
923 CXXCPP C++ preprocessor
925 Use these variables to override the choices made by `configure' or to help
926 it to find libraries and programs with nonstandard names/locations.
928 _ACEOF
931 if test "$ac_init_help" = "recursive"; then
932 # If there are subdirs, report their specific --help.
933 ac_popdir=`pwd`
934 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
935 test -d $ac_dir || continue
936 ac_builddir=.
938 if test "$ac_dir" != .; then
939 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
940 # A "../" for each directory in $ac_dir_suffix.
941 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
942 else
943 ac_dir_suffix= ac_top_builddir=
946 case $srcdir in
947 .) # No --srcdir option. We are building in place.
948 ac_srcdir=.
949 if test -z "$ac_top_builddir"; then
950 ac_top_srcdir=.
951 else
952 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
953 fi ;;
954 [\\/]* | ?:[\\/]* ) # Absolute path.
955 ac_srcdir=$srcdir$ac_dir_suffix;
956 ac_top_srcdir=$srcdir ;;
957 *) # Relative path.
958 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
959 ac_top_srcdir=$ac_top_builddir$srcdir ;;
960 esac
962 # Do not use `cd foo && pwd` to compute absolute paths, because
963 # the directories may not exist.
964 case `pwd` in
965 .) ac_abs_builddir="$ac_dir";;
967 case "$ac_dir" in
968 .) ac_abs_builddir=`pwd`;;
969 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
970 *) ac_abs_builddir=`pwd`/"$ac_dir";;
971 esac;;
972 esac
973 case $ac_abs_builddir in
974 .) ac_abs_top_builddir=${ac_top_builddir}.;;
976 case ${ac_top_builddir}. in
977 .) ac_abs_top_builddir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
979 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
980 esac;;
981 esac
982 case $ac_abs_builddir in
983 .) ac_abs_srcdir=$ac_srcdir;;
985 case $ac_srcdir in
986 .) ac_abs_srcdir=$ac_abs_builddir;;
987 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
988 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
989 esac;;
990 esac
991 case $ac_abs_builddir in
992 .) ac_abs_top_srcdir=$ac_top_srcdir;;
994 case $ac_top_srcdir in
995 .) ac_abs_top_srcdir=$ac_abs_builddir;;
996 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
997 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
998 esac;;
999 esac
1001 cd $ac_dir
1002 # Check for guested configure; otherwise get Cygnus style configure.
1003 if test -f $ac_srcdir/configure.gnu; then
1004 echo
1005 $SHELL $ac_srcdir/configure.gnu --help=recursive
1006 elif test -f $ac_srcdir/configure; then
1007 echo
1008 $SHELL $ac_srcdir/configure --help=recursive
1009 elif test -f $ac_srcdir/configure.ac ||
1010 test -f $ac_srcdir/configure.in; then
1011 echo
1012 $ac_configure --help
1013 else
1014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1016 cd $ac_popdir
1017 done
1020 test -n "$ac_init_help" && exit 0
1021 if $ac_init_version; then
1022 cat <<\_ACEOF
1023 package-unused configure version-unused
1024 generated by GNU Autoconf 2.59
1026 Copyright (C) 2003 Free Software Foundation, Inc.
1027 This configure script is free software; the Free Software Foundation
1028 gives unlimited permission to copy, distribute and modify it.
1029 _ACEOF
1030 exit 0
1032 exec 5>config.log
1033 cat >&5 <<_ACEOF
1034 This file contains any messages produced by compilers while
1035 running configure, to aid debugging if configure makes a mistake.
1037 It was created by package-unused $as_me version-unused, which was
1038 generated by GNU Autoconf 2.59. Invocation command line was
1040 $ $0 $@
1042 _ACEOF
1044 cat <<_ASUNAME
1045 ## --------- ##
1046 ## Platform. ##
1047 ## --------- ##
1049 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1050 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1051 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1052 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1053 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1055 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1056 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1058 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1059 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1060 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1061 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1062 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1063 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1064 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1066 _ASUNAME
1068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1069 for as_dir in $PATH
1071 IFS=$as_save_IFS
1072 test -z "$as_dir" && as_dir=.
1073 echo "PATH: $as_dir"
1074 done
1076 } >&5
1078 cat >&5 <<_ACEOF
1081 ## ----------- ##
1082 ## Core tests. ##
1083 ## ----------- ##
1085 _ACEOF
1088 # Keep a trace of the command line.
1089 # Strip out --no-create and --no-recursion so they do not pile up.
1090 # Strip out --silent because we don't want to record it for future runs.
1091 # Also quote any args containing shell meta-characters.
1092 # Make two passes to allow for proper duplicate-argument suppression.
1093 ac_configure_args=
1094 ac_configure_args0=
1095 ac_configure_args1=
1096 ac_sep=
1097 ac_must_keep_next=false
1098 for ac_pass in 1 2
1100 for ac_arg
1102 case $ac_arg in
1103 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105 | -silent | --silent | --silen | --sile | --sil)
1106 continue ;;
1107 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1108 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1109 esac
1110 case $ac_pass in
1111 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1113 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1114 if test $ac_must_keep_next = true; then
1115 ac_must_keep_next=false # Got value, back to normal.
1116 else
1117 case $ac_arg in
1118 *=* | --config-cache | -C | -disable-* | --disable-* \
1119 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1120 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1121 | -with-* | --with-* | -without-* | --without-* | --x)
1122 case "$ac_configure_args0 " in
1123 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1124 esac
1126 -* ) ac_must_keep_next=true ;;
1127 esac
1129 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1130 # Get rid of the leading space.
1131 ac_sep=" "
1133 esac
1134 done
1135 done
1136 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1137 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1139 # When interrupted or exit'd, cleanup temporary files, and complete
1140 # config.log. We remove comments because anyway the quotes in there
1141 # would cause problems or look ugly.
1142 # WARNING: Be sure not to use single quotes in there, as some shells,
1143 # such as our DU 5.0 friend, will then `close' the trap.
1144 trap 'exit_status=$?
1145 # Save into config.log some information that might help in debugging.
1147 echo
1149 cat <<\_ASBOX
1150 ## ---------------- ##
1151 ## Cache variables. ##
1152 ## ---------------- ##
1153 _ASBOX
1154 echo
1155 # The following way of writing the cache mishandles newlines in values,
1157 (set) 2>&1 |
1158 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1159 *ac_space=\ *)
1160 sed -n \
1161 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1165 sed -n \
1166 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1168 esac;
1170 echo
1172 cat <<\_ASBOX
1173 ## ----------------- ##
1174 ## Output variables. ##
1175 ## ----------------- ##
1176 _ASBOX
1177 echo
1178 for ac_var in $ac_subst_vars
1180 eval ac_val=$`echo $ac_var`
1181 echo "$ac_var='"'"'$ac_val'"'"'"
1182 done | sort
1183 echo
1185 if test -n "$ac_subst_files"; then
1186 cat <<\_ASBOX
1187 ## ------------- ##
1188 ## Output files. ##
1189 ## ------------- ##
1190 _ASBOX
1191 echo
1192 for ac_var in $ac_subst_files
1194 eval ac_val=$`echo $ac_var`
1195 echo "$ac_var='"'"'$ac_val'"'"'"
1196 done | sort
1197 echo
1200 if test -s confdefs.h; then
1201 cat <<\_ASBOX
1202 ## ----------- ##
1203 ## confdefs.h. ##
1204 ## ----------- ##
1205 _ASBOX
1206 echo
1207 sed "/^$/d" confdefs.h | sort
1208 echo
1210 test "$ac_signal" != 0 &&
1211 echo "$as_me: caught signal $ac_signal"
1212 echo "$as_me: exit $exit_status"
1213 } >&5
1214 rm -f core *.core &&
1215 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1216 exit $exit_status
1218 for ac_signal in 1 2 13 15; do
1219 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1220 done
1221 ac_signal=0
1223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1224 rm -rf conftest* confdefs.h
1225 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1226 echo >confdefs.h
1228 # Predefined preprocessor variables.
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_NAME "$PACKAGE_NAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_STRING "$PACKAGE_STRING"
1247 _ACEOF
1250 cat >>confdefs.h <<_ACEOF
1251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1252 _ACEOF
1255 # Let the site file select an alternate cache file if it wants to.
1256 # Prefer explicitly selected file to automatically selected ones.
1257 if test -z "$CONFIG_SITE"; then
1258 if test "x$prefix" != xNONE; then
1259 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1260 else
1261 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1264 for ac_site_file in $CONFIG_SITE; do
1265 if test -r "$ac_site_file"; then
1266 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1267 echo "$as_me: loading site script $ac_site_file" >&6;}
1268 sed 's/^/| /' "$ac_site_file" >&5
1269 . "$ac_site_file"
1271 done
1273 if test -r "$cache_file"; then
1274 # Some versions of bash will fail to source /dev/null (special
1275 # files actually), so we avoid doing that.
1276 if test -f "$cache_file"; then
1277 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1278 echo "$as_me: loading cache $cache_file" >&6;}
1279 case $cache_file in
1280 [\\/]* | ?:[\\/]* ) . $cache_file;;
1281 *) . ./$cache_file;;
1282 esac
1284 else
1285 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1286 echo "$as_me: creating cache $cache_file" >&6;}
1287 >$cache_file
1290 # Check that the precious variables saved in the cache have kept the same
1291 # value.
1292 ac_cache_corrupted=false
1293 for ac_var in `(set) 2>&1 |
1294 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1295 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1296 eval ac_new_set=\$ac_env_${ac_var}_set
1297 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1298 eval ac_new_val="\$ac_env_${ac_var}_value"
1299 case $ac_old_set,$ac_new_set in
1300 set,)
1301 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1302 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1303 ac_cache_corrupted=: ;;
1304 ,set)
1305 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1306 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1307 ac_cache_corrupted=: ;;
1308 ,);;
1310 if test "x$ac_old_val" != "x$ac_new_val"; then
1311 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1312 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1313 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1314 echo "$as_me: former value: $ac_old_val" >&2;}
1315 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1316 echo "$as_me: current value: $ac_new_val" >&2;}
1317 ac_cache_corrupted=:
1318 fi;;
1319 esac
1320 # Pass precious variables to config.status.
1321 if test "$ac_new_set" = set; then
1322 case $ac_new_val in
1323 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1324 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1325 *) ac_arg=$ac_var=$ac_new_val ;;
1326 esac
1327 case " $ac_configure_args " in
1328 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1329 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1330 esac
1332 done
1333 if $ac_cache_corrupted; then
1334 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1335 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1336 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1337 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1338 { (exit 1); exit 1; }; }
1341 ac_ext=c
1342 ac_cpp='$CPP $CPPFLAGS'
1343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1374 ac_config_headers="$ac_config_headers config.h"
1377 # This works around the fact that libtool configuration may change LD
1378 # for this particular configuration, but some shells, instead of
1379 # keeping the changes in LD private, export them just because LD is
1380 # exported. Only used at the end of this file.
1381 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1383 # For libtool versioning info, format is CURRENT:REVISION:AGE
1384 libtool_VERSION=6:9:0
1387 # Find the rest of the source tree framework.
1388 # Default to --enable-multilib
1389 # Check whether --enable-multilib or --disable-multilib was given.
1390 if test "${enable_multilib+set}" = set; then
1391 enableval="$enable_multilib"
1392 case "$enableval" in
1393 yes) multilib=yes ;;
1394 no) multilib=no ;;
1395 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1396 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1397 { (exit 1); exit 1; }; } ;;
1398 esac
1399 else
1400 multilib=yes
1403 # We may get other options which we leave undocumented:
1404 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1405 # See config-ml.in if you want the gory details.
1407 if test "$srcdir" = "."; then
1408 if test "$with_target_subdir" != "."; then
1409 multi_basedir="$srcdir/$with_multisrctop../.."
1410 else
1411 multi_basedir="$srcdir/$with_multisrctop.."
1413 else
1414 multi_basedir="$srcdir/.."
1418 # Even if the default multilib is not a cross compilation,
1419 # it may be that some of the other multilibs are.
1420 if test $cross_compiling = no && test $multilib = yes \
1421 && test "x${with_multisubdir}" != x ; then
1422 cross_compiling=maybe
1425 ac_config_commands="$ac_config_commands default-1"
1428 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1430 # You will slowly go insane if you do not grok the following fact: when
1431 # building v3 as part of the compiler, the top-level /target/ becomes the
1432 # library's /host/. configure then causes --target to default to --host,
1433 # exactly like any other package using autoconf. Therefore, 'target' and
1434 # 'host' will always be the same. This makes sense both for native and
1435 # cross compilers, just think about it for a little while. :-)
1437 # Also, if v3 is being configured as part of a cross compiler, the top-level
1438 # configure script will pass the "real" host as $with_cross_host.
1440 # Do not delete or change the following two lines. For why, see
1441 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1442 ac_aux_dir=
1443 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1444 if test -f $ac_dir/install-sh; then
1445 ac_aux_dir=$ac_dir
1446 ac_install_sh="$ac_aux_dir/install-sh -c"
1447 break
1448 elif test -f $ac_dir/install.sh; then
1449 ac_aux_dir=$ac_dir
1450 ac_install_sh="$ac_aux_dir/install.sh -c"
1451 break
1452 elif test -f $ac_dir/shtool; then
1453 ac_aux_dir=$ac_dir
1454 ac_install_sh="$ac_aux_dir/shtool install -c"
1455 break
1457 done
1458 if test -z "$ac_aux_dir"; then
1459 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1460 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1461 { (exit 1); exit 1; }; }
1463 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1464 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1465 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1467 # Make sure we can run config.sub.
1468 $ac_config_sub sun4 >/dev/null 2>&1 ||
1469 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1470 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1471 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: checking build system type" >&5
1474 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1475 if test "${ac_cv_build+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 ac_cv_build_alias=$build_alias
1479 test -z "$ac_cv_build_alias" &&
1480 ac_cv_build_alias=`$ac_config_guess`
1481 test -z "$ac_cv_build_alias" &&
1482 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1483 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1484 { (exit 1); exit 1; }; }
1485 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1486 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1487 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1488 { (exit 1); exit 1; }; }
1491 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1492 echo "${ECHO_T}$ac_cv_build" >&6
1493 build=$ac_cv_build
1494 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1495 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1496 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1499 echo "$as_me:$LINENO: checking host system type" >&5
1500 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1501 if test "${ac_cv_host+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 else
1504 ac_cv_host_alias=$host_alias
1505 test -z "$ac_cv_host_alias" &&
1506 ac_cv_host_alias=$ac_cv_build_alias
1507 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1508 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1509 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1510 { (exit 1); exit 1; }; }
1513 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1514 echo "${ECHO_T}$ac_cv_host" >&6
1515 host=$ac_cv_host
1516 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1517 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1518 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1521 echo "$as_me:$LINENO: checking target system type" >&5
1522 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1523 if test "${ac_cv_target+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 else
1526 ac_cv_target_alias=$target_alias
1527 test "x$ac_cv_target_alias" = "x" &&
1528 ac_cv_target_alias=$ac_cv_host_alias
1529 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1532 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1536 echo "${ECHO_T}$ac_cv_target" >&6
1537 target=$ac_cv_target
1538 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1539 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1540 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543 # The aliases save the names the user supplied, while $host etc.
1544 # will get canonicalized.
1545 test -n "$target_alias" &&
1546 test "$program_prefix$program_suffix$program_transform_name" = \
1547 NONENONEs,x,x, &&
1548 program_prefix=${target_alias}-
1549 target_alias=${target_alias-$host_alias}
1551 # Handy for debugging:
1552 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1554 if test "$build" != "$host"; then
1555 # We are being configured with some form of cross compiler.
1556 GLIBCXX_IS_NATIVE=false
1557 case "$host","$target" in
1558 # Darwin crosses can use the host system's libraries and headers,
1559 # because of the fat library support. Of course, it must be the
1560 # same version of Darwin on both sides. Allow the user to
1561 # just say --target=foo-darwin without a version number to mean
1562 # "the version on this system".
1563 *-*-darwin*,*-*-darwin*)
1564 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1565 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1566 if test $hostos = $targetos -o $targetos = darwin ; then
1567 GLIBCXX_IS_NATIVE=true
1574 esac
1575 else
1576 GLIBCXX_IS_NATIVE=true
1579 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1580 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1581 # 1.x: minimum required version
1582 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1583 # of other PACKAGE_* variables will, however, and there's nothing
1584 # we can do about that; they come from AC_INIT).
1585 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1586 # file in the top srcdir, etc, etc), so stop complaining.
1587 # no-dependencies: turns off auto dependency generation (just for now)
1588 # -Wall: turns on all automake warnings...
1589 # -Wno-portability: ...except this one, since GNU make is now required.
1590 am__api_version="1.9"
1591 # Find a good install program. We prefer a C program (faster),
1592 # so one script is as good as another. But avoid the broken or
1593 # incompatible versions:
1594 # SysV /etc/install, /usr/sbin/install
1595 # SunOS /usr/etc/install
1596 # IRIX /sbin/install
1597 # AIX /bin/install
1598 # AmigaOS /C/install, which installs bootblocks on floppy discs
1599 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1600 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1601 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1602 # OS/2's system install, which has a completely different semantic
1603 # ./install, which can be erroneously created by make from ./install.sh.
1604 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1605 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1606 if test -z "$INSTALL"; then
1607 if test "${ac_cv_path_install+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 for as_dir in $PATH
1613 IFS=$as_save_IFS
1614 test -z "$as_dir" && as_dir=.
1615 # Account for people who put trailing slashes in PATH elements.
1616 case $as_dir/ in
1617 ./ | .// | /cC/* | \
1618 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1619 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1620 /usr/ucb/* ) ;;
1622 # OSF1 and SCO ODT 3.0 have their own names for install.
1623 # Don't use installbsd from OSF since it installs stuff as root
1624 # by default.
1625 for ac_prog in ginstall scoinst install; do
1626 for ac_exec_ext in '' $ac_executable_extensions; do
1627 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1628 if test $ac_prog = install &&
1629 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1630 # AIX install. It has an incompatible calling convention.
1632 elif test $ac_prog = install &&
1633 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1634 # program-specific install script used by HP pwplus--don't use.
1636 else
1637 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1638 break 3
1641 done
1642 done
1644 esac
1645 done
1649 if test "${ac_cv_path_install+set}" = set; then
1650 INSTALL=$ac_cv_path_install
1651 else
1652 # As a last resort, use the slow shell script. We don't cache a
1653 # path for INSTALL within a source directory, because that will
1654 # break other packages using the cache if that directory is
1655 # removed, or if the path is relative.
1656 INSTALL=$ac_install_sh
1659 echo "$as_me:$LINENO: result: $INSTALL" >&5
1660 echo "${ECHO_T}$INSTALL" >&6
1662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1663 # It thinks the first close brace ends the variable substitution.
1664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1670 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1671 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1672 # Just in case
1673 sleep 1
1674 echo timestamp > conftest.file
1675 # Do `set' in a subshell so we don't clobber the current shell's
1676 # arguments. Must try -L first in case configure is actually a
1677 # symlink; some systems play weird games with the mod time of symlinks
1678 # (eg FreeBSD returns the mod time of the symlink's containing
1679 # directory).
1680 if (
1681 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1682 if test "$*" = "X"; then
1683 # -L didn't work.
1684 set X `ls -t $srcdir/configure conftest.file`
1686 rm -f conftest.file
1687 if test "$*" != "X $srcdir/configure conftest.file" \
1688 && test "$*" != "X conftest.file $srcdir/configure"; then
1690 # If neither matched, then we have a broken ls. This can happen
1691 # if, for instance, CONFIG_SHELL is bash and it inherits a
1692 # broken ls alias from the environment. This has actually
1693 # happened. Such a system could not be considered "sane".
1694 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1695 alias in your environment" >&5
1696 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1697 alias in your environment" >&2;}
1698 { (exit 1); exit 1; }; }
1701 test "$2" = conftest.file
1703 then
1704 # Ok.
1706 else
1707 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1708 Check your system clock" >&5
1709 echo "$as_me: error: newly created file is older than distributed files!
1710 Check your system clock" >&2;}
1711 { (exit 1); exit 1; }; }
1713 echo "$as_me:$LINENO: result: yes" >&5
1714 echo "${ECHO_T}yes" >&6
1715 test "$program_prefix" != NONE &&
1716 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1717 # Use a double $ so make ignores it.
1718 test "$program_suffix" != NONE &&
1719 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1720 # Double any \ or $. echo might interpret backslashes.
1721 # By default was `s,x,x', remove it if useless.
1722 cat <<\_ACEOF >conftest.sed
1723 s/[\\$]/&&/g;s/;s,x,x,$//
1724 _ACEOF
1725 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1726 rm conftest.sed
1728 # expand $ac_aux_dir to an absolute path
1729 am_aux_dir=`cd $ac_aux_dir && pwd`
1731 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1732 # Use eval to expand $SHELL
1733 if eval "$MISSING --run true"; then
1734 am_missing_run="$MISSING --run "
1735 else
1736 am_missing_run=
1737 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1738 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1741 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1742 # We used to keeping the `.' as first argument, in order to
1743 # allow $(mkdir_p) to be used without argument. As in
1744 # $(mkdir_p) $(somedir)
1745 # where $(somedir) is conditionally defined. However this is wrong
1746 # for two reasons:
1747 # 1. if the package is installed by a user who cannot write `.'
1748 # make install will fail,
1749 # 2. the above comment should most certainly read
1750 # $(mkdir_p) $(DESTDIR)$(somedir)
1751 # so it does not work when $(somedir) is undefined and
1752 # $(DESTDIR) is not.
1753 # To support the latter case, we have to write
1754 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1755 # so the `.' trick is pointless.
1756 mkdir_p='mkdir -p --'
1757 else
1758 # On NextStep and OpenStep, the `mkdir' command does not
1759 # recognize any option. It will interpret all options as
1760 # directories to create, and then abort because `.' already
1761 # exists.
1762 for d in ./-p ./--version;
1764 test -d $d && rmdir $d
1765 done
1766 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1767 if test -f "$ac_aux_dir/mkinstalldirs"; then
1768 mkdir_p='$(mkinstalldirs)'
1769 else
1770 mkdir_p='$(install_sh) -d'
1774 for ac_prog in gawk mawk nawk awk
1776 # Extract the first word of "$ac_prog", so it can be a program name with args.
1777 set dummy $ac_prog; ac_word=$2
1778 echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1780 if test "${ac_cv_prog_AWK+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 else
1783 if test -n "$AWK"; then
1784 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1785 else
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787 for as_dir in $PATH
1789 IFS=$as_save_IFS
1790 test -z "$as_dir" && as_dir=.
1791 for ac_exec_ext in '' $ac_executable_extensions; do
1792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793 ac_cv_prog_AWK="$ac_prog"
1794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795 break 2
1797 done
1798 done
1802 AWK=$ac_cv_prog_AWK
1803 if test -n "$AWK"; then
1804 echo "$as_me:$LINENO: result: $AWK" >&5
1805 echo "${ECHO_T}$AWK" >&6
1806 else
1807 echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1811 test -n "$AWK" && break
1812 done
1814 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1816 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1817 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 else
1820 cat >conftest.make <<\_ACEOF
1821 all:
1822 @echo 'ac_maketemp="$(MAKE)"'
1823 _ACEOF
1824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1825 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1826 if test -n "$ac_maketemp"; then
1827 eval ac_cv_prog_make_${ac_make}_set=yes
1828 else
1829 eval ac_cv_prog_make_${ac_make}_set=no
1831 rm -f conftest.make
1833 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1834 echo "$as_me:$LINENO: result: yes" >&5
1835 echo "${ECHO_T}yes" >&6
1836 SET_MAKE=
1837 else
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840 SET_MAKE="MAKE=${MAKE-make}"
1843 rm -rf .tst 2>/dev/null
1844 mkdir .tst 2>/dev/null
1845 if test -d .tst; then
1846 am__leading_dot=.
1847 else
1848 am__leading_dot=_
1850 rmdir .tst 2>/dev/null
1852 # test to see if srcdir already configured
1853 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1854 test -f $srcdir/config.status; then
1855 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1856 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1857 { (exit 1); exit 1; }; }
1860 # test whether we have cygpath
1861 if test -z "$CYGPATH_W"; then
1862 if (cygpath --version) >/dev/null 2>/dev/null; then
1863 CYGPATH_W='cygpath -w'
1864 else
1865 CYGPATH_W=echo
1870 # Define the identity of the package.
1871 PACKAGE='libstdc++'
1872 VERSION='version-unused'
1875 # Some tools Automake needs.
1877 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1880 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1883 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1886 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1889 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1891 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1893 # Installed binaries are usually stripped using `strip' when the user
1894 # run `make install-strip'. However `strip' might not be the right
1895 # tool to use in cross-compilation environments, therefore Automake
1896 # will honor the `STRIP' environment variable to overrule this program.
1897 if test "$cross_compiling" != no; then
1898 if test -n "$ac_tool_prefix"; then
1899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1900 set dummy ${ac_tool_prefix}strip; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_STRIP+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 else
1906 if test -n "$STRIP"; then
1907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1908 else
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 for as_dir in $PATH
1912 IFS=$as_save_IFS
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 break 2
1920 done
1921 done
1925 STRIP=$ac_cv_prog_STRIP
1926 if test -n "$STRIP"; then
1927 echo "$as_me:$LINENO: result: $STRIP" >&5
1928 echo "${ECHO_T}$STRIP" >&6
1929 else
1930 echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1935 if test -z "$ac_cv_prog_STRIP"; then
1936 ac_ct_STRIP=$STRIP
1937 # Extract the first word of "strip", so it can be a program name with args.
1938 set dummy strip; ac_word=$2
1939 echo "$as_me:$LINENO: checking for $ac_word" >&5
1940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1941 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1942 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 else
1944 if test -n "$ac_ct_STRIP"; then
1945 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1946 else
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 for as_dir in $PATH
1950 IFS=$as_save_IFS
1951 test -z "$as_dir" && as_dir=.
1952 for ac_exec_ext in '' $ac_executable_extensions; do
1953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954 ac_cv_prog_ac_ct_STRIP="strip"
1955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 break 2
1958 done
1959 done
1961 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1965 if test -n "$ac_ct_STRIP"; then
1966 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1967 echo "${ECHO_T}$ac_ct_STRIP" >&6
1968 else
1969 echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6
1973 STRIP=$ac_ct_STRIP
1974 else
1975 STRIP="$ac_cv_prog_STRIP"
1979 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1981 # We need awk for the "check" target. The system "awk" is bad on
1982 # some platforms.
1983 # Always define AMTAR for backward compatibility.
1985 AMTAR=${AMTAR-"${am_missing_run}tar"}
1987 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1998 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1999 # up critical shell variables.
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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2007 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2008 # On Suns, sometimes $CPP names a directory.
2009 if test -n "$CPP" && test -d "$CPP"; then
2010 CPP=
2012 if test -z "$CPP"; then
2013 if test "${ac_cv_prog_CPP+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 # Double quotes because CPP needs to be expanded
2017 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2019 ac_preproc_ok=false
2020 for ac_c_preproc_warn_flag in '' yes
2022 # Use a header file that comes with gcc, so configuring glibc
2023 # with a fresh cross-compiler works.
2024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025 # <limits.h> exists even on freestanding compilers.
2026 # On the NeXT, cc -E runs the code through the compiler's parser,
2027 # not just through cpp. "Syntax error" is here to catch this case.
2028 cat >conftest.$ac_ext <<_ACEOF
2029 /* confdefs.h. */
2030 _ACEOF
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2034 #ifdef __STDC__
2035 # include <limits.h>
2036 #else
2037 # include <assert.h>
2038 #endif
2039 Syntax error
2040 _ACEOF
2041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2043 ac_status=$?
2044 grep -v '^ *+' conftest.er1 >conftest.err
2045 rm -f conftest.er1
2046 cat conftest.err >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } >/dev/null; then
2049 if test -s conftest.err; then
2050 ac_cpp_err=$ac_c_preproc_warn_flag
2051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2052 else
2053 ac_cpp_err=
2055 else
2056 ac_cpp_err=yes
2058 if test -z "$ac_cpp_err"; then
2060 else
2061 echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 # Broken: fails on valid input.
2065 continue
2067 rm -f conftest.err conftest.$ac_ext
2069 # OK, works on sane cases. Now check whether non-existent headers
2070 # can be detected and how.
2071 cat >conftest.$ac_ext <<_ACEOF
2072 /* confdefs.h. */
2073 _ACEOF
2074 cat confdefs.h >>conftest.$ac_ext
2075 cat >>conftest.$ac_ext <<_ACEOF
2076 /* end confdefs.h. */
2077 #include <ac_nonexistent.h>
2078 _ACEOF
2079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2081 ac_status=$?
2082 grep -v '^ *+' conftest.er1 >conftest.err
2083 rm -f conftest.er1
2084 cat conftest.err >&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); } >/dev/null; then
2087 if test -s conftest.err; then
2088 ac_cpp_err=$ac_c_preproc_warn_flag
2089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2090 else
2091 ac_cpp_err=
2093 else
2094 ac_cpp_err=yes
2096 if test -z "$ac_cpp_err"; then
2097 # Broken: success on invalid input.
2098 continue
2099 else
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2103 # Passes both tests.
2104 ac_preproc_ok=:
2105 break
2107 rm -f conftest.err conftest.$ac_ext
2109 done
2110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2111 rm -f conftest.err conftest.$ac_ext
2112 if $ac_preproc_ok; then
2113 break
2116 done
2117 ac_cv_prog_CPP=$CPP
2120 CPP=$ac_cv_prog_CPP
2121 else
2122 ac_cv_prog_CPP=$CPP
2124 echo "$as_me:$LINENO: result: $CPP" >&5
2125 echo "${ECHO_T}$CPP" >&6
2126 ac_preproc_ok=false
2127 for ac_c_preproc_warn_flag in '' yes
2129 # Use a header file that comes with gcc, so configuring glibc
2130 # with a fresh cross-compiler works.
2131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2132 # <limits.h> exists even on freestanding compilers.
2133 # On the NeXT, cc -E runs the code through the compiler's parser,
2134 # not just through cpp. "Syntax error" is here to catch this case.
2135 cat >conftest.$ac_ext <<_ACEOF
2136 /* confdefs.h. */
2137 _ACEOF
2138 cat confdefs.h >>conftest.$ac_ext
2139 cat >>conftest.$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2141 #ifdef __STDC__
2142 # include <limits.h>
2143 #else
2144 # include <assert.h>
2145 #endif
2146 Syntax error
2147 _ACEOF
2148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2150 ac_status=$?
2151 grep -v '^ *+' conftest.er1 >conftest.err
2152 rm -f conftest.er1
2153 cat conftest.err >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } >/dev/null; then
2156 if test -s conftest.err; then
2157 ac_cpp_err=$ac_c_preproc_warn_flag
2158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2159 else
2160 ac_cpp_err=
2162 else
2163 ac_cpp_err=yes
2165 if test -z "$ac_cpp_err"; then
2167 else
2168 echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2171 # Broken: fails on valid input.
2172 continue
2174 rm -f conftest.err conftest.$ac_ext
2176 # OK, works on sane cases. Now check whether non-existent headers
2177 # can be detected and how.
2178 cat >conftest.$ac_ext <<_ACEOF
2179 /* confdefs.h. */
2180 _ACEOF
2181 cat confdefs.h >>conftest.$ac_ext
2182 cat >>conftest.$ac_ext <<_ACEOF
2183 /* end confdefs.h. */
2184 #include <ac_nonexistent.h>
2185 _ACEOF
2186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2188 ac_status=$?
2189 grep -v '^ *+' conftest.er1 >conftest.err
2190 rm -f conftest.er1
2191 cat conftest.err >&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); } >/dev/null; then
2194 if test -s conftest.err; then
2195 ac_cpp_err=$ac_c_preproc_warn_flag
2196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2197 else
2198 ac_cpp_err=
2200 else
2201 ac_cpp_err=yes
2203 if test -z "$ac_cpp_err"; then
2204 # Broken: success on invalid input.
2205 continue
2206 else
2207 echo "$as_me: failed program was:" >&5
2208 sed 's/^/| /' conftest.$ac_ext >&5
2210 # Passes both tests.
2211 ac_preproc_ok=:
2212 break
2214 rm -f conftest.err conftest.$ac_ext
2216 done
2217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2218 rm -f conftest.err conftest.$ac_ext
2219 if $ac_preproc_ok; then
2221 else
2222 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2223 See \`config.log' for more details." >&5
2224 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2225 See \`config.log' for more details." >&2;}
2226 { (exit 1); exit 1; }; }
2229 ac_ext=c
2230 ac_cpp='$CPP $CPPFLAGS'
2231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2236 echo "$as_me:$LINENO: checking for egrep" >&5
2237 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2238 if test "${ac_cv_prog_egrep+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2242 then ac_cv_prog_egrep='grep -E'
2243 else ac_cv_prog_egrep='egrep'
2246 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2247 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2248 EGREP=$ac_cv_prog_egrep
2252 # Keep these sync'd with the list in Makefile.am. The first provides an
2253 # expandable list at autoconf time; the second provides an expandable list
2254 # (i.e., shell variable) at configure time.
2256 SUBDIRS='include libmath libsupc++ src po testsuite'
2258 # These need to be absolute paths, yet at the same time need to
2259 # canonicalize only relative paths, because then amd will not unmount
2260 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2261 glibcxx_builddir=`${PWDCMD-pwd}`
2262 case $srcdir in
2263 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2264 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2265 esac
2266 toplevel_srcdir=${glibcxx_srcdir}/..
2271 # We use these options to decide which functions to include. They are
2272 # set from the top level.
2274 # Check whether --with-target-subdir or --without-target-subdir was given.
2275 if test "${with_target_subdir+set}" = set; then
2276 withval="$with_target_subdir"
2281 # Check whether --with-cross-host or --without-cross-host was given.
2282 if test "${with_cross_host+set}" = set; then
2283 withval="$with_cross_host"
2288 # Check whether --with-newlib or --without-newlib was given.
2289 if test "${with_newlib+set}" = set; then
2290 withval="$with_newlib"
2294 # We're almost certainly being configured before anything else which uses
2295 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2296 # we not cache the value of CXX that we "discover" here, because it's set
2297 # to something unique for us and libjava. Other target libraries need to
2298 # find CXX for themselves. We yank the rug out from under the normal AC_*
2299 # process by sneakily renaming the cache variable. This also lets us debug
2300 # the value of "our" CXX in postmortems.
2302 # We must also force CXX to /not/ be a precious variable, otherwise the
2303 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2304 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2305 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2306 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2308 # -fno-builtin must be present here so that a non-conflicting form of
2309 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2314 save_CXXFLAGS="$CXXFLAGS"
2315 CXXFLAGS="$CXXFLAGS -fno-builtin"
2316 ac_ext=c
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2335 IFS=$as_save_IFS
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 break 2
2343 done
2344 done
2348 CC=$ac_cv_prog_CC
2349 if test -n "$CC"; then
2350 echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2352 else
2353 echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2358 if test -z "$ac_cv_prog_CC"; then
2359 ac_ct_CC=$CC
2360 # Extract the first word of "gcc", so it can be a program name with args.
2361 set dummy gcc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367 if test -n "$ac_ct_CC"; then
2368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2373 IFS=$as_save_IFS
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377 ac_cv_prog_ac_ct_CC="gcc"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 break 2
2381 done
2382 done
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391 echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2395 CC=$ac_ct_CC
2396 else
2397 CC="$ac_cv_prog_CC"
2400 if test -z "$CC"; then
2401 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2403 set dummy ${ac_tool_prefix}cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH
2415 IFS=$as_save_IFS
2416 test -z "$as_dir" && as_dir=.
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_CC="${ac_tool_prefix}cc"
2420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 break 2
2423 done
2424 done
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430 echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2432 else
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2438 if test -z "$ac_cv_prog_CC"; then
2439 ac_ct_CC=$CC
2440 # Extract the first word of "cc", so it can be a program name with args.
2441 set dummy cc; ac_word=$2
2442 echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 else
2447 if test -n "$ac_ct_CC"; then
2448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449 else
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_ac_ct_CC="cc"
2458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2461 done
2462 done
2466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2467 if test -n "$ac_ct_CC"; then
2468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2469 echo "${ECHO_T}$ac_ct_CC" >&6
2470 else
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2475 CC=$ac_ct_CC
2476 else
2477 CC="$ac_cv_prog_CC"
2481 if test -z "$CC"; then
2482 # Extract the first word of "cc", so it can be a program name with args.
2483 set dummy cc; ac_word=$2
2484 echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2491 else
2492 ac_prog_rejected=no
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2501 ac_prog_rejected=yes
2502 continue
2504 ac_cv_prog_CC="cc"
2505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 break 2
2508 done
2509 done
2511 if test $ac_prog_rejected = yes; then
2512 # We found a bogon in the path, so make sure we never use it.
2513 set dummy $ac_cv_prog_CC
2514 shift
2515 if test $# != 0; then
2516 # We chose a different compiler from the bogus one.
2517 # However, it has the same basename, so the bogon will be chosen
2518 # first if we set CC to just the basename; use the full file name.
2519 shift
2520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2525 CC=$ac_cv_prog_CC
2526 if test -n "$CC"; then
2527 echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6
2529 else
2530 echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6
2535 if test -z "$CC"; then
2536 if test -n "$ac_tool_prefix"; then
2537 for ac_prog in cl
2539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2541 echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543 if test "${ac_cv_prog_CC+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 else
2546 if test -n "$CC"; then
2547 ac_cv_prog_CC="$CC" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2552 IFS=$as_save_IFS
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 break 2
2560 done
2561 done
2565 CC=$ac_cv_prog_CC
2566 if test -n "$CC"; then
2567 echo "$as_me:$LINENO: result: $CC" >&5
2568 echo "${ECHO_T}$CC" >&6
2569 else
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2574 test -n "$CC" && break
2575 done
2577 if test -z "$CC"; then
2578 ac_ct_CC=$CC
2579 for ac_prog in cl
2581 # Extract the first word of "$ac_prog", so it can be a program name with args.
2582 set dummy $ac_prog; ac_word=$2
2583 echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 else
2588 if test -n "$ac_ct_CC"; then
2589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2590 else
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH
2594 IFS=$as_save_IFS
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2598 ac_cv_prog_ac_ct_CC="$ac_prog"
2599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 break 2
2602 done
2603 done
2607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2608 if test -n "$ac_ct_CC"; then
2609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2610 echo "${ECHO_T}$ac_ct_CC" >&6
2611 else
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2616 test -n "$ac_ct_CC" && break
2617 done
2619 CC=$ac_ct_CC
2625 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2626 See \`config.log' for more details." >&5
2627 echo "$as_me: error: no acceptable C compiler found in \$PATH
2628 See \`config.log' for more details." >&2;}
2629 { (exit 1); exit 1; }; }
2631 # Provide some information about the compiler.
2632 echo "$as_me:$LINENO:" \
2633 "checking for C compiler version" >&5
2634 ac_compiler=`set X $ac_compile; echo $2`
2635 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2636 (eval $ac_compiler --version </dev/null >&5) 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2641 (eval $ac_compiler -v </dev/null >&5) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }
2645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2646 (eval $ac_compiler -V </dev/null >&5) 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }
2651 cat >conftest.$ac_ext <<_ACEOF
2652 /* confdefs.h. */
2653 _ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2659 main ()
2663 return 0;
2665 _ACEOF
2666 # FIXME: Cleanup?
2667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2668 (eval $ac_link) 2>&5
2669 ac_status=$?
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; then
2672 gcc_no_link=no
2673 else
2674 gcc_no_link=yes
2677 if test x$gcc_no_link = xyes; then
2678 # Setting cross_compile will disable run tests; it will
2679 # also disable AC_CHECK_FILE but that's generally
2680 # correct if we can't link.
2681 cross_compiling=yes
2682 EXEEXT=
2683 else
2684 cat >conftest.$ac_ext <<_ACEOF
2685 /* confdefs.h. */
2686 _ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2692 main ()
2696 return 0;
2698 _ACEOF
2699 ac_clean_files_save=$ac_clean_files
2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2701 # Try to create an executable without -o first, disregard a.out.
2702 # It will help us diagnose broken compilers, and finding out an intuition
2703 # of exeext.
2704 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2706 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2707 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2708 (eval $ac_link_default) 2>&5
2709 ac_status=$?
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; then
2712 # Find the output, starting from the most likely. This scheme is
2713 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2714 # resort.
2716 # Be careful to initialize this variable, since it used to be cached.
2717 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2718 ac_cv_exeext=
2719 # b.out is created by i960 compilers.
2720 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2722 test -f "$ac_file" || continue
2723 case $ac_file in
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2726 conftest.$ac_ext )
2727 # This is the source file.
2729 [ab].out )
2730 # We found the default executable, but exeext='' is most
2731 # certainly right.
2732 break;;
2733 *.* )
2734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735 # FIXME: I believe we export ac_cv_exeext for Libtool,
2736 # but it would be cool to find out if it's true. Does anybody
2737 # maintain Libtool? --akim.
2738 export ac_cv_exeext
2739 break;;
2741 break;;
2742 esac
2743 done
2744 else
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2749 See \`config.log' for more details." >&5
2750 echo "$as_me: error: C compiler cannot create executables
2751 See \`config.log' for more details." >&2;}
2752 { (exit 77); exit 77; }; }
2755 ac_exeext=$ac_cv_exeext
2756 echo "$as_me:$LINENO: result: $ac_file" >&5
2757 echo "${ECHO_T}$ac_file" >&6
2759 # Check the compiler produces executables we can run. If not, either
2760 # the compiler is broken, or we cross compile.
2761 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2762 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2763 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2764 # If not cross compiling, check that we can run a simple program.
2765 if test "$cross_compiling" != yes; then
2766 if { ac_try='./$ac_file'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 (eval $ac_try) 2>&5
2769 ac_status=$?
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2772 cross_compiling=no
2773 else
2774 if test "$cross_compiling" = maybe; then
2775 cross_compiling=yes
2776 else
2777 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: cannot run C compiled programs.
2781 If you meant to cross compile, use \`--host'.
2782 See \`config.log' for more details." >&2;}
2783 { (exit 1); exit 1; }; }
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2790 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2791 ac_clean_files=$ac_clean_files_save
2792 # Check the compiler produces executables we can run. If not, either
2793 # the compiler is broken, or we cross compile.
2794 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2795 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2796 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2797 echo "${ECHO_T}$cross_compiling" >&6
2799 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2800 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2802 (eval $ac_link) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; then
2806 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2807 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2808 # work properly (i.e., refer to `conftest.exe'), while it won't with
2809 # `rm'.
2810 for ac_file in conftest.exe conftest conftest.*; do
2811 test -f "$ac_file" || continue
2812 case $ac_file in
2813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2814 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2815 export ac_cv_exeext
2816 break;;
2817 * ) break;;
2818 esac
2819 done
2820 else
2821 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." >&5
2823 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2824 See \`config.log' for more details." >&2;}
2825 { (exit 1); exit 1; }; }
2828 rm -f conftest$ac_cv_exeext
2829 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2830 echo "${ECHO_T}$ac_cv_exeext" >&6
2832 rm -f conftest.$ac_ext
2833 EXEEXT=$ac_cv_exeext
2834 ac_exeext=$EXEEXT
2836 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2837 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2838 if test "${ac_cv_objext+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 cat >conftest.$ac_ext <<_ACEOF
2842 /* confdefs.h. */
2843 _ACEOF
2844 cat confdefs.h >>conftest.$ac_ext
2845 cat >>conftest.$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2849 main ()
2853 return 0;
2855 _ACEOF
2856 rm -f conftest.o conftest.obj
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>&5
2859 ac_status=$?
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; then
2862 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2863 case $ac_file in
2864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2866 break;;
2867 esac
2868 done
2869 else
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2874 See \`config.log' for more details." >&5
2875 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2876 See \`config.log' for more details." >&2;}
2877 { (exit 1); exit 1; }; }
2880 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2882 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2883 echo "${ECHO_T}$ac_cv_objext" >&6
2884 OBJEXT=$ac_cv_objext
2885 ac_objext=$OBJEXT
2886 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2887 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2888 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 else
2891 cat >conftest.$ac_ext <<_ACEOF
2892 /* confdefs.h. */
2893 _ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2899 main ()
2901 #ifndef __GNUC__
2902 choke me
2903 #endif
2906 return 0;
2908 _ACEOF
2909 rm -f conftest.$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911 (eval $ac_compile) 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try='test -z "$ac_c_werror_flag"
2919 || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 (eval $ac_try) 2>&5
2922 ac_status=$?
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 (eval $ac_try) 2>&5
2928 ac_status=$?
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 ac_compiler_gnu=yes
2932 else
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_compiler_gnu=no
2938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2942 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2943 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2944 GCC=`test $ac_compiler_gnu = yes && echo yes`
2945 ac_test_CFLAGS=${CFLAGS+set}
2946 ac_save_CFLAGS=$CFLAGS
2947 CFLAGS="-g"
2948 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2950 if test "${ac_cv_prog_cc_g+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 else
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2961 main ()
2965 return 0;
2967 _ACEOF
2968 rm -f conftest.$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>conftest.er1
2971 ac_status=$?
2972 grep -v '^ *+' conftest.er1 >conftest.err
2973 rm -f conftest.er1
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try='test -z "$ac_c_werror_flag"
2978 || test ! -s conftest.err'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 (eval $ac_try) 2>&5
2981 ac_status=$?
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; } &&
2984 { ac_try='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 (eval $ac_try) 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_prog_cc_g=yes
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_cv_prog_cc_g=no
2997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3001 if test "$ac_test_CFLAGS" = set; then
3002 CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004 if test "$GCC" = yes; then
3005 CFLAGS="-g -O2"
3006 else
3007 CFLAGS="-g"
3009 else
3010 if test "$GCC" = yes; then
3011 CFLAGS="-O2"
3012 else
3013 CFLAGS=
3016 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3017 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3018 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 ac_cv_prog_cc_stdc=no
3022 ac_save_CC=$CC
3023 cat >conftest.$ac_ext <<_ACEOF
3024 /* confdefs.h. */
3025 _ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3029 #include <stdarg.h>
3030 #include <stdio.h>
3031 #include <sys/types.h>
3032 #include <sys/stat.h>
3033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3034 struct buf { int x; };
3035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3036 static char *e (p, i)
3037 char **p;
3038 int i;
3040 return p[i];
3042 static char *f (char * (*g) (char **, int), char **p, ...)
3044 char *s;
3045 va_list v;
3046 va_start (v,p);
3047 s = g (p, va_arg (v,int));
3048 va_end (v);
3049 return s;
3052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3053 function prototypes and stuff, but not '\xHH' hex character constants.
3054 These don't provoke an error unfortunately, instead are silently treated
3055 as 'x'. The following induces an error, until -std1 is added to get
3056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3057 array size at least. It's necessary to write '\x00'==0 to get something
3058 that's true only with -std1. */
3059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3061 int test (int i, double x);
3062 struct s1 {int (*f) (int a);};
3063 struct s2 {int (*f) (double a);};
3064 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3065 int argc;
3066 char **argv;
3068 main ()
3070 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3072 return 0;
3074 _ACEOF
3075 # Don't try gcc -ansi; that turns off useful extensions and
3076 # breaks some systems' header files.
3077 # AIX -qlanglvl=ansi
3078 # Ultrix and OSF/1 -std1
3079 # HP-UX 10.20 and later -Ae
3080 # HP-UX older versions -Aa -D_HPUX_SOURCE
3081 # SVR4 -Xc -D__EXTENSIONS__
3082 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3084 CC="$ac_save_CC $ac_arg"
3085 rm -f conftest.$ac_objext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3087 (eval $ac_compile) 2>conftest.er1
3088 ac_status=$?
3089 grep -v '^ *+' conftest.er1 >conftest.err
3090 rm -f conftest.er1
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -z "$ac_c_werror_flag"
3095 || test ! -s conftest.err'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 (eval $ac_try) 2>&5
3098 ac_status=$?
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; } &&
3101 { ac_try='test -s conftest.$ac_objext'
3102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 (eval $ac_try) 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; }; then
3107 ac_cv_prog_cc_stdc=$ac_arg
3108 break
3109 else
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3114 rm -f conftest.err conftest.$ac_objext
3115 done
3116 rm -f conftest.$ac_ext conftest.$ac_objext
3117 CC=$ac_save_CC
3121 case "x$ac_cv_prog_cc_stdc" in
3122 x|xno)
3123 echo "$as_me:$LINENO: result: none needed" >&5
3124 echo "${ECHO_T}none needed" >&6 ;;
3126 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3127 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3128 CC="$CC $ac_cv_prog_cc_stdc" ;;
3129 esac
3131 # Some people use a C++ compiler to compile C. Since we use `exit',
3132 # in C++ we need to declare it. In case someone uses the same compiler
3133 # for both compiling C and C++ we need to have the C++ compiler decide
3134 # the declaration of exit, since it's the most demanding environment.
3135 cat >conftest.$ac_ext <<_ACEOF
3136 #ifndef __cplusplus
3137 choke me
3138 #endif
3139 _ACEOF
3140 rm -f conftest.$ac_objext
3141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3142 (eval $ac_compile) 2>conftest.er1
3143 ac_status=$?
3144 grep -v '^ *+' conftest.er1 >conftest.err
3145 rm -f conftest.er1
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } &&
3149 { ac_try='test -z "$ac_c_werror_flag"
3150 || test ! -s conftest.err'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; } &&
3156 { ac_try='test -s conftest.$ac_objext'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 (eval $ac_try) 2>&5
3159 ac_status=$?
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3162 for ac_declaration in \
3163 '' \
3164 'extern "C" void std::exit (int) throw (); using std::exit;' \
3165 'extern "C" void std::exit (int); using std::exit;' \
3166 'extern "C" void exit (int) throw ();' \
3167 'extern "C" void exit (int);' \
3168 'void exit (int);'
3170 cat >conftest.$ac_ext <<_ACEOF
3171 /* confdefs.h. */
3172 _ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 $ac_declaration
3177 #include <stdlib.h>
3179 main ()
3181 exit (42);
3183 return 0;
3185 _ACEOF
3186 rm -f conftest.$ac_objext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>conftest.er1
3189 ac_status=$?
3190 grep -v '^ *+' conftest.er1 >conftest.err
3191 rm -f conftest.er1
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 (eval $ac_try) 2>&5
3199 ac_status=$?
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 (eval $ac_try) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3209 else
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3213 continue
3215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3216 cat >conftest.$ac_ext <<_ACEOF
3217 /* confdefs.h. */
3218 _ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3222 $ac_declaration
3224 main ()
3226 exit (42);
3228 return 0;
3230 _ACEOF
3231 rm -f conftest.$ac_objext
3232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3233 (eval $ac_compile) 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } &&
3240 { ac_try='test -z "$ac_c_werror_flag"
3241 || test ! -s conftest.err'
3242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 (eval $ac_try) 2>&5
3244 ac_status=$?
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; } &&
3247 { ac_try='test -s conftest.$ac_objext'
3248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 (eval $ac_try) 2>&5
3250 ac_status=$?
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; }; then
3253 break
3254 else
3255 echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260 done
3261 rm -f conftest*
3262 if test -n "$ac_declaration"; then
3263 echo '#ifdef __cplusplus' >>confdefs.h
3264 echo $ac_declaration >>confdefs.h
3265 echo '#endif' >>confdefs.h
3268 else
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_ext=c
3275 ac_cpp='$CPP $CPPFLAGS'
3276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3280 ac_ext=cc
3281 ac_cpp='$CXXCPP $CPPFLAGS'
3282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3285 if test -n "$ac_tool_prefix"; then
3286 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290 echo "$as_me:$LINENO: checking for $ac_word" >&5
3291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3292 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 else
3295 if test -n "$CXX"; then
3296 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3301 IFS=$as_save_IFS
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 break 2
3309 done
3310 done
3314 CXX=$glibcxx_cv_prog_CXX
3315 if test -n "$CXX"; then
3316 echo "$as_me:$LINENO: result: $CXX" >&5
3317 echo "${ECHO_T}$CXX" >&6
3318 else
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3323 test -n "$CXX" && break
3324 done
3326 if test -z "$CXX"; then
3327 ac_ct_CXX=$CXX
3328 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3330 # Extract the first word of "$ac_prog", so it can be a program name with args.
3331 set dummy $ac_prog; ac_word=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337 if test -n "$ac_ct_CXX"; then
3338 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3339 else
3340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 for as_dir in $PATH
3343 IFS=$as_save_IFS
3344 test -z "$as_dir" && as_dir=.
3345 for ac_exec_ext in '' $ac_executable_extensions; do
3346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347 ac_cv_prog_ac_ct_CXX="$ac_prog"
3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 break 2
3351 done
3352 done
3356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3357 if test -n "$ac_ct_CXX"; then
3358 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3359 echo "${ECHO_T}$ac_ct_CXX" >&6
3360 else
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3365 test -n "$ac_ct_CXX" && break
3366 done
3367 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3369 CXX=$ac_ct_CXX
3373 # Provide some information about the compiler.
3374 echo "$as_me:$LINENO:" \
3375 "checking for C++ compiler version" >&5
3376 ac_compiler=`set X $ac_compile; echo $2`
3377 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3378 (eval $ac_compiler --version </dev/null >&5) 2>&5
3379 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }
3382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3383 (eval $ac_compiler -v </dev/null >&5) 2>&5
3384 ac_status=$?
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }
3387 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3388 (eval $ac_compiler -V </dev/null >&5) 2>&5
3389 ac_status=$?
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }
3393 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3394 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3395 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 else
3398 cat >conftest.$ac_ext <<_ACEOF
3399 /* confdefs.h. */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3406 main ()
3408 #ifndef __GNUC__
3409 choke me
3410 #endif
3413 return 0;
3415 _ACEOF
3416 rm -f conftest.$ac_objext
3417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3418 (eval $ac_compile) 2>conftest.er1
3419 ac_status=$?
3420 grep -v '^ *+' conftest.er1 >conftest.err
3421 rm -f conftest.er1
3422 cat conftest.err >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } &&
3425 { ac_try='test -z "$ac_cxx_werror_flag"
3426 || test ! -s conftest.err'
3427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 (eval $ac_try) 2>&5
3429 ac_status=$?
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; } &&
3432 { ac_try='test -s conftest.$ac_objext'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434 (eval $ac_try) 2>&5
3435 ac_status=$?
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; }; then
3438 ac_compiler_gnu=yes
3439 else
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 ac_compiler_gnu=no
3445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3449 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3450 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3451 GXX=`test $ac_compiler_gnu = yes && echo yes`
3452 ac_test_CXXFLAGS=${CXXFLAGS+set}
3453 ac_save_CXXFLAGS=$CXXFLAGS
3454 CXXFLAGS="-g"
3455 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3456 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3457 if test "${ac_cv_prog_cxx_g+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 else
3460 cat >conftest.$ac_ext <<_ACEOF
3461 /* confdefs.h. */
3462 _ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3468 main ()
3472 return 0;
3474 _ACEOF
3475 rm -f conftest.$ac_objext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3477 (eval $ac_compile) 2>conftest.er1
3478 ac_status=$?
3479 grep -v '^ *+' conftest.er1 >conftest.err
3480 rm -f conftest.er1
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try='test -z "$ac_cxx_werror_flag"
3485 || test ! -s conftest.err'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 (eval $ac_try) 2>&5
3488 ac_status=$?
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; } &&
3491 { ac_try='test -s conftest.$ac_objext'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 (eval $ac_try) 2>&5
3494 ac_status=$?
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; }; then
3497 ac_cv_prog_cxx_g=yes
3498 else
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3502 ac_cv_prog_cxx_g=no
3504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3506 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3507 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3508 if test "$ac_test_CXXFLAGS" = set; then
3509 CXXFLAGS=$ac_save_CXXFLAGS
3510 elif test $ac_cv_prog_cxx_g = yes; then
3511 if test "$GXX" = yes; then
3512 CXXFLAGS="-g -O2"
3513 else
3514 CXXFLAGS="-g"
3516 else
3517 if test "$GXX" = yes; then
3518 CXXFLAGS="-O2"
3519 else
3520 CXXFLAGS=
3523 for ac_declaration in \
3524 '' \
3525 'extern "C" void std::exit (int) throw (); using std::exit;' \
3526 'extern "C" void std::exit (int); using std::exit;' \
3527 'extern "C" void exit (int) throw ();' \
3528 'extern "C" void exit (int);' \
3529 'void exit (int);'
3531 cat >conftest.$ac_ext <<_ACEOF
3532 /* confdefs.h. */
3533 _ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3537 $ac_declaration
3538 #include <stdlib.h>
3540 main ()
3542 exit (42);
3544 return 0;
3546 _ACEOF
3547 rm -f conftest.$ac_objext
3548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3549 (eval $ac_compile) 2>conftest.er1
3550 ac_status=$?
3551 grep -v '^ *+' conftest.er1 >conftest.err
3552 rm -f conftest.er1
3553 cat conftest.err >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } &&
3556 { ac_try='test -z "$ac_cxx_werror_flag"
3557 || test ! -s conftest.err'
3558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 (eval $ac_try) 2>&5
3560 ac_status=$?
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }; } &&
3563 { ac_try='test -s conftest.$ac_objext'
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 (eval $ac_try) 2>&5
3566 ac_status=$?
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; }; then
3570 else
3571 echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.$ac_ext >&5
3574 continue
3576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3577 cat >conftest.$ac_ext <<_ACEOF
3578 /* confdefs.h. */
3579 _ACEOF
3580 cat confdefs.h >>conftest.$ac_ext
3581 cat >>conftest.$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3583 $ac_declaration
3585 main ()
3587 exit (42);
3589 return 0;
3591 _ACEOF
3592 rm -f conftest.$ac_objext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594 (eval $ac_compile) 2>conftest.er1
3595 ac_status=$?
3596 grep -v '^ *+' conftest.er1 >conftest.err
3597 rm -f conftest.er1
3598 cat conftest.err >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try='test -z "$ac_cxx_werror_flag"
3602 || test ! -s conftest.err'
3603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 (eval $ac_try) 2>&5
3605 ac_status=$?
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; } &&
3608 { ac_try='test -s conftest.$ac_objext'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 (eval $ac_try) 2>&5
3611 ac_status=$?
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; }; then
3614 break
3615 else
3616 echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3621 done
3622 rm -f conftest*
3623 if test -n "$ac_declaration"; then
3624 echo '#ifdef __cplusplus' >>confdefs.h
3625 echo $ac_declaration >>confdefs.h
3626 echo '#endif' >>confdefs.h
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 CXXFLAGS="$save_CXXFLAGS"
3640 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3641 # available). Uncomment the next line to force a particular method.
3642 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3644 LN_S=$as_ln_s
3645 if test "$LN_S" = "ln -s"; then
3646 echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3648 else
3649 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3650 echo "${ECHO_T}no, using $LN_S" >&6
3653 #LN_S='cp -p'
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3657 set dummy ${ac_tool_prefix}as; ac_word=$2
3658 echo "$as_me:$LINENO: checking for $ac_word" >&5
3659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3660 if test "${ac_cv_prog_AS+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 else
3663 if test -n "$AS"; then
3664 ac_cv_prog_AS="$AS" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_AS="${ac_tool_prefix}as"
3674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3677 done
3678 done
3682 AS=$ac_cv_prog_AS
3683 if test -n "$AS"; then
3684 echo "$as_me:$LINENO: result: $AS" >&5
3685 echo "${ECHO_T}$AS" >&6
3686 else
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3692 if test -z "$ac_cv_prog_AS"; then
3693 ac_ct_AS=$AS
3694 # Extract the first word of "as", so it can be a program name with args.
3695 set dummy as; ac_word=$2
3696 echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3698 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 if test -n "$ac_ct_AS"; then
3702 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3703 else
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_ac_ct_AS="as"
3712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3715 done
3716 done
3720 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3721 if test -n "$ac_ct_AS"; then
3722 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3723 echo "${ECHO_T}$ac_ct_AS" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3729 AS=$ac_ct_AS
3730 else
3731 AS="$ac_cv_prog_AS"
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}ar; ac_word=$2
3737 echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3739 if test "${ac_cv_prog_AR+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 else
3742 if test -n "$AR"; then
3743 ac_cv_prog_AR="$AR" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_AR="${ac_tool_prefix}ar"
3753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3761 AR=$ac_cv_prog_AR
3762 if test -n "$AR"; then
3763 echo "$as_me:$LINENO: result: $AR" >&5
3764 echo "${ECHO_T}$AR" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3771 if test -z "$ac_cv_prog_AR"; then
3772 ac_ct_AR=$AR
3773 # Extract the first word of "ar", so it can be a program name with args.
3774 set dummy ar; ac_word=$2
3775 echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3777 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 else
3780 if test -n "$ac_ct_AR"; then
3781 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3782 else
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3786 IFS=$as_save_IFS
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 ac_cv_prog_ac_ct_AR="ar"
3791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3799 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3800 if test -n "$ac_ct_AR"; then
3801 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3802 echo "${ECHO_T}$ac_ct_AR" >&6
3803 else
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3808 AR=$ac_ct_AR
3809 else
3810 AR="$ac_cv_prog_AR"
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3816 echo "$as_me:$LINENO: checking for $ac_word" >&5
3817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3818 if test "${ac_cv_prog_RANLIB+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 else
3821 if test -n "$RANLIB"; then
3822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3827 IFS=$as_save_IFS
3828 test -z "$as_dir" && as_dir=.
3829 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 break 2
3835 done
3836 done
3840 RANLIB=$ac_cv_prog_RANLIB
3841 if test -n "$RANLIB"; then
3842 echo "$as_me:$LINENO: result: $RANLIB" >&5
3843 echo "${ECHO_T}$RANLIB" >&6
3844 else
3845 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3850 if test -z "$ac_cv_prog_RANLIB"; then
3851 ac_ct_RANLIB=$RANLIB
3852 # Extract the first word of "ranlib", so it can be a program name with args.
3853 set dummy ranlib; ac_word=$2
3854 echo "$as_me:$LINENO: checking for $ac_word" >&5
3855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3856 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859 if test -n "$ac_ct_RANLIB"; then
3860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3865 IFS=$as_save_IFS
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_RANLIB="ranlib"
3870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 break 2
3873 done
3874 done
3876 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3880 if test -n "$ac_ct_RANLIB"; then
3881 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3882 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3883 else
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3888 RANLIB=$ac_ct_RANLIB
3889 else
3890 RANLIB="$ac_cv_prog_RANLIB"
3894 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3895 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3896 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3897 if test "${enable_maintainer_mode+set}" = set; then
3898 enableval="$enable_maintainer_mode"
3899 USE_MAINTAINER_MODE=$enableval
3900 else
3901 USE_MAINTAINER_MODE=no
3903 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3904 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3907 if test $USE_MAINTAINER_MODE = yes; then
3908 MAINTAINER_MODE_TRUE=
3909 MAINTAINER_MODE_FALSE='#'
3910 else
3911 MAINTAINER_MODE_TRUE='#'
3912 MAINTAINER_MODE_FALSE=
3915 MAINT=$MAINTAINER_MODE_TRUE
3919 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3920 # which are themselves conditionally expanded.
3921 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3922 ## other macros from doing the same. This should be automated.) -pme
3923 need_libmath=no
3925 # Check for uClibc since Linux platforms use different configuration
3926 # directories depending on the C library in use.
3927 cat >conftest.$ac_ext <<_ACEOF
3928 /* confdefs.h. */
3929 _ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3934 #include <stdio.h>
3935 #if __UCLIBC__
3936 _using_uclibc
3937 #endif
3939 _ACEOF
3940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3942 uclibc=yes
3943 else
3944 uclibc=no
3946 rm -f conftest*
3949 # Find platform-specific directories containing configuration info.
3950 # Also possibly modify flags used elsewhere, as needed by the platform.
3952 . $glibcxx_srcdir/configure.host
3953 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3954 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3955 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3956 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3961 # Check whether --enable-shared or --disable-shared was given.
3962 if test "${enable_shared+set}" = set; then
3963 enableval="$enable_shared"
3964 p=${PACKAGE-default}
3965 case $enableval in
3966 yes) enable_shared=yes ;;
3967 no) enable_shared=no ;;
3969 enable_shared=no
3970 # Look at the argument we got. We use all the common list separators.
3971 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3972 for pkg in $enableval; do
3973 if test "X$pkg" = "X$p"; then
3974 enable_shared=yes
3976 done
3977 IFS="$ac_save_ifs"
3979 esac
3980 else
3981 enable_shared=yes
3983 # Check whether --enable-static or --disable-static was given.
3984 if test "${enable_static+set}" = set; then
3985 enableval="$enable_static"
3986 p=${PACKAGE-default}
3987 case $enableval in
3988 yes) enable_static=yes ;;
3989 no) enable_static=no ;;
3991 enable_static=no
3992 # Look at the argument we got. We use all the common list separators.
3993 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3994 for pkg in $enableval; do
3995 if test "X$pkg" = "X$p"; then
3996 enable_static=yes
3998 done
3999 IFS="$ac_save_ifs"
4001 esac
4002 else
4003 enable_static=yes
4005 # Check whether --enable-fast-install or --disable-fast-install was given.
4006 if test "${enable_fast_install+set}" = set; then
4007 enableval="$enable_fast_install"
4008 p=${PACKAGE-default}
4009 case $enableval in
4010 yes) enable_fast_install=yes ;;
4011 no) enable_fast_install=no ;;
4013 enable_fast_install=no
4014 # Look at the argument we got. We use all the common list separators.
4015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4016 for pkg in $enableval; do
4017 if test "X$pkg" = "X$p"; then
4018 enable_fast_install=yes
4020 done
4021 IFS="$ac_save_ifs"
4023 esac
4024 else
4025 enable_fast_install=yes
4028 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4029 if test "${with_gnu_ld+set}" = set; then
4030 withval="$with_gnu_ld"
4031 test "$withval" = no || with_gnu_ld=yes
4032 else
4033 with_gnu_ld=no
4035 ac_prog=ld
4036 if test "$GCC" = yes; then
4037 # Check if gcc -print-prog-name=ld gives a path.
4038 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4039 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4040 case $host in
4041 *-*-mingw*)
4042 # gcc leaves a trailing carriage return which upsets mingw
4043 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4045 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4046 esac
4047 case $ac_prog in
4048 # Accept absolute paths.
4049 [\\/]* | [A-Za-z]:[\\/]*)
4050 re_direlt='/[^/][^/]*/\.\./'
4051 # Canonicalize the path of ld
4052 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4053 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4054 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4055 done
4056 test -z "$LD" && LD="$ac_prog"
4059 # If it fails, then pretend we aren't using GCC.
4060 ac_prog=ld
4063 # If it is relative, then search for the first ld in PATH.
4064 with_gnu_ld=unknown
4066 esac
4067 elif test "$with_gnu_ld" = yes; then
4068 echo "$as_me:$LINENO: checking for GNU ld" >&5
4069 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4070 else
4071 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4072 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4074 if test "${lt_cv_path_LD+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 else
4077 if test -z "$LD"; then
4078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4079 for ac_dir in $PATH; do
4080 test -z "$ac_dir" && ac_dir=.
4081 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4082 lt_cv_path_LD="$ac_dir/$ac_prog"
4083 # Check to see if the program is GNU ld. I'd rather use --version,
4084 # but apparently some GNU ld's only accept -v.
4085 # Break only if it was the GNU/non-GNU ld that we prefer.
4086 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4087 test "$with_gnu_ld" != no && break
4088 else
4089 test "$with_gnu_ld" != yes && break
4092 done
4093 IFS="$ac_save_ifs"
4094 else
4095 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4099 LD="$lt_cv_path_LD"
4100 if test -n "$LD"; then
4101 echo "$as_me:$LINENO: result: $LD" >&5
4102 echo "${ECHO_T}$LD" >&6
4103 else
4104 echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4107 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4108 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4109 { (exit 1); exit 1; }; }
4110 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4111 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4112 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 else
4115 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4116 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4117 lt_cv_prog_gnu_ld=yes
4118 else
4119 lt_cv_prog_gnu_ld=no
4122 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4123 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4124 with_gnu_ld=$lt_cv_prog_gnu_ld
4127 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4128 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4129 if test "${lt_cv_ld_reload_flag+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 else
4132 lt_cv_ld_reload_flag='-r'
4134 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4135 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4136 reload_flag=$lt_cv_ld_reload_flag
4137 test -n "$reload_flag" && reload_flag=" $reload_flag"
4139 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4140 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4141 if test "${lt_cv_path_NM+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 else
4144 if test -n "$NM"; then
4145 # Let the user override the test.
4146 lt_cv_path_NM="$NM"
4147 else
4148 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4149 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4150 test -z "$ac_dir" && ac_dir=.
4151 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4152 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4153 # Check to see if the nm accepts a BSD-compat flag.
4154 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4155 # nm: unknown option "B" ignored
4156 # Tru64's nm complains that /dev/null is an invalid object file
4157 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4158 lt_cv_path_NM="$tmp_nm -B"
4159 break
4160 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4161 lt_cv_path_NM="$tmp_nm -p"
4162 break
4163 else
4164 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4165 continue # so that we can try to find one that supports BSD flags
4168 done
4169 IFS="$ac_save_ifs"
4170 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4174 NM="$lt_cv_path_NM"
4175 echo "$as_me:$LINENO: result: $NM" >&5
4176 echo "${ECHO_T}$NM" >&6
4178 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4179 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4180 if test "${lt_cv_deplibs_check_method+set}" = set; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 else
4183 lt_cv_file_magic_cmd='$MAGIC_CMD'
4184 lt_cv_file_magic_test_file=
4185 lt_cv_deplibs_check_method='unknown'
4186 # Need to set the preceding variable on all platforms that support
4187 # interlibrary dependencies.
4188 # 'none' -- dependencies not supported.
4189 # `unknown' -- same as none, but documents that we really don't know.
4190 # 'pass_all' -- all dependencies passed with no checks.
4191 # 'test_compile' -- check by making test program.
4192 # 'file_magic [regex]' -- check by looking for files in library path
4193 # which responds to the $file_magic_cmd with a given egrep regex.
4194 # If you have `file' or equivalent on your system and you're not sure
4195 # whether `pass_all' will *always* work, you probably want this one.
4197 case $host_os in
4198 aix*)
4199 lt_cv_deplibs_check_method=pass_all
4202 beos*)
4203 lt_cv_deplibs_check_method=pass_all
4206 bsdi4*)
4207 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4208 lt_cv_file_magic_cmd='/usr/bin/file -L'
4209 lt_cv_file_magic_test_file=/shlib/libc.so
4212 cygwin* | mingw* |pw32*)
4213 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4214 lt_cv_file_magic_cmd='$OBJDUMP -f'
4217 darwin* | rhapsody*)
4218 # this will be overwritten by pass_all, but leave it in just in case
4219 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4220 lt_cv_file_magic_cmd='/usr/bin/file -L'
4221 case "$host_os" in
4222 rhapsody* | darwin1.012)
4223 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4225 *) # Darwin 1.3 on
4226 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4228 esac
4229 lt_cv_deplibs_check_method=pass_all
4232 freebsd* | kfreebsd*-gnu)
4233 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4234 case $host_cpu in
4235 i*86 )
4236 # Not sure whether the presence of OpenBSD here was a mistake.
4237 # Let's accept both of them until this is cleared up.
4238 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4239 lt_cv_file_magic_cmd=/usr/bin/file
4240 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4242 esac
4243 else
4244 lt_cv_deplibs_check_method=pass_all
4248 gnu*)
4249 lt_cv_deplibs_check_method=pass_all
4252 hpux10.20*|hpux11*)
4253 case $host_cpu in
4254 hppa*)
4255 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4256 lt_cv_file_magic_cmd=/usr/bin/file
4257 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4259 ia64*)
4260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4261 lt_cv_file_magic_cmd=/usr/bin/file
4262 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4264 esac
4267 irix5* | irix6*)
4268 case $host_os in
4269 irix5*)
4270 # this will be overridden with pass_all, but let us keep it just in case
4271 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4274 case $LD in
4275 *-32|*"-32 ") libmagic=32-bit;;
4276 *-n32|*"-n32 ") libmagic=N32;;
4277 *-64|*"-64 ") libmagic=64-bit;;
4278 *) libmagic=never-match;;
4279 esac
4280 # this will be overridden with pass_all, but let us keep it just in case
4281 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4283 esac
4284 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4285 lt_cv_deplibs_check_method=pass_all
4288 # This must be Linux ELF.
4289 linux-gnu*)
4290 lt_cv_deplibs_check_method=pass_all
4293 netbsd* | knetbsd*-gnu)
4294 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4295 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4296 else
4297 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4301 newsos6)
4302 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4303 lt_cv_file_magic_cmd=/usr/bin/file
4304 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4307 osf3* | osf4* | osf5*)
4308 # this will be overridden with pass_all, but let us keep it just in case
4309 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4310 lt_cv_file_magic_test_file=/shlib/libc.so
4311 lt_cv_deplibs_check_method=pass_all
4314 sco3.2v5*)
4315 lt_cv_deplibs_check_method=pass_all
4318 solaris*)
4319 lt_cv_deplibs_check_method=pass_all
4320 lt_cv_file_magic_test_file=/lib/libc.so
4323 sysv5uw[78]* | sysv4*uw2*)
4324 lt_cv_deplibs_check_method=pass_all
4327 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4328 case $host_vendor in
4329 ncr)
4330 lt_cv_deplibs_check_method=pass_all
4332 motorola)
4333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4336 esac
4338 esac
4341 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4342 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4343 file_magic_cmd=$lt_cv_file_magic_cmd
4344 deplibs_check_method=$lt_cv_deplibs_check_method
4349 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4351 # find the maximum length of command line arguments
4352 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4353 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4354 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4358 teststring="ABCD"
4360 case $build_os in
4361 msdosdjgpp*)
4362 # On DJGPP, this test can blow up pretty badly due to problems in libc
4363 # (any single argument exceeding 2000 bytes causes a buffer overrun
4364 # during glob expansion). Even if it were fixed, the result of this
4365 # check would be larger than it should be.
4366 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4369 cygwin* | mingw*)
4370 # On Win9x/ME, this test blows up -- it succeeds, but takes
4371 # about 5 minutes as the teststring grows exponentially.
4372 # Worse, since 9x/ME are not pre-emptively multitasking,
4373 # you end up with a "frozen" computer, even though with patience
4374 # the test eventually succeeds (with a max line length of 256k).
4375 # Instead, let's just punt: use the minimum linelength reported by
4376 # all of the supported platforms: 8192 (on NT/2K/XP).
4377 lt_cv_sys_max_cmd_len=8192;
4380 amigaos*)
4381 # On AmigaOS with pdksh, this test takes hours, literally.
4382 # So we just punt and use a minimum line length of 8192.
4383 lt_cv_sys_max_cmd_len=8192;
4386 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4387 # This has been around since 386BSD, at least. Likely further.
4388 if test -x /sbin/sysctl; then
4389 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4390 elif test -x /usr/sbin/sysctl; then
4391 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4392 else
4393 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4395 # And add a safety zone
4396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4399 esac
4403 if test -n "$lt_cv_sys_max_cmd_len" ; then
4404 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4405 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4406 else
4407 echo "$as_me:$LINENO: result: none" >&5
4408 echo "${ECHO_T}none" >&6
4412 # Only perform the check for file, if the check method requires it
4413 case $deplibs_check_method in
4414 file_magic*)
4415 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4416 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4417 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4418 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 else
4421 case $MAGIC_CMD in
4423 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4425 ?:/*)
4426 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4429 ac_save_MAGIC_CMD="$MAGIC_CMD"
4430 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4431 ac_dummy="/usr/bin:$PATH"
4432 for ac_dir in $ac_dummy; do
4433 test -z "$ac_dir" && ac_dir=.
4434 if test -f $ac_dir/${ac_tool_prefix}file; then
4435 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4436 if test -n "$file_magic_test_file"; then
4437 case $deplibs_check_method in
4438 "file_magic "*)
4439 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4440 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4441 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4442 egrep "$file_magic_regex" > /dev/null; then
4444 else
4445 cat <<EOF 1>&2
4447 *** Warning: the command libtool uses to detect shared libraries,
4448 *** $file_magic_cmd, produces output that libtool cannot recognize.
4449 *** The result is that libtool may fail to recognize shared libraries
4450 *** as such. This will affect the creation of libtool libraries that
4451 *** depend on shared libraries, but programs linked with such libtool
4452 *** libraries will work regardless of this problem. Nevertheless, you
4453 *** may want to report the problem to your system manager and/or to
4454 *** bug-libtool@gnu.org
4457 fi ;;
4458 esac
4460 break
4462 done
4463 IFS="$ac_save_ifs"
4464 MAGIC_CMD="$ac_save_MAGIC_CMD"
4466 esac
4469 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4470 if test -n "$MAGIC_CMD"; then
4471 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4472 echo "${ECHO_T}$MAGIC_CMD" >&6
4473 else
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4478 if test -z "$lt_cv_path_MAGIC_CMD"; then
4479 if test -n "$ac_tool_prefix"; then
4480 echo "$as_me:$LINENO: checking for file" >&5
4481 echo $ECHO_N "checking for file... $ECHO_C" >&6
4482 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 case $MAGIC_CMD in
4487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4489 ?:/*)
4490 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4493 ac_save_MAGIC_CMD="$MAGIC_CMD"
4494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4495 ac_dummy="/usr/bin:$PATH"
4496 for ac_dir in $ac_dummy; do
4497 test -z "$ac_dir" && ac_dir=.
4498 if test -f $ac_dir/file; then
4499 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4500 if test -n "$file_magic_test_file"; then
4501 case $deplibs_check_method in
4502 "file_magic "*)
4503 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4505 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4506 egrep "$file_magic_regex" > /dev/null; then
4508 else
4509 cat <<EOF 1>&2
4511 *** Warning: the command libtool uses to detect shared libraries,
4512 *** $file_magic_cmd, produces output that libtool cannot recognize.
4513 *** The result is that libtool may fail to recognize shared libraries
4514 *** as such. This will affect the creation of libtool libraries that
4515 *** depend on shared libraries, but programs linked with such libtool
4516 *** libraries will work regardless of this problem. Nevertheless, you
4517 *** may want to report the problem to your system manager and/or to
4518 *** bug-libtool@gnu.org
4521 fi ;;
4522 esac
4524 break
4526 done
4527 IFS="$ac_save_ifs"
4528 MAGIC_CMD="$ac_save_MAGIC_CMD"
4530 esac
4533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4534 if test -n "$MAGIC_CMD"; then
4535 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4536 echo "${ECHO_T}$MAGIC_CMD" >&6
4537 else
4538 echo "$as_me:$LINENO: result: no" >&5
4539 echo "${ECHO_T}no" >&6
4542 else
4543 MAGIC_CMD=:
4549 esac
4551 if test -n "$ac_tool_prefix"; then
4552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4554 echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4556 if test "${ac_cv_prog_RANLIB+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559 if test -n "$RANLIB"; then
4560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4561 else
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH
4565 IFS=$as_save_IFS
4566 test -z "$as_dir" && as_dir=.
4567 for ac_exec_ext in '' $ac_executable_extensions; do
4568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 break 2
4573 done
4574 done
4578 RANLIB=$ac_cv_prog_RANLIB
4579 if test -n "$RANLIB"; then
4580 echo "$as_me:$LINENO: result: $RANLIB" >&5
4581 echo "${ECHO_T}$RANLIB" >&6
4582 else
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4588 if test -z "$ac_cv_prog_RANLIB"; then
4589 ac_ct_RANLIB=$RANLIB
4590 # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib; ac_word=$2
4592 echo "$as_me:$LINENO: checking for $ac_word" >&5
4593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4594 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597 if test -n "$ac_ct_RANLIB"; then
4598 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_RANLIB="ranlib"
4608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4614 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4617 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4618 if test -n "$ac_ct_RANLIB"; then
4619 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4620 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4621 else
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4626 RANLIB=$ac_ct_RANLIB
4627 else
4628 RANLIB="$ac_cv_prog_RANLIB"
4631 if test -n "$ac_tool_prefix"; then
4632 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4633 set dummy ${ac_tool_prefix}strip; ac_word=$2
4634 echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4636 if test "${ac_cv_prog_STRIP+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639 if test -n "$STRIP"; then
4640 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4645 IFS=$as_save_IFS
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 break 2
4653 done
4654 done
4658 STRIP=$ac_cv_prog_STRIP
4659 if test -n "$STRIP"; then
4660 echo "$as_me:$LINENO: result: $STRIP" >&5
4661 echo "${ECHO_T}$STRIP" >&6
4662 else
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4668 if test -z "$ac_cv_prog_STRIP"; then
4669 ac_ct_STRIP=$STRIP
4670 # Extract the first word of "strip", so it can be a program name with args.
4671 set dummy strip; ac_word=$2
4672 echo "$as_me:$LINENO: checking for $ac_word" >&5
4673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4674 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4676 else
4677 if test -n "$ac_ct_STRIP"; then
4678 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4679 else
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH
4683 IFS=$as_save_IFS
4684 test -z "$as_dir" && as_dir=.
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_ac_ct_STRIP="strip"
4688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 break 2
4691 done
4692 done
4694 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4697 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4698 if test -n "$ac_ct_STRIP"; then
4699 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4700 echo "${ECHO_T}$ac_ct_STRIP" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4706 STRIP=$ac_ct_STRIP
4707 else
4708 STRIP="$ac_cv_prog_STRIP"
4712 # Check for any special flags to pass to ltconfig.
4713 libtool_flags="--cache-file=$cache_file"
4714 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4715 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4716 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4717 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4718 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4721 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4722 if test "${enable_libtool_lock+set}" = set; then
4723 enableval="$enable_libtool_lock"
4726 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4727 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4730 # Check whether --with-pic or --without-pic was given.
4731 if test "${with_pic+set}" = set; then
4732 withval="$with_pic"
4733 pic_mode="$withval"
4734 else
4735 pic_mode=default
4737 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4738 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4740 # Some flags need to be propagated to the compiler or linker for good
4741 # libtool support.
4742 case $host in
4743 *-*-irix6*)
4744 # Find out which ABI we are using.
4745 echo '#line 4745 "configure"' > conftest.$ac_ext
4746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4747 (eval $ac_compile) 2>&5
4748 ac_status=$?
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; then
4751 if test "$lt_cv_prog_gnu_ld" = yes; then
4752 case `/usr/bin/file conftest.$ac_objext` in
4753 *32-bit*)
4754 LD="${LD-ld} -melf32bsmip"
4756 *N32*)
4757 LD="${LD-ld} -melf32bmipn32"
4759 *64-bit*)
4760 LD="${LD-ld} -melf64bmip"
4762 esac
4763 else
4764 case `/usr/bin/file conftest.$ac_objext` in
4765 *32-bit*)
4766 LD="${LD-ld} -32"
4768 *N32*)
4769 LD="${LD-ld} -n32"
4771 *64-bit*)
4772 LD="${LD-ld} -64"
4774 esac
4777 rm -rf conftest*
4780 ia64-*-hpux*)
4781 # Find out which ABI we are using.
4782 echo 'int i;' > conftest.$ac_ext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>&5
4785 ac_status=$?
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; then
4788 case "`/usr/bin/file conftest.o`" in
4789 *ELF-32*)
4790 HPUX_IA64_MODE="32"
4792 *ELF-64*)
4793 HPUX_IA64_MODE="64"
4795 esac
4797 rm -rf conftest*
4800 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4801 # Find out which ABI we are using.
4802 echo 'int i;' > conftest.$ac_ext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>&5
4805 ac_status=$?
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; then
4808 case "`/usr/bin/file conftest.o`" in
4809 *32-bit*)
4810 case $host in
4811 x86_64-*linux*)
4812 LD="${LD-ld} -m elf_i386"
4814 ppc64-*linux*|powerpc64-*linux*)
4815 LD="${LD-ld} -m elf32ppclinux"
4817 s390x-*linux*)
4818 LD="${LD-ld} -m elf_s390"
4820 sparc64-*linux*)
4821 LD="${LD-ld} -m elf32_sparc"
4823 esac
4825 *64-bit*)
4826 case $host in
4827 x86_64-*linux*)
4828 LD="${LD-ld} -m elf_x86_64"
4830 ppc*-*linux*|powerpc*-*linux*)
4831 LD="${LD-ld} -m elf64ppc"
4833 s390*-*linux*)
4834 LD="${LD-ld} -m elf64_s390"
4836 sparc*-*linux*)
4837 LD="${LD-ld} -m elf64_sparc"
4839 esac
4841 esac
4843 rm -rf conftest*
4846 *-*-sco3.2v5*)
4847 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4848 SAVE_CFLAGS="$CFLAGS"
4849 CFLAGS="$CFLAGS -belf"
4850 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4851 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4852 if test "${lt_cv_cc_needs_belf+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 else
4857 ac_ext=c
4858 ac_cpp='$CPP $CPPFLAGS'
4859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4863 if test x$gcc_no_link = xyes; then
4864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4866 { (exit 1); exit 1; }; }
4868 cat >conftest.$ac_ext <<_ACEOF
4869 /* confdefs.h. */
4870 _ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4885 (eval $ac_link) 2>conftest.er1
4886 ac_status=$?
4887 grep -v '^ *+' conftest.er1 >conftest.err
4888 rm -f conftest.er1
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try='test -z "$ac_c_werror_flag"
4893 || test ! -s conftest.err'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 (eval $ac_try) 2>&5
4896 ac_status=$?
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; } &&
4899 { ac_try='test -s conftest$ac_exeext'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 (eval $ac_try) 2>&5
4902 ac_status=$?
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; }; then
4905 lt_cv_cc_needs_belf=yes
4906 else
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4910 lt_cv_cc_needs_belf=no
4912 rm -f conftest.err conftest.$ac_objext \
4913 conftest$ac_exeext conftest.$ac_ext
4914 ac_ext=c
4915 ac_cpp='$CPP $CPPFLAGS'
4916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4921 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4922 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4923 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4924 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4925 CFLAGS="$SAVE_CFLAGS"
4930 esac
4933 # Save cache, so that ltconfig can load it
4934 cat >confcache <<\_ACEOF
4935 # This file is a shell script that caches the results of configure
4936 # tests run on this system so they can be shared between configure
4937 # scripts and configure runs, see configure's option --config-cache.
4938 # It is not useful on other systems. If it contains results you don't
4939 # want to keep, you may remove or edit it.
4941 # config.status only pays attention to the cache file if you give it
4942 # the --recheck option to rerun configure.
4944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4946 # following values.
4948 _ACEOF
4950 # The following way of writing the cache mishandles newlines in values,
4951 # but we know of no workaround that is simple, portable, and efficient.
4952 # So, don't put newlines in cache variables' values.
4953 # Ultrix sh set writes to stderr and can't be redirected directly,
4954 # and sets the high bit in the cache file unless we assign to the vars.
4956 (set) 2>&1 |
4957 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4958 *ac_space=\ *)
4959 # `set' does not quote correctly, so add quotes (double-quote
4960 # substitution turns \\\\ into \\, and sed turns \\ into \).
4961 sed -n \
4962 "s/'/'\\\\''/g;
4963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4966 # `set' quotes correctly as required by POSIX, so do not add quotes.
4967 sed -n \
4968 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4970 esac;
4972 sed '
4973 t clear
4974 : clear
4975 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4976 t end
4977 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4978 : end' >>confcache
4979 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4980 if test -w $cache_file; then
4981 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4982 cat confcache >$cache_file
4983 else
4984 echo "not updating unwritable cache $cache_file"
4987 rm -f confcache
4989 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4990 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4991 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4992 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4993 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4994 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4995 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4996 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4997 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4998 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4999 echo "$as_me: error: libtool configure failed" >&2;}
5000 { (exit 1); exit 1; }; }
5002 # Reload cache, that may have been modified by ltconfig
5003 if test -r "$cache_file"; then
5004 # Some versions of bash will fail to source /dev/null (special
5005 # files actually), so we avoid doing that.
5006 if test -f "$cache_file"; then
5007 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5008 echo "$as_me: loading cache $cache_file" >&6;}
5009 case $cache_file in
5010 [\\/]* | ?:[\\/]* ) . $cache_file;;
5011 *) . ./$cache_file;;
5012 esac
5014 else
5015 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5016 echo "$as_me: creating cache $cache_file" >&6;}
5017 >$cache_file
5021 # This can be used to rebuild libtool when needed
5022 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5024 # Always use our own libtool.
5025 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5027 # Redirect the config.log output again, so that the ltconfig log is not
5028 # clobbered by the next message.
5029 exec 5>>./config.log
5031 ac_ext=cc
5032 ac_cpp='$CXXCPP $CPPFLAGS'
5033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5036 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5037 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5038 if test -z "$CXXCPP"; then
5039 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 else
5042 # Double quotes because CXXCPP needs to be expanded
5043 for CXXCPP in "$CXX -E" "/lib/cpp"
5045 ac_preproc_ok=false
5046 for ac_cxx_preproc_warn_flag in '' yes
5048 # Use a header file that comes with gcc, so configuring glibc
5049 # with a fresh cross-compiler works.
5050 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5051 # <limits.h> exists even on freestanding compilers.
5052 # On the NeXT, cc -E runs the code through the compiler's parser,
5053 # not just through cpp. "Syntax error" is here to catch this case.
5054 cat >conftest.$ac_ext <<_ACEOF
5055 /* confdefs.h. */
5056 _ACEOF
5057 cat confdefs.h >>conftest.$ac_ext
5058 cat >>conftest.$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5060 #ifdef __STDC__
5061 # include <limits.h>
5062 #else
5063 # include <assert.h>
5064 #endif
5065 Syntax error
5066 _ACEOF
5067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5069 ac_status=$?
5070 grep -v '^ *+' conftest.er1 >conftest.err
5071 rm -f conftest.er1
5072 cat conftest.err >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } >/dev/null; then
5075 if test -s conftest.err; then
5076 ac_cpp_err=$ac_cxx_preproc_warn_flag
5077 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5078 else
5079 ac_cpp_err=
5081 else
5082 ac_cpp_err=yes
5084 if test -z "$ac_cpp_err"; then
5086 else
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5090 # Broken: fails on valid input.
5091 continue
5093 rm -f conftest.err conftest.$ac_ext
5095 # OK, works on sane cases. Now check whether non-existent headers
5096 # can be detected and how.
5097 cat >conftest.$ac_ext <<_ACEOF
5098 /* confdefs.h. */
5099 _ACEOF
5100 cat confdefs.h >>conftest.$ac_ext
5101 cat >>conftest.$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5103 #include <ac_nonexistent.h>
5104 _ACEOF
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 ac_status=$?
5108 grep -v '^ *+' conftest.er1 >conftest.err
5109 rm -f conftest.er1
5110 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev/null; then
5113 if test -s conftest.err; then
5114 ac_cpp_err=$ac_cxx_preproc_warn_flag
5115 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5116 else
5117 ac_cpp_err=
5119 else
5120 ac_cpp_err=yes
5122 if test -z "$ac_cpp_err"; then
5123 # Broken: success on invalid input.
5124 continue
5125 else
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 # Passes both tests.
5130 ac_preproc_ok=:
5131 break
5133 rm -f conftest.err conftest.$ac_ext
5135 done
5136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5137 rm -f conftest.err conftest.$ac_ext
5138 if $ac_preproc_ok; then
5139 break
5142 done
5143 ac_cv_prog_CXXCPP=$CXXCPP
5146 CXXCPP=$ac_cv_prog_CXXCPP
5147 else
5148 ac_cv_prog_CXXCPP=$CXXCPP
5150 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5151 echo "${ECHO_T}$CXXCPP" >&6
5152 ac_preproc_ok=false
5153 for ac_cxx_preproc_warn_flag in '' yes
5155 # Use a header file that comes with gcc, so configuring glibc
5156 # with a fresh cross-compiler works.
5157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158 # <limits.h> exists even on freestanding compilers.
5159 # On the NeXT, cc -E runs the code through the compiler's parser,
5160 # not just through cpp. "Syntax error" is here to catch this case.
5161 cat >conftest.$ac_ext <<_ACEOF
5162 /* confdefs.h. */
5163 _ACEOF
5164 cat confdefs.h >>conftest.$ac_ext
5165 cat >>conftest.$ac_ext <<_ACEOF
5166 /* end confdefs.h. */
5167 #ifdef __STDC__
5168 # include <limits.h>
5169 #else
5170 # include <assert.h>
5171 #endif
5172 Syntax error
5173 _ACEOF
5174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5176 ac_status=$?
5177 grep -v '^ *+' conftest.er1 >conftest.err
5178 rm -f conftest.er1
5179 cat conftest.err >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } >/dev/null; then
5182 if test -s conftest.err; then
5183 ac_cpp_err=$ac_cxx_preproc_warn_flag
5184 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5185 else
5186 ac_cpp_err=
5188 else
5189 ac_cpp_err=yes
5191 if test -z "$ac_cpp_err"; then
5193 else
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 # Broken: fails on valid input.
5198 continue
5200 rm -f conftest.err conftest.$ac_ext
5202 # OK, works on sane cases. Now check whether non-existent headers
5203 # can be detected and how.
5204 cat >conftest.$ac_ext <<_ACEOF
5205 /* confdefs.h. */
5206 _ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <ac_nonexistent.h>
5211 _ACEOF
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214 ac_status=$?
5215 grep -v '^ *+' conftest.er1 >conftest.err
5216 rm -f conftest.er1
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null; then
5220 if test -s conftest.err; then
5221 ac_cpp_err=$ac_cxx_preproc_warn_flag
5222 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5223 else
5224 ac_cpp_err=
5226 else
5227 ac_cpp_err=yes
5229 if test -z "$ac_cpp_err"; then
5230 # Broken: success on invalid input.
5231 continue
5232 else
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 # Passes both tests.
5237 ac_preproc_ok=:
5238 break
5240 rm -f conftest.err conftest.$ac_ext
5242 done
5243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5244 rm -f conftest.err conftest.$ac_ext
5245 if $ac_preproc_ok; then
5247 else
5248 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5249 See \`config.log' for more details." >&5
5250 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5251 See \`config.log' for more details." >&2;}
5252 { (exit 1); exit 1; }; }
5255 ac_ext=c
5256 ac_cpp='$CPP $CPPFLAGS'
5257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5263 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5264 lt_save_CC="$CC"
5265 lt_save_CFLAGS="$CFLAGS"
5266 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5267 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5268 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5269 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5270 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5271 deplibs_check_method="$deplibs_check_method" \
5272 file_magic_cmd="$file_magic_cmd" \
5273 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5274 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5275 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5276 echo "$as_me: error: libtool tag configuration failed" >&2;}
5277 { (exit 1); exit 1; }; }
5278 CC="$lt_save_CC"
5279 CFLAGS="$lt_save_CFLAGS"
5281 # Redirect the config.log output again, so that the ltconfig log is not
5282 # clobbered by the next message.
5283 exec 5>>./config.log
5293 # Possibly disable most of the library.
5294 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5295 ## than just ignoring the results. Faster /and/ more correct, win win.
5297 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5298 if test "${enable_hosted_libstdcxx+set}" = set; then
5299 enableval="$enable_hosted_libstdcxx"
5301 else
5302 case "$host" in
5303 arm*-*-symbianelf*)
5304 enable_hosted_libstdcxx=no
5307 enable_hosted_libstdcxx=yes
5309 esac
5311 if test "$enable_hosted_libstdcxx" = no; then
5312 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5313 echo "$as_me: Only freestanding libraries will be built" >&6;}
5314 is_hosted=no
5315 hosted_define=0
5316 enable_abi_check=no
5317 enable_libstdcxx_pch=no
5318 else
5319 is_hosted=yes
5320 hosted_define=1
5324 cat >>confdefs.h <<_ACEOF
5325 #define _GLIBCXX_HOSTED $hosted_define
5326 _ACEOF
5330 # Check for compiler support that doesn't require linking.
5332 echo "$as_me:$LINENO: checking for exception model to use" >&5
5333 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5336 ac_ext=cc
5337 ac_cpp='$CXXCPP $CPPFLAGS'
5338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5342 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5343 if test "${enable_sjlj_exceptions+set}" = set; then
5344 enableval="$enable_sjlj_exceptions"
5346 case "$enableval" in
5347 yes|no|auto) ;;
5348 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5349 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5350 { (exit 1); exit 1; }; } ;;
5351 esac
5353 else
5354 enable_sjlj_exceptions=auto
5358 if test $enable_sjlj_exceptions = auto; then
5359 # Botheration. Now we've got to detect the exception model. Link tests
5360 # against libgcc.a are problematic since we've not been given proper -L
5361 # bits for single-tree newlib and libgloss.
5363 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5364 cat > conftest.$ac_ext << EOF
5365 #line 5365 "configure"
5366 struct S { ~S(); };
5367 void bar();
5368 void foo()
5370 S s;
5371 bar();
5374 old_CXXFLAGS="$CXXFLAGS"
5375 CXXFLAGS=-S
5376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5377 (eval $ac_compile) 2>&5
5378 ac_status=$?
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; then
5381 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5382 enable_sjlj_exceptions=yes
5383 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5384 enable_sjlj_exceptions=no
5385 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5386 enable_sjlj_exceptions=no
5389 CXXFLAGS="$old_CXXFLAGS"
5390 rm -f conftest*
5393 # This is a tad weird, for hysterical raisins. We have to map
5394 # enable/disable to two different models.
5395 case $enable_sjlj_exceptions in
5396 yes)
5398 cat >>confdefs.h <<\_ACEOF
5399 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5400 _ACEOF
5402 ac_exception_model_name=sjlj
5405 ac_exception_model_name="call frame"
5408 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5409 echo "$as_me: error: unable to detect exception model" >&2;}
5410 { (exit 1); exit 1; }; }
5412 esac
5413 ac_ext=c
5414 ac_cpp='$CPP $CPPFLAGS'
5415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5420 echo "${ECHO_T}$ac_exception_model_name" >&6
5423 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5424 if test "${enable_libstdcxx_pch+set}" = set; then
5425 enableval="$enable_libstdcxx_pch"
5427 case "$enableval" in
5428 yes|no) ;;
5429 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5430 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5431 { (exit 1); exit 1; }; } ;;
5432 esac
5434 else
5435 enable_libstdcxx_pch=$is_hosted
5438 if test $enable_libstdcxx_pch = yes; then
5439 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5440 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5441 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 else
5444 ac_save_CXXFLAGS="$CXXFLAGS"
5445 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5448 ac_ext=cc
5449 ac_cpp='$CXXCPP $CPPFLAGS'
5450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5454 echo '#include <math.h>' > conftest.h
5455 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5456 -o conftest.h.gch 1>&5 2>&1 &&
5457 echo '#error "pch failed"' > conftest.h &&
5458 echo '#include "conftest.h"' > conftest.cc &&
5459 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5460 then
5461 glibcxx_cv_prog_CXX_pch=yes
5462 else
5463 glibcxx_cv_prog_CXX_pch=no
5465 rm -f conftest*
5466 CXXFLAGS=$ac_save_CXXFLAGS
5467 ac_ext=c
5468 ac_cpp='$CPP $CPPFLAGS'
5469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5475 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5476 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5477 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5480 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5481 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5482 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5483 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5486 if test $enable_libstdcxx_pch = yes; then
5487 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5488 else
5489 glibcxx_PCHFLAGS=""
5494 # Enable all the variable C++ runtime options.
5496 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5497 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5498 # Check whether --enable-cstdio or --disable-cstdio was given.
5499 if test "${enable_cstdio+set}" = set; then
5500 enableval="$enable_cstdio"
5502 case "$enableval" in
5503 stdio) ;;
5504 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5505 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5506 { (exit 1); exit 1; }; } ;;
5507 esac
5509 else
5510 enable_cstdio=stdio
5514 # Now that libio has been removed, you can have any color you want as long
5515 # as it's black. This is one big no-op until other packages are added, but
5516 # showing the framework never hurts.
5517 case ${enable_cstdio} in
5518 stdio)
5519 CSTDIO_H=config/io/c_io_stdio.h
5520 BASIC_FILE_H=config/io/basic_file_stdio.h
5521 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5522 echo "$as_me:$LINENO: result: stdio" >&5
5523 echo "${ECHO_T}stdio" >&6
5525 esac
5531 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5532 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5533 if test "${ac_cv_header_stdc+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 cat >conftest.$ac_ext <<_ACEOF
5537 /* confdefs.h. */
5538 _ACEOF
5539 cat confdefs.h >>conftest.$ac_ext
5540 cat >>conftest.$ac_ext <<_ACEOF
5541 /* end confdefs.h. */
5542 #include <stdlib.h>
5543 #include <stdarg.h>
5544 #include <string.h>
5545 #include <float.h>
5548 main ()
5552 return 0;
5554 _ACEOF
5555 rm -f conftest.$ac_objext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>conftest.er1
5558 ac_status=$?
5559 grep -v '^ *+' conftest.er1 >conftest.err
5560 rm -f conftest.er1
5561 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try='test -z "$ac_c_werror_flag"
5565 || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 (eval $ac_try) 2>&5
5568 ac_status=$?
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try='test -s conftest.$ac_objext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 (eval $ac_try) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5577 ac_cv_header_stdc=yes
5578 else
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5582 ac_cv_header_stdc=no
5584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5586 if test $ac_cv_header_stdc = yes; then
5587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5588 cat >conftest.$ac_ext <<_ACEOF
5589 /* confdefs.h. */
5590 _ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5593 /* end confdefs.h. */
5594 #include <string.h>
5596 _ACEOF
5597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5598 $EGREP "memchr" >/dev/null 2>&1; then
5600 else
5601 ac_cv_header_stdc=no
5603 rm -f conftest*
5607 if test $ac_cv_header_stdc = yes; then
5608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5609 cat >conftest.$ac_ext <<_ACEOF
5610 /* confdefs.h. */
5611 _ACEOF
5612 cat confdefs.h >>conftest.$ac_ext
5613 cat >>conftest.$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5615 #include <stdlib.h>
5617 _ACEOF
5618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5619 $EGREP "free" >/dev/null 2>&1; then
5621 else
5622 ac_cv_header_stdc=no
5624 rm -f conftest*
5628 if test $ac_cv_header_stdc = yes; then
5629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5630 if test "$cross_compiling" = yes; then
5632 else
5633 cat >conftest.$ac_ext <<_ACEOF
5634 /* confdefs.h. */
5635 _ACEOF
5636 cat confdefs.h >>conftest.$ac_ext
5637 cat >>conftest.$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 #include <ctype.h>
5640 #if ((' ' & 0x0FF) == 0x020)
5641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5643 #else
5644 # define ISLOWER(c) \
5645 (('a' <= (c) && (c) <= 'i') \
5646 || ('j' <= (c) && (c) <= 'r') \
5647 || ('s' <= (c) && (c) <= 'z'))
5648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5649 #endif
5651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5653 main ()
5655 int i;
5656 for (i = 0; i < 256; i++)
5657 if (XOR (islower (i), ISLOWER (i))
5658 || toupper (i) != TOUPPER (i))
5659 exit(2);
5660 exit (0);
5662 _ACEOF
5663 rm -f conftest$ac_exeext
5664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5665 (eval $ac_link) 2>&5
5666 ac_status=$?
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 (eval $ac_try) 2>&5
5671 ac_status=$?
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5675 else
5676 echo "$as_me: program exited with status $ac_status" >&5
5677 echo "$as_me: failed program was:" >&5
5678 sed 's/^/| /' conftest.$ac_ext >&5
5680 ( exit $ac_status )
5681 ac_cv_header_stdc=no
5683 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5687 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5688 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5689 if test $ac_cv_header_stdc = yes; then
5691 cat >>confdefs.h <<\_ACEOF
5692 #define STDC_HEADERS 1
5693 _ACEOF
5697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5707 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5708 inttypes.h stdint.h unistd.h
5710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5711 echo "$as_me:$LINENO: checking for $ac_header" >&5
5712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 cat >conftest.$ac_ext <<_ACEOF
5717 /* confdefs.h. */
5718 _ACEOF
5719 cat confdefs.h >>conftest.$ac_ext
5720 cat >>conftest.$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5724 #include <$ac_header>
5725 _ACEOF
5726 rm -f conftest.$ac_objext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>conftest.er1
5729 ac_status=$?
5730 grep -v '^ *+' conftest.er1 >conftest.err
5731 rm -f conftest.er1
5732 cat conftest.err >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } &&
5735 { ac_try='test -z "$ac_c_werror_flag"
5736 || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 (eval $ac_try) 2>&5
5739 ac_status=$?
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try='test -s conftest.$ac_objext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 (eval $ac_try) 2>&5
5745 ac_status=$?
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 eval "$as_ac_Header=yes"
5749 else
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5753 eval "$as_ac_Header=no"
5755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5760 cat >>confdefs.h <<_ACEOF
5761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5762 _ACEOF
5766 done
5770 echo "$as_me:$LINENO: checking for C locale to use" >&5
5771 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5772 # Check whether --enable-clocale or --disable-clocale was given.
5773 if test "${enable_clocale+set}" = set; then
5774 enableval="$enable_clocale"
5776 case "$enableval" in
5777 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5778 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5779 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5780 { (exit 1); exit 1; }; } ;;
5781 esac
5783 else
5784 enable_clocale=auto
5788 # If they didn't use this option switch, or if they specified --enable
5789 # with no specific model, we'll have to look for one. If they
5790 # specified --disable (???), do likewise.
5791 if test $enable_clocale = no || test $enable_clocale = yes; then
5792 enable_clocale=auto
5795 # Either a known package, or "auto"
5796 enable_clocale_flag=$enable_clocale
5798 # Probe for locale support if no specific model is specified.
5799 # Default to "generic".
5800 if test $enable_clocale_flag = auto; then
5801 case ${target_os} in
5802 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5803 cat >conftest.$ac_ext <<_ACEOF
5804 /* confdefs.h. */
5805 _ACEOF
5806 cat confdefs.h >>conftest.$ac_ext
5807 cat >>conftest.$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5810 #include <features.h>
5811 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5812 _GLIBCXX_ok
5813 #endif
5815 _ACEOF
5816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5817 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5818 enable_clocale_flag=gnu
5819 else
5820 enable_clocale_flag=generic
5822 rm -f conftest*
5825 # Test for bugs early in glibc-2.2.x series
5826 if test $enable_clocale_flag = gnu; then
5827 if test "$cross_compiling" = yes; then
5828 enable_clocale_flag=generic
5829 else
5830 cat >conftest.$ac_ext <<_ACEOF
5831 /* confdefs.h. */
5832 _ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 #define _GNU_SOURCE 1
5838 #include <locale.h>
5839 #include <string.h>
5840 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5841 extern __typeof(newlocale) __newlocale;
5842 extern __typeof(duplocale) __duplocale;
5843 extern __typeof(strcoll_l) __strcoll_l;
5844 #endif
5845 int main()
5847 const char __one[] = "Äuglein Augmen";
5848 const char __two[] = "Äuglein";
5849 int i;
5850 int j;
5851 __locale_t loc;
5852 __locale_t loc_dup;
5853 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5854 loc_dup = __duplocale(loc);
5855 i = __strcoll_l(__one, __two, loc);
5856 j = __strcoll_l(__one, __two, loc_dup);
5857 return 0;
5860 _ACEOF
5861 rm -f conftest$ac_exeext
5862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5863 (eval $ac_link) 2>&5
5864 ac_status=$?
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 enable_clocale_flag=gnu
5873 else
5874 echo "$as_me: program exited with status $ac_status" >&5
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 ( exit $ac_status )
5879 enable_clocale_flag=generic
5881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5885 # ... at some point put __strxfrm_l tests in as well.
5887 darwin* | freebsd*)
5888 enable_clocale_flag=darwin
5891 enable_clocale_flag=generic
5893 esac
5896 # Deal with gettext issues. Default to not using it (=no) until we detect
5897 # support for it later. Let the user turn it off via --e/d, but let that
5898 # default to on for easier handling.
5899 USE_NLS=no
5900 # Check whether --enable-nls or --disable-nls was given.
5901 if test "${enable_nls+set}" = set; then
5902 enableval="$enable_nls"
5904 else
5905 enable_nls=yes
5908 # Set configure bits for specified locale package
5909 case ${enable_clocale_flag} in
5910 generic)
5911 echo "$as_me:$LINENO: result: generic" >&5
5912 echo "${ECHO_T}generic" >&6
5914 CLOCALE_H=config/locale/generic/c_locale.h
5915 CLOCALE_CC=config/locale/generic/c_locale.cc
5916 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5917 CCOLLATE_CC=config/locale/generic/collate_members.cc
5918 CCTYPE_CC=config/locale/generic/ctype_members.cc
5919 CMESSAGES_H=config/locale/generic/messages_members.h
5920 CMESSAGES_CC=config/locale/generic/messages_members.cc
5921 CMONEY_CC=config/locale/generic/monetary_members.cc
5922 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5923 CTIME_H=config/locale/generic/time_members.h
5924 CTIME_CC=config/locale/generic/time_members.cc
5925 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5927 darwin)
5928 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5929 echo "${ECHO_T}darwin or freebsd" >&6
5931 CLOCALE_H=config/locale/generic/c_locale.h
5932 CLOCALE_CC=config/locale/generic/c_locale.cc
5933 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5934 CCOLLATE_CC=config/locale/generic/collate_members.cc
5935 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5936 CMESSAGES_H=config/locale/generic/messages_members.h
5937 CMESSAGES_CC=config/locale/generic/messages_members.cc
5938 CMONEY_CC=config/locale/generic/monetary_members.cc
5939 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5940 CTIME_H=config/locale/generic/time_members.h
5941 CTIME_CC=config/locale/generic/time_members.cc
5942 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5945 gnu)
5946 echo "$as_me:$LINENO: result: gnu" >&5
5947 echo "${ECHO_T}gnu" >&6
5949 # Declare intention to use gettext, and add support for specific
5950 # languages.
5951 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5952 ALL_LINGUAS="de fr"
5954 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5955 # Extract the first word of "msgfmt", so it can be a program name with args.
5956 set dummy msgfmt; ac_word=$2
5957 echo "$as_me:$LINENO: checking for $ac_word" >&5
5958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5959 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 else
5962 if test -n "$check_msgfmt"; then
5963 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_check_msgfmt="yes"
5973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5979 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5982 check_msgfmt=$ac_cv_prog_check_msgfmt
5983 if test -n "$check_msgfmt"; then
5984 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5985 echo "${ECHO_T}$check_msgfmt" >&6
5986 else
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5991 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5992 USE_NLS=yes
5994 # Export the build objects.
5995 for ling in $ALL_LINGUAS; do \
5996 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5997 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5998 done
6002 CLOCALE_H=config/locale/gnu/c_locale.h
6003 CLOCALE_CC=config/locale/gnu/c_locale.cc
6004 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6005 CCOLLATE_CC=config/locale/gnu/collate_members.cc
6006 CCTYPE_CC=config/locale/gnu/ctype_members.cc
6007 CMESSAGES_H=config/locale/gnu/messages_members.h
6008 CMESSAGES_CC=config/locale/gnu/messages_members.cc
6009 CMONEY_CC=config/locale/gnu/monetary_members.cc
6010 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6011 CTIME_H=config/locale/gnu/time_members.h
6012 CTIME_CC=config/locale/gnu/time_members.cc
6013 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6015 ieee_1003.1-2001)
6016 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6017 echo "${ECHO_T}IEEE 1003.1" >&6
6019 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6020 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6021 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6022 CCOLLATE_CC=config/locale/generic/collate_members.cc
6023 CCTYPE_CC=config/locale/generic/ctype_members.cc
6024 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6025 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6026 CMONEY_CC=config/locale/generic/monetary_members.cc
6027 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6028 CTIME_H=config/locale/generic/time_members.h
6029 CTIME_CC=config/locale/generic/time_members.cc
6030 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6032 esac
6034 # This is where the testsuite looks for locale catalogs, using the
6035 # -DLOCALEDIR define during testsuite compilation.
6036 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6039 # A standalone libintl (e.g., GNU libintl) may be in use.
6040 if test $USE_NLS = yes; then
6042 for ac_header in libintl.h
6044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046 echo "$as_me:$LINENO: checking for $ac_header" >&5
6047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6053 else
6054 # Is the header compilable?
6055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6057 cat >conftest.$ac_ext <<_ACEOF
6058 /* confdefs.h. */
6059 _ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 $ac_includes_default
6064 #include <$ac_header>
6065 _ACEOF
6066 rm -f conftest.$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068 (eval $ac_compile) 2>conftest.er1
6069 ac_status=$?
6070 grep -v '^ *+' conftest.er1 >conftest.err
6071 rm -f conftest.er1
6072 cat conftest.err >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } &&
6075 { ac_try='test -z "$ac_c_werror_flag"
6076 || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 (eval $ac_try) 2>&5
6079 ac_status=$?
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try='test -s conftest.$ac_objext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 (eval $ac_try) 2>&5
6085 ac_status=$?
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 ac_header_compiler=yes
6089 else
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6093 ac_header_compiler=no
6095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6097 echo "${ECHO_T}$ac_header_compiler" >&6
6099 # Is the header present?
6100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6102 cat >conftest.$ac_ext <<_ACEOF
6103 /* confdefs.h. */
6104 _ACEOF
6105 cat confdefs.h >>conftest.$ac_ext
6106 cat >>conftest.$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6108 #include <$ac_header>
6109 _ACEOF
6110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6112 ac_status=$?
6113 grep -v '^ *+' conftest.er1 >conftest.err
6114 rm -f conftest.er1
6115 cat conftest.err >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } >/dev/null; then
6118 if test -s conftest.err; then
6119 ac_cpp_err=$ac_c_preproc_warn_flag
6120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6121 else
6122 ac_cpp_err=
6124 else
6125 ac_cpp_err=yes
6127 if test -z "$ac_cpp_err"; then
6128 ac_header_preproc=yes
6129 else
6130 echo "$as_me: failed program was:" >&5
6131 sed 's/^/| /' conftest.$ac_ext >&5
6133 ac_header_preproc=no
6135 rm -f conftest.err conftest.$ac_ext
6136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6137 echo "${ECHO_T}$ac_header_preproc" >&6
6139 # So? What about this header?
6140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6141 yes:no: )
6142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6146 ac_header_preproc=yes
6148 no:yes:* )
6149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6162 cat <<\_ASBOX
6163 ## ----------------------------------------- ##
6164 ## Report this to the package-unused lists. ##
6165 ## ----------------------------------------- ##
6166 _ASBOX
6168 sed "s/^/$as_me: WARNING: /" >&2
6170 esac
6171 echo "$as_me:$LINENO: checking for $ac_header" >&5
6172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6175 else
6176 eval "$as_ac_Header=\$ac_header_preproc"
6178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6183 cat >>confdefs.h <<_ACEOF
6184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6185 _ACEOF
6187 else
6188 USE_NLS=no
6191 done
6193 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6194 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6195 if test "${ac_cv_search_gettext+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 else
6198 ac_func_search_save_LIBS=$LIBS
6199 ac_cv_search_gettext=no
6200 if test x$gcc_no_link = xyes; then
6201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6203 { (exit 1); exit 1; }; }
6205 cat >conftest.$ac_ext <<_ACEOF
6206 /* confdefs.h. */
6207 _ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any gcc2 internal prototype to avoid an error. */
6213 #ifdef __cplusplus
6214 extern "C"
6215 #endif
6216 /* We use char because int might match the return type of a gcc2
6217 builtin and then its argument prototype would still apply. */
6218 char gettext ();
6220 main ()
6222 gettext ();
6224 return 0;
6226 _ACEOF
6227 rm -f conftest.$ac_objext conftest$ac_exeext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6229 (eval $ac_link) 2>conftest.er1
6230 ac_status=$?
6231 grep -v '^ *+' conftest.er1 >conftest.err
6232 rm -f conftest.er1
6233 cat conftest.err >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } &&
6236 { ac_try='test -z "$ac_c_werror_flag"
6237 || test ! -s conftest.err'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 (eval $ac_try) 2>&5
6240 ac_status=$?
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; } &&
6243 { ac_try='test -s conftest$ac_exeext'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245 (eval $ac_try) 2>&5
6246 ac_status=$?
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6249 ac_cv_search_gettext="none required"
6250 else
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6255 rm -f conftest.err conftest.$ac_objext \
6256 conftest$ac_exeext conftest.$ac_ext
6257 if test "$ac_cv_search_gettext" = no; then
6258 for ac_lib in intl; do
6259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6260 if test x$gcc_no_link = xyes; then
6261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6263 { (exit 1); exit 1; }; }
6265 cat >conftest.$ac_ext <<_ACEOF
6266 /* confdefs.h. */
6267 _ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6272 /* Override any gcc2 internal prototype to avoid an error. */
6273 #ifdef __cplusplus
6274 extern "C"
6275 #endif
6276 /* We use char because int might match the return type of a gcc2
6277 builtin and then its argument prototype would still apply. */
6278 char gettext ();
6280 main ()
6282 gettext ();
6284 return 0;
6286 _ACEOF
6287 rm -f conftest.$ac_objext conftest$ac_exeext
6288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6289 (eval $ac_link) 2>conftest.er1
6290 ac_status=$?
6291 grep -v '^ *+' conftest.er1 >conftest.err
6292 rm -f conftest.er1
6293 cat conftest.err >&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } &&
6296 { ac_try='test -z "$ac_c_werror_flag"
6297 || test ! -s conftest.err'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 (eval $ac_try) 2>&5
6300 ac_status=$?
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } &&
6303 { ac_try='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 (eval $ac_try) 2>&5
6306 ac_status=$?
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6309 ac_cv_search_gettext="-l$ac_lib"
6310 break
6311 else
6312 echo "$as_me: failed program was:" >&5
6313 sed 's/^/| /' conftest.$ac_ext >&5
6316 rm -f conftest.err conftest.$ac_objext \
6317 conftest$ac_exeext conftest.$ac_ext
6318 done
6320 LIBS=$ac_func_search_save_LIBS
6322 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6323 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6324 if test "$ac_cv_search_gettext" != no; then
6325 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6327 else
6328 USE_NLS=no
6332 if test $USE_NLS = yes; then
6334 cat >>confdefs.h <<\_ACEOF
6335 #define _GLIBCXX_USE_NLS 1
6336 _ACEOF
6355 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6356 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6357 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6358 if test "${enable_libstdcxx_allocator+set}" = set; then
6359 enableval="$enable_libstdcxx_allocator"
6361 case "$enableval" in
6362 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6363 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6364 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6365 { (exit 1); exit 1; }; } ;;
6366 esac
6368 else
6369 enable_libstdcxx_allocator=auto
6373 # If they didn't use this option switch, or if they specified --enable
6374 # with no specific model, we'll have to look for one. If they
6375 # specified --disable (???), do likewise.
6376 if test $enable_libstdcxx_allocator = no ||
6377 test $enable_libstdcxx_allocator = yes;
6378 then
6379 enable_libstdcxx_allocator=auto
6382 # Either a known package, or "auto". Auto implies the default choice
6383 # for a particular platform.
6384 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6386 # Probe for host-specific support if no specific model is specified.
6387 # Default to "new".
6388 if test $enable_libstdcxx_allocator_flag = auto; then
6389 case ${target_os} in
6390 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6391 enable_libstdcxx_allocator_flag=new
6394 enable_libstdcxx_allocator_flag=new
6396 esac
6398 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6399 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6402 # Set configure bits for specified locale package
6403 case ${enable_libstdcxx_allocator_flag} in
6404 bitmap)
6405 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6406 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6408 malloc)
6409 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6410 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6413 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6414 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6416 new)
6417 ALLOCATOR_H=config/allocator/new_allocator_base.h
6418 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6420 pool)
6421 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6422 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6424 esac
6430 # Check whether --enable-cheaders or --disable-cheaders was given.
6431 if test "${enable_cheaders+set}" = set; then
6432 enableval="$enable_cheaders"
6434 case "$enableval" in
6435 c|c_std) ;;
6436 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6437 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6438 { (exit 1); exit 1; }; } ;;
6439 esac
6441 else
6442 enable_cheaders=$c_model
6445 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6446 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6448 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6455 # Check whether --enable-long-long or --disable-long-long was given.
6456 if test "${enable_long_long+set}" = set; then
6457 enableval="$enable_long_long"
6459 case "$enableval" in
6460 yes|no) ;;
6461 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6462 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6463 { (exit 1); exit 1; }; } ;;
6464 esac
6466 else
6467 enable_long_long=yes
6470 if test $enable_long_long = yes; then
6472 cat >>confdefs.h <<\_ACEOF
6473 #define _GLIBCXX_USE_LONG_LONG 1
6474 _ACEOF
6477 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6478 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6479 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6480 echo "${ECHO_T}$enable_long_long" >&6
6484 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6485 if test "${enable_wchar_t+set}" = set; then
6486 enableval="$enable_wchar_t"
6488 case "$enableval" in
6489 yes|no) ;;
6490 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6491 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6492 { (exit 1); exit 1; }; } ;;
6493 esac
6495 else
6496 enable_wchar_t=yes
6500 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6502 for ac_header in wchar.h
6504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6506 echo "$as_me:$LINENO: checking for $ac_header" >&5
6507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6513 else
6514 # Is the header compilable?
6515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6517 cat >conftest.$ac_ext <<_ACEOF
6518 /* confdefs.h. */
6519 _ACEOF
6520 cat confdefs.h >>conftest.$ac_ext
6521 cat >>conftest.$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6523 $ac_includes_default
6524 #include <$ac_header>
6525 _ACEOF
6526 rm -f conftest.$ac_objext
6527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6528 (eval $ac_compile) 2>conftest.er1
6529 ac_status=$?
6530 grep -v '^ *+' conftest.er1 >conftest.err
6531 rm -f conftest.er1
6532 cat conftest.err >&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); } &&
6535 { ac_try='test -z "$ac_c_werror_flag"
6536 || test ! -s conftest.err'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 (eval $ac_try) 2>&5
6539 ac_status=$?
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; } &&
6542 { ac_try='test -s conftest.$ac_objext'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 (eval $ac_try) 2>&5
6545 ac_status=$?
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; }; then
6548 ac_header_compiler=yes
6549 else
6550 echo "$as_me: failed program was:" >&5
6551 sed 's/^/| /' conftest.$ac_ext >&5
6553 ac_header_compiler=no
6555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6557 echo "${ECHO_T}$ac_header_compiler" >&6
6559 # Is the header present?
6560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6562 cat >conftest.$ac_ext <<_ACEOF
6563 /* confdefs.h. */
6564 _ACEOF
6565 cat confdefs.h >>conftest.$ac_ext
6566 cat >>conftest.$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6568 #include <$ac_header>
6569 _ACEOF
6570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6572 ac_status=$?
6573 grep -v '^ *+' conftest.er1 >conftest.err
6574 rm -f conftest.er1
6575 cat conftest.err >&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } >/dev/null; then
6578 if test -s conftest.err; then
6579 ac_cpp_err=$ac_c_preproc_warn_flag
6580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6581 else
6582 ac_cpp_err=
6584 else
6585 ac_cpp_err=yes
6587 if test -z "$ac_cpp_err"; then
6588 ac_header_preproc=yes
6589 else
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.$ac_ext >&5
6593 ac_header_preproc=no
6595 rm -f conftest.err conftest.$ac_ext
6596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6597 echo "${ECHO_T}$ac_header_preproc" >&6
6599 # So? What about this header?
6600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6601 yes:no: )
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6606 ac_header_preproc=yes
6608 no:yes:* )
6609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6622 cat <<\_ASBOX
6623 ## ----------------------------------------- ##
6624 ## Report this to the package-unused lists. ##
6625 ## ----------------------------------------- ##
6626 _ASBOX
6628 sed "s/^/$as_me: WARNING: /" >&2
6630 esac
6631 echo "$as_me:$LINENO: checking for $ac_header" >&5
6632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6635 else
6636 eval "$as_ac_Header=\$ac_header_preproc"
6638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6643 cat >>confdefs.h <<_ACEOF
6644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6645 _ACEOF
6646 ac_has_wchar_h=yes
6647 else
6648 ac_has_wchar_h=no
6651 done
6653 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6654 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6655 cat >conftest.$ac_ext <<_ACEOF
6656 /* confdefs.h. */
6657 _ACEOF
6658 cat confdefs.h >>conftest.$ac_ext
6659 cat >>conftest.$ac_ext <<_ACEOF
6660 /* end confdefs.h. */
6661 #include <wchar.h>
6663 main ()
6665 mbstate_t teststate;
6667 return 0;
6669 _ACEOF
6670 rm -f conftest.$ac_objext
6671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6672 (eval $ac_compile) 2>conftest.er1
6673 ac_status=$?
6674 grep -v '^ *+' conftest.er1 >conftest.err
6675 rm -f conftest.er1
6676 cat conftest.err >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } &&
6679 { ac_try='test -z "$ac_c_werror_flag"
6680 || test ! -s conftest.err'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 (eval $ac_try) 2>&5
6683 ac_status=$?
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; } &&
6686 { ac_try='test -s conftest.$ac_objext'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 (eval $ac_try) 2>&5
6689 ac_status=$?
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6692 have_mbstate_t=yes
6693 else
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.$ac_ext >&5
6697 have_mbstate_t=no
6699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6700 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6701 echo "${ECHO_T}$have_mbstate_t" >&6
6702 if test x"$have_mbstate_t" = xyes; then
6704 cat >>confdefs.h <<\_ACEOF
6705 #define HAVE_MBSTATE_T 1
6706 _ACEOF
6710 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6711 # ac_has_wchar_h.
6713 for ac_header in wctype.h
6715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6717 echo "$as_me:$LINENO: checking for $ac_header" >&5
6718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6724 else
6725 # Is the header compilable?
6726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6728 cat >conftest.$ac_ext <<_ACEOF
6729 /* confdefs.h. */
6730 _ACEOF
6731 cat confdefs.h >>conftest.$ac_ext
6732 cat >>conftest.$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6734 $ac_includes_default
6735 #include <$ac_header>
6736 _ACEOF
6737 rm -f conftest.$ac_objext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6739 (eval $ac_compile) 2>conftest.er1
6740 ac_status=$?
6741 grep -v '^ *+' conftest.er1 >conftest.err
6742 rm -f conftest.er1
6743 cat conftest.err >&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } &&
6746 { ac_try='test -z "$ac_c_werror_flag"
6747 || test ! -s conftest.err'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 (eval $ac_try) 2>&5
6750 ac_status=$?
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; } &&
6753 { ac_try='test -s conftest.$ac_objext'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 (eval $ac_try) 2>&5
6756 ac_status=$?
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; }; then
6759 ac_header_compiler=yes
6760 else
6761 echo "$as_me: failed program was:" >&5
6762 sed 's/^/| /' conftest.$ac_ext >&5
6764 ac_header_compiler=no
6766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6768 echo "${ECHO_T}$ac_header_compiler" >&6
6770 # Is the header present?
6771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6773 cat >conftest.$ac_ext <<_ACEOF
6774 /* confdefs.h. */
6775 _ACEOF
6776 cat confdefs.h >>conftest.$ac_ext
6777 cat >>conftest.$ac_ext <<_ACEOF
6778 /* end confdefs.h. */
6779 #include <$ac_header>
6780 _ACEOF
6781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6783 ac_status=$?
6784 grep -v '^ *+' conftest.er1 >conftest.err
6785 rm -f conftest.er1
6786 cat conftest.err >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); } >/dev/null; then
6789 if test -s conftest.err; then
6790 ac_cpp_err=$ac_c_preproc_warn_flag
6791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6792 else
6793 ac_cpp_err=
6795 else
6796 ac_cpp_err=yes
6798 if test -z "$ac_cpp_err"; then
6799 ac_header_preproc=yes
6800 else
6801 echo "$as_me: failed program was:" >&5
6802 sed 's/^/| /' conftest.$ac_ext >&5
6804 ac_header_preproc=no
6806 rm -f conftest.err conftest.$ac_ext
6807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6808 echo "${ECHO_T}$ac_header_preproc" >&6
6810 # So? What about this header?
6811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6812 yes:no: )
6813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6817 ac_header_preproc=yes
6819 no:yes:* )
6820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6833 cat <<\_ASBOX
6834 ## ----------------------------------------- ##
6835 ## Report this to the package-unused lists. ##
6836 ## ----------------------------------------- ##
6837 _ASBOX
6839 sed "s/^/$as_me: WARNING: /" >&2
6841 esac
6842 echo "$as_me:$LINENO: checking for $ac_header" >&5
6843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6845 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 else
6847 eval "$as_ac_Header=\$ac_header_preproc"
6849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6854 cat >>confdefs.h <<_ACEOF
6855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6856 _ACEOF
6857 ac_has_wctype_h=yes
6858 else
6859 ac_has_wctype_h=no
6862 done
6865 if test x"$enable_wchar_t" = x"yes"; then
6869 ac_ext=cc
6870 ac_cpp='$CXXCPP $CPPFLAGS'
6871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6876 if test x"$ac_has_wchar_h" = xyes &&
6877 test x"$ac_has_wctype_h" = xyes; then
6878 cat >conftest.$ac_ext <<_ACEOF
6879 /* confdefs.h. */
6880 _ACEOF
6881 cat confdefs.h >>conftest.$ac_ext
6882 cat >>conftest.$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6884 #include <wchar.h>
6885 #include <stddef.h>
6886 wint_t i;
6887 long l = WEOF;
6888 long j = WCHAR_MIN;
6889 long k = WCHAR_MAX;
6890 namespace test
6892 using ::btowc;
6893 using ::fgetwc;
6894 using ::fgetws;
6895 using ::fputwc;
6896 using ::fputws;
6897 using ::fwide;
6898 using ::fwprintf;
6899 using ::fwscanf;
6900 using ::getwc;
6901 using ::getwchar;
6902 using ::mbrlen;
6903 using ::mbrtowc;
6904 using ::mbsinit;
6905 using ::mbsrtowcs;
6906 using ::putwc;
6907 using ::putwchar;
6908 using ::swprintf;
6909 using ::swscanf;
6910 using ::ungetwc;
6911 using ::vfwprintf;
6912 using ::vswprintf;
6913 using ::vwprintf;
6914 using ::wcrtomb;
6915 using ::wcscat;
6916 using ::wcschr;
6917 using ::wcscmp;
6918 using ::wcscoll;
6919 using ::wcscpy;
6920 using ::wcscspn;
6921 using ::wcsftime;
6922 using ::wcslen;
6923 using ::wcsncat;
6924 using ::wcsncmp;
6925 using ::wcsncpy;
6926 using ::wcspbrk;
6927 using ::wcsrchr;
6928 using ::wcsrtombs;
6929 using ::wcsspn;
6930 using ::wcsstr;
6931 using ::wcstod;
6932 using ::wcstok;
6933 using ::wcstol;
6934 using ::wcstoul;
6935 using ::wcsxfrm;
6936 using ::wctob;
6937 using ::wmemchr;
6938 using ::wmemcmp;
6939 using ::wmemcpy;
6940 using ::wmemmove;
6941 using ::wmemset;
6942 using ::wprintf;
6943 using ::wscanf;
6947 main ()
6951 return 0;
6953 _ACEOF
6954 rm -f conftest.$ac_objext
6955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6956 (eval $ac_compile) 2>conftest.er1
6957 ac_status=$?
6958 grep -v '^ *+' conftest.er1 >conftest.err
6959 rm -f conftest.er1
6960 cat conftest.err >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } &&
6963 { ac_try='test -z "$ac_cxx_werror_flag"
6964 || test ! -s conftest.err'
6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 (eval $ac_try) 2>&5
6967 ac_status=$?
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); }; } &&
6970 { ac_try='test -s conftest.$ac_objext'
6971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972 (eval $ac_try) 2>&5
6973 ac_status=$?
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); }; }; then
6977 else
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6981 enable_wchar_t=no
6983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6984 else
6985 enable_wchar_t=no
6988 ac_ext=c
6989 ac_cpp='$CPP $CPPFLAGS'
6990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6996 if test x"$enable_wchar_t" = x"yes"; then
6998 cat >>confdefs.h <<\_ACEOF
6999 #define _GLIBCXX_USE_WCHAR_T 1
7000 _ACEOF
7004 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7005 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7006 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7007 echo "${ECHO_T}$enable_wchar_t" >&6
7011 # Check whether --enable-c99 or --disable-c99 was given.
7012 if test "${enable_c99+set}" = set; then
7013 enableval="$enable_c99"
7015 case "$enableval" in
7016 yes|no) ;;
7017 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7018 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7019 { (exit 1); exit 1; }; } ;;
7020 esac
7022 else
7023 enable_c99=yes
7027 if test x"$enable_c99" = x"yes"; then
7031 ac_ext=cc
7032 ac_cpp='$CXXCPP $CPPFLAGS'
7033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7038 # Check for the existence of <math.h> functions used if C99 is enabled.
7039 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7040 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7041 if test "${ac_c99_math+set}" = set; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6
7043 else
7045 cat >conftest.$ac_ext <<_ACEOF
7046 /* confdefs.h. */
7047 _ACEOF
7048 cat confdefs.h >>conftest.$ac_ext
7049 cat >>conftest.$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7051 #include <math.h>
7053 main ()
7055 fpclassify(0.0);
7056 isfinite(0.0);
7057 isinf(0.0);
7058 isnan(0.0);
7059 isnormal(0.0);
7060 signbit(0.0);
7061 isgreater(0.0,0.0);
7062 isgreaterequal(0.0,0.0);
7063 isless(0.0,0.0);
7064 islessequal(0.0,0.0);
7065 islessgreater(0.0,0.0);
7066 islessgreater(0.0,0.0);
7067 isunordered(0.0,0.0);
7070 return 0;
7072 _ACEOF
7073 rm -f conftest.$ac_objext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7075 (eval $ac_compile) 2>conftest.er1
7076 ac_status=$?
7077 grep -v '^ *+' conftest.er1 >conftest.err
7078 rm -f conftest.er1
7079 cat conftest.err >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } &&
7082 { ac_try='test -z "$ac_cxx_werror_flag"
7083 || test ! -s conftest.err'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 (eval $ac_try) 2>&5
7086 ac_status=$?
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; } &&
7089 { ac_try='test -s conftest.$ac_objext'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 (eval $ac_try) 2>&5
7092 ac_status=$?
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7095 ac_c99_math=yes
7096 else
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.$ac_ext >&5
7100 ac_c99_math=no
7102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7106 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7107 echo "${ECHO_T}$ac_c99_math" >&6
7108 if test x"$ac_c99_math" = x"yes"; then
7110 cat >>confdefs.h <<\_ACEOF
7111 #define _GLIBCXX_USE_C99_MATH 1
7112 _ACEOF
7116 # Check for the existence of <complex.h> complex math functions.
7117 # This is necessary even though libstdc++ uses the builtin versions
7118 # of these functions, because if the builtin cannot be used, a reference
7119 # to the library function is emitted.
7121 for ac_header in complex.h
7123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7125 echo "$as_me:$LINENO: checking for $ac_header" >&5
7126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7132 else
7133 # Is the header compilable?
7134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7136 cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h. */
7138 _ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 $ac_includes_default
7143 #include <$ac_header>
7144 _ACEOF
7145 rm -f conftest.$ac_objext
7146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7147 (eval $ac_compile) 2>conftest.er1
7148 ac_status=$?
7149 grep -v '^ *+' conftest.er1 >conftest.err
7150 rm -f conftest.er1
7151 cat conftest.err >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } &&
7154 { ac_try='test -z "$ac_cxx_werror_flag"
7155 || test ! -s conftest.err'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 (eval $ac_try) 2>&5
7158 ac_status=$?
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; } &&
7161 { ac_try='test -s conftest.$ac_objext'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 (eval $ac_try) 2>&5
7164 ac_status=$?
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; }; then
7167 ac_header_compiler=yes
7168 else
7169 echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.$ac_ext >&5
7172 ac_header_compiler=no
7174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7176 echo "${ECHO_T}$ac_header_compiler" >&6
7178 # Is the header present?
7179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7181 cat >conftest.$ac_ext <<_ACEOF
7182 /* confdefs.h. */
7183 _ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 #include <$ac_header>
7188 _ACEOF
7189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7191 ac_status=$?
7192 grep -v '^ *+' conftest.er1 >conftest.err
7193 rm -f conftest.er1
7194 cat conftest.err >&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } >/dev/null; then
7197 if test -s conftest.err; then
7198 ac_cpp_err=$ac_cxx_preproc_warn_flag
7199 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7200 else
7201 ac_cpp_err=
7203 else
7204 ac_cpp_err=yes
7206 if test -z "$ac_cpp_err"; then
7207 ac_header_preproc=yes
7208 else
7209 echo "$as_me: failed program was:" >&5
7210 sed 's/^/| /' conftest.$ac_ext >&5
7212 ac_header_preproc=no
7214 rm -f conftest.err conftest.$ac_ext
7215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7216 echo "${ECHO_T}$ac_header_preproc" >&6
7218 # So? What about this header?
7219 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7220 yes:no: )
7221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7225 ac_header_preproc=yes
7227 no:yes:* )
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7241 cat <<\_ASBOX
7242 ## ----------------------------------------- ##
7243 ## Report this to the package-unused lists. ##
7244 ## ----------------------------------------- ##
7245 _ASBOX
7247 sed "s/^/$as_me: WARNING: /" >&2
7249 esac
7250 echo "$as_me:$LINENO: checking for $ac_header" >&5
7251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7253 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 else
7255 eval "$as_ac_Header=\$ac_header_preproc"
7257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7262 cat >>confdefs.h <<_ACEOF
7263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7264 _ACEOF
7265 ac_has_complex_h=yes
7266 else
7267 ac_has_complex_h=no
7270 done
7272 ac_c99_complex=no;
7273 if test x"$ac_has_complex_h" = x"yes"; then
7274 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7275 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7276 cat >conftest.$ac_ext <<_ACEOF
7277 /* confdefs.h. */
7278 _ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h. */
7282 #include <complex.h>
7284 main ()
7286 typedef __complex__ float float_type; float_type tmpf;
7287 cabsf(tmpf);
7288 cargf(tmpf);
7289 ccosf(tmpf);
7290 ccoshf(tmpf);
7291 cexpf(tmpf);
7292 clogf(tmpf);
7293 csinf(tmpf);
7294 csinhf(tmpf);
7295 csqrtf(tmpf);
7296 ctanf(tmpf);
7297 ctanhf(tmpf);
7298 cpowf(tmpf, tmpf);
7299 typedef __complex__ double double_type; double_type tmpd;
7300 cabs(tmpd);
7301 carg(tmpd);
7302 ccos(tmpd);
7303 ccosh(tmpd);
7304 cexp(tmpd);
7305 clog(tmpd);
7306 csin(tmpd);
7307 csinh(tmpd);
7308 csqrt(tmpd);
7309 ctan(tmpd);
7310 ctanh(tmpd);
7311 cpow(tmpd, tmpd);
7312 typedef __complex__ long double ld_type; ld_type tmpld;
7313 cabsl(tmpld);
7314 cargl(tmpld);
7315 ccosl(tmpld);
7316 ccoshl(tmpld);
7317 cexpl(tmpld);
7318 clogl(tmpld);
7319 csinl(tmpld);
7320 csinhl(tmpld);
7321 csqrtl(tmpld);
7322 ctanl(tmpld);
7323 ctanhl(tmpld);
7324 cpowl(tmpld, tmpld);
7327 return 0;
7329 _ACEOF
7330 rm -f conftest.$ac_objext
7331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7332 (eval $ac_compile) 2>conftest.er1
7333 ac_status=$?
7334 grep -v '^ *+' conftest.er1 >conftest.err
7335 rm -f conftest.er1
7336 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try='test -z "$ac_cxx_werror_flag"
7340 || test ! -s conftest.err'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; } &&
7346 { ac_try='test -s conftest.$ac_objext'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 (eval $ac_try) 2>&5
7349 ac_status=$?
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 ac_c99_complex=yes
7353 else
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.$ac_ext >&5
7357 ac_c99_complex=no
7359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7361 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7362 echo "${ECHO_T}$ac_c99_complex" >&6
7363 if test x"$ac_c99_complex" = x"yes"; then
7365 cat >>confdefs.h <<\_ACEOF
7366 #define _GLIBCXX_USE_C99_COMPLEX 1
7367 _ACEOF
7371 # Check for the existence in <stdio.h> of vscanf, et. al.
7372 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7373 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7374 if test "${ac_c99_stdio+set}" = set; then
7375 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 else
7378 cat >conftest.$ac_ext <<_ACEOF
7379 /* confdefs.h. */
7380 _ACEOF
7381 cat confdefs.h >>conftest.$ac_ext
7382 cat >>conftest.$ac_ext <<_ACEOF
7383 /* end confdefs.h. */
7384 #include <stdio.h>
7385 #include <stdarg.h>
7386 void foo(char* fmt, ...)
7388 va_list args; va_start(args, fmt);
7389 vfscanf(stderr, "%i", args);
7390 vscanf("%i", args);
7391 vsnprintf(fmt, 0, "%i", args);
7392 vsscanf(fmt, "%i", args);
7395 main ()
7397 snprintf("12", 0, "%i");
7399 return 0;
7401 _ACEOF
7402 rm -f conftest.$ac_objext
7403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7404 (eval $ac_compile) 2>conftest.er1
7405 ac_status=$?
7406 grep -v '^ *+' conftest.er1 >conftest.err
7407 rm -f conftest.er1
7408 cat conftest.err >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); } &&
7411 { ac_try='test -z "$ac_cxx_werror_flag"
7412 || test ! -s conftest.err'
7413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 (eval $ac_try) 2>&5
7415 ac_status=$?
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); }; } &&
7418 { ac_try='test -s conftest.$ac_objext'
7419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 (eval $ac_try) 2>&5
7421 ac_status=$?
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); }; }; then
7424 ac_c99_stdio=yes
7425 else
7426 echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.$ac_ext >&5
7429 ac_c99_stdio=no
7431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7435 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7436 echo "${ECHO_T}$ac_c99_stdio" >&6
7438 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7439 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7440 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7441 if test "${ac_c99_stdlib+set}" = set; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 else
7445 cat >conftest.$ac_ext <<_ACEOF
7446 /* confdefs.h. */
7447 _ACEOF
7448 cat confdefs.h >>conftest.$ac_ext
7449 cat >>conftest.$ac_ext <<_ACEOF
7450 /* end confdefs.h. */
7451 #include <stdlib.h>
7453 main ()
7455 char* tmp;
7456 strtof("gnu", &tmp);
7457 strtold("gnu", &tmp);
7458 strtoll("gnu", &tmp, 10);
7459 strtoull("gnu", &tmp, 10);
7460 llabs(10);
7461 lldiv(10,1);
7462 atoll("10");
7463 _Exit(0);
7464 lldiv_t mydivt;
7466 return 0;
7468 _ACEOF
7469 rm -f conftest.$ac_objext
7470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7471 (eval $ac_compile) 2>conftest.er1
7472 ac_status=$?
7473 grep -v '^ *+' conftest.er1 >conftest.err
7474 rm -f conftest.er1
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } &&
7478 { ac_try='test -z "$ac_cxx_werror_flag"
7479 || test ! -s conftest.err'
7480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481 (eval $ac_try) 2>&5
7482 ac_status=$?
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); }; } &&
7485 { ac_try='test -s conftest.$ac_objext'
7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 (eval $ac_try) 2>&5
7488 ac_status=$?
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; }; then
7491 ac_c99_stdlib=yes
7492 else
7493 echo "$as_me: failed program was:" >&5
7494 sed 's/^/| /' conftest.$ac_ext >&5
7496 ac_c99_stdlib=no
7498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7502 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7503 echo "${ECHO_T}$ac_c99_stdlib" >&6
7505 # Check for the existence in <wchar.h> of wcstold, etc.
7506 ac_c99_wchar=no;
7507 if test x"$ac_has_wchar_h" = xyes &&
7508 test x"$ac_has_wctype_h" = xyes; then
7509 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7510 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7511 cat >conftest.$ac_ext <<_ACEOF
7512 /* confdefs.h. */
7513 _ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 #include <wchar.h>
7518 namespace test
7520 using ::wcstold;
7521 using ::wcstoll;
7522 using ::wcstoull;
7526 main ()
7530 return 0;
7532 _ACEOF
7533 rm -f conftest.$ac_objext
7534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7535 (eval $ac_compile) 2>conftest.er1
7536 ac_status=$?
7537 grep -v '^ *+' conftest.er1 >conftest.err
7538 rm -f conftest.er1
7539 cat conftest.err >&5
7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); } &&
7542 { ac_try='test -z "$ac_cxx_werror_flag"
7543 || test ! -s conftest.err'
7544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 (eval $ac_try) 2>&5
7546 ac_status=$?
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); }; } &&
7549 { ac_try='test -s conftest.$ac_objext'
7550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 (eval $ac_try) 2>&5
7552 ac_status=$?
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); }; }; then
7555 ac_c99_wchar=yes
7556 else
7557 echo "$as_me: failed program was:" >&5
7558 sed 's/^/| /' conftest.$ac_ext >&5
7560 ac_c99_wchar=no
7562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7564 # Checks for wide character functions that may not be present.
7565 # Injection of these is wrapped with guard macros.
7566 # NB: only put functions here, instead of immediately above, if
7567 # absolutely necessary.
7568 cat >conftest.$ac_ext <<_ACEOF
7569 /* confdefs.h. */
7570 _ACEOF
7571 cat confdefs.h >>conftest.$ac_ext
7572 cat >>conftest.$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <wchar.h>
7575 namespace test { using ::vfwscanf; }
7577 main ()
7581 return 0;
7583 _ACEOF
7584 rm -f conftest.$ac_objext
7585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7586 (eval $ac_compile) 2>conftest.er1
7587 ac_status=$?
7588 grep -v '^ *+' conftest.er1 >conftest.err
7589 rm -f conftest.er1
7590 cat conftest.err >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } &&
7593 { ac_try='test -z "$ac_cxx_werror_flag"
7594 || test ! -s conftest.err'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 (eval $ac_try) 2>&5
7597 ac_status=$?
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest.$ac_objext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7607 cat >>confdefs.h <<\_ACEOF
7608 #define HAVE_VFWSCANF 1
7609 _ACEOF
7611 else
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7618 cat >conftest.$ac_ext <<_ACEOF
7619 /* confdefs.h. */
7620 _ACEOF
7621 cat confdefs.h >>conftest.$ac_ext
7622 cat >>conftest.$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7624 #include <wchar.h>
7625 namespace test { using ::vswscanf; }
7627 main ()
7631 return 0;
7633 _ACEOF
7634 rm -f conftest.$ac_objext
7635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7636 (eval $ac_compile) 2>conftest.er1
7637 ac_status=$?
7638 grep -v '^ *+' conftest.er1 >conftest.err
7639 rm -f conftest.er1
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try='test -z "$ac_cxx_werror_flag"
7644 || test ! -s conftest.err'
7645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 (eval $ac_try) 2>&5
7647 ac_status=$?
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); }; } &&
7650 { ac_try='test -s conftest.$ac_objext'
7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 (eval $ac_try) 2>&5
7653 ac_status=$?
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }; }; then
7657 cat >>confdefs.h <<\_ACEOF
7658 #define HAVE_VSWSCANF 1
7659 _ACEOF
7661 else
7662 echo "$as_me: failed program was:" >&5
7663 sed 's/^/| /' conftest.$ac_ext >&5
7666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7668 cat >conftest.$ac_ext <<_ACEOF
7669 /* confdefs.h. */
7670 _ACEOF
7671 cat confdefs.h >>conftest.$ac_ext
7672 cat >>conftest.$ac_ext <<_ACEOF
7673 /* end confdefs.h. */
7674 #include <wchar.h>
7675 namespace test { using ::vwscanf; }
7677 main ()
7681 return 0;
7683 _ACEOF
7684 rm -f conftest.$ac_objext
7685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7686 (eval $ac_compile) 2>conftest.er1
7687 ac_status=$?
7688 grep -v '^ *+' conftest.er1 >conftest.err
7689 rm -f conftest.er1
7690 cat conftest.err >&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try='test -z "$ac_cxx_werror_flag"
7694 || test ! -s conftest.err'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 (eval $ac_try) 2>&5
7697 ac_status=$?
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; } &&
7700 { ac_try='test -s conftest.$ac_objext'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7702 (eval $ac_try) 2>&5
7703 ac_status=$?
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; }; then
7707 cat >>confdefs.h <<\_ACEOF
7708 #define HAVE_VWSCANF 1
7709 _ACEOF
7711 else
7712 echo "$as_me: failed program was:" >&5
7713 sed 's/^/| /' conftest.$ac_ext >&5
7716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7718 cat >conftest.$ac_ext <<_ACEOF
7719 /* confdefs.h. */
7720 _ACEOF
7721 cat confdefs.h >>conftest.$ac_ext
7722 cat >>conftest.$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7724 #include <wchar.h>
7725 namespace test { using ::wcstof; }
7727 main ()
7731 return 0;
7733 _ACEOF
7734 rm -f conftest.$ac_objext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7736 (eval $ac_compile) 2>conftest.er1
7737 ac_status=$?
7738 grep -v '^ *+' conftest.er1 >conftest.err
7739 rm -f conftest.er1
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } &&
7743 { ac_try='test -z "$ac_cxx_werror_flag"
7744 || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 (eval $ac_try) 2>&5
7747 ac_status=$?
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); }; } &&
7750 { ac_try='test -s conftest.$ac_objext'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 (eval $ac_try) 2>&5
7753 ac_status=$?
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; }; then
7757 cat >>confdefs.h <<\_ACEOF
7758 #define HAVE_WCSTOF 1
7759 _ACEOF
7761 else
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.$ac_ext >&5
7766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7768 cat >conftest.$ac_ext <<_ACEOF
7769 /* confdefs.h. */
7770 _ACEOF
7771 cat confdefs.h >>conftest.$ac_ext
7772 cat >>conftest.$ac_ext <<_ACEOF
7773 /* end confdefs.h. */
7774 #include <wctype.h>
7776 main ()
7778 wint_t t; int i = iswblank(t);
7780 return 0;
7782 _ACEOF
7783 rm -f conftest.$ac_objext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7785 (eval $ac_compile) 2>conftest.er1
7786 ac_status=$?
7787 grep -v '^ *+' conftest.er1 >conftest.err
7788 rm -f conftest.er1
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } &&
7792 { ac_try='test -z "$ac_cxx_werror_flag"
7793 || test ! -s conftest.err'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7795 (eval $ac_try) 2>&5
7796 ac_status=$?
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; } &&
7799 { ac_try='test -s conftest.$ac_objext'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 (eval $ac_try) 2>&5
7802 ac_status=$?
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; }; then
7806 cat >>confdefs.h <<\_ACEOF
7807 #define HAVE_ISWBLANK 1
7808 _ACEOF
7810 else
7811 echo "$as_me: failed program was:" >&5
7812 sed 's/^/| /' conftest.$ac_ext >&5
7815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7817 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7818 echo "${ECHO_T}$ac_c99_wchar" >&6
7821 # Option parsed, now set things appropriately.
7822 if test x"$ac_c99_math" = x"no" ||
7823 test x"$ac_c99_complex" = x"no" ||
7824 test x"$ac_c99_stdio" = x"no" ||
7825 test x"$ac_c99_stdlib" = x"no" ||
7826 test x"$ac_c99_wchar" = x"no"; then
7827 enable_c99=no;
7828 else
7830 cat >>confdefs.h <<\_ACEOF
7831 #define _GLIBCXX_USE_C99 1
7832 _ACEOF
7836 ac_ext=c
7837 ac_cpp='$CPP $CPPFLAGS'
7838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7844 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7845 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7846 echo "$as_me:$LINENO: result: $enable_c99" >&5
7847 echo "${ECHO_T}$enable_c99" >&6
7850 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7851 if test "${enable_concept_checks+set}" = set; then
7852 enableval="$enable_concept_checks"
7854 case "$enableval" in
7855 yes|no) ;;
7856 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7857 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7858 { (exit 1); exit 1; }; } ;;
7859 esac
7861 else
7862 enable_concept_checks=no
7865 if test $enable_concept_checks = yes; then
7867 cat >>confdefs.h <<\_ACEOF
7868 #define _GLIBCXX_CONCEPT_CHECKS 1
7869 _ACEOF
7874 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7875 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7876 enableval="$enable_libstdcxx_debug_flags"
7877 case "x$enable_libstdcxx_debug_flags" in
7878 xno | x) enable_libstdcxx_debug_flags= ;;
7879 x-*) ;;
7880 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7881 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7882 { (exit 1); exit 1; }; } ;;
7883 esac
7884 else
7885 enable_libstdcxx_debug_flags="-g3 -O0"
7889 # Option parsed, now set things appropriately
7890 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7893 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7894 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7897 echo "$as_me:$LINENO: checking for additional debug build" >&5
7898 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7899 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7900 if test "${enable_libstdcxx_debug+set}" = set; then
7901 enableval="$enable_libstdcxx_debug"
7903 case "$enableval" in
7904 yes|no) ;;
7905 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7906 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7907 { (exit 1); exit 1; }; } ;;
7908 esac
7910 else
7911 enable_libstdcxx_debug=no
7914 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7915 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7918 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7919 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7920 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7921 if test "${enable_cxx_flags+set}" = set; then
7922 enableval="$enable_cxx_flags"
7923 case "x$enable_cxx_flags" in
7924 xno | x) enable_cxx_flags= ;;
7925 x-*) ;;
7926 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7927 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7928 { (exit 1); exit 1; }; } ;;
7929 esac
7930 else
7931 enable_cxx_flags=
7935 # Run through flags (either default or command-line) and set anything
7936 # extra (e.g., #defines) that must accompany particular g++ options.
7937 if test -n "$enable_cxx_flags"; then
7938 for f in $enable_cxx_flags; do
7939 case "$f" in
7940 -fhonor-std) ;;
7941 -*) ;;
7942 *) # and we're trying to pass /what/ exactly?
7943 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7944 echo "$as_me: error: compiler flags start with a -" >&2;}
7945 { (exit 1); exit 1; }; } ;;
7946 esac
7947 done
7950 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7951 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7952 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7956 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7957 if test "${enable_fully_dynamic_string+set}" = set; then
7958 enableval="$enable_fully_dynamic_string"
7960 case "$enableval" in
7961 yes|no) ;;
7962 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7963 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7964 { (exit 1); exit 1; }; } ;;
7965 esac
7967 else
7968 enable_fully_dynamic_string=no
7971 if test $enable_fully_dynamic_string = yes; then
7973 cat >>confdefs.h <<\_ACEOF
7974 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7975 _ACEOF
7980 # No surprises, no surprises...
7982 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7983 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7984 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7985 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7986 echo "${ECHO_T}$target_thread_file" >&6
7988 if test $target_thread_file != single; then
7990 cat >>confdefs.h <<\_ACEOF
7991 #define HAVE_GTHR_DEFAULT 1
7992 _ACEOF
7996 glibcxx_thread_h=gthr-$target_thread_file.h
7998 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7999 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
8000 enable_thread=yes
8001 else
8002 enable_thread=no
8008 echo "$as_me:$LINENO: checking for atomic builtins" >&5
8009 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8012 ac_ext=cc
8013 ac_cpp='$CXXCPP $CPPFLAGS'
8014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8019 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
8020 cat > conftest.$ac_ext << EOF
8021 #line 8021 "configure"
8022 int main()
8024 // NB: _Atomic_word not necessarily int.
8025 typedef int atomic_type;
8026 atomic_type c1;
8027 atomic_type c2;
8028 const atomic_type c3(0);
8029 if (__sync_fetch_and_add(&c1, c2) == c3)
8031 // Do something.
8033 return 0;
8036 old_CXXFLAGS="$CXXFLAGS"
8037 CXXFLAGS=-S
8038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8039 (eval $ac_compile) 2>&5
8040 ac_status=$?
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; then
8043 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8044 enable_atomic_builtins=no
8045 else
8047 cat >>confdefs.h <<\_ACEOF
8048 #define _GLIBCXX_ATOMIC_BUILTINS 1
8049 _ACEOF
8051 enable_atomic_builtins=yes
8052 atomicity_dir=cpu/generic/atomicity_builtins
8055 CXXFLAGS="$old_CXXFLAGS"
8056 rm -f conftest*
8058 # Now, if still generic, set to mutex.
8059 if test $atomicity_dir = "cpu/generic" ; then
8060 atomicity_dir=cpu/generic/atomicity_mutex
8062 ac_ext=c
8063 ac_cpp='$CPP $CPPFLAGS'
8064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8068 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8069 echo "${ECHO_T}$enable_atomic_builtins" >&6
8071 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8072 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8073 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8074 if test $target_thread_file = single; then
8075 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8076 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8077 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8078 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8079 else
8080 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8081 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8082 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8083 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8088 # All these tests are for C++; save the language and the compiler flags.
8089 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8090 # found in GLIBCXX_CONFIGURE.
8093 ac_ext=cc
8094 ac_cpp='$CXXCPP $CPPFLAGS'
8095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8099 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8100 ac_save_CXXFLAGS="$CXXFLAGS"
8102 # Check for maintainer-mode bits.
8103 if test x"$USE_MAINTAINER_MODE" = xno; then
8104 WERROR=''
8105 else
8106 WERROR='-Werror'
8109 # Check for -ffunction-sections -fdata-sections
8110 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8111 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8112 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8113 cat >conftest.$ac_ext <<_ACEOF
8114 /* confdefs.h. */
8115 _ACEOF
8116 cat confdefs.h >>conftest.$ac_ext
8117 cat >>conftest.$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8121 main ()
8123 int foo;
8125 return 0;
8127 _ACEOF
8128 rm -f conftest.$ac_objext
8129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8130 (eval $ac_compile) 2>conftest.er1
8131 ac_status=$?
8132 grep -v '^ *+' conftest.er1 >conftest.err
8133 rm -f conftest.er1
8134 cat conftest.err >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try='test -z "$ac_cxx_werror_flag"
8138 || test ! -s conftest.err'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 (eval $ac_try) 2>&5
8141 ac_status=$?
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; } &&
8144 { ac_try='test -s conftest.$ac_objext'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5
8147 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; }; then
8150 ac_fdsections=yes
8151 else
8152 echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 ac_fdsections=no
8157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8158 if test "$ac_test_CXXFLAGS" = set; then
8159 CXXFLAGS="$ac_save_CXXFLAGS"
8160 else
8161 # this is the suspicious part
8162 CXXFLAGS=''
8164 if test x"$ac_fdsections" = x"yes"; then
8165 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8167 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8168 echo "${ECHO_T}$ac_fdsections" >&6
8170 ac_ext=c
8171 ac_cpp='$CPP $CPPFLAGS'
8172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8180 if $GLIBCXX_IS_NATIVE; then
8182 # We can do more elaborate tests that assume a working linker.
8183 CANADIAN=no
8185 # Check for available headers.
8201 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8202 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8203 sys/types.h sys/ipc.h sys/sem.h
8205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8207 echo "$as_me:$LINENO: checking for $ac_header" >&5
8208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8214 else
8215 # Is the header compilable?
8216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8218 cat >conftest.$ac_ext <<_ACEOF
8219 /* confdefs.h. */
8220 _ACEOF
8221 cat confdefs.h >>conftest.$ac_ext
8222 cat >>conftest.$ac_ext <<_ACEOF
8223 /* end confdefs.h. */
8224 $ac_includes_default
8225 #include <$ac_header>
8226 _ACEOF
8227 rm -f conftest.$ac_objext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8229 (eval $ac_compile) 2>conftest.er1
8230 ac_status=$?
8231 grep -v '^ *+' conftest.er1 >conftest.err
8232 rm -f conftest.er1
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } &&
8236 { ac_try='test -z "$ac_c_werror_flag"
8237 || test ! -s conftest.err'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8239 (eval $ac_try) 2>&5
8240 ac_status=$?
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; } &&
8243 { ac_try='test -s conftest.$ac_objext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 ac_header_compiler=yes
8250 else
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.$ac_ext >&5
8254 ac_header_compiler=no
8256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8258 echo "${ECHO_T}$ac_header_compiler" >&6
8260 # Is the header present?
8261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8263 cat >conftest.$ac_ext <<_ACEOF
8264 /* confdefs.h. */
8265 _ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 #include <$ac_header>
8270 _ACEOF
8271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8273 ac_status=$?
8274 grep -v '^ *+' conftest.er1 >conftest.err
8275 rm -f conftest.er1
8276 cat conftest.err >&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 (exit $ac_status); } >/dev/null; then
8279 if test -s conftest.err; then
8280 ac_cpp_err=$ac_c_preproc_warn_flag
8281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8282 else
8283 ac_cpp_err=
8285 else
8286 ac_cpp_err=yes
8288 if test -z "$ac_cpp_err"; then
8289 ac_header_preproc=yes
8290 else
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.$ac_ext >&5
8294 ac_header_preproc=no
8296 rm -f conftest.err conftest.$ac_ext
8297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8298 echo "${ECHO_T}$ac_header_preproc" >&6
8300 # So? What about this header?
8301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8302 yes:no: )
8303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8307 ac_header_preproc=yes
8309 no:yes:* )
8310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8323 cat <<\_ASBOX
8324 ## ----------------------------------------- ##
8325 ## Report this to the package-unused lists. ##
8326 ## ----------------------------------------- ##
8327 _ASBOX
8329 sed "s/^/$as_me: WARNING: /" >&2
8331 esac
8332 echo "$as_me:$LINENO: checking for $ac_header" >&5
8333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8335 echo $ECHO_N "(cached) $ECHO_C" >&6
8336 else
8337 eval "$as_ac_Header=\$ac_header_preproc"
8339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8344 cat >>confdefs.h <<_ACEOF
8345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8346 _ACEOF
8350 done
8354 # If we're not using GNU ld, then there's no point in even trying these
8355 # tests. Check for that first. We should have already tested for gld
8356 # by now (in libtool), but require it now just to be safe...
8357 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8358 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8362 # The name set by libtool depends on the version of libtool. Shame on us
8363 # for depending on an impl detail, but c'est la vie. Older versions used
8364 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8365 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8366 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8367 # set (hence we're using an older libtool), then set it.
8368 if test x${with_gnu_ld+set} != xset; then
8369 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8370 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8371 with_gnu_ld=no
8372 else
8373 with_gnu_ld=$ac_cv_prog_gnu_ld
8377 # Start by getting the version number. I think the libtool test already
8378 # does some of this, but throws away the result.
8379 if test x"$with_gnu_ld" = x"yes"; then
8380 echo "$as_me:$LINENO: checking for ld version" >&5
8381 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8383 ldver=`$LD --version 2>/dev/null | head -1 | \
8384 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8386 glibcxx_gnu_ld_version=`echo $ldver | \
8387 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8388 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8389 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8392 # Set --gc-sections.
8393 glibcxx_gcsections_min_ld=21602
8394 if test x"$with_gnu_ld" = x"yes" &&
8395 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8397 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8398 # NB: This flag only works reliably after 2.16.1. Configure tests
8399 # for this are difficult, so hard wire a value that should work.
8401 # All these tests are for C++, but run with the "C" compiler driver.
8402 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8403 ac_test_CFLAGS="${CFLAGS+set}"
8404 ac_save_CFLAGS="$CFLAGS"
8405 CFLAGS='-x c++ -Wl,--gc-sections'
8407 # Check for -Wl,--gc-sections
8408 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8409 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8410 if test x$gcc_no_link = xyes; then
8411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8413 { (exit 1); exit 1; }; }
8415 cat >conftest.$ac_ext <<_ACEOF
8416 /* confdefs.h. */
8417 _ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8421 int one(void) { return 1; }
8422 int two(void) { return 2; }
8425 main ()
8427 two();
8429 return 0;
8431 _ACEOF
8432 rm -f conftest.$ac_objext conftest$ac_exeext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8434 (eval $ac_link) 2>conftest.er1
8435 ac_status=$?
8436 grep -v '^ *+' conftest.er1 >conftest.err
8437 rm -f conftest.er1
8438 cat conftest.err >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); } &&
8441 { ac_try='test -z "$ac_c_werror_flag"
8442 || test ! -s conftest.err'
8443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 (eval $ac_try) 2>&5
8445 ac_status=$?
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); }; } &&
8448 { ac_try='test -s conftest$ac_exeext'
8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 (eval $ac_try) 2>&5
8451 ac_status=$?
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; }; then
8454 ac_gcsections=yes
8455 else
8456 echo "$as_me: failed program was:" >&5
8457 sed 's/^/| /' conftest.$ac_ext >&5
8459 ac_gcsections=no
8461 rm -f conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 if test "$ac_gcsections" = "yes"; then
8464 rm -f conftest.c
8465 touch conftest.c
8466 if $CC -c conftest.c; then
8467 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8468 grep "Warning: gc-sections option ignored" > /dev/null; then
8469 ac_gcsections=no
8472 rm -f conftest.c conftest.o conftest
8474 if test "$ac_gcsections" = "yes"; then
8475 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8477 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8478 echo "${ECHO_T}$ac_gcsections" >&6
8480 if test "$ac_test_CFLAGS" = set; then
8481 CFLAGS="$ac_save_CFLAGS"
8482 else
8483 # this is the suspicious part
8484 CFLAGS=''
8488 # Set -z,relro.
8489 # Note this is only for shared objects.
8490 ac_ld_relro=no
8491 if test x"$with_gnu_ld" = x"yes"; then
8492 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8493 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8494 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8495 if test -n "$cxx_z_relo"; then
8496 OPT_LDFLAGS="-Wl,-z,relro"
8497 ac_ld_relro=yes
8499 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8500 echo "${ECHO_T}$ac_ld_relro" >&6
8503 # Set linker optimization flags.
8504 if test x"$with_gnu_ld" = x"yes"; then
8505 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8512 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8513 ac_save_CXXFLAGS="$CXXFLAGS"
8514 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8516 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8517 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8518 if test "${ac_cv_lib_m_sin+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 else
8521 ac_check_lib_save_LIBS=$LIBS
8522 LIBS="-lm $LIBS"
8523 if test x$gcc_no_link = xyes; then
8524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8526 { (exit 1); exit 1; }; }
8528 cat >conftest.$ac_ext <<_ACEOF
8529 /* confdefs.h. */
8530 _ACEOF
8531 cat confdefs.h >>conftest.$ac_ext
8532 cat >>conftest.$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8535 /* Override any gcc2 internal prototype to avoid an error. */
8536 #ifdef __cplusplus
8537 extern "C"
8538 #endif
8539 /* We use char because int might match the return type of a gcc2
8540 builtin and then its argument prototype would still apply. */
8541 char sin ();
8543 main ()
8545 sin ();
8547 return 0;
8549 _ACEOF
8550 rm -f conftest.$ac_objext conftest$ac_exeext
8551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8552 (eval $ac_link) 2>conftest.er1
8553 ac_status=$?
8554 grep -v '^ *+' conftest.er1 >conftest.err
8555 rm -f conftest.er1
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try='test -z "$ac_c_werror_flag"
8560 || test ! -s conftest.err'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 (eval $ac_try) 2>&5
8563 ac_status=$?
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; } &&
8566 { ac_try='test -s conftest$ac_exeext'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 (eval $ac_try) 2>&5
8569 ac_status=$?
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 ac_cv_lib_m_sin=yes
8573 else
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.$ac_ext >&5
8577 ac_cv_lib_m_sin=no
8579 rm -f conftest.err conftest.$ac_objext \
8580 conftest$ac_exeext conftest.$ac_ext
8581 LIBS=$ac_check_lib_save_LIBS
8583 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8584 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8585 if test $ac_cv_lib_m_sin = yes; then
8586 libm="-lm"
8589 ac_save_LIBS="$LIBS"
8590 LIBS="$LIBS $libm"
8594 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8595 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8596 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8597 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8598 echo $ECHO_N "(cached) $ECHO_C" >&6
8599 else
8603 ac_ext=cc
8604 ac_cpp='$CXXCPP $CPPFLAGS'
8605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8609 cat >conftest.$ac_ext <<_ACEOF
8610 /* confdefs.h. */
8611 _ACEOF
8612 cat confdefs.h >>conftest.$ac_ext
8613 cat >>conftest.$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8615 #include <math.h>
8616 #ifdef HAVE_IEEEFP_H
8617 #include <ieeefp.h>
8618 #endif
8621 main ()
8623 isinf(0);
8625 return 0;
8627 _ACEOF
8628 rm -f conftest.$ac_objext
8629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8630 (eval $ac_compile) 2>conftest.er1
8631 ac_status=$?
8632 grep -v '^ *+' conftest.er1 >conftest.err
8633 rm -f conftest.er1
8634 cat conftest.err >&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); } &&
8637 { ac_try='test -z "$ac_cxx_werror_flag"
8638 || test ! -s conftest.err'
8639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8640 (eval $ac_try) 2>&5
8641 ac_status=$?
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); }; } &&
8644 { ac_try='test -s conftest.$ac_objext'
8645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8646 (eval $ac_try) 2>&5
8647 ac_status=$?
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); }; }; then
8650 glibcxx_cv_func_isinf_use=yes
8651 else
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.$ac_ext >&5
8655 glibcxx_cv_func_isinf_use=no
8657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8658 ac_ext=c
8659 ac_cpp='$CPP $CPPFLAGS'
8660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8669 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8671 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8673 for ac_func in isinf
8675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8676 echo "$as_me:$LINENO: checking for $ac_func" >&5
8677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8678 if eval "test \"\${$as_ac_var+set}\" = set"; then
8679 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 else
8681 if test x$gcc_no_link = xyes; then
8682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8684 { (exit 1); exit 1; }; }
8686 cat >conftest.$ac_ext <<_ACEOF
8687 /* confdefs.h. */
8688 _ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8694 #define $ac_func innocuous_$ac_func
8696 /* System header to define __stub macros and hopefully few prototypes,
8697 which can conflict with char $ac_func (); below.
8698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8699 <limits.h> exists even on freestanding compilers. */
8701 #ifdef __STDC__
8702 # include <limits.h>
8703 #else
8704 # include <assert.h>
8705 #endif
8707 #undef $ac_func
8709 /* Override any gcc2 internal prototype to avoid an error. */
8710 #ifdef __cplusplus
8711 extern "C"
8713 #endif
8714 /* We use char because int might match the return type of a gcc2
8715 builtin and then its argument prototype would still apply. */
8716 char $ac_func ();
8717 /* The GNU C library defines this for functions which it implements
8718 to always fail with ENOSYS. Some functions are actually named
8719 something starting with __ and the normal name is an alias. */
8720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8721 choke me
8722 #else
8723 char (*f) () = $ac_func;
8724 #endif
8725 #ifdef __cplusplus
8727 #endif
8730 main ()
8732 return f != $ac_func;
8734 return 0;
8736 _ACEOF
8737 rm -f conftest.$ac_objext conftest$ac_exeext
8738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8739 (eval $ac_link) 2>conftest.er1
8740 ac_status=$?
8741 grep -v '^ *+' conftest.er1 >conftest.err
8742 rm -f conftest.er1
8743 cat conftest.err >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } &&
8746 { ac_try='test -z "$ac_c_werror_flag"
8747 || test ! -s conftest.err'
8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 (eval $ac_try) 2>&5
8750 ac_status=$?
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); }; } &&
8753 { ac_try='test -s conftest$ac_exeext'
8754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 (eval $ac_try) 2>&5
8756 ac_status=$?
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); }; }; then
8759 eval "$as_ac_var=yes"
8760 else
8761 echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8764 eval "$as_ac_var=no"
8766 rm -f conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8771 if test `eval echo '${'$as_ac_var'}'` = yes; then
8772 cat >>confdefs.h <<_ACEOF
8773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8774 _ACEOF
8777 done
8779 else
8781 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8782 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8783 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8784 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 else
8790 ac_ext=cc
8791 ac_cpp='$CXXCPP $CPPFLAGS'
8792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8796 cat >conftest.$ac_ext <<_ACEOF
8797 /* confdefs.h. */
8798 _ACEOF
8799 cat confdefs.h >>conftest.$ac_ext
8800 cat >>conftest.$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8802 #include <math.h>
8803 #ifdef HAVE_IEEEFP_H
8804 #include <ieeefp.h>
8805 #endif
8808 main ()
8810 _isinf(0);
8812 return 0;
8814 _ACEOF
8815 rm -f conftest.$ac_objext
8816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8817 (eval $ac_compile) 2>conftest.er1
8818 ac_status=$?
8819 grep -v '^ *+' conftest.er1 >conftest.err
8820 rm -f conftest.er1
8821 cat conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); } &&
8824 { ac_try='test -z "$ac_cxx_werror_flag"
8825 || test ! -s conftest.err'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 (eval $ac_try) 2>&5
8828 ac_status=$?
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; } &&
8831 { ac_try='test -s conftest.$ac_objext'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833 (eval $ac_try) 2>&5
8834 ac_status=$?
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; }; then
8837 glibcxx_cv_func__isinf_use=yes
8838 else
8839 echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.$ac_ext >&5
8842 glibcxx_cv_func__isinf_use=no
8844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8845 ac_ext=c
8846 ac_cpp='$CPP $CPPFLAGS'
8847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8856 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8858 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8860 for ac_func in _isinf
8862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8863 echo "$as_me:$LINENO: checking for $ac_func" >&5
8864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8865 if eval "test \"\${$as_ac_var+set}\" = set"; then
8866 echo $ECHO_N "(cached) $ECHO_C" >&6
8867 else
8868 if test x$gcc_no_link = xyes; then
8869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8871 { (exit 1); exit 1; }; }
8873 cat >conftest.$ac_ext <<_ACEOF
8874 /* confdefs.h. */
8875 _ACEOF
8876 cat confdefs.h >>conftest.$ac_ext
8877 cat >>conftest.$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8881 #define $ac_func innocuous_$ac_func
8883 /* System header to define __stub macros and hopefully few prototypes,
8884 which can conflict with char $ac_func (); below.
8885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8886 <limits.h> exists even on freestanding compilers. */
8888 #ifdef __STDC__
8889 # include <limits.h>
8890 #else
8891 # include <assert.h>
8892 #endif
8894 #undef $ac_func
8896 /* Override any gcc2 internal prototype to avoid an error. */
8897 #ifdef __cplusplus
8898 extern "C"
8900 #endif
8901 /* We use char because int might match the return type of a gcc2
8902 builtin and then its argument prototype would still apply. */
8903 char $ac_func ();
8904 /* The GNU C library defines this for functions which it implements
8905 to always fail with ENOSYS. Some functions are actually named
8906 something starting with __ and the normal name is an alias. */
8907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8908 choke me
8909 #else
8910 char (*f) () = $ac_func;
8911 #endif
8912 #ifdef __cplusplus
8914 #endif
8917 main ()
8919 return f != $ac_func;
8921 return 0;
8923 _ACEOF
8924 rm -f conftest.$ac_objext conftest$ac_exeext
8925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8926 (eval $ac_link) 2>conftest.er1
8927 ac_status=$?
8928 grep -v '^ *+' conftest.er1 >conftest.err
8929 rm -f conftest.er1
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } &&
8933 { ac_try='test -z "$ac_c_werror_flag"
8934 || test ! -s conftest.err'
8935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8936 (eval $ac_try) 2>&5
8937 ac_status=$?
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); }; } &&
8940 { ac_try='test -s conftest$ac_exeext'
8941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8942 (eval $ac_try) 2>&5
8943 ac_status=$?
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; }; then
8946 eval "$as_ac_var=yes"
8947 else
8948 echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 eval "$as_ac_var=no"
8953 rm -f conftest.err conftest.$ac_objext \
8954 conftest$ac_exeext conftest.$ac_ext
8956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8958 if test `eval echo '${'$as_ac_var'}'` = yes; then
8959 cat >>confdefs.h <<_ACEOF
8960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8961 _ACEOF
8964 done
8974 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8975 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8976 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8977 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 else
8983 ac_ext=cc
8984 ac_cpp='$CXXCPP $CPPFLAGS'
8985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8989 cat >conftest.$ac_ext <<_ACEOF
8990 /* confdefs.h. */
8991 _ACEOF
8992 cat confdefs.h >>conftest.$ac_ext
8993 cat >>conftest.$ac_ext <<_ACEOF
8994 /* end confdefs.h. */
8995 #include <math.h>
8996 #ifdef HAVE_IEEEFP_H
8997 #include <ieeefp.h>
8998 #endif
9001 main ()
9003 isnan(0);
9005 return 0;
9007 _ACEOF
9008 rm -f conftest.$ac_objext
9009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9010 (eval $ac_compile) 2>conftest.er1
9011 ac_status=$?
9012 grep -v '^ *+' conftest.er1 >conftest.err
9013 rm -f conftest.er1
9014 cat conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } &&
9017 { ac_try='test -z "$ac_cxx_werror_flag"
9018 || test ! -s conftest.err'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 (eval $ac_try) 2>&5
9021 ac_status=$?
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; } &&
9024 { ac_try='test -s conftest.$ac_objext'
9025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 (eval $ac_try) 2>&5
9027 ac_status=$?
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }; }; then
9030 glibcxx_cv_func_isnan_use=yes
9031 else
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 glibcxx_cv_func_isnan_use=no
9037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9038 ac_ext=c
9039 ac_cpp='$CPP $CPPFLAGS'
9040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9049 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9051 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9053 for ac_func in isnan
9055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9056 echo "$as_me:$LINENO: checking for $ac_func" >&5
9057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9058 if eval "test \"\${$as_ac_var+set}\" = set"; then
9059 echo $ECHO_N "(cached) $ECHO_C" >&6
9060 else
9061 if test x$gcc_no_link = xyes; then
9062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9064 { (exit 1); exit 1; }; }
9066 cat >conftest.$ac_ext <<_ACEOF
9067 /* confdefs.h. */
9068 _ACEOF
9069 cat confdefs.h >>conftest.$ac_ext
9070 cat >>conftest.$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9074 #define $ac_func innocuous_$ac_func
9076 /* System header to define __stub macros and hopefully few prototypes,
9077 which can conflict with char $ac_func (); below.
9078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9079 <limits.h> exists even on freestanding compilers. */
9081 #ifdef __STDC__
9082 # include <limits.h>
9083 #else
9084 # include <assert.h>
9085 #endif
9087 #undef $ac_func
9089 /* Override any gcc2 internal prototype to avoid an error. */
9090 #ifdef __cplusplus
9091 extern "C"
9093 #endif
9094 /* We use char because int might match the return type of a gcc2
9095 builtin and then its argument prototype would still apply. */
9096 char $ac_func ();
9097 /* The GNU C library defines this for functions which it implements
9098 to always fail with ENOSYS. Some functions are actually named
9099 something starting with __ and the normal name is an alias. */
9100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9101 choke me
9102 #else
9103 char (*f) () = $ac_func;
9104 #endif
9105 #ifdef __cplusplus
9107 #endif
9110 main ()
9112 return f != $ac_func;
9114 return 0;
9116 _ACEOF
9117 rm -f conftest.$ac_objext conftest$ac_exeext
9118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9119 (eval $ac_link) 2>conftest.er1
9120 ac_status=$?
9121 grep -v '^ *+' conftest.er1 >conftest.err
9122 rm -f conftest.er1
9123 cat conftest.err >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } &&
9126 { ac_try='test -z "$ac_c_werror_flag"
9127 || test ! -s conftest.err'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 (eval $ac_try) 2>&5
9130 ac_status=$?
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; } &&
9133 { ac_try='test -s conftest$ac_exeext'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 (eval $ac_try) 2>&5
9136 ac_status=$?
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; }; then
9139 eval "$as_ac_var=yes"
9140 else
9141 echo "$as_me: failed program was:" >&5
9142 sed 's/^/| /' conftest.$ac_ext >&5
9144 eval "$as_ac_var=no"
9146 rm -f conftest.err conftest.$ac_objext \
9147 conftest$ac_exeext conftest.$ac_ext
9149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9151 if test `eval echo '${'$as_ac_var'}'` = yes; then
9152 cat >>confdefs.h <<_ACEOF
9153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9154 _ACEOF
9157 done
9159 else
9161 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9162 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9163 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9164 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9166 else
9170 ac_ext=cc
9171 ac_cpp='$CXXCPP $CPPFLAGS'
9172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9176 cat >conftest.$ac_ext <<_ACEOF
9177 /* confdefs.h. */
9178 _ACEOF
9179 cat confdefs.h >>conftest.$ac_ext
9180 cat >>conftest.$ac_ext <<_ACEOF
9181 /* end confdefs.h. */
9182 #include <math.h>
9183 #ifdef HAVE_IEEEFP_H
9184 #include <ieeefp.h>
9185 #endif
9188 main ()
9190 _isnan(0);
9192 return 0;
9194 _ACEOF
9195 rm -f conftest.$ac_objext
9196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9197 (eval $ac_compile) 2>conftest.er1
9198 ac_status=$?
9199 grep -v '^ *+' conftest.er1 >conftest.err
9200 rm -f conftest.er1
9201 cat conftest.err >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } &&
9204 { ac_try='test -z "$ac_cxx_werror_flag"
9205 || test ! -s conftest.err'
9206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 (eval $ac_try) 2>&5
9208 ac_status=$?
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); }; } &&
9211 { ac_try='test -s conftest.$ac_objext'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 (eval $ac_try) 2>&5
9214 ac_status=$?
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; }; then
9217 glibcxx_cv_func__isnan_use=yes
9218 else
9219 echo "$as_me: failed program was:" >&5
9220 sed 's/^/| /' conftest.$ac_ext >&5
9222 glibcxx_cv_func__isnan_use=no
9224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9225 ac_ext=c
9226 ac_cpp='$CPP $CPPFLAGS'
9227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9236 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9238 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9240 for ac_func in _isnan
9242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9243 echo "$as_me:$LINENO: checking for $ac_func" >&5
9244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9245 if eval "test \"\${$as_ac_var+set}\" = set"; then
9246 echo $ECHO_N "(cached) $ECHO_C" >&6
9247 else
9248 if test x$gcc_no_link = xyes; then
9249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9251 { (exit 1); exit 1; }; }
9253 cat >conftest.$ac_ext <<_ACEOF
9254 /* confdefs.h. */
9255 _ACEOF
9256 cat confdefs.h >>conftest.$ac_ext
9257 cat >>conftest.$ac_ext <<_ACEOF
9258 /* end confdefs.h. */
9259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9261 #define $ac_func innocuous_$ac_func
9263 /* System header to define __stub macros and hopefully few prototypes,
9264 which can conflict with char $ac_func (); below.
9265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9266 <limits.h> exists even on freestanding compilers. */
9268 #ifdef __STDC__
9269 # include <limits.h>
9270 #else
9271 # include <assert.h>
9272 #endif
9274 #undef $ac_func
9276 /* Override any gcc2 internal prototype to avoid an error. */
9277 #ifdef __cplusplus
9278 extern "C"
9280 #endif
9281 /* We use char because int might match the return type of a gcc2
9282 builtin and then its argument prototype would still apply. */
9283 char $ac_func ();
9284 /* The GNU C library defines this for functions which it implements
9285 to always fail with ENOSYS. Some functions are actually named
9286 something starting with __ and the normal name is an alias. */
9287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9288 choke me
9289 #else
9290 char (*f) () = $ac_func;
9291 #endif
9292 #ifdef __cplusplus
9294 #endif
9297 main ()
9299 return f != $ac_func;
9301 return 0;
9303 _ACEOF
9304 rm -f conftest.$ac_objext conftest$ac_exeext
9305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9306 (eval $ac_link) 2>conftest.er1
9307 ac_status=$?
9308 grep -v '^ *+' conftest.er1 >conftest.err
9309 rm -f conftest.er1
9310 cat conftest.err >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -z "$ac_c_werror_flag"
9314 || test ! -s conftest.err'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9316 (eval $ac_try) 2>&5
9317 ac_status=$?
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; } &&
9320 { ac_try='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322 (eval $ac_try) 2>&5
9323 ac_status=$?
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 eval "$as_ac_var=yes"
9327 else
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 eval "$as_ac_var=no"
9333 rm -f conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9338 if test `eval echo '${'$as_ac_var'}'` = yes; then
9339 cat >>confdefs.h <<_ACEOF
9340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9341 _ACEOF
9344 done
9354 echo "$as_me:$LINENO: checking for finite declaration" >&5
9355 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9356 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9357 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 else
9363 ac_ext=cc
9364 ac_cpp='$CXXCPP $CPPFLAGS'
9365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9369 cat >conftest.$ac_ext <<_ACEOF
9370 /* confdefs.h. */
9371 _ACEOF
9372 cat confdefs.h >>conftest.$ac_ext
9373 cat >>conftest.$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9375 #include <math.h>
9376 #ifdef HAVE_IEEEFP_H
9377 #include <ieeefp.h>
9378 #endif
9381 main ()
9383 finite(0);
9385 return 0;
9387 _ACEOF
9388 rm -f conftest.$ac_objext
9389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9390 (eval $ac_compile) 2>conftest.er1
9391 ac_status=$?
9392 grep -v '^ *+' conftest.er1 >conftest.err
9393 rm -f conftest.er1
9394 cat conftest.err >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); } &&
9397 { ac_try='test -z "$ac_cxx_werror_flag"
9398 || test ! -s conftest.err'
9399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9400 (eval $ac_try) 2>&5
9401 ac_status=$?
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; } &&
9404 { ac_try='test -s conftest.$ac_objext'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 (eval $ac_try) 2>&5
9407 ac_status=$?
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; }; then
9410 glibcxx_cv_func_finite_use=yes
9411 else
9412 echo "$as_me: failed program was:" >&5
9413 sed 's/^/| /' conftest.$ac_ext >&5
9415 glibcxx_cv_func_finite_use=no
9417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9418 ac_ext=c
9419 ac_cpp='$CPP $CPPFLAGS'
9420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9429 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9431 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9433 for ac_func in finite
9435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9436 echo "$as_me:$LINENO: checking for $ac_func" >&5
9437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9438 if eval "test \"\${$as_ac_var+set}\" = set"; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 else
9441 if test x$gcc_no_link = xyes; then
9442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9444 { (exit 1); exit 1; }; }
9446 cat >conftest.$ac_ext <<_ACEOF
9447 /* confdefs.h. */
9448 _ACEOF
9449 cat confdefs.h >>conftest.$ac_ext
9450 cat >>conftest.$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9454 #define $ac_func innocuous_$ac_func
9456 /* System header to define __stub macros and hopefully few prototypes,
9457 which can conflict with char $ac_func (); below.
9458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9459 <limits.h> exists even on freestanding compilers. */
9461 #ifdef __STDC__
9462 # include <limits.h>
9463 #else
9464 # include <assert.h>
9465 #endif
9467 #undef $ac_func
9469 /* Override any gcc2 internal prototype to avoid an error. */
9470 #ifdef __cplusplus
9471 extern "C"
9473 #endif
9474 /* We use char because int might match the return type of a gcc2
9475 builtin and then its argument prototype would still apply. */
9476 char $ac_func ();
9477 /* The GNU C library defines this for functions which it implements
9478 to always fail with ENOSYS. Some functions are actually named
9479 something starting with __ and the normal name is an alias. */
9480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9481 choke me
9482 #else
9483 char (*f) () = $ac_func;
9484 #endif
9485 #ifdef __cplusplus
9487 #endif
9490 main ()
9492 return f != $ac_func;
9494 return 0;
9496 _ACEOF
9497 rm -f conftest.$ac_objext conftest$ac_exeext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9499 (eval $ac_link) 2>conftest.er1
9500 ac_status=$?
9501 grep -v '^ *+' conftest.er1 >conftest.err
9502 rm -f conftest.er1
9503 cat conftest.err >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } &&
9506 { ac_try='test -z "$ac_c_werror_flag"
9507 || test ! -s conftest.err'
9508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 (eval $ac_try) 2>&5
9510 ac_status=$?
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); }; } &&
9513 { ac_try='test -s conftest$ac_exeext'
9514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515 (eval $ac_try) 2>&5
9516 ac_status=$?
9517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); }; }; then
9519 eval "$as_ac_var=yes"
9520 else
9521 echo "$as_me: failed program was:" >&5
9522 sed 's/^/| /' conftest.$ac_ext >&5
9524 eval "$as_ac_var=no"
9526 rm -f conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9531 if test `eval echo '${'$as_ac_var'}'` = yes; then
9532 cat >>confdefs.h <<_ACEOF
9533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9534 _ACEOF
9537 done
9539 else
9541 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9542 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9543 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9544 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9545 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 else
9550 ac_ext=cc
9551 ac_cpp='$CXXCPP $CPPFLAGS'
9552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9556 cat >conftest.$ac_ext <<_ACEOF
9557 /* confdefs.h. */
9558 _ACEOF
9559 cat confdefs.h >>conftest.$ac_ext
9560 cat >>conftest.$ac_ext <<_ACEOF
9561 /* end confdefs.h. */
9562 #include <math.h>
9563 #ifdef HAVE_IEEEFP_H
9564 #include <ieeefp.h>
9565 #endif
9568 main ()
9570 _finite(0);
9572 return 0;
9574 _ACEOF
9575 rm -f conftest.$ac_objext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9577 (eval $ac_compile) 2>conftest.er1
9578 ac_status=$?
9579 grep -v '^ *+' conftest.er1 >conftest.err
9580 rm -f conftest.er1
9581 cat conftest.err >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try='test -z "$ac_cxx_werror_flag"
9585 || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 (eval $ac_try) 2>&5
9588 ac_status=$?
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try='test -s conftest.$ac_objext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 (eval $ac_try) 2>&5
9594 ac_status=$?
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 glibcxx_cv_func__finite_use=yes
9598 else
9599 echo "$as_me: failed program was:" >&5
9600 sed 's/^/| /' conftest.$ac_ext >&5
9602 glibcxx_cv_func__finite_use=no
9604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9605 ac_ext=c
9606 ac_cpp='$CPP $CPPFLAGS'
9607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9616 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9618 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9620 for ac_func in _finite
9622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9623 echo "$as_me:$LINENO: checking for $ac_func" >&5
9624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9625 if eval "test \"\${$as_ac_var+set}\" = set"; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9627 else
9628 if test x$gcc_no_link = xyes; then
9629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9631 { (exit 1); exit 1; }; }
9633 cat >conftest.$ac_ext <<_ACEOF
9634 /* confdefs.h. */
9635 _ACEOF
9636 cat confdefs.h >>conftest.$ac_ext
9637 cat >>conftest.$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9641 #define $ac_func innocuous_$ac_func
9643 /* System header to define __stub macros and hopefully few prototypes,
9644 which can conflict with char $ac_func (); below.
9645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9646 <limits.h> exists even on freestanding compilers. */
9648 #ifdef __STDC__
9649 # include <limits.h>
9650 #else
9651 # include <assert.h>
9652 #endif
9654 #undef $ac_func
9656 /* Override any gcc2 internal prototype to avoid an error. */
9657 #ifdef __cplusplus
9658 extern "C"
9660 #endif
9661 /* We use char because int might match the return type of a gcc2
9662 builtin and then its argument prototype would still apply. */
9663 char $ac_func ();
9664 /* The GNU C library defines this for functions which it implements
9665 to always fail with ENOSYS. Some functions are actually named
9666 something starting with __ and the normal name is an alias. */
9667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9668 choke me
9669 #else
9670 char (*f) () = $ac_func;
9671 #endif
9672 #ifdef __cplusplus
9674 #endif
9677 main ()
9679 return f != $ac_func;
9681 return 0;
9683 _ACEOF
9684 rm -f conftest.$ac_objext conftest$ac_exeext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9686 (eval $ac_link) 2>conftest.er1
9687 ac_status=$?
9688 grep -v '^ *+' conftest.er1 >conftest.err
9689 rm -f conftest.er1
9690 cat conftest.err >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); } &&
9693 { ac_try='test -z "$ac_c_werror_flag"
9694 || test ! -s conftest.err'
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 (eval $ac_try) 2>&5
9697 ac_status=$?
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); }; } &&
9700 { ac_try='test -s conftest$ac_exeext'
9701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 (eval $ac_try) 2>&5
9703 ac_status=$?
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); }; }; then
9706 eval "$as_ac_var=yes"
9707 else
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9711 eval "$as_ac_var=no"
9713 rm -f conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9718 if test `eval echo '${'$as_ac_var'}'` = yes; then
9719 cat >>confdefs.h <<_ACEOF
9720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9721 _ACEOF
9724 done
9734 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9735 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9736 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9737 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9738 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 else
9743 ac_ext=cc
9744 ac_cpp='$CXXCPP $CPPFLAGS'
9745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9749 cat >conftest.$ac_ext <<_ACEOF
9750 /* confdefs.h. */
9751 _ACEOF
9752 cat confdefs.h >>conftest.$ac_ext
9753 cat >>conftest.$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9755 #include <math.h>
9757 main ()
9759 copysign(0, 0);
9761 return 0;
9763 _ACEOF
9764 rm -f conftest.$ac_objext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9766 (eval $ac_compile) 2>conftest.er1
9767 ac_status=$?
9768 grep -v '^ *+' conftest.er1 >conftest.err
9769 rm -f conftest.er1
9770 cat conftest.err >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); } &&
9773 { ac_try='test -z "$ac_cxx_werror_flag"
9774 || test ! -s conftest.err'
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 (eval $ac_try) 2>&5
9777 ac_status=$?
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; } &&
9780 { ac_try='test -s conftest.$ac_objext'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 (eval $ac_try) 2>&5
9783 ac_status=$?
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 glibcxx_cv_func_copysign_use=yes
9787 else
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9791 glibcxx_cv_func_copysign_use=no
9793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9794 ac_ext=c
9795 ac_cpp='$CPP $CPPFLAGS'
9796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9804 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9805 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9807 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9809 for ac_func in copysign
9811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9812 echo "$as_me:$LINENO: checking for $ac_func" >&5
9813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9814 if eval "test \"\${$as_ac_var+set}\" = set"; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 else
9817 if test x$gcc_no_link = xyes; then
9818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9820 { (exit 1); exit 1; }; }
9822 cat >conftest.$ac_ext <<_ACEOF
9823 /* confdefs.h. */
9824 _ACEOF
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9830 #define $ac_func innocuous_$ac_func
9832 /* System header to define __stub macros and hopefully few prototypes,
9833 which can conflict with char $ac_func (); below.
9834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9835 <limits.h> exists even on freestanding compilers. */
9837 #ifdef __STDC__
9838 # include <limits.h>
9839 #else
9840 # include <assert.h>
9841 #endif
9843 #undef $ac_func
9845 /* Override any gcc2 internal prototype to avoid an error. */
9846 #ifdef __cplusplus
9847 extern "C"
9849 #endif
9850 /* We use char because int might match the return type of a gcc2
9851 builtin and then its argument prototype would still apply. */
9852 char $ac_func ();
9853 /* The GNU C library defines this for functions which it implements
9854 to always fail with ENOSYS. Some functions are actually named
9855 something starting with __ and the normal name is an alias. */
9856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9857 choke me
9858 #else
9859 char (*f) () = $ac_func;
9860 #endif
9861 #ifdef __cplusplus
9863 #endif
9866 main ()
9868 return f != $ac_func;
9870 return 0;
9872 _ACEOF
9873 rm -f conftest.$ac_objext conftest$ac_exeext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9875 (eval $ac_link) 2>conftest.er1
9876 ac_status=$?
9877 grep -v '^ *+' conftest.er1 >conftest.err
9878 rm -f conftest.er1
9879 cat conftest.err >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } &&
9882 { ac_try='test -z "$ac_c_werror_flag"
9883 || test ! -s conftest.err'
9884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885 (eval $ac_try) 2>&5
9886 ac_status=$?
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); }; } &&
9889 { ac_try='test -s conftest$ac_exeext'
9890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 (eval $ac_try) 2>&5
9892 ac_status=$?
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); }; }; then
9895 eval "$as_ac_var=yes"
9896 else
9897 echo "$as_me: failed program was:" >&5
9898 sed 's/^/| /' conftest.$ac_ext >&5
9900 eval "$as_ac_var=no"
9902 rm -f conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9907 if test `eval echo '${'$as_ac_var'}'` = yes; then
9908 cat >>confdefs.h <<_ACEOF
9909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9910 _ACEOF
9913 done
9915 else
9917 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9918 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9919 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9920 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 else
9926 ac_ext=cc
9927 ac_cpp='$CXXCPP $CPPFLAGS'
9928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9932 cat >conftest.$ac_ext <<_ACEOF
9933 /* confdefs.h. */
9934 _ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 #include <math.h>
9940 main ()
9942 _copysign(0, 0);
9944 return 0;
9946 _ACEOF
9947 rm -f conftest.$ac_objext
9948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9949 (eval $ac_compile) 2>conftest.er1
9950 ac_status=$?
9951 grep -v '^ *+' conftest.er1 >conftest.err
9952 rm -f conftest.er1
9953 cat conftest.err >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } &&
9956 { ac_try='test -z "$ac_cxx_werror_flag"
9957 || test ! -s conftest.err'
9958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9959 (eval $ac_try) 2>&5
9960 ac_status=$?
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); }; } &&
9963 { ac_try='test -s conftest.$ac_objext'
9964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 (eval $ac_try) 2>&5
9966 ac_status=$?
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); }; }; then
9969 glibcxx_cv_func__copysign_use=yes
9970 else
9971 echo "$as_me: failed program was:" >&5
9972 sed 's/^/| /' conftest.$ac_ext >&5
9974 glibcxx_cv_func__copysign_use=no
9976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9977 ac_ext=c
9978 ac_cpp='$CPP $CPPFLAGS'
9979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9988 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9990 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9992 for ac_func in _copysign
9994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9995 echo "$as_me:$LINENO: checking for $ac_func" >&5
9996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9997 if eval "test \"\${$as_ac_var+set}\" = set"; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 else
10000 if test x$gcc_no_link = xyes; then
10001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10003 { (exit 1); exit 1; }; }
10005 cat >conftest.$ac_ext <<_ACEOF
10006 /* confdefs.h. */
10007 _ACEOF
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10013 #define $ac_func innocuous_$ac_func
10015 /* System header to define __stub macros and hopefully few prototypes,
10016 which can conflict with char $ac_func (); below.
10017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10018 <limits.h> exists even on freestanding compilers. */
10020 #ifdef __STDC__
10021 # include <limits.h>
10022 #else
10023 # include <assert.h>
10024 #endif
10026 #undef $ac_func
10028 /* Override any gcc2 internal prototype to avoid an error. */
10029 #ifdef __cplusplus
10030 extern "C"
10032 #endif
10033 /* We use char because int might match the return type of a gcc2
10034 builtin and then its argument prototype would still apply. */
10035 char $ac_func ();
10036 /* The GNU C library defines this for functions which it implements
10037 to always fail with ENOSYS. Some functions are actually named
10038 something starting with __ and the normal name is an alias. */
10039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10040 choke me
10041 #else
10042 char (*f) () = $ac_func;
10043 #endif
10044 #ifdef __cplusplus
10046 #endif
10049 main ()
10051 return f != $ac_func;
10053 return 0;
10055 _ACEOF
10056 rm -f conftest.$ac_objext conftest$ac_exeext
10057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10058 (eval $ac_link) 2>conftest.er1
10059 ac_status=$?
10060 grep -v '^ *+' conftest.er1 >conftest.err
10061 rm -f conftest.er1
10062 cat conftest.err >&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); } &&
10065 { ac_try='test -z "$ac_c_werror_flag"
10066 || test ! -s conftest.err'
10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10068 (eval $ac_try) 2>&5
10069 ac_status=$?
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }; } &&
10072 { ac_try='test -s conftest$ac_exeext'
10073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10074 (eval $ac_try) 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }; }; then
10078 eval "$as_ac_var=yes"
10079 else
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.$ac_ext >&5
10083 eval "$as_ac_var=no"
10085 rm -f conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10090 if test `eval echo '${'$as_ac_var'}'` = yes; then
10091 cat >>confdefs.h <<_ACEOF
10092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10093 _ACEOF
10096 done
10106 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10107 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10108 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10109 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10111 else
10115 ac_ext=cc
10116 ac_cpp='$CXXCPP $CPPFLAGS'
10117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10121 cat >conftest.$ac_ext <<_ACEOF
10122 /* confdefs.h. */
10123 _ACEOF
10124 cat confdefs.h >>conftest.$ac_ext
10125 cat >>conftest.$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10127 #include <math.h>
10129 main ()
10131 sincos(0, 0, 0);
10133 return 0;
10135 _ACEOF
10136 rm -f conftest.$ac_objext
10137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10138 (eval $ac_compile) 2>conftest.er1
10139 ac_status=$?
10140 grep -v '^ *+' conftest.er1 >conftest.err
10141 rm -f conftest.er1
10142 cat conftest.err >&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } &&
10145 { ac_try='test -z "$ac_cxx_werror_flag"
10146 || test ! -s conftest.err'
10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10148 (eval $ac_try) 2>&5
10149 ac_status=$?
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }; } &&
10152 { ac_try='test -s conftest.$ac_objext'
10153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10154 (eval $ac_try) 2>&5
10155 ac_status=$?
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; }; then
10158 glibcxx_cv_func_sincos_use=yes
10159 else
10160 echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.$ac_ext >&5
10163 glibcxx_cv_func_sincos_use=no
10165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10166 ac_ext=c
10167 ac_cpp='$CPP $CPPFLAGS'
10168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10177 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10179 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10181 for ac_func in sincos
10183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10184 echo "$as_me:$LINENO: checking for $ac_func" >&5
10185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10186 if eval "test \"\${$as_ac_var+set}\" = set"; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 else
10189 if test x$gcc_no_link = xyes; then
10190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10192 { (exit 1); exit 1; }; }
10194 cat >conftest.$ac_ext <<_ACEOF
10195 /* confdefs.h. */
10196 _ACEOF
10197 cat confdefs.h >>conftest.$ac_ext
10198 cat >>conftest.$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10202 #define $ac_func innocuous_$ac_func
10204 /* System header to define __stub macros and hopefully few prototypes,
10205 which can conflict with char $ac_func (); below.
10206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10207 <limits.h> exists even on freestanding compilers. */
10209 #ifdef __STDC__
10210 # include <limits.h>
10211 #else
10212 # include <assert.h>
10213 #endif
10215 #undef $ac_func
10217 /* Override any gcc2 internal prototype to avoid an error. */
10218 #ifdef __cplusplus
10219 extern "C"
10221 #endif
10222 /* We use char because int might match the return type of a gcc2
10223 builtin and then its argument prototype would still apply. */
10224 char $ac_func ();
10225 /* The GNU C library defines this for functions which it implements
10226 to always fail with ENOSYS. Some functions are actually named
10227 something starting with __ and the normal name is an alias. */
10228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10229 choke me
10230 #else
10231 char (*f) () = $ac_func;
10232 #endif
10233 #ifdef __cplusplus
10235 #endif
10238 main ()
10240 return f != $ac_func;
10242 return 0;
10244 _ACEOF
10245 rm -f conftest.$ac_objext conftest$ac_exeext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 (eval $ac_link) 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag"
10255 || test ! -s conftest.err'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try='test -s conftest$ac_exeext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10264 ac_status=$?
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 eval "$as_ac_var=yes"
10268 else
10269 echo "$as_me: failed program was:" >&5
10270 sed 's/^/| /' conftest.$ac_ext >&5
10272 eval "$as_ac_var=no"
10274 rm -f conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10279 if test `eval echo '${'$as_ac_var'}'` = yes; then
10280 cat >>confdefs.h <<_ACEOF
10281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10282 _ACEOF
10285 done
10287 else
10289 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10290 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10291 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10292 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10293 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 else
10298 ac_ext=cc
10299 ac_cpp='$CXXCPP $CPPFLAGS'
10300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10304 cat >conftest.$ac_ext <<_ACEOF
10305 /* confdefs.h. */
10306 _ACEOF
10307 cat confdefs.h >>conftest.$ac_ext
10308 cat >>conftest.$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10310 #include <math.h>
10312 main ()
10314 _sincos(0, 0, 0);
10316 return 0;
10318 _ACEOF
10319 rm -f conftest.$ac_objext
10320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10321 (eval $ac_compile) 2>conftest.er1
10322 ac_status=$?
10323 grep -v '^ *+' conftest.er1 >conftest.err
10324 rm -f conftest.er1
10325 cat conftest.err >&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); } &&
10328 { ac_try='test -z "$ac_cxx_werror_flag"
10329 || test ! -s conftest.err'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10332 ac_status=$?
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; } &&
10335 { ac_try='test -s conftest.$ac_objext'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10338 ac_status=$?
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; }; then
10341 glibcxx_cv_func__sincos_use=yes
10342 else
10343 echo "$as_me: failed program was:" >&5
10344 sed 's/^/| /' conftest.$ac_ext >&5
10346 glibcxx_cv_func__sincos_use=no
10348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10349 ac_ext=c
10350 ac_cpp='$CPP $CPPFLAGS'
10351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10359 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10360 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10362 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10364 for ac_func in _sincos
10366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10367 echo "$as_me:$LINENO: checking for $ac_func" >&5
10368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10369 if eval "test \"\${$as_ac_var+set}\" = set"; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else
10372 if test x$gcc_no_link = xyes; then
10373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10375 { (exit 1); exit 1; }; }
10377 cat >conftest.$ac_ext <<_ACEOF
10378 /* confdefs.h. */
10379 _ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10385 #define $ac_func innocuous_$ac_func
10387 /* System header to define __stub macros and hopefully few prototypes,
10388 which can conflict with char $ac_func (); below.
10389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10390 <limits.h> exists even on freestanding compilers. */
10392 #ifdef __STDC__
10393 # include <limits.h>
10394 #else
10395 # include <assert.h>
10396 #endif
10398 #undef $ac_func
10400 /* Override any gcc2 internal prototype to avoid an error. */
10401 #ifdef __cplusplus
10402 extern "C"
10404 #endif
10405 /* We use char because int might match the return type of a gcc2
10406 builtin and then its argument prototype would still apply. */
10407 char $ac_func ();
10408 /* The GNU C library defines this for functions which it implements
10409 to always fail with ENOSYS. Some functions are actually named
10410 something starting with __ and the normal name is an alias. */
10411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10412 choke me
10413 #else
10414 char (*f) () = $ac_func;
10415 #endif
10416 #ifdef __cplusplus
10418 #endif
10421 main ()
10423 return f != $ac_func;
10425 return 0;
10427 _ACEOF
10428 rm -f conftest.$ac_objext conftest$ac_exeext
10429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10430 (eval $ac_link) 2>conftest.er1
10431 ac_status=$?
10432 grep -v '^ *+' conftest.er1 >conftest.err
10433 rm -f conftest.er1
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } &&
10437 { ac_try='test -z "$ac_c_werror_flag"
10438 || test ! -s conftest.err'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; } &&
10444 { ac_try='test -s conftest$ac_exeext'
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10446 (eval $ac_try) 2>&5
10447 ac_status=$?
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; }; then
10450 eval "$as_ac_var=yes"
10451 else
10452 echo "$as_me: failed program was:" >&5
10453 sed 's/^/| /' conftest.$ac_ext >&5
10455 eval "$as_ac_var=no"
10457 rm -f conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10462 if test `eval echo '${'$as_ac_var'}'` = yes; then
10463 cat >>confdefs.h <<_ACEOF
10464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10465 _ACEOF
10468 done
10478 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10479 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10480 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10481 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 else
10487 ac_ext=cc
10488 ac_cpp='$CXXCPP $CPPFLAGS'
10489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10493 cat >conftest.$ac_ext <<_ACEOF
10494 /* confdefs.h. */
10495 _ACEOF
10496 cat confdefs.h >>conftest.$ac_ext
10497 cat >>conftest.$ac_ext <<_ACEOF
10498 /* end confdefs.h. */
10499 #include <math.h>
10500 #ifdef HAVE_IEEEFP_H
10501 #include <ieeefp.h>
10502 #endif
10505 main ()
10507 fpclass(0);
10509 return 0;
10511 _ACEOF
10512 rm -f conftest.$ac_objext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514 (eval $ac_compile) 2>conftest.er1
10515 ac_status=$?
10516 grep -v '^ *+' conftest.er1 >conftest.err
10517 rm -f conftest.er1
10518 cat conftest.err >&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -z "$ac_cxx_werror_flag"
10522 || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10525 ac_status=$?
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } &&
10528 { ac_try='test -s conftest.$ac_objext'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; }; then
10534 glibcxx_cv_func_fpclass_use=yes
10535 else
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.$ac_ext >&5
10539 glibcxx_cv_func_fpclass_use=no
10541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10542 ac_ext=c
10543 ac_cpp='$CPP $CPPFLAGS'
10544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10553 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10555 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10557 for ac_func in fpclass
10559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10560 echo "$as_me:$LINENO: checking for $ac_func" >&5
10561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10562 if eval "test \"\${$as_ac_var+set}\" = set"; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 else
10565 if test x$gcc_no_link = xyes; then
10566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10568 { (exit 1); exit 1; }; }
10570 cat >conftest.$ac_ext <<_ACEOF
10571 /* confdefs.h. */
10572 _ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10578 #define $ac_func innocuous_$ac_func
10580 /* System header to define __stub macros and hopefully few prototypes,
10581 which can conflict with char $ac_func (); below.
10582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10583 <limits.h> exists even on freestanding compilers. */
10585 #ifdef __STDC__
10586 # include <limits.h>
10587 #else
10588 # include <assert.h>
10589 #endif
10591 #undef $ac_func
10593 /* Override any gcc2 internal prototype to avoid an error. */
10594 #ifdef __cplusplus
10595 extern "C"
10597 #endif
10598 /* We use char because int might match the return type of a gcc2
10599 builtin and then its argument prototype would still apply. */
10600 char $ac_func ();
10601 /* The GNU C library defines this for functions which it implements
10602 to always fail with ENOSYS. Some functions are actually named
10603 something starting with __ and the normal name is an alias. */
10604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10605 choke me
10606 #else
10607 char (*f) () = $ac_func;
10608 #endif
10609 #ifdef __cplusplus
10611 #endif
10614 main ()
10616 return f != $ac_func;
10618 return 0;
10620 _ACEOF
10621 rm -f conftest.$ac_objext conftest$ac_exeext
10622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10623 (eval $ac_link) 2>conftest.er1
10624 ac_status=$?
10625 grep -v '^ *+' conftest.er1 >conftest.err
10626 rm -f conftest.er1
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } &&
10630 { ac_try='test -z "$ac_c_werror_flag"
10631 || test ! -s conftest.err'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10634 ac_status=$?
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; } &&
10637 { ac_try='test -s conftest$ac_exeext'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10640 ac_status=$?
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then
10643 eval "$as_ac_var=yes"
10644 else
10645 echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10648 eval "$as_ac_var=no"
10650 rm -f conftest.err conftest.$ac_objext \
10651 conftest$ac_exeext conftest.$ac_ext
10653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10655 if test `eval echo '${'$as_ac_var'}'` = yes; then
10656 cat >>confdefs.h <<_ACEOF
10657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10658 _ACEOF
10661 done
10663 else
10665 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10666 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10667 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10668 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 else
10674 ac_ext=cc
10675 ac_cpp='$CXXCPP $CPPFLAGS'
10676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10680 cat >conftest.$ac_ext <<_ACEOF
10681 /* confdefs.h. */
10682 _ACEOF
10683 cat confdefs.h >>conftest.$ac_ext
10684 cat >>conftest.$ac_ext <<_ACEOF
10685 /* end confdefs.h. */
10686 #include <math.h>
10687 #ifdef HAVE_IEEEFP_H
10688 #include <ieeefp.h>
10689 #endif
10692 main ()
10694 _fpclass(0);
10696 return 0;
10698 _ACEOF
10699 rm -f conftest.$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10702 ac_status=$?
10703 grep -v '^ *+' conftest.er1 >conftest.err
10704 rm -f conftest.er1
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try='test -z "$ac_cxx_werror_flag"
10709 || test ! -s conftest.err'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10712 ac_status=$?
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; } &&
10715 { ac_try='test -s conftest.$ac_objext'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10718 ac_status=$?
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; }; then
10721 glibcxx_cv_func__fpclass_use=yes
10722 else
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.$ac_ext >&5
10726 glibcxx_cv_func__fpclass_use=no
10728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10729 ac_ext=c
10730 ac_cpp='$CPP $CPPFLAGS'
10731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10740 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10742 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10744 for ac_func in _fpclass
10746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10747 echo "$as_me:$LINENO: checking for $ac_func" >&5
10748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10749 if eval "test \"\${$as_ac_var+set}\" = set"; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 else
10752 if test x$gcc_no_link = xyes; then
10753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10755 { (exit 1); exit 1; }; }
10757 cat >conftest.$ac_ext <<_ACEOF
10758 /* confdefs.h. */
10759 _ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10765 #define $ac_func innocuous_$ac_func
10767 /* System header to define __stub macros and hopefully few prototypes,
10768 which can conflict with char $ac_func (); below.
10769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10770 <limits.h> exists even on freestanding compilers. */
10772 #ifdef __STDC__
10773 # include <limits.h>
10774 #else
10775 # include <assert.h>
10776 #endif
10778 #undef $ac_func
10780 /* Override any gcc2 internal prototype to avoid an error. */
10781 #ifdef __cplusplus
10782 extern "C"
10784 #endif
10785 /* We use char because int might match the return type of a gcc2
10786 builtin and then its argument prototype would still apply. */
10787 char $ac_func ();
10788 /* The GNU C library defines this for functions which it implements
10789 to always fail with ENOSYS. Some functions are actually named
10790 something starting with __ and the normal name is an alias. */
10791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10792 choke me
10793 #else
10794 char (*f) () = $ac_func;
10795 #endif
10796 #ifdef __cplusplus
10798 #endif
10801 main ()
10803 return f != $ac_func;
10805 return 0;
10807 _ACEOF
10808 rm -f conftest.$ac_objext conftest$ac_exeext
10809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10810 (eval $ac_link) 2>conftest.er1
10811 ac_status=$?
10812 grep -v '^ *+' conftest.er1 >conftest.err
10813 rm -f conftest.er1
10814 cat conftest.err >&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } &&
10817 { ac_try='test -z "$ac_c_werror_flag"
10818 || test ! -s conftest.err'
10819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 (eval $ac_try) 2>&5
10821 ac_status=$?
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); }; } &&
10824 { ac_try='test -s conftest$ac_exeext'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10827 ac_status=$?
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; }; then
10830 eval "$as_ac_var=yes"
10831 else
10832 echo "$as_me: failed program was:" >&5
10833 sed 's/^/| /' conftest.$ac_ext >&5
10835 eval "$as_ac_var=no"
10837 rm -f conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10842 if test `eval echo '${'$as_ac_var'}'` = yes; then
10843 cat >>confdefs.h <<_ACEOF
10844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10845 _ACEOF
10848 done
10858 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10859 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10860 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10861 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10863 else
10867 ac_ext=cc
10868 ac_cpp='$CXXCPP $CPPFLAGS'
10869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10873 cat >conftest.$ac_ext <<_ACEOF
10874 /* confdefs.h. */
10875 _ACEOF
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10879 #include <math.h>
10880 #ifdef HAVE_IEEEFP_H
10881 #include <ieeefp.h>
10882 #endif
10885 main ()
10887 qfpclass(0);
10889 return 0;
10891 _ACEOF
10892 rm -f conftest.$ac_objext
10893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10894 (eval $ac_compile) 2>conftest.er1
10895 ac_status=$?
10896 grep -v '^ *+' conftest.er1 >conftest.err
10897 rm -f conftest.er1
10898 cat conftest.err >&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); } &&
10901 { ac_try='test -z "$ac_cxx_werror_flag"
10902 || test ! -s conftest.err'
10903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10904 (eval $ac_try) 2>&5
10905 ac_status=$?
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); }; } &&
10908 { ac_try='test -s conftest.$ac_objext'
10909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10910 (eval $ac_try) 2>&5
10911 ac_status=$?
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); }; }; then
10914 glibcxx_cv_func_qfpclass_use=yes
10915 else
10916 echo "$as_me: failed program was:" >&5
10917 sed 's/^/| /' conftest.$ac_ext >&5
10919 glibcxx_cv_func_qfpclass_use=no
10921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10922 ac_ext=c
10923 ac_cpp='$CPP $CPPFLAGS'
10924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10933 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10935 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10937 for ac_func in qfpclass
10939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10940 echo "$as_me:$LINENO: checking for $ac_func" >&5
10941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10942 if eval "test \"\${$as_ac_var+set}\" = set"; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 else
10945 if test x$gcc_no_link = xyes; then
10946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10948 { (exit 1); exit 1; }; }
10950 cat >conftest.$ac_ext <<_ACEOF
10951 /* confdefs.h. */
10952 _ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10958 #define $ac_func innocuous_$ac_func
10960 /* System header to define __stub macros and hopefully few prototypes,
10961 which can conflict with char $ac_func (); below.
10962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10963 <limits.h> exists even on freestanding compilers. */
10965 #ifdef __STDC__
10966 # include <limits.h>
10967 #else
10968 # include <assert.h>
10969 #endif
10971 #undef $ac_func
10973 /* Override any gcc2 internal prototype to avoid an error. */
10974 #ifdef __cplusplus
10975 extern "C"
10977 #endif
10978 /* We use char because int might match the return type of a gcc2
10979 builtin and then its argument prototype would still apply. */
10980 char $ac_func ();
10981 /* The GNU C library defines this for functions which it implements
10982 to always fail with ENOSYS. Some functions are actually named
10983 something starting with __ and the normal name is an alias. */
10984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10985 choke me
10986 #else
10987 char (*f) () = $ac_func;
10988 #endif
10989 #ifdef __cplusplus
10991 #endif
10994 main ()
10996 return f != $ac_func;
10998 return 0;
11000 _ACEOF
11001 rm -f conftest.$ac_objext conftest$ac_exeext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11003 (eval $ac_link) 2>conftest.er1
11004 ac_status=$?
11005 grep -v '^ *+' conftest.er1 >conftest.err
11006 rm -f conftest.er1
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -z "$ac_c_werror_flag"
11011 || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try='test -s conftest$ac_exeext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11020 ac_status=$?
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 eval "$as_ac_var=yes"
11024 else
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.$ac_ext >&5
11028 eval "$as_ac_var=no"
11030 rm -f conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11035 if test `eval echo '${'$as_ac_var'}'` = yes; then
11036 cat >>confdefs.h <<_ACEOF
11037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11038 _ACEOF
11041 done
11043 else
11045 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11046 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11047 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11048 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11049 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 else
11054 ac_ext=cc
11055 ac_cpp='$CXXCPP $CPPFLAGS'
11056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11060 cat >conftest.$ac_ext <<_ACEOF
11061 /* confdefs.h. */
11062 _ACEOF
11063 cat confdefs.h >>conftest.$ac_ext
11064 cat >>conftest.$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 #include <math.h>
11067 #ifdef HAVE_IEEEFP_H
11068 #include <ieeefp.h>
11069 #endif
11072 main ()
11074 _qfpclass(0);
11076 return 0;
11078 _ACEOF
11079 rm -f conftest.$ac_objext
11080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11081 (eval $ac_compile) 2>conftest.er1
11082 ac_status=$?
11083 grep -v '^ *+' conftest.er1 >conftest.err
11084 rm -f conftest.er1
11085 cat conftest.err >&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } &&
11088 { ac_try='test -z "$ac_cxx_werror_flag"
11089 || test ! -s conftest.err'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11092 ac_status=$?
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; } &&
11095 { ac_try='test -s conftest.$ac_objext'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11098 ac_status=$?
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; }; then
11101 glibcxx_cv_func__qfpclass_use=yes
11102 else
11103 echo "$as_me: failed program was:" >&5
11104 sed 's/^/| /' conftest.$ac_ext >&5
11106 glibcxx_cv_func__qfpclass_use=no
11108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11109 ac_ext=c
11110 ac_cpp='$CPP $CPPFLAGS'
11111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11120 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11122 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11124 for ac_func in _qfpclass
11126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11127 echo "$as_me:$LINENO: checking for $ac_func" >&5
11128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11129 if eval "test \"\${$as_ac_var+set}\" = set"; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 else
11132 if test x$gcc_no_link = xyes; then
11133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11135 { (exit 1); exit 1; }; }
11137 cat >conftest.$ac_ext <<_ACEOF
11138 /* confdefs.h. */
11139 _ACEOF
11140 cat confdefs.h >>conftest.$ac_ext
11141 cat >>conftest.$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11145 #define $ac_func innocuous_$ac_func
11147 /* System header to define __stub macros and hopefully few prototypes,
11148 which can conflict with char $ac_func (); below.
11149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11150 <limits.h> exists even on freestanding compilers. */
11152 #ifdef __STDC__
11153 # include <limits.h>
11154 #else
11155 # include <assert.h>
11156 #endif
11158 #undef $ac_func
11160 /* Override any gcc2 internal prototype to avoid an error. */
11161 #ifdef __cplusplus
11162 extern "C"
11164 #endif
11165 /* We use char because int might match the return type of a gcc2
11166 builtin and then its argument prototype would still apply. */
11167 char $ac_func ();
11168 /* The GNU C library defines this for functions which it implements
11169 to always fail with ENOSYS. Some functions are actually named
11170 something starting with __ and the normal name is an alias. */
11171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11172 choke me
11173 #else
11174 char (*f) () = $ac_func;
11175 #endif
11176 #ifdef __cplusplus
11178 #endif
11181 main ()
11183 return f != $ac_func;
11185 return 0;
11187 _ACEOF
11188 rm -f conftest.$ac_objext conftest$ac_exeext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11190 (eval $ac_link) 2>conftest.er1
11191 ac_status=$?
11192 grep -v '^ *+' conftest.er1 >conftest.err
11193 rm -f conftest.er1
11194 cat conftest.err >&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); } &&
11197 { ac_try='test -z "$ac_c_werror_flag"
11198 || test ! -s conftest.err'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11201 ac_status=$?
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; } &&
11204 { ac_try='test -s conftest$ac_exeext'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11207 ac_status=$?
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; }; then
11210 eval "$as_ac_var=yes"
11211 else
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.$ac_ext >&5
11215 eval "$as_ac_var=no"
11217 rm -f conftest.err conftest.$ac_objext \
11218 conftest$ac_exeext conftest.$ac_ext
11220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11222 if test `eval echo '${'$as_ac_var'}'` = yes; then
11223 cat >>confdefs.h <<_ACEOF
11224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11225 _ACEOF
11228 done
11238 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11239 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11240 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11241 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11247 ac_ext=cc
11248 ac_cpp='$CXXCPP $CPPFLAGS'
11249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11253 cat >conftest.$ac_ext <<_ACEOF
11254 /* confdefs.h. */
11255 _ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 #include <math.h>
11261 main ()
11263 hypot(0, 0);
11265 return 0;
11267 _ACEOF
11268 rm -f conftest.$ac_objext
11269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11270 (eval $ac_compile) 2>conftest.er1
11271 ac_status=$?
11272 grep -v '^ *+' conftest.er1 >conftest.err
11273 rm -f conftest.er1
11274 cat conftest.err >&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); } &&
11277 { ac_try='test -z "$ac_cxx_werror_flag"
11278 || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11287 ac_status=$?
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 glibcxx_cv_func_hypot_use=yes
11291 else
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11295 glibcxx_cv_func_hypot_use=no
11297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11298 ac_ext=c
11299 ac_cpp='$CPP $CPPFLAGS'
11300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11309 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11311 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11313 for ac_func in hypot
11315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11316 echo "$as_me:$LINENO: checking for $ac_func" >&5
11317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11318 if eval "test \"\${$as_ac_var+set}\" = set"; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 else
11321 if test x$gcc_no_link = xyes; then
11322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11324 { (exit 1); exit 1; }; }
11326 cat >conftest.$ac_ext <<_ACEOF
11327 /* confdefs.h. */
11328 _ACEOF
11329 cat confdefs.h >>conftest.$ac_ext
11330 cat >>conftest.$ac_ext <<_ACEOF
11331 /* end confdefs.h. */
11332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11334 #define $ac_func innocuous_$ac_func
11336 /* System header to define __stub macros and hopefully few prototypes,
11337 which can conflict with char $ac_func (); below.
11338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11339 <limits.h> exists even on freestanding compilers. */
11341 #ifdef __STDC__
11342 # include <limits.h>
11343 #else
11344 # include <assert.h>
11345 #endif
11347 #undef $ac_func
11349 /* Override any gcc2 internal prototype to avoid an error. */
11350 #ifdef __cplusplus
11351 extern "C"
11353 #endif
11354 /* We use char because int might match the return type of a gcc2
11355 builtin and then its argument prototype would still apply. */
11356 char $ac_func ();
11357 /* The GNU C library defines this for functions which it implements
11358 to always fail with ENOSYS. Some functions are actually named
11359 something starting with __ and the normal name is an alias. */
11360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11361 choke me
11362 #else
11363 char (*f) () = $ac_func;
11364 #endif
11365 #ifdef __cplusplus
11367 #endif
11370 main ()
11372 return f != $ac_func;
11374 return 0;
11376 _ACEOF
11377 rm -f conftest.$ac_objext conftest$ac_exeext
11378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11379 (eval $ac_link) 2>conftest.er1
11380 ac_status=$?
11381 grep -v '^ *+' conftest.er1 >conftest.err
11382 rm -f conftest.er1
11383 cat conftest.err >&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } &&
11386 { ac_try='test -z "$ac_c_werror_flag"
11387 || test ! -s conftest.err'
11388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389 (eval $ac_try) 2>&5
11390 ac_status=$?
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); }; } &&
11393 { ac_try='test -s conftest$ac_exeext'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; }; then
11399 eval "$as_ac_var=yes"
11400 else
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11404 eval "$as_ac_var=no"
11406 rm -f conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11411 if test `eval echo '${'$as_ac_var'}'` = yes; then
11412 cat >>confdefs.h <<_ACEOF
11413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11414 _ACEOF
11417 done
11419 else
11421 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11422 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11423 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11424 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 else
11430 ac_ext=cc
11431 ac_cpp='$CXXCPP $CPPFLAGS'
11432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11436 cat >conftest.$ac_ext <<_ACEOF
11437 /* confdefs.h. */
11438 _ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 #include <math.h>
11444 main ()
11446 _hypot(0, 0);
11448 return 0;
11450 _ACEOF
11451 rm -f conftest.$ac_objext
11452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11453 (eval $ac_compile) 2>conftest.er1
11454 ac_status=$?
11455 grep -v '^ *+' conftest.er1 >conftest.err
11456 rm -f conftest.er1
11457 cat conftest.err >&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); } &&
11460 { ac_try='test -z "$ac_cxx_werror_flag"
11461 || test ! -s conftest.err'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11464 ac_status=$?
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; } &&
11467 { ac_try='test -s conftest.$ac_objext'
11468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11469 (eval $ac_try) 2>&5
11470 ac_status=$?
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); }; }; then
11473 glibcxx_cv_func__hypot_use=yes
11474 else
11475 echo "$as_me: failed program was:" >&5
11476 sed 's/^/| /' conftest.$ac_ext >&5
11478 glibcxx_cv_func__hypot_use=no
11480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11481 ac_ext=c
11482 ac_cpp='$CPP $CPPFLAGS'
11483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11492 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11494 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11496 for ac_func in _hypot
11498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11499 echo "$as_me:$LINENO: checking for $ac_func" >&5
11500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11501 if eval "test \"\${$as_ac_var+set}\" = set"; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 else
11504 if test x$gcc_no_link = xyes; then
11505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11507 { (exit 1); exit 1; }; }
11509 cat >conftest.$ac_ext <<_ACEOF
11510 /* confdefs.h. */
11511 _ACEOF
11512 cat confdefs.h >>conftest.$ac_ext
11513 cat >>conftest.$ac_ext <<_ACEOF
11514 /* end confdefs.h. */
11515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11517 #define $ac_func innocuous_$ac_func
11519 /* System header to define __stub macros and hopefully few prototypes,
11520 which can conflict with char $ac_func (); below.
11521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11522 <limits.h> exists even on freestanding compilers. */
11524 #ifdef __STDC__
11525 # include <limits.h>
11526 #else
11527 # include <assert.h>
11528 #endif
11530 #undef $ac_func
11532 /* Override any gcc2 internal prototype to avoid an error. */
11533 #ifdef __cplusplus
11534 extern "C"
11536 #endif
11537 /* We use char because int might match the return type of a gcc2
11538 builtin and then its argument prototype would still apply. */
11539 char $ac_func ();
11540 /* The GNU C library defines this for functions which it implements
11541 to always fail with ENOSYS. Some functions are actually named
11542 something starting with __ and the normal name is an alias. */
11543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11544 choke me
11545 #else
11546 char (*f) () = $ac_func;
11547 #endif
11548 #ifdef __cplusplus
11550 #endif
11553 main ()
11555 return f != $ac_func;
11557 return 0;
11559 _ACEOF
11560 rm -f conftest.$ac_objext conftest$ac_exeext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11562 (eval $ac_link) 2>conftest.er1
11563 ac_status=$?
11564 grep -v '^ *+' conftest.er1 >conftest.err
11565 rm -f conftest.er1
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } &&
11569 { ac_try='test -z "$ac_c_werror_flag"
11570 || test ! -s conftest.err'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try='test -s conftest$ac_exeext'
11577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11578 (eval $ac_try) 2>&5
11579 ac_status=$?
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); }; }; then
11582 eval "$as_ac_var=yes"
11583 else
11584 echo "$as_me: failed program was:" >&5
11585 sed 's/^/| /' conftest.$ac_ext >&5
11587 eval "$as_ac_var=no"
11589 rm -f conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11594 if test `eval echo '${'$as_ac_var'}'` = yes; then
11595 cat >>confdefs.h <<_ACEOF
11596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11597 _ACEOF
11600 done
11610 echo "$as_me:$LINENO: checking for float trig functions" >&5
11611 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11612 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 else
11618 ac_ext=cc
11619 ac_cpp='$CXXCPP $CPPFLAGS'
11620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11624 cat >conftest.$ac_ext <<_ACEOF
11625 /* confdefs.h. */
11626 _ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 #include <math.h>
11632 main ()
11634 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11636 return 0;
11638 _ACEOF
11639 rm -f conftest.$ac_objext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11641 (eval $ac_compile) 2>conftest.er1
11642 ac_status=$?
11643 grep -v '^ *+' conftest.er1 >conftest.err
11644 rm -f conftest.er1
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try='test -z "$ac_cxx_werror_flag"
11649 || test ! -s conftest.err'
11650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11651 (eval $ac_try) 2>&5
11652 ac_status=$?
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); }; } &&
11655 { ac_try='test -s conftest.$ac_objext'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11658 ac_status=$?
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11661 glibcxx_cv_func_float_trig_use=yes
11662 else
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.$ac_ext >&5
11666 glibcxx_cv_func_float_trig_use=no
11668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11669 ac_ext=c
11670 ac_cpp='$CPP $CPPFLAGS'
11671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11678 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11679 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11689 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11692 echo "$as_me:$LINENO: checking for $ac_func" >&5
11693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11694 if eval "test \"\${$as_ac_var+set}\" = set"; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 else
11697 if test x$gcc_no_link = xyes; then
11698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11700 { (exit 1); exit 1; }; }
11702 cat >conftest.$ac_ext <<_ACEOF
11703 /* confdefs.h. */
11704 _ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11710 #define $ac_func innocuous_$ac_func
11712 /* System header to define __stub macros and hopefully few prototypes,
11713 which can conflict with char $ac_func (); below.
11714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11715 <limits.h> exists even on freestanding compilers. */
11717 #ifdef __STDC__
11718 # include <limits.h>
11719 #else
11720 # include <assert.h>
11721 #endif
11723 #undef $ac_func
11725 /* Override any gcc2 internal prototype to avoid an error. */
11726 #ifdef __cplusplus
11727 extern "C"
11729 #endif
11730 /* We use char because int might match the return type of a gcc2
11731 builtin and then its argument prototype would still apply. */
11732 char $ac_func ();
11733 /* The GNU C library defines this for functions which it implements
11734 to always fail with ENOSYS. Some functions are actually named
11735 something starting with __ and the normal name is an alias. */
11736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11737 choke me
11738 #else
11739 char (*f) () = $ac_func;
11740 #endif
11741 #ifdef __cplusplus
11743 #endif
11746 main ()
11748 return f != $ac_func;
11750 return 0;
11752 _ACEOF
11753 rm -f conftest.$ac_objext conftest$ac_exeext
11754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11755 (eval $ac_link) 2>conftest.er1
11756 ac_status=$?
11757 grep -v '^ *+' conftest.er1 >conftest.err
11758 rm -f conftest.er1
11759 cat conftest.err >&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); } &&
11762 { ac_try='test -z "$ac_c_werror_flag"
11763 || test ! -s conftest.err'
11764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11765 (eval $ac_try) 2>&5
11766 ac_status=$?
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; } &&
11769 { ac_try='test -s conftest$ac_exeext'
11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11771 (eval $ac_try) 2>&5
11772 ac_status=$?
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; }; then
11775 eval "$as_ac_var=yes"
11776 else
11777 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.$ac_ext >&5
11780 eval "$as_ac_var=no"
11782 rm -f conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext
11785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11787 if test `eval echo '${'$as_ac_var'}'` = yes; then
11788 cat >>confdefs.h <<_ACEOF
11789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11790 _ACEOF
11793 done
11795 else
11796 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11797 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11798 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 else
11804 ac_ext=cc
11805 ac_cpp='$CXXCPP $CPPFLAGS'
11806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11810 cat >conftest.$ac_ext <<_ACEOF
11811 /* confdefs.h. */
11812 _ACEOF
11813 cat confdefs.h >>conftest.$ac_ext
11814 cat >>conftest.$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11816 #include <math.h>
11818 main ()
11820 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11822 return 0;
11824 _ACEOF
11825 rm -f conftest.$ac_objext
11826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11827 (eval $ac_compile) 2>conftest.er1
11828 ac_status=$?
11829 grep -v '^ *+' conftest.er1 >conftest.err
11830 rm -f conftest.er1
11831 cat conftest.err >&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try='test -z "$ac_cxx_werror_flag"
11835 || test ! -s conftest.err'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; } &&
11841 { ac_try='test -s conftest.$ac_objext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11844 ac_status=$?
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11847 glibcxx_cv_func__float_trig_use=yes
11848 else
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.$ac_ext >&5
11852 glibcxx_cv_func__float_trig_use=no
11854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11855 ac_ext=c
11856 ac_cpp='$CPP $CPPFLAGS'
11857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11864 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11865 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11875 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878 echo "$as_me:$LINENO: checking for $ac_func" >&5
11879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11880 if eval "test \"\${$as_ac_var+set}\" = set"; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 else
11883 if test x$gcc_no_link = xyes; then
11884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11886 { (exit 1); exit 1; }; }
11888 cat >conftest.$ac_ext <<_ACEOF
11889 /* confdefs.h. */
11890 _ACEOF
11891 cat confdefs.h >>conftest.$ac_ext
11892 cat >>conftest.$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11896 #define $ac_func innocuous_$ac_func
11898 /* System header to define __stub macros and hopefully few prototypes,
11899 which can conflict with char $ac_func (); below.
11900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11901 <limits.h> exists even on freestanding compilers. */
11903 #ifdef __STDC__
11904 # include <limits.h>
11905 #else
11906 # include <assert.h>
11907 #endif
11909 #undef $ac_func
11911 /* Override any gcc2 internal prototype to avoid an error. */
11912 #ifdef __cplusplus
11913 extern "C"
11915 #endif
11916 /* We use char because int might match the return type of a gcc2
11917 builtin and then its argument prototype would still apply. */
11918 char $ac_func ();
11919 /* The GNU C library defines this for functions which it implements
11920 to always fail with ENOSYS. Some functions are actually named
11921 something starting with __ and the normal name is an alias. */
11922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11923 choke me
11924 #else
11925 char (*f) () = $ac_func;
11926 #endif
11927 #ifdef __cplusplus
11929 #endif
11932 main ()
11934 return f != $ac_func;
11936 return 0;
11938 _ACEOF
11939 rm -f conftest.$ac_objext conftest$ac_exeext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11941 (eval $ac_link) 2>conftest.er1
11942 ac_status=$?
11943 grep -v '^ *+' conftest.er1 >conftest.err
11944 rm -f conftest.er1
11945 cat conftest.err >&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try='test -z "$ac_c_werror_flag"
11949 || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11952 ac_status=$?
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try='test -s conftest$ac_exeext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11958 ac_status=$?
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 eval "$as_ac_var=yes"
11962 else
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.$ac_ext >&5
11966 eval "$as_ac_var=no"
11968 rm -f conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11973 if test `eval echo '${'$as_ac_var'}'` = yes; then
11974 cat >>confdefs.h <<_ACEOF
11975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11976 _ACEOF
11979 done
11997 echo "$as_me:$LINENO: checking for float round functions" >&5
11998 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11999 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
12000 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 else
12005 ac_ext=cc
12006 ac_cpp='$CXXCPP $CPPFLAGS'
12007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12011 cat >conftest.$ac_ext <<_ACEOF
12012 /* confdefs.h. */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <math.h>
12019 main ()
12021 ceilf (0); floorf (0);
12023 return 0;
12025 _ACEOF
12026 rm -f conftest.$ac_objext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12028 (eval $ac_compile) 2>conftest.er1
12029 ac_status=$?
12030 grep -v '^ *+' conftest.er1 >conftest.err
12031 rm -f conftest.er1
12032 cat conftest.err >&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
12035 { ac_try='test -z "$ac_cxx_werror_flag"
12036 || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try='test -s conftest.$ac_objext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12045 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 glibcxx_cv_func_float_round_use=yes
12049 else
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12053 glibcxx_cv_func_float_round_use=no
12055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12056 ac_ext=c
12057 ac_cpp='$CPP $CPPFLAGS'
12058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12065 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12066 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12069 for ac_func in ceilf floorf
12071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12072 echo "$as_me:$LINENO: checking for $ac_func" >&5
12073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12074 if eval "test \"\${$as_ac_var+set}\" = set"; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077 if test x$gcc_no_link = xyes; then
12078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12080 { (exit 1); exit 1; }; }
12082 cat >conftest.$ac_ext <<_ACEOF
12083 /* confdefs.h. */
12084 _ACEOF
12085 cat confdefs.h >>conftest.$ac_ext
12086 cat >>conftest.$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12090 #define $ac_func innocuous_$ac_func
12092 /* System header to define __stub macros and hopefully few prototypes,
12093 which can conflict with char $ac_func (); below.
12094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12095 <limits.h> exists even on freestanding compilers. */
12097 #ifdef __STDC__
12098 # include <limits.h>
12099 #else
12100 # include <assert.h>
12101 #endif
12103 #undef $ac_func
12105 /* Override any gcc2 internal prototype to avoid an error. */
12106 #ifdef __cplusplus
12107 extern "C"
12109 #endif
12110 /* We use char because int might match the return type of a gcc2
12111 builtin and then its argument prototype would still apply. */
12112 char $ac_func ();
12113 /* The GNU C library defines this for functions which it implements
12114 to always fail with ENOSYS. Some functions are actually named
12115 something starting with __ and the normal name is an alias. */
12116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12117 choke me
12118 #else
12119 char (*f) () = $ac_func;
12120 #endif
12121 #ifdef __cplusplus
12123 #endif
12126 main ()
12128 return f != $ac_func;
12130 return 0;
12132 _ACEOF
12133 rm -f conftest.$ac_objext conftest$ac_exeext
12134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12135 (eval $ac_link) 2>conftest.er1
12136 ac_status=$?
12137 grep -v '^ *+' conftest.er1 >conftest.err
12138 rm -f conftest.er1
12139 cat conftest.err >&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } &&
12142 { ac_try='test -z "$ac_c_werror_flag"
12143 || test ! -s conftest.err'
12144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12145 (eval $ac_try) 2>&5
12146 ac_status=$?
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); }; } &&
12149 { ac_try='test -s conftest$ac_exeext'
12150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12151 (eval $ac_try) 2>&5
12152 ac_status=$?
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); }; }; then
12155 eval "$as_ac_var=yes"
12156 else
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12160 eval "$as_ac_var=no"
12162 rm -f conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12167 if test `eval echo '${'$as_ac_var'}'` = yes; then
12168 cat >>confdefs.h <<_ACEOF
12169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12170 _ACEOF
12173 done
12175 else
12176 echo "$as_me:$LINENO: checking for _float round functions" >&5
12177 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12178 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 else
12184 ac_ext=cc
12185 ac_cpp='$CXXCPP $CPPFLAGS'
12186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12190 cat >conftest.$ac_ext <<_ACEOF
12191 /* confdefs.h. */
12192 _ACEOF
12193 cat confdefs.h >>conftest.$ac_ext
12194 cat >>conftest.$ac_ext <<_ACEOF
12195 /* end confdefs.h. */
12196 #include <math.h>
12198 main ()
12200 _ceilf (0); _floorf (0);
12202 return 0;
12204 _ACEOF
12205 rm -f conftest.$ac_objext
12206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12207 (eval $ac_compile) 2>conftest.er1
12208 ac_status=$?
12209 grep -v '^ *+' conftest.er1 >conftest.err
12210 rm -f conftest.er1
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } &&
12214 { ac_try='test -z "$ac_cxx_werror_flag"
12215 || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12218 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try='test -s conftest.$ac_objext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 glibcxx_cv_func__float_round_use=yes
12228 else
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12232 glibcxx_cv_func__float_round_use=no
12234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12235 ac_ext=c
12236 ac_cpp='$CPP $CPPFLAGS'
12237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12243 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12244 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12245 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12248 for ac_func in _ceilf _floorf
12250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12251 echo "$as_me:$LINENO: checking for $ac_func" >&5
12252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12253 if eval "test \"\${$as_ac_var+set}\" = set"; then
12254 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 else
12256 if test x$gcc_no_link = xyes; then
12257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12259 { (exit 1); exit 1; }; }
12261 cat >conftest.$ac_ext <<_ACEOF
12262 /* confdefs.h. */
12263 _ACEOF
12264 cat confdefs.h >>conftest.$ac_ext
12265 cat >>conftest.$ac_ext <<_ACEOF
12266 /* end confdefs.h. */
12267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12269 #define $ac_func innocuous_$ac_func
12271 /* System header to define __stub macros and hopefully few prototypes,
12272 which can conflict with char $ac_func (); below.
12273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12274 <limits.h> exists even on freestanding compilers. */
12276 #ifdef __STDC__
12277 # include <limits.h>
12278 #else
12279 # include <assert.h>
12280 #endif
12282 #undef $ac_func
12284 /* Override any gcc2 internal prototype to avoid an error. */
12285 #ifdef __cplusplus
12286 extern "C"
12288 #endif
12289 /* We use char because int might match the return type of a gcc2
12290 builtin and then its argument prototype would still apply. */
12291 char $ac_func ();
12292 /* The GNU C library defines this for functions which it implements
12293 to always fail with ENOSYS. Some functions are actually named
12294 something starting with __ and the normal name is an alias. */
12295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12296 choke me
12297 #else
12298 char (*f) () = $ac_func;
12299 #endif
12300 #ifdef __cplusplus
12302 #endif
12305 main ()
12307 return f != $ac_func;
12309 return 0;
12311 _ACEOF
12312 rm -f conftest.$ac_objext conftest$ac_exeext
12313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12314 (eval $ac_link) 2>conftest.er1
12315 ac_status=$?
12316 grep -v '^ *+' conftest.er1 >conftest.err
12317 rm -f conftest.er1
12318 cat conftest.err >&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } &&
12321 { ac_try='test -z "$ac_c_werror_flag"
12322 || test ! -s conftest.err'
12323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5
12325 ac_status=$?
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; } &&
12328 { ac_try='test -s conftest$ac_exeext'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12331 ac_status=$?
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12334 eval "$as_ac_var=yes"
12335 else
12336 echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.$ac_ext >&5
12339 eval "$as_ac_var=no"
12341 rm -f conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12346 if test `eval echo '${'$as_ac_var'}'` = yes; then
12347 cat >>confdefs.h <<_ACEOF
12348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12349 _ACEOF
12352 done
12364 echo "$as_me:$LINENO: checking for expf declaration" >&5
12365 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12366 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12367 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 else
12373 ac_ext=cc
12374 ac_cpp='$CXXCPP $CPPFLAGS'
12375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12379 cat >conftest.$ac_ext <<_ACEOF
12380 /* confdefs.h. */
12381 _ACEOF
12382 cat confdefs.h >>conftest.$ac_ext
12383 cat >>conftest.$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12385 #include <math.h>
12386 #ifdef HAVE_IEEEFP_H
12387 #include <ieeefp.h>
12388 #endif
12391 main ()
12393 expf(0);
12395 return 0;
12397 _ACEOF
12398 rm -f conftest.$ac_objext
12399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12400 (eval $ac_compile) 2>conftest.er1
12401 ac_status=$?
12402 grep -v '^ *+' conftest.er1 >conftest.err
12403 rm -f conftest.er1
12404 cat conftest.err >&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } &&
12407 { ac_try='test -z "$ac_cxx_werror_flag"
12408 || test ! -s conftest.err'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12411 ac_status=$?
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; } &&
12414 { ac_try='test -s conftest.$ac_objext'
12415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12416 (eval $ac_try) 2>&5
12417 ac_status=$?
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }; }; then
12420 glibcxx_cv_func_expf_use=yes
12421 else
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.$ac_ext >&5
12425 glibcxx_cv_func_expf_use=no
12427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12428 ac_ext=c
12429 ac_cpp='$CPP $CPPFLAGS'
12430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12439 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12441 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12443 for ac_func in expf
12445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12446 echo "$as_me:$LINENO: checking for $ac_func" >&5
12447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12448 if eval "test \"\${$as_ac_var+set}\" = set"; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12450 else
12451 if test x$gcc_no_link = xyes; then
12452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12454 { (exit 1); exit 1; }; }
12456 cat >conftest.$ac_ext <<_ACEOF
12457 /* confdefs.h. */
12458 _ACEOF
12459 cat confdefs.h >>conftest.$ac_ext
12460 cat >>conftest.$ac_ext <<_ACEOF
12461 /* end confdefs.h. */
12462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12464 #define $ac_func innocuous_$ac_func
12466 /* System header to define __stub macros and hopefully few prototypes,
12467 which can conflict with char $ac_func (); below.
12468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12469 <limits.h> exists even on freestanding compilers. */
12471 #ifdef __STDC__
12472 # include <limits.h>
12473 #else
12474 # include <assert.h>
12475 #endif
12477 #undef $ac_func
12479 /* Override any gcc2 internal prototype to avoid an error. */
12480 #ifdef __cplusplus
12481 extern "C"
12483 #endif
12484 /* We use char because int might match the return type of a gcc2
12485 builtin and then its argument prototype would still apply. */
12486 char $ac_func ();
12487 /* The GNU C library defines this for functions which it implements
12488 to always fail with ENOSYS. Some functions are actually named
12489 something starting with __ and the normal name is an alias. */
12490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12491 choke me
12492 #else
12493 char (*f) () = $ac_func;
12494 #endif
12495 #ifdef __cplusplus
12497 #endif
12500 main ()
12502 return f != $ac_func;
12504 return 0;
12506 _ACEOF
12507 rm -f conftest.$ac_objext conftest$ac_exeext
12508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12509 (eval $ac_link) 2>conftest.er1
12510 ac_status=$?
12511 grep -v '^ *+' conftest.er1 >conftest.err
12512 rm -f conftest.er1
12513 cat conftest.err >&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } &&
12516 { ac_try='test -z "$ac_c_werror_flag"
12517 || test ! -s conftest.err'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12520 ac_status=$?
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; } &&
12523 { ac_try='test -s conftest$ac_exeext'
12524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12525 (eval $ac_try) 2>&5
12526 ac_status=$?
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); }; }; then
12529 eval "$as_ac_var=yes"
12530 else
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.$ac_ext >&5
12534 eval "$as_ac_var=no"
12536 rm -f conftest.err conftest.$ac_objext \
12537 conftest$ac_exeext conftest.$ac_ext
12539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12541 if test `eval echo '${'$as_ac_var'}'` = yes; then
12542 cat >>confdefs.h <<_ACEOF
12543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12544 _ACEOF
12547 done
12549 else
12551 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12552 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12553 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12554 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12556 else
12560 ac_ext=cc
12561 ac_cpp='$CXXCPP $CPPFLAGS'
12562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12566 cat >conftest.$ac_ext <<_ACEOF
12567 /* confdefs.h. */
12568 _ACEOF
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 #include <math.h>
12573 #ifdef HAVE_IEEEFP_H
12574 #include <ieeefp.h>
12575 #endif
12578 main ()
12580 _expf(0);
12582 return 0;
12584 _ACEOF
12585 rm -f conftest.$ac_objext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12587 (eval $ac_compile) 2>conftest.er1
12588 ac_status=$?
12589 grep -v '^ *+' conftest.er1 >conftest.err
12590 rm -f conftest.er1
12591 cat conftest.err >&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try='test -z "$ac_cxx_werror_flag"
12595 || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12598 ac_status=$?
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try='test -s conftest.$ac_objext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12604 ac_status=$?
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 glibcxx_cv_func__expf_use=yes
12608 else
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12612 glibcxx_cv_func__expf_use=no
12614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12615 ac_ext=c
12616 ac_cpp='$CPP $CPPFLAGS'
12617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12626 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12628 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12630 for ac_func in _expf
12632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12633 echo "$as_me:$LINENO: checking for $ac_func" >&5
12634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12635 if eval "test \"\${$as_ac_var+set}\" = set"; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 else
12638 if test x$gcc_no_link = xyes; then
12639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12641 { (exit 1); exit 1; }; }
12643 cat >conftest.$ac_ext <<_ACEOF
12644 /* confdefs.h. */
12645 _ACEOF
12646 cat confdefs.h >>conftest.$ac_ext
12647 cat >>conftest.$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12651 #define $ac_func innocuous_$ac_func
12653 /* System header to define __stub macros and hopefully few prototypes,
12654 which can conflict with char $ac_func (); below.
12655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12656 <limits.h> exists even on freestanding compilers. */
12658 #ifdef __STDC__
12659 # include <limits.h>
12660 #else
12661 # include <assert.h>
12662 #endif
12664 #undef $ac_func
12666 /* Override any gcc2 internal prototype to avoid an error. */
12667 #ifdef __cplusplus
12668 extern "C"
12670 #endif
12671 /* We use char because int might match the return type of a gcc2
12672 builtin and then its argument prototype would still apply. */
12673 char $ac_func ();
12674 /* The GNU C library defines this for functions which it implements
12675 to always fail with ENOSYS. Some functions are actually named
12676 something starting with __ and the normal name is an alias. */
12677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12678 choke me
12679 #else
12680 char (*f) () = $ac_func;
12681 #endif
12682 #ifdef __cplusplus
12684 #endif
12687 main ()
12689 return f != $ac_func;
12691 return 0;
12693 _ACEOF
12694 rm -f conftest.$ac_objext conftest$ac_exeext
12695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12696 (eval $ac_link) 2>conftest.er1
12697 ac_status=$?
12698 grep -v '^ *+' conftest.er1 >conftest.err
12699 rm -f conftest.er1
12700 cat conftest.err >&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } &&
12703 { ac_try='test -z "$ac_c_werror_flag"
12704 || test ! -s conftest.err'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; } &&
12710 { ac_try='test -s conftest$ac_exeext'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12713 ac_status=$?
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; }; then
12716 eval "$as_ac_var=yes"
12717 else
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12721 eval "$as_ac_var=no"
12723 rm -f conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12728 if test `eval echo '${'$as_ac_var'}'` = yes; then
12729 cat >>confdefs.h <<_ACEOF
12730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12731 _ACEOF
12734 done
12744 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12745 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12746 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12747 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 else
12753 ac_ext=cc
12754 ac_cpp='$CXXCPP $CPPFLAGS'
12755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12759 cat >conftest.$ac_ext <<_ACEOF
12760 /* confdefs.h. */
12761 _ACEOF
12762 cat confdefs.h >>conftest.$ac_ext
12763 cat >>conftest.$ac_ext <<_ACEOF
12764 /* end confdefs.h. */
12765 #include <math.h>
12766 #ifdef HAVE_IEEEFP_H
12767 #include <ieeefp.h>
12768 #endif
12771 main ()
12773 isnanf(0);
12775 return 0;
12777 _ACEOF
12778 rm -f conftest.$ac_objext
12779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>conftest.er1
12781 ac_status=$?
12782 grep -v '^ *+' conftest.er1 >conftest.err
12783 rm -f conftest.er1
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } &&
12787 { ac_try='test -z "$ac_cxx_werror_flag"
12788 || test ! -s conftest.err'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12791 ac_status=$?
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try='test -s conftest.$ac_objext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12797 ac_status=$?
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 glibcxx_cv_func_isnanf_use=yes
12801 else
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12805 glibcxx_cv_func_isnanf_use=no
12807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12808 ac_ext=c
12809 ac_cpp='$CPP $CPPFLAGS'
12810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12819 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12821 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12823 for ac_func in isnanf
12825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12826 echo "$as_me:$LINENO: checking for $ac_func" >&5
12827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12828 if eval "test \"\${$as_ac_var+set}\" = set"; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 else
12831 if test x$gcc_no_link = xyes; then
12832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12834 { (exit 1); exit 1; }; }
12836 cat >conftest.$ac_ext <<_ACEOF
12837 /* confdefs.h. */
12838 _ACEOF
12839 cat confdefs.h >>conftest.$ac_ext
12840 cat >>conftest.$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12844 #define $ac_func innocuous_$ac_func
12846 /* System header to define __stub macros and hopefully few prototypes,
12847 which can conflict with char $ac_func (); below.
12848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12849 <limits.h> exists even on freestanding compilers. */
12851 #ifdef __STDC__
12852 # include <limits.h>
12853 #else
12854 # include <assert.h>
12855 #endif
12857 #undef $ac_func
12859 /* Override any gcc2 internal prototype to avoid an error. */
12860 #ifdef __cplusplus
12861 extern "C"
12863 #endif
12864 /* We use char because int might match the return type of a gcc2
12865 builtin and then its argument prototype would still apply. */
12866 char $ac_func ();
12867 /* The GNU C library defines this for functions which it implements
12868 to always fail with ENOSYS. Some functions are actually named
12869 something starting with __ and the normal name is an alias. */
12870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12871 choke me
12872 #else
12873 char (*f) () = $ac_func;
12874 #endif
12875 #ifdef __cplusplus
12877 #endif
12880 main ()
12882 return f != $ac_func;
12884 return 0;
12886 _ACEOF
12887 rm -f conftest.$ac_objext conftest$ac_exeext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12889 (eval $ac_link) 2>conftest.er1
12890 ac_status=$?
12891 grep -v '^ *+' conftest.er1 >conftest.err
12892 rm -f conftest.er1
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } &&
12896 { ac_try='test -z "$ac_c_werror_flag"
12897 || test ! -s conftest.err'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12900 ac_status=$?
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; } &&
12903 { ac_try='test -s conftest$ac_exeext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12906 ac_status=$?
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 eval "$as_ac_var=yes"
12910 else
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.$ac_ext >&5
12914 eval "$as_ac_var=no"
12916 rm -f conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12921 if test `eval echo '${'$as_ac_var'}'` = yes; then
12922 cat >>confdefs.h <<_ACEOF
12923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12924 _ACEOF
12927 done
12929 else
12931 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12932 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12933 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12934 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12935 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 else
12940 ac_ext=cc
12941 ac_cpp='$CXXCPP $CPPFLAGS'
12942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12946 cat >conftest.$ac_ext <<_ACEOF
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 #include <math.h>
12953 #ifdef HAVE_IEEEFP_H
12954 #include <ieeefp.h>
12955 #endif
12958 main ()
12960 _isnanf(0);
12962 return 0;
12964 _ACEOF
12965 rm -f conftest.$ac_objext
12966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12967 (eval $ac_compile) 2>conftest.er1
12968 ac_status=$?
12969 grep -v '^ *+' conftest.er1 >conftest.err
12970 rm -f conftest.er1
12971 cat conftest.err >&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } &&
12974 { ac_try='test -z "$ac_cxx_werror_flag"
12975 || test ! -s conftest.err'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12978 ac_status=$?
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; } &&
12981 { ac_try='test -s conftest.$ac_objext'
12982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12983 (eval $ac_try) 2>&5
12984 ac_status=$?
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; }; then
12987 glibcxx_cv_func__isnanf_use=yes
12988 else
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.$ac_ext >&5
12992 glibcxx_cv_func__isnanf_use=no
12994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12995 ac_ext=c
12996 ac_cpp='$CPP $CPPFLAGS'
12997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13006 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13008 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13010 for ac_func in _isnanf
13012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13013 echo "$as_me:$LINENO: checking for $ac_func" >&5
13014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13015 if eval "test \"\${$as_ac_var+set}\" = set"; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 else
13018 if test x$gcc_no_link = xyes; then
13019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13021 { (exit 1); exit 1; }; }
13023 cat >conftest.$ac_ext <<_ACEOF
13024 /* confdefs.h. */
13025 _ACEOF
13026 cat confdefs.h >>conftest.$ac_ext
13027 cat >>conftest.$ac_ext <<_ACEOF
13028 /* end confdefs.h. */
13029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13031 #define $ac_func innocuous_$ac_func
13033 /* System header to define __stub macros and hopefully few prototypes,
13034 which can conflict with char $ac_func (); below.
13035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13036 <limits.h> exists even on freestanding compilers. */
13038 #ifdef __STDC__
13039 # include <limits.h>
13040 #else
13041 # include <assert.h>
13042 #endif
13044 #undef $ac_func
13046 /* Override any gcc2 internal prototype to avoid an error. */
13047 #ifdef __cplusplus
13048 extern "C"
13050 #endif
13051 /* We use char because int might match the return type of a gcc2
13052 builtin and then its argument prototype would still apply. */
13053 char $ac_func ();
13054 /* The GNU C library defines this for functions which it implements
13055 to always fail with ENOSYS. Some functions are actually named
13056 something starting with __ and the normal name is an alias. */
13057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13058 choke me
13059 #else
13060 char (*f) () = $ac_func;
13061 #endif
13062 #ifdef __cplusplus
13064 #endif
13067 main ()
13069 return f != $ac_func;
13071 return 0;
13073 _ACEOF
13074 rm -f conftest.$ac_objext conftest$ac_exeext
13075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13076 (eval $ac_link) 2>conftest.er1
13077 ac_status=$?
13078 grep -v '^ *+' conftest.er1 >conftest.err
13079 rm -f conftest.er1
13080 cat conftest.err >&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); } &&
13083 { ac_try='test -z "$ac_c_werror_flag"
13084 || test ! -s conftest.err'
13085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086 (eval $ac_try) 2>&5
13087 ac_status=$?
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; } &&
13090 { ac_try='test -s conftest$ac_exeext'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; }; then
13096 eval "$as_ac_var=yes"
13097 else
13098 echo "$as_me: failed program was:" >&5
13099 sed 's/^/| /' conftest.$ac_ext >&5
13101 eval "$as_ac_var=no"
13103 rm -f conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13108 if test `eval echo '${'$as_ac_var'}'` = yes; then
13109 cat >>confdefs.h <<_ACEOF
13110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13111 _ACEOF
13114 done
13124 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13125 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13126 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13127 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 else
13133 ac_ext=cc
13134 ac_cpp='$CXXCPP $CPPFLAGS'
13135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13139 cat >conftest.$ac_ext <<_ACEOF
13140 /* confdefs.h. */
13141 _ACEOF
13142 cat confdefs.h >>conftest.$ac_ext
13143 cat >>conftest.$ac_ext <<_ACEOF
13144 /* end confdefs.h. */
13145 #include <math.h>
13146 #ifdef HAVE_IEEEFP_H
13147 #include <ieeefp.h>
13148 #endif
13151 main ()
13153 isinff(0);
13155 return 0;
13157 _ACEOF
13158 rm -f conftest.$ac_objext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13160 (eval $ac_compile) 2>conftest.er1
13161 ac_status=$?
13162 grep -v '^ *+' conftest.er1 >conftest.err
13163 rm -f conftest.er1
13164 cat conftest.err >&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try='test -z "$ac_cxx_werror_flag"
13168 || test ! -s conftest.err'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; } &&
13174 { ac_try='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13177 ac_status=$?
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13180 glibcxx_cv_func_isinff_use=yes
13181 else
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.$ac_ext >&5
13185 glibcxx_cv_func_isinff_use=no
13187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13188 ac_ext=c
13189 ac_cpp='$CPP $CPPFLAGS'
13190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13199 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13201 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13203 for ac_func in isinff
13205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13206 echo "$as_me:$LINENO: checking for $ac_func" >&5
13207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13208 if eval "test \"\${$as_ac_var+set}\" = set"; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 else
13211 if test x$gcc_no_link = xyes; then
13212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13214 { (exit 1); exit 1; }; }
13216 cat >conftest.$ac_ext <<_ACEOF
13217 /* confdefs.h. */
13218 _ACEOF
13219 cat confdefs.h >>conftest.$ac_ext
13220 cat >>conftest.$ac_ext <<_ACEOF
13221 /* end confdefs.h. */
13222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13224 #define $ac_func innocuous_$ac_func
13226 /* System header to define __stub macros and hopefully few prototypes,
13227 which can conflict with char $ac_func (); below.
13228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13229 <limits.h> exists even on freestanding compilers. */
13231 #ifdef __STDC__
13232 # include <limits.h>
13233 #else
13234 # include <assert.h>
13235 #endif
13237 #undef $ac_func
13239 /* Override any gcc2 internal prototype to avoid an error. */
13240 #ifdef __cplusplus
13241 extern "C"
13243 #endif
13244 /* We use char because int might match the return type of a gcc2
13245 builtin and then its argument prototype would still apply. */
13246 char $ac_func ();
13247 /* The GNU C library defines this for functions which it implements
13248 to always fail with ENOSYS. Some functions are actually named
13249 something starting with __ and the normal name is an alias. */
13250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13251 choke me
13252 #else
13253 char (*f) () = $ac_func;
13254 #endif
13255 #ifdef __cplusplus
13257 #endif
13260 main ()
13262 return f != $ac_func;
13264 return 0;
13266 _ACEOF
13267 rm -f conftest.$ac_objext conftest$ac_exeext
13268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13269 (eval $ac_link) 2>conftest.er1
13270 ac_status=$?
13271 grep -v '^ *+' conftest.er1 >conftest.err
13272 rm -f conftest.er1
13273 cat conftest.err >&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); } &&
13276 { ac_try='test -z "$ac_c_werror_flag"
13277 || test ! -s conftest.err'
13278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 (eval $ac_try) 2>&5
13280 ac_status=$?
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; } &&
13283 { ac_try='test -s conftest$ac_exeext'
13284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 (eval $ac_try) 2>&5
13286 ac_status=$?
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }; }; then
13289 eval "$as_ac_var=yes"
13290 else
13291 echo "$as_me: failed program was:" >&5
13292 sed 's/^/| /' conftest.$ac_ext >&5
13294 eval "$as_ac_var=no"
13296 rm -f conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13301 if test `eval echo '${'$as_ac_var'}'` = yes; then
13302 cat >>confdefs.h <<_ACEOF
13303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13304 _ACEOF
13307 done
13309 else
13311 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13312 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13313 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13314 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13315 echo $ECHO_N "(cached) $ECHO_C" >&6
13316 else
13320 ac_ext=cc
13321 ac_cpp='$CXXCPP $CPPFLAGS'
13322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13326 cat >conftest.$ac_ext <<_ACEOF
13327 /* confdefs.h. */
13328 _ACEOF
13329 cat confdefs.h >>conftest.$ac_ext
13330 cat >>conftest.$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13332 #include <math.h>
13333 #ifdef HAVE_IEEEFP_H
13334 #include <ieeefp.h>
13335 #endif
13338 main ()
13340 _isinff(0);
13342 return 0;
13344 _ACEOF
13345 rm -f conftest.$ac_objext
13346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13347 (eval $ac_compile) 2>conftest.er1
13348 ac_status=$?
13349 grep -v '^ *+' conftest.er1 >conftest.err
13350 rm -f conftest.er1
13351 cat conftest.err >&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try='test -z "$ac_cxx_werror_flag"
13355 || test ! -s conftest.err'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13358 ac_status=$?
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; } &&
13361 { ac_try='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13364 ac_status=$?
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 glibcxx_cv_func__isinff_use=yes
13368 else
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.$ac_ext >&5
13372 glibcxx_cv_func__isinff_use=no
13374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13375 ac_ext=c
13376 ac_cpp='$CPP $CPPFLAGS'
13377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13386 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13388 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13390 for ac_func in _isinff
13392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13393 echo "$as_me:$LINENO: checking for $ac_func" >&5
13394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13395 if eval "test \"\${$as_ac_var+set}\" = set"; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 else
13398 if test x$gcc_no_link = xyes; then
13399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13401 { (exit 1); exit 1; }; }
13403 cat >conftest.$ac_ext <<_ACEOF
13404 /* confdefs.h. */
13405 _ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13411 #define $ac_func innocuous_$ac_func
13413 /* System header to define __stub macros and hopefully few prototypes,
13414 which can conflict with char $ac_func (); below.
13415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13416 <limits.h> exists even on freestanding compilers. */
13418 #ifdef __STDC__
13419 # include <limits.h>
13420 #else
13421 # include <assert.h>
13422 #endif
13424 #undef $ac_func
13426 /* Override any gcc2 internal prototype to avoid an error. */
13427 #ifdef __cplusplus
13428 extern "C"
13430 #endif
13431 /* We use char because int might match the return type of a gcc2
13432 builtin and then its argument prototype would still apply. */
13433 char $ac_func ();
13434 /* The GNU C library defines this for functions which it implements
13435 to always fail with ENOSYS. Some functions are actually named
13436 something starting with __ and the normal name is an alias. */
13437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13438 choke me
13439 #else
13440 char (*f) () = $ac_func;
13441 #endif
13442 #ifdef __cplusplus
13444 #endif
13447 main ()
13449 return f != $ac_func;
13451 return 0;
13453 _ACEOF
13454 rm -f conftest.$ac_objext conftest$ac_exeext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13456 (eval $ac_link) 2>conftest.er1
13457 ac_status=$?
13458 grep -v '^ *+' conftest.er1 >conftest.err
13459 rm -f conftest.er1
13460 cat conftest.err >&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try='test -z "$ac_c_werror_flag"
13464 || test ! -s conftest.err'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13467 ac_status=$?
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; } &&
13470 { ac_try='test -s conftest$ac_exeext'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13476 eval "$as_ac_var=yes"
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 eval "$as_ac_var=no"
13483 rm -f conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13488 if test `eval echo '${'$as_ac_var'}'` = yes; then
13489 cat >>confdefs.h <<_ACEOF
13490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13491 _ACEOF
13494 done
13504 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13505 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13506 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13507 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 else
13513 ac_ext=cc
13514 ac_cpp='$CXXCPP $CPPFLAGS'
13515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13519 cat >conftest.$ac_ext <<_ACEOF
13520 /* confdefs.h. */
13521 _ACEOF
13522 cat confdefs.h >>conftest.$ac_ext
13523 cat >>conftest.$ac_ext <<_ACEOF
13524 /* end confdefs.h. */
13525 #include <math.h>
13527 main ()
13529 atan2f(0, 0);
13531 return 0;
13533 _ACEOF
13534 rm -f conftest.$ac_objext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13536 (eval $ac_compile) 2>conftest.er1
13537 ac_status=$?
13538 grep -v '^ *+' conftest.er1 >conftest.err
13539 rm -f conftest.er1
13540 cat conftest.err >&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try='test -z "$ac_cxx_werror_flag"
13544 || test ! -s conftest.err'
13545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13546 (eval $ac_try) 2>&5
13547 ac_status=$?
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); }; } &&
13550 { ac_try='test -s conftest.$ac_objext'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13553 ac_status=$?
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; }; then
13556 glibcxx_cv_func_atan2f_use=yes
13557 else
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.$ac_ext >&5
13561 glibcxx_cv_func_atan2f_use=no
13563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13564 ac_ext=c
13565 ac_cpp='$CPP $CPPFLAGS'
13566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13575 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13577 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13579 for ac_func in atan2f
13581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13582 echo "$as_me:$LINENO: checking for $ac_func" >&5
13583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13584 if eval "test \"\${$as_ac_var+set}\" = set"; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587 if test x$gcc_no_link = xyes; then
13588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13590 { (exit 1); exit 1; }; }
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13600 #define $ac_func innocuous_$ac_func
13602 /* System header to define __stub macros and hopefully few prototypes,
13603 which can conflict with char $ac_func (); below.
13604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13605 <limits.h> exists even on freestanding compilers. */
13607 #ifdef __STDC__
13608 # include <limits.h>
13609 #else
13610 # include <assert.h>
13611 #endif
13613 #undef $ac_func
13615 /* Override any gcc2 internal prototype to avoid an error. */
13616 #ifdef __cplusplus
13617 extern "C"
13619 #endif
13620 /* We use char because int might match the return type of a gcc2
13621 builtin and then its argument prototype would still apply. */
13622 char $ac_func ();
13623 /* The GNU C library defines this for functions which it implements
13624 to always fail with ENOSYS. Some functions are actually named
13625 something starting with __ and the normal name is an alias. */
13626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13627 choke me
13628 #else
13629 char (*f) () = $ac_func;
13630 #endif
13631 #ifdef __cplusplus
13633 #endif
13636 main ()
13638 return f != $ac_func;
13640 return 0;
13642 _ACEOF
13643 rm -f conftest.$ac_objext conftest$ac_exeext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13645 (eval $ac_link) 2>conftest.er1
13646 ac_status=$?
13647 grep -v '^ *+' conftest.er1 >conftest.err
13648 rm -f conftest.er1
13649 cat conftest.err >&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try='test -z "$ac_c_werror_flag"
13653 || test ! -s conftest.err'
13654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13655 (eval $ac_try) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }; } &&
13659 { ac_try='test -s conftest$ac_exeext'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13665 eval "$as_ac_var=yes"
13666 else
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.$ac_ext >&5
13670 eval "$as_ac_var=no"
13672 rm -f conftest.err conftest.$ac_objext \
13673 conftest$ac_exeext conftest.$ac_ext
13675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13677 if test `eval echo '${'$as_ac_var'}'` = yes; then
13678 cat >>confdefs.h <<_ACEOF
13679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13680 _ACEOF
13683 done
13685 else
13687 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13688 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13689 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13690 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 else
13696 ac_ext=cc
13697 ac_cpp='$CXXCPP $CPPFLAGS'
13698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13702 cat >conftest.$ac_ext <<_ACEOF
13703 /* confdefs.h. */
13704 _ACEOF
13705 cat confdefs.h >>conftest.$ac_ext
13706 cat >>conftest.$ac_ext <<_ACEOF
13707 /* end confdefs.h. */
13708 #include <math.h>
13710 main ()
13712 _atan2f(0, 0);
13714 return 0;
13716 _ACEOF
13717 rm -f conftest.$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>conftest.er1
13720 ac_status=$?
13721 grep -v '^ *+' conftest.er1 >conftest.err
13722 rm -f conftest.er1
13723 cat conftest.err >&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try='test -z "$ac_cxx_werror_flag"
13727 || test ! -s conftest.err'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; } &&
13733 { ac_try='test -s conftest.$ac_objext'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; }; then
13739 glibcxx_cv_func__atan2f_use=yes
13740 else
13741 echo "$as_me: failed program was:" >&5
13742 sed 's/^/| /' conftest.$ac_ext >&5
13744 glibcxx_cv_func__atan2f_use=no
13746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13747 ac_ext=c
13748 ac_cpp='$CPP $CPPFLAGS'
13749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13758 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13760 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13762 for ac_func in _atan2f
13764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13765 echo "$as_me:$LINENO: checking for $ac_func" >&5
13766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13767 if eval "test \"\${$as_ac_var+set}\" = set"; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13769 else
13770 if test x$gcc_no_link = xyes; then
13771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13773 { (exit 1); exit 1; }; }
13775 cat >conftest.$ac_ext <<_ACEOF
13776 /* confdefs.h. */
13777 _ACEOF
13778 cat confdefs.h >>conftest.$ac_ext
13779 cat >>conftest.$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13783 #define $ac_func innocuous_$ac_func
13785 /* System header to define __stub macros and hopefully few prototypes,
13786 which can conflict with char $ac_func (); below.
13787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13788 <limits.h> exists even on freestanding compilers. */
13790 #ifdef __STDC__
13791 # include <limits.h>
13792 #else
13793 # include <assert.h>
13794 #endif
13796 #undef $ac_func
13798 /* Override any gcc2 internal prototype to avoid an error. */
13799 #ifdef __cplusplus
13800 extern "C"
13802 #endif
13803 /* We use char because int might match the return type of a gcc2
13804 builtin and then its argument prototype would still apply. */
13805 char $ac_func ();
13806 /* The GNU C library defines this for functions which it implements
13807 to always fail with ENOSYS. Some functions are actually named
13808 something starting with __ and the normal name is an alias. */
13809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13810 choke me
13811 #else
13812 char (*f) () = $ac_func;
13813 #endif
13814 #ifdef __cplusplus
13816 #endif
13819 main ()
13821 return f != $ac_func;
13823 return 0;
13825 _ACEOF
13826 rm -f conftest.$ac_objext conftest$ac_exeext
13827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13828 (eval $ac_link) 2>conftest.er1
13829 ac_status=$?
13830 grep -v '^ *+' conftest.er1 >conftest.err
13831 rm -f conftest.er1
13832 cat conftest.err >&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try='test -z "$ac_c_werror_flag"
13836 || test ! -s conftest.err'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13839 ac_status=$?
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; } &&
13842 { ac_try='test -s conftest$ac_exeext'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13845 ac_status=$?
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; }; then
13848 eval "$as_ac_var=yes"
13849 else
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.$ac_ext >&5
13853 eval "$as_ac_var=no"
13855 rm -f conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13860 if test `eval echo '${'$as_ac_var'}'` = yes; then
13861 cat >>confdefs.h <<_ACEOF
13862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13863 _ACEOF
13866 done
13876 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13877 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13878 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13879 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 else
13885 ac_ext=cc
13886 ac_cpp='$CXXCPP $CPPFLAGS'
13887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13891 cat >conftest.$ac_ext <<_ACEOF
13892 /* confdefs.h. */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 #include <math.h>
13898 #ifdef HAVE_IEEEFP_H
13899 #include <ieeefp.h>
13900 #endif
13903 main ()
13905 fabsf(0);
13907 return 0;
13909 _ACEOF
13910 rm -f conftest.$ac_objext
13911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13912 (eval $ac_compile) 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } &&
13919 { ac_try='test -z "$ac_cxx_werror_flag"
13920 || test ! -s conftest.err'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; } &&
13926 { ac_try='test -s conftest.$ac_objext'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; }; then
13932 glibcxx_cv_func_fabsf_use=yes
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13937 glibcxx_cv_func_fabsf_use=no
13939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13940 ac_ext=c
13941 ac_cpp='$CPP $CPPFLAGS'
13942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13951 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13953 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13955 for ac_func in fabsf
13957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13958 echo "$as_me:$LINENO: checking for $ac_func" >&5
13959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13960 if eval "test \"\${$as_ac_var+set}\" = set"; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 else
13963 if test x$gcc_no_link = xyes; then
13964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13966 { (exit 1); exit 1; }; }
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13976 #define $ac_func innocuous_$ac_func
13978 /* System header to define __stub macros and hopefully few prototypes,
13979 which can conflict with char $ac_func (); below.
13980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13981 <limits.h> exists even on freestanding compilers. */
13983 #ifdef __STDC__
13984 # include <limits.h>
13985 #else
13986 # include <assert.h>
13987 #endif
13989 #undef $ac_func
13991 /* Override any gcc2 internal prototype to avoid an error. */
13992 #ifdef __cplusplus
13993 extern "C"
13995 #endif
13996 /* We use char because int might match the return type of a gcc2
13997 builtin and then its argument prototype would still apply. */
13998 char $ac_func ();
13999 /* The GNU C library defines this for functions which it implements
14000 to always fail with ENOSYS. Some functions are actually named
14001 something starting with __ and the normal name is an alias. */
14002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14003 choke me
14004 #else
14005 char (*f) () = $ac_func;
14006 #endif
14007 #ifdef __cplusplus
14009 #endif
14012 main ()
14014 return f != $ac_func;
14016 return 0;
14018 _ACEOF
14019 rm -f conftest.$ac_objext conftest$ac_exeext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14021 (eval $ac_link) 2>conftest.er1
14022 ac_status=$?
14023 grep -v '^ *+' conftest.er1 >conftest.err
14024 rm -f conftest.er1
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_c_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try='test -s conftest$ac_exeext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14038 ac_status=$?
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 eval "$as_ac_var=yes"
14042 else
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14046 eval "$as_ac_var=no"
14048 rm -f conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14053 if test `eval echo '${'$as_ac_var'}'` = yes; then
14054 cat >>confdefs.h <<_ACEOF
14055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14056 _ACEOF
14059 done
14061 else
14063 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14064 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14065 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14066 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 else
14072 ac_ext=cc
14073 ac_cpp='$CXXCPP $CPPFLAGS'
14074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14078 cat >conftest.$ac_ext <<_ACEOF
14079 /* confdefs.h. */
14080 _ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 #include <math.h>
14085 #ifdef HAVE_IEEEFP_H
14086 #include <ieeefp.h>
14087 #endif
14090 main ()
14092 _fabsf(0);
14094 return 0;
14096 _ACEOF
14097 rm -f conftest.$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>conftest.er1
14100 ac_status=$?
14101 grep -v '^ *+' conftest.er1 >conftest.err
14102 rm -f conftest.er1
14103 cat conftest.err >&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try='test -z "$ac_cxx_werror_flag"
14107 || test ! -s conftest.err'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; } &&
14113 { ac_try='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14116 ac_status=$?
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 glibcxx_cv_func__fabsf_use=yes
14120 else
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14124 glibcxx_cv_func__fabsf_use=no
14126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14127 ac_ext=c
14128 ac_cpp='$CPP $CPPFLAGS'
14129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14138 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14140 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14142 for ac_func in _fabsf
14144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14145 echo "$as_me:$LINENO: checking for $ac_func" >&5
14146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14147 if eval "test \"\${$as_ac_var+set}\" = set"; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 else
14150 if test x$gcc_no_link = xyes; then
14151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14153 { (exit 1); exit 1; }; }
14155 cat >conftest.$ac_ext <<_ACEOF
14156 /* confdefs.h. */
14157 _ACEOF
14158 cat confdefs.h >>conftest.$ac_ext
14159 cat >>conftest.$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14163 #define $ac_func innocuous_$ac_func
14165 /* System header to define __stub macros and hopefully few prototypes,
14166 which can conflict with char $ac_func (); below.
14167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14168 <limits.h> exists even on freestanding compilers. */
14170 #ifdef __STDC__
14171 # include <limits.h>
14172 #else
14173 # include <assert.h>
14174 #endif
14176 #undef $ac_func
14178 /* Override any gcc2 internal prototype to avoid an error. */
14179 #ifdef __cplusplus
14180 extern "C"
14182 #endif
14183 /* We use char because int might match the return type of a gcc2
14184 builtin and then its argument prototype would still apply. */
14185 char $ac_func ();
14186 /* The GNU C library defines this for functions which it implements
14187 to always fail with ENOSYS. Some functions are actually named
14188 something starting with __ and the normal name is an alias. */
14189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14190 choke me
14191 #else
14192 char (*f) () = $ac_func;
14193 #endif
14194 #ifdef __cplusplus
14196 #endif
14199 main ()
14201 return f != $ac_func;
14203 return 0;
14205 _ACEOF
14206 rm -f conftest.$ac_objext conftest$ac_exeext
14207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14208 (eval $ac_link) 2>conftest.er1
14209 ac_status=$?
14210 grep -v '^ *+' conftest.er1 >conftest.err
14211 rm -f conftest.er1
14212 cat conftest.err >&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } &&
14215 { ac_try='test -z "$ac_c_werror_flag"
14216 || test ! -s conftest.err'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14219 ac_status=$?
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; } &&
14222 { ac_try='test -s conftest$ac_exeext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 eval "$as_ac_var=yes"
14229 else
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14233 eval "$as_ac_var=no"
14235 rm -f conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14240 if test `eval echo '${'$as_ac_var'}'` = yes; then
14241 cat >>confdefs.h <<_ACEOF
14242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14243 _ACEOF
14246 done
14256 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14257 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14258 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14259 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 else
14265 ac_ext=cc
14266 ac_cpp='$CXXCPP $CPPFLAGS'
14267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 #include <math.h>
14279 main ()
14281 fmodf(0, 0);
14283 return 0;
14285 _ACEOF
14286 rm -f conftest.$ac_objext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14288 (eval $ac_compile) 2>conftest.er1
14289 ac_status=$?
14290 grep -v '^ *+' conftest.er1 >conftest.err
14291 rm -f conftest.er1
14292 cat conftest.err >&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); } &&
14295 { ac_try='test -z "$ac_cxx_werror_flag"
14296 || test ! -s conftest.err'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; } &&
14302 { ac_try='test -s conftest.$ac_objext'
14303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14304 (eval $ac_try) 2>&5
14305 ac_status=$?
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); }; }; then
14308 glibcxx_cv_func_fmodf_use=yes
14309 else
14310 echo "$as_me: failed program was:" >&5
14311 sed 's/^/| /' conftest.$ac_ext >&5
14313 glibcxx_cv_func_fmodf_use=no
14315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14316 ac_ext=c
14317 ac_cpp='$CPP $CPPFLAGS'
14318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14327 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14329 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14331 for ac_func in fmodf
14333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14334 echo "$as_me:$LINENO: checking for $ac_func" >&5
14335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14336 if eval "test \"\${$as_ac_var+set}\" = set"; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 else
14339 if test x$gcc_no_link = xyes; then
14340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14342 { (exit 1); exit 1; }; }
14344 cat >conftest.$ac_ext <<_ACEOF
14345 /* confdefs.h. */
14346 _ACEOF
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14352 #define $ac_func innocuous_$ac_func
14354 /* System header to define __stub macros and hopefully few prototypes,
14355 which can conflict with char $ac_func (); below.
14356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14357 <limits.h> exists even on freestanding compilers. */
14359 #ifdef __STDC__
14360 # include <limits.h>
14361 #else
14362 # include <assert.h>
14363 #endif
14365 #undef $ac_func
14367 /* Override any gcc2 internal prototype to avoid an error. */
14368 #ifdef __cplusplus
14369 extern "C"
14371 #endif
14372 /* We use char because int might match the return type of a gcc2
14373 builtin and then its argument prototype would still apply. */
14374 char $ac_func ();
14375 /* The GNU C library defines this for functions which it implements
14376 to always fail with ENOSYS. Some functions are actually named
14377 something starting with __ and the normal name is an alias. */
14378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14379 choke me
14380 #else
14381 char (*f) () = $ac_func;
14382 #endif
14383 #ifdef __cplusplus
14385 #endif
14388 main ()
14390 return f != $ac_func;
14392 return 0;
14394 _ACEOF
14395 rm -f conftest.$ac_objext conftest$ac_exeext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14397 (eval $ac_link) 2>conftest.er1
14398 ac_status=$?
14399 grep -v '^ *+' conftest.er1 >conftest.err
14400 rm -f conftest.er1
14401 cat conftest.err >&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try='test -z "$ac_c_werror_flag"
14405 || test ! -s conftest.err'
14406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14407 (eval $ac_try) 2>&5
14408 ac_status=$?
14409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 (exit $ac_status); }; } &&
14411 { ac_try='test -s conftest$ac_exeext'
14412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413 (eval $ac_try) 2>&5
14414 ac_status=$?
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); }; }; then
14417 eval "$as_ac_var=yes"
14418 else
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.$ac_ext >&5
14422 eval "$as_ac_var=no"
14424 rm -f conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14429 if test `eval echo '${'$as_ac_var'}'` = yes; then
14430 cat >>confdefs.h <<_ACEOF
14431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14432 _ACEOF
14435 done
14437 else
14439 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14440 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14441 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14442 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14443 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 else
14448 ac_ext=cc
14449 ac_cpp='$CXXCPP $CPPFLAGS'
14450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14454 cat >conftest.$ac_ext <<_ACEOF
14455 /* confdefs.h. */
14456 _ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14460 #include <math.h>
14462 main ()
14464 _fmodf(0, 0);
14466 return 0;
14468 _ACEOF
14469 rm -f conftest.$ac_objext
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>conftest.er1
14472 ac_status=$?
14473 grep -v '^ *+' conftest.er1 >conftest.err
14474 rm -f conftest.er1
14475 cat conftest.err >&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
14478 { ac_try='test -z "$ac_cxx_werror_flag"
14479 || test ! -s conftest.err'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14482 ac_status=$?
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; } &&
14485 { ac_try='test -s conftest.$ac_objext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 glibcxx_cv_func__fmodf_use=yes
14492 else
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.$ac_ext >&5
14496 glibcxx_cv_func__fmodf_use=no
14498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14499 ac_ext=c
14500 ac_cpp='$CPP $CPPFLAGS'
14501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14510 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14512 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14514 for ac_func in _fmodf
14516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14517 echo "$as_me:$LINENO: checking for $ac_func" >&5
14518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14519 if eval "test \"\${$as_ac_var+set}\" = set"; then
14520 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 else
14522 if test x$gcc_no_link = xyes; then
14523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14525 { (exit 1); exit 1; }; }
14527 cat >conftest.$ac_ext <<_ACEOF
14528 /* confdefs.h. */
14529 _ACEOF
14530 cat confdefs.h >>conftest.$ac_ext
14531 cat >>conftest.$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14535 #define $ac_func innocuous_$ac_func
14537 /* System header to define __stub macros and hopefully few prototypes,
14538 which can conflict with char $ac_func (); below.
14539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14540 <limits.h> exists even on freestanding compilers. */
14542 #ifdef __STDC__
14543 # include <limits.h>
14544 #else
14545 # include <assert.h>
14546 #endif
14548 #undef $ac_func
14550 /* Override any gcc2 internal prototype to avoid an error. */
14551 #ifdef __cplusplus
14552 extern "C"
14554 #endif
14555 /* We use char because int might match the return type of a gcc2
14556 builtin and then its argument prototype would still apply. */
14557 char $ac_func ();
14558 /* The GNU C library defines this for functions which it implements
14559 to always fail with ENOSYS. Some functions are actually named
14560 something starting with __ and the normal name is an alias. */
14561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14562 choke me
14563 #else
14564 char (*f) () = $ac_func;
14565 #endif
14566 #ifdef __cplusplus
14568 #endif
14571 main ()
14573 return f != $ac_func;
14575 return 0;
14577 _ACEOF
14578 rm -f conftest.$ac_objext conftest$ac_exeext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14580 (eval $ac_link) 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try='test -z "$ac_c_werror_flag"
14588 || test ! -s conftest.err'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try='test -s conftest$ac_exeext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14600 eval "$as_ac_var=yes"
14601 else
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.$ac_ext >&5
14605 eval "$as_ac_var=no"
14607 rm -f conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14612 if test `eval echo '${'$as_ac_var'}'` = yes; then
14613 cat >>confdefs.h <<_ACEOF
14614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14615 _ACEOF
14618 done
14628 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14629 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14630 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14631 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14632 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 else
14637 ac_ext=cc
14638 ac_cpp='$CXXCPP $CPPFLAGS'
14639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14643 cat >conftest.$ac_ext <<_ACEOF
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 #include <math.h>
14651 main ()
14653 frexpf(0, 0);
14655 return 0;
14657 _ACEOF
14658 rm -f conftest.$ac_objext
14659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14660 (eval $ac_compile) 2>conftest.er1
14661 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try='test -z "$ac_cxx_werror_flag"
14668 || test ! -s conftest.err'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } &&
14674 { ac_try='test -s conftest.$ac_objext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 glibcxx_cv_func_frexpf_use=yes
14681 else
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14685 glibcxx_cv_func_frexpf_use=no
14687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14688 ac_ext=c
14689 ac_cpp='$CPP $CPPFLAGS'
14690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14699 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14701 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14703 for ac_func in frexpf
14705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14706 echo "$as_me:$LINENO: checking for $ac_func" >&5
14707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14708 if eval "test \"\${$as_ac_var+set}\" = set"; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 else
14711 if test x$gcc_no_link = xyes; then
14712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14714 { (exit 1); exit 1; }; }
14716 cat >conftest.$ac_ext <<_ACEOF
14717 /* confdefs.h. */
14718 _ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14724 #define $ac_func innocuous_$ac_func
14726 /* System header to define __stub macros and hopefully few prototypes,
14727 which can conflict with char $ac_func (); below.
14728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14729 <limits.h> exists even on freestanding compilers. */
14731 #ifdef __STDC__
14732 # include <limits.h>
14733 #else
14734 # include <assert.h>
14735 #endif
14737 #undef $ac_func
14739 /* Override any gcc2 internal prototype to avoid an error. */
14740 #ifdef __cplusplus
14741 extern "C"
14743 #endif
14744 /* We use char because int might match the return type of a gcc2
14745 builtin and then its argument prototype would still apply. */
14746 char $ac_func ();
14747 /* The GNU C library defines this for functions which it implements
14748 to always fail with ENOSYS. Some functions are actually named
14749 something starting with __ and the normal name is an alias. */
14750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14751 choke me
14752 #else
14753 char (*f) () = $ac_func;
14754 #endif
14755 #ifdef __cplusplus
14757 #endif
14760 main ()
14762 return f != $ac_func;
14764 return 0;
14766 _ACEOF
14767 rm -f conftest.$ac_objext conftest$ac_exeext
14768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14769 (eval $ac_link) 2>conftest.er1
14770 ac_status=$?
14771 grep -v '^ *+' conftest.er1 >conftest.err
14772 rm -f conftest.er1
14773 cat conftest.err >&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } &&
14776 { ac_try='test -z "$ac_c_werror_flag"
14777 || test ! -s conftest.err'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14780 ac_status=$?
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; } &&
14783 { ac_try='test -s conftest$ac_exeext'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14786 ac_status=$?
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; }; then
14789 eval "$as_ac_var=yes"
14790 else
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.$ac_ext >&5
14794 eval "$as_ac_var=no"
14796 rm -f conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14801 if test `eval echo '${'$as_ac_var'}'` = yes; then
14802 cat >>confdefs.h <<_ACEOF
14803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14804 _ACEOF
14807 done
14809 else
14811 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14812 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14813 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14814 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14820 ac_ext=cc
14821 ac_cpp='$CXXCPP $CPPFLAGS'
14822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14826 cat >conftest.$ac_ext <<_ACEOF
14827 /* confdefs.h. */
14828 _ACEOF
14829 cat confdefs.h >>conftest.$ac_ext
14830 cat >>conftest.$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 #include <math.h>
14834 main ()
14836 _frexpf(0, 0);
14838 return 0;
14840 _ACEOF
14841 rm -f conftest.$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } &&
14850 { ac_try='test -z "$ac_cxx_werror_flag"
14851 || test ! -s conftest.err'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14854 ac_status=$?
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; } &&
14857 { ac_try='test -s conftest.$ac_objext'
14858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14859 (eval $ac_try) 2>&5
14860 ac_status=$?
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); }; }; then
14863 glibcxx_cv_func__frexpf_use=yes
14864 else
14865 echo "$as_me: failed program was:" >&5
14866 sed 's/^/| /' conftest.$ac_ext >&5
14868 glibcxx_cv_func__frexpf_use=no
14870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14882 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14884 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14886 for ac_func in _frexpf
14888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14889 echo "$as_me:$LINENO: checking for $ac_func" >&5
14890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14891 if eval "test \"\${$as_ac_var+set}\" = set"; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 else
14894 if test x$gcc_no_link = xyes; then
14895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14897 { (exit 1); exit 1; }; }
14899 cat >conftest.$ac_ext <<_ACEOF
14900 /* confdefs.h. */
14901 _ACEOF
14902 cat confdefs.h >>conftest.$ac_ext
14903 cat >>conftest.$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14907 #define $ac_func innocuous_$ac_func
14909 /* System header to define __stub macros and hopefully few prototypes,
14910 which can conflict with char $ac_func (); below.
14911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14912 <limits.h> exists even on freestanding compilers. */
14914 #ifdef __STDC__
14915 # include <limits.h>
14916 #else
14917 # include <assert.h>
14918 #endif
14920 #undef $ac_func
14922 /* Override any gcc2 internal prototype to avoid an error. */
14923 #ifdef __cplusplus
14924 extern "C"
14926 #endif
14927 /* We use char because int might match the return type of a gcc2
14928 builtin and then its argument prototype would still apply. */
14929 char $ac_func ();
14930 /* The GNU C library defines this for functions which it implements
14931 to always fail with ENOSYS. Some functions are actually named
14932 something starting with __ and the normal name is an alias. */
14933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14934 choke me
14935 #else
14936 char (*f) () = $ac_func;
14937 #endif
14938 #ifdef __cplusplus
14940 #endif
14943 main ()
14945 return f != $ac_func;
14947 return 0;
14949 _ACEOF
14950 rm -f conftest.$ac_objext conftest$ac_exeext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14952 (eval $ac_link) 2>conftest.er1
14953 ac_status=$?
14954 grep -v '^ *+' conftest.er1 >conftest.err
14955 rm -f conftest.er1
14956 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try='test -z "$ac_c_werror_flag"
14960 || test ! -s conftest.err'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14963 ac_status=$?
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; } &&
14966 { ac_try='test -s conftest$ac_exeext'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14969 ac_status=$?
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 eval "$as_ac_var=yes"
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14977 eval "$as_ac_var=no"
14979 rm -f conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14984 if test `eval echo '${'$as_ac_var'}'` = yes; then
14985 cat >>confdefs.h <<_ACEOF
14986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14987 _ACEOF
14990 done
15000 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
15001 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15002 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15003 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15009 ac_ext=cc
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015 cat >conftest.$ac_ext <<_ACEOF
15016 /* confdefs.h. */
15017 _ACEOF
15018 cat confdefs.h >>conftest.$ac_ext
15019 cat >>conftest.$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 #include <math.h>
15023 main ()
15025 hypotf(0, 0);
15027 return 0;
15029 _ACEOF
15030 rm -f conftest.$ac_objext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15032 (eval $ac_compile) 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try='test -z "$ac_cxx_werror_flag"
15040 || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15049 ac_status=$?
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 glibcxx_cv_func_hypotf_use=yes
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15057 glibcxx_cv_func_hypotf_use=no
15059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15060 ac_ext=c
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15071 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15073 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15075 for ac_func in hypotf
15077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 echo "$as_me:$LINENO: checking for $ac_func" >&5
15079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15080 if eval "test \"\${$as_ac_var+set}\" = set"; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 if test x$gcc_no_link = xyes; then
15084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15086 { (exit 1); exit 1; }; }
15088 cat >conftest.$ac_ext <<_ACEOF
15089 /* confdefs.h. */
15090 _ACEOF
15091 cat confdefs.h >>conftest.$ac_ext
15092 cat >>conftest.$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15096 #define $ac_func innocuous_$ac_func
15098 /* System header to define __stub macros and hopefully few prototypes,
15099 which can conflict with char $ac_func (); below.
15100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15101 <limits.h> exists even on freestanding compilers. */
15103 #ifdef __STDC__
15104 # include <limits.h>
15105 #else
15106 # include <assert.h>
15107 #endif
15109 #undef $ac_func
15111 /* Override any gcc2 internal prototype to avoid an error. */
15112 #ifdef __cplusplus
15113 extern "C"
15115 #endif
15116 /* We use char because int might match the return type of a gcc2
15117 builtin and then its argument prototype would still apply. */
15118 char $ac_func ();
15119 /* The GNU C library defines this for functions which it implements
15120 to always fail with ENOSYS. Some functions are actually named
15121 something starting with __ and the normal name is an alias. */
15122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15123 choke me
15124 #else
15125 char (*f) () = $ac_func;
15126 #endif
15127 #ifdef __cplusplus
15129 #endif
15132 main ()
15134 return f != $ac_func;
15136 return 0;
15138 _ACEOF
15139 rm -f conftest.$ac_objext conftest$ac_exeext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15141 (eval $ac_link) 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } &&
15148 { ac_try='test -z "$ac_c_werror_flag"
15149 || test ! -s conftest.err'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15152 ac_status=$?
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; } &&
15155 { ac_try='test -s conftest$ac_exeext'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15158 ac_status=$?
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; }; then
15161 eval "$as_ac_var=yes"
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 eval "$as_ac_var=no"
15168 rm -f conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15173 if test `eval echo '${'$as_ac_var'}'` = yes; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176 _ACEOF
15179 done
15181 else
15183 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15184 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15185 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15186 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 else
15192 ac_ext=cc
15193 ac_cpp='$CXXCPP $CPPFLAGS'
15194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #include <math.h>
15206 main ()
15208 _hypotf(0, 0);
15210 return 0;
15212 _ACEOF
15213 rm -f conftest.$ac_objext
15214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15215 (eval $ac_compile) 2>conftest.er1
15216 ac_status=$?
15217 grep -v '^ *+' conftest.er1 >conftest.err
15218 rm -f conftest.er1
15219 cat conftest.err >&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); } &&
15222 { ac_try='test -z "$ac_cxx_werror_flag"
15223 || test ! -s conftest.err'
15224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225 (eval $ac_try) 2>&5
15226 ac_status=$?
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); }; } &&
15229 { ac_try='test -s conftest.$ac_objext'
15230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15231 (eval $ac_try) 2>&5
15232 ac_status=$?
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; }; then
15235 glibcxx_cv_func__hypotf_use=yes
15236 else
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.$ac_ext >&5
15240 glibcxx_cv_func__hypotf_use=no
15242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15243 ac_ext=c
15244 ac_cpp='$CPP $CPPFLAGS'
15245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15254 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15256 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15258 for ac_func in _hypotf
15260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15261 echo "$as_me:$LINENO: checking for $ac_func" >&5
15262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15263 if eval "test \"\${$as_ac_var+set}\" = set"; then
15264 echo $ECHO_N "(cached) $ECHO_C" >&6
15265 else
15266 if test x$gcc_no_link = xyes; then
15267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15269 { (exit 1); exit 1; }; }
15271 cat >conftest.$ac_ext <<_ACEOF
15272 /* confdefs.h. */
15273 _ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15279 #define $ac_func innocuous_$ac_func
15281 /* System header to define __stub macros and hopefully few prototypes,
15282 which can conflict with char $ac_func (); below.
15283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15284 <limits.h> exists even on freestanding compilers. */
15286 #ifdef __STDC__
15287 # include <limits.h>
15288 #else
15289 # include <assert.h>
15290 #endif
15292 #undef $ac_func
15294 /* Override any gcc2 internal prototype to avoid an error. */
15295 #ifdef __cplusplus
15296 extern "C"
15298 #endif
15299 /* We use char because int might match the return type of a gcc2
15300 builtin and then its argument prototype would still apply. */
15301 char $ac_func ();
15302 /* The GNU C library defines this for functions which it implements
15303 to always fail with ENOSYS. Some functions are actually named
15304 something starting with __ and the normal name is an alias. */
15305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15306 choke me
15307 #else
15308 char (*f) () = $ac_func;
15309 #endif
15310 #ifdef __cplusplus
15312 #endif
15315 main ()
15317 return f != $ac_func;
15319 return 0;
15321 _ACEOF
15322 rm -f conftest.$ac_objext conftest$ac_exeext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15324 (eval $ac_link) 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try='test -z "$ac_c_werror_flag"
15332 || test ! -s conftest.err'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; } &&
15338 { ac_try='test -s conftest$ac_exeext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 eval "$as_ac_var=yes"
15345 else
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15349 eval "$as_ac_var=no"
15351 rm -f conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext conftest.$ac_ext
15354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15356 if test `eval echo '${'$as_ac_var'}'` = yes; then
15357 cat >>confdefs.h <<_ACEOF
15358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15359 _ACEOF
15362 done
15372 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15373 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15374 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15375 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 else
15381 ac_ext=cc
15382 ac_cpp='$CXXCPP $CPPFLAGS'
15383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15387 cat >conftest.$ac_ext <<_ACEOF
15388 /* confdefs.h. */
15389 _ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 #include <math.h>
15395 main ()
15397 ldexpf(0, 0);
15399 return 0;
15401 _ACEOF
15402 rm -f conftest.$ac_objext
15403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15404 (eval $ac_compile) 2>conftest.er1
15405 ac_status=$?
15406 grep -v '^ *+' conftest.er1 >conftest.err
15407 rm -f conftest.er1
15408 cat conftest.err >&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); } &&
15411 { ac_try='test -z "$ac_cxx_werror_flag"
15412 || test ! -s conftest.err'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15415 ac_status=$?
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; } &&
15418 { ac_try='test -s conftest.$ac_objext'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15421 ac_status=$?
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; }; then
15424 glibcxx_cv_func_ldexpf_use=yes
15425 else
15426 echo "$as_me: failed program was:" >&5
15427 sed 's/^/| /' conftest.$ac_ext >&5
15429 glibcxx_cv_func_ldexpf_use=no
15431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15432 ac_ext=c
15433 ac_cpp='$CPP $CPPFLAGS'
15434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15443 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15445 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15447 for ac_func in ldexpf
15449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15450 echo "$as_me:$LINENO: checking for $ac_func" >&5
15451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15452 if eval "test \"\${$as_ac_var+set}\" = set"; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 if test x$gcc_no_link = xyes; then
15456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15458 { (exit 1); exit 1; }; }
15460 cat >conftest.$ac_ext <<_ACEOF
15461 /* confdefs.h. */
15462 _ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15468 #define $ac_func innocuous_$ac_func
15470 /* System header to define __stub macros and hopefully few prototypes,
15471 which can conflict with char $ac_func (); below.
15472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15473 <limits.h> exists even on freestanding compilers. */
15475 #ifdef __STDC__
15476 # include <limits.h>
15477 #else
15478 # include <assert.h>
15479 #endif
15481 #undef $ac_func
15483 /* Override any gcc2 internal prototype to avoid an error. */
15484 #ifdef __cplusplus
15485 extern "C"
15487 #endif
15488 /* We use char because int might match the return type of a gcc2
15489 builtin and then its argument prototype would still apply. */
15490 char $ac_func ();
15491 /* The GNU C library defines this for functions which it implements
15492 to always fail with ENOSYS. Some functions are actually named
15493 something starting with __ and the normal name is an alias. */
15494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15495 choke me
15496 #else
15497 char (*f) () = $ac_func;
15498 #endif
15499 #ifdef __cplusplus
15501 #endif
15504 main ()
15506 return f != $ac_func;
15508 return 0;
15510 _ACEOF
15511 rm -f conftest.$ac_objext conftest$ac_exeext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15513 (eval $ac_link) 2>conftest.er1
15514 ac_status=$?
15515 grep -v '^ *+' conftest.er1 >conftest.err
15516 rm -f conftest.er1
15517 cat conftest.err >&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try='test -z "$ac_c_werror_flag"
15521 || test ! -s conftest.err'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15524 ac_status=$?
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; } &&
15527 { ac_try='test -s conftest$ac_exeext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 eval "$as_ac_var=yes"
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15538 eval "$as_ac_var=no"
15540 rm -f conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15545 if test `eval echo '${'$as_ac_var'}'` = yes; then
15546 cat >>confdefs.h <<_ACEOF
15547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15548 _ACEOF
15551 done
15553 else
15555 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15556 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15557 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15558 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15560 else
15564 ac_ext=cc
15565 ac_cpp='$CXXCPP $CPPFLAGS'
15566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15570 cat >conftest.$ac_ext <<_ACEOF
15571 /* confdefs.h. */
15572 _ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576 #include <math.h>
15578 main ()
15580 _ldexpf(0, 0);
15582 return 0;
15584 _ACEOF
15585 rm -f conftest.$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>conftest.er1
15588 ac_status=$?
15589 grep -v '^ *+' conftest.er1 >conftest.err
15590 rm -f conftest.er1
15591 cat conftest.err >&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try='test -z "$ac_cxx_werror_flag"
15595 || test ! -s conftest.err'
15596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597 (eval $ac_try) 2>&5
15598 ac_status=$?
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; } &&
15601 { ac_try='test -s conftest.$ac_objext'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15604 ac_status=$?
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then
15607 glibcxx_cv_func__ldexpf_use=yes
15608 else
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15612 glibcxx_cv_func__ldexpf_use=no
15614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15615 ac_ext=c
15616 ac_cpp='$CPP $CPPFLAGS'
15617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15626 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15628 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15630 for ac_func in _ldexpf
15632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15633 echo "$as_me:$LINENO: checking for $ac_func" >&5
15634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15635 if eval "test \"\${$as_ac_var+set}\" = set"; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 else
15638 if test x$gcc_no_link = xyes; then
15639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15641 { (exit 1); exit 1; }; }
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15651 #define $ac_func innocuous_$ac_func
15653 /* System header to define __stub macros and hopefully few prototypes,
15654 which can conflict with char $ac_func (); below.
15655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15656 <limits.h> exists even on freestanding compilers. */
15658 #ifdef __STDC__
15659 # include <limits.h>
15660 #else
15661 # include <assert.h>
15662 #endif
15664 #undef $ac_func
15666 /* Override any gcc2 internal prototype to avoid an error. */
15667 #ifdef __cplusplus
15668 extern "C"
15670 #endif
15671 /* We use char because int might match the return type of a gcc2
15672 builtin and then its argument prototype would still apply. */
15673 char $ac_func ();
15674 /* The GNU C library defines this for functions which it implements
15675 to always fail with ENOSYS. Some functions are actually named
15676 something starting with __ and the normal name is an alias. */
15677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15678 choke me
15679 #else
15680 char (*f) () = $ac_func;
15681 #endif
15682 #ifdef __cplusplus
15684 #endif
15687 main ()
15689 return f != $ac_func;
15691 return 0;
15693 _ACEOF
15694 rm -f conftest.$ac_objext conftest$ac_exeext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15696 (eval $ac_link) 2>conftest.er1
15697 ac_status=$?
15698 grep -v '^ *+' conftest.er1 >conftest.err
15699 rm -f conftest.er1
15700 cat conftest.err >&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -z "$ac_c_werror_flag"
15704 || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest$ac_exeext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 eval "$as_ac_var=yes"
15717 else
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15721 eval "$as_ac_var=no"
15723 rm -f conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15728 if test `eval echo '${'$as_ac_var'}'` = yes; then
15729 cat >>confdefs.h <<_ACEOF
15730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15731 _ACEOF
15734 done
15744 echo "$as_me:$LINENO: checking for logf declaration" >&5
15745 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15746 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15747 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15749 else
15753 ac_ext=cc
15754 ac_cpp='$CXXCPP $CPPFLAGS'
15755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15759 cat >conftest.$ac_ext <<_ACEOF
15760 /* confdefs.h. */
15761 _ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15765 #include <math.h>
15766 #ifdef HAVE_IEEEFP_H
15767 #include <ieeefp.h>
15768 #endif
15771 main ()
15773 logf(0);
15775 return 0;
15777 _ACEOF
15778 rm -f conftest.$ac_objext
15779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15780 (eval $ac_compile) 2>conftest.er1
15781 ac_status=$?
15782 grep -v '^ *+' conftest.er1 >conftest.err
15783 rm -f conftest.er1
15784 cat conftest.err >&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } &&
15787 { ac_try='test -z "$ac_cxx_werror_flag"
15788 || test ! -s conftest.err'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15791 ac_status=$?
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try='test -s conftest.$ac_objext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15797 ac_status=$?
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15800 glibcxx_cv_func_logf_use=yes
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15805 glibcxx_cv_func_logf_use=no
15807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15808 ac_ext=c
15809 ac_cpp='$CPP $CPPFLAGS'
15810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15819 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15823 for ac_func in logf
15825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15826 echo "$as_me:$LINENO: checking for $ac_func" >&5
15827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15828 if eval "test \"\${$as_ac_var+set}\" = set"; then
15829 echo $ECHO_N "(cached) $ECHO_C" >&6
15830 else
15831 if test x$gcc_no_link = xyes; then
15832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15834 { (exit 1); exit 1; }; }
15836 cat >conftest.$ac_ext <<_ACEOF
15837 /* confdefs.h. */
15838 _ACEOF
15839 cat confdefs.h >>conftest.$ac_ext
15840 cat >>conftest.$ac_ext <<_ACEOF
15841 /* end confdefs.h. */
15842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15844 #define $ac_func innocuous_$ac_func
15846 /* System header to define __stub macros and hopefully few prototypes,
15847 which can conflict with char $ac_func (); below.
15848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15849 <limits.h> exists even on freestanding compilers. */
15851 #ifdef __STDC__
15852 # include <limits.h>
15853 #else
15854 # include <assert.h>
15855 #endif
15857 #undef $ac_func
15859 /* Override any gcc2 internal prototype to avoid an error. */
15860 #ifdef __cplusplus
15861 extern "C"
15863 #endif
15864 /* We use char because int might match the return type of a gcc2
15865 builtin and then its argument prototype would still apply. */
15866 char $ac_func ();
15867 /* The GNU C library defines this for functions which it implements
15868 to always fail with ENOSYS. Some functions are actually named
15869 something starting with __ and the normal name is an alias. */
15870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15871 choke me
15872 #else
15873 char (*f) () = $ac_func;
15874 #endif
15875 #ifdef __cplusplus
15877 #endif
15880 main ()
15882 return f != $ac_func;
15884 return 0;
15886 _ACEOF
15887 rm -f conftest.$ac_objext conftest$ac_exeext
15888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15889 (eval $ac_link) 2>conftest.er1
15890 ac_status=$?
15891 grep -v '^ *+' conftest.er1 >conftest.err
15892 rm -f conftest.er1
15893 cat conftest.err >&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } &&
15896 { ac_try='test -z "$ac_c_werror_flag"
15897 || test ! -s conftest.err'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; } &&
15903 { ac_try='test -s conftest$ac_exeext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15906 ac_status=$?
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 eval "$as_ac_var=yes"
15910 else
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.$ac_ext >&5
15914 eval "$as_ac_var=no"
15916 rm -f conftest.err conftest.$ac_objext \
15917 conftest$ac_exeext conftest.$ac_ext
15919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15921 if test `eval echo '${'$as_ac_var'}'` = yes; then
15922 cat >>confdefs.h <<_ACEOF
15923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15924 _ACEOF
15927 done
15929 else
15931 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15932 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15933 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15934 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 else
15940 ac_ext=cc
15941 ac_cpp='$CXXCPP $CPPFLAGS'
15942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15946 cat >conftest.$ac_ext <<_ACEOF
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 #include <math.h>
15953 #ifdef HAVE_IEEEFP_H
15954 #include <ieeefp.h>
15955 #endif
15958 main ()
15960 _logf(0);
15962 return 0;
15964 _ACEOF
15965 rm -f conftest.$ac_objext
15966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15967 (eval $ac_compile) 2>conftest.er1
15968 ac_status=$?
15969 grep -v '^ *+' conftest.er1 >conftest.err
15970 rm -f conftest.er1
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try='test -z "$ac_cxx_werror_flag"
15975 || test ! -s conftest.err'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15978 ac_status=$?
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; } &&
15981 { ac_try='test -s conftest.$ac_objext'
15982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983 (eval $ac_try) 2>&5
15984 ac_status=$?
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); }; }; then
15987 glibcxx_cv_func__logf_use=yes
15988 else
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.$ac_ext >&5
15992 glibcxx_cv_func__logf_use=no
15994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15995 ac_ext=c
15996 ac_cpp='$CPP $CPPFLAGS'
15997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16006 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16008 if test x$glibcxx_cv_func__logf_use = x"yes"; then
16010 for ac_func in _logf
16012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16013 echo "$as_me:$LINENO: checking for $ac_func" >&5
16014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16015 if eval "test \"\${$as_ac_var+set}\" = set"; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 else
16018 if test x$gcc_no_link = xyes; then
16019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16021 { (exit 1); exit 1; }; }
16023 cat >conftest.$ac_ext <<_ACEOF
16024 /* confdefs.h. */
16025 _ACEOF
16026 cat confdefs.h >>conftest.$ac_ext
16027 cat >>conftest.$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16031 #define $ac_func innocuous_$ac_func
16033 /* System header to define __stub macros and hopefully few prototypes,
16034 which can conflict with char $ac_func (); below.
16035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16036 <limits.h> exists even on freestanding compilers. */
16038 #ifdef __STDC__
16039 # include <limits.h>
16040 #else
16041 # include <assert.h>
16042 #endif
16044 #undef $ac_func
16046 /* Override any gcc2 internal prototype to avoid an error. */
16047 #ifdef __cplusplus
16048 extern "C"
16050 #endif
16051 /* We use char because int might match the return type of a gcc2
16052 builtin and then its argument prototype would still apply. */
16053 char $ac_func ();
16054 /* The GNU C library defines this for functions which it implements
16055 to always fail with ENOSYS. Some functions are actually named
16056 something starting with __ and the normal name is an alias. */
16057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16058 choke me
16059 #else
16060 char (*f) () = $ac_func;
16061 #endif
16062 #ifdef __cplusplus
16064 #endif
16067 main ()
16069 return f != $ac_func;
16071 return 0;
16073 _ACEOF
16074 rm -f conftest.$ac_objext conftest$ac_exeext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16076 (eval $ac_link) 2>conftest.er1
16077 ac_status=$?
16078 grep -v '^ *+' conftest.er1 >conftest.err
16079 rm -f conftest.er1
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try='test -s conftest$ac_exeext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 eval "$as_ac_var=yes"
16097 else
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16101 eval "$as_ac_var=no"
16103 rm -f conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16108 if test `eval echo '${'$as_ac_var'}'` = yes; then
16109 cat >>confdefs.h <<_ACEOF
16110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16111 _ACEOF
16114 done
16124 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16125 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16126 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16127 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 else
16133 ac_ext=cc
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16139 cat >conftest.$ac_ext <<_ACEOF
16140 /* confdefs.h. */
16141 _ACEOF
16142 cat confdefs.h >>conftest.$ac_ext
16143 cat >>conftest.$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16145 #include <math.h>
16146 #ifdef HAVE_IEEEFP_H
16147 #include <ieeefp.h>
16148 #endif
16151 main ()
16153 log10f(0);
16155 return 0;
16157 _ACEOF
16158 rm -f conftest.$ac_objext
16159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16160 (eval $ac_compile) 2>conftest.er1
16161 ac_status=$?
16162 grep -v '^ *+' conftest.er1 >conftest.err
16163 rm -f conftest.er1
16164 cat conftest.err >&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try='test -z "$ac_cxx_werror_flag"
16168 || test ! -s conftest.err'
16169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 (eval $ac_try) 2>&5
16171 ac_status=$?
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; } &&
16174 { ac_try='test -s conftest.$ac_objext'
16175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176 (eval $ac_try) 2>&5
16177 ac_status=$?
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); }; }; then
16180 glibcxx_cv_func_log10f_use=yes
16181 else
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.$ac_ext >&5
16185 glibcxx_cv_func_log10f_use=no
16187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16188 ac_ext=c
16189 ac_cpp='$CPP $CPPFLAGS'
16190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16199 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16201 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16203 for ac_func in log10f
16205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16206 echo "$as_me:$LINENO: checking for $ac_func" >&5
16207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16208 if eval "test \"\${$as_ac_var+set}\" = set"; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 else
16211 if test x$gcc_no_link = xyes; then
16212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16214 { (exit 1); exit 1; }; }
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16224 #define $ac_func innocuous_$ac_func
16226 /* System header to define __stub macros and hopefully few prototypes,
16227 which can conflict with char $ac_func (); below.
16228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16229 <limits.h> exists even on freestanding compilers. */
16231 #ifdef __STDC__
16232 # include <limits.h>
16233 #else
16234 # include <assert.h>
16235 #endif
16237 #undef $ac_func
16239 /* Override any gcc2 internal prototype to avoid an error. */
16240 #ifdef __cplusplus
16241 extern "C"
16243 #endif
16244 /* We use char because int might match the return type of a gcc2
16245 builtin and then its argument prototype would still apply. */
16246 char $ac_func ();
16247 /* The GNU C library defines this for functions which it implements
16248 to always fail with ENOSYS. Some functions are actually named
16249 something starting with __ and the normal name is an alias. */
16250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16251 choke me
16252 #else
16253 char (*f) () = $ac_func;
16254 #endif
16255 #ifdef __cplusplus
16257 #endif
16260 main ()
16262 return f != $ac_func;
16264 return 0;
16266 _ACEOF
16267 rm -f conftest.$ac_objext conftest$ac_exeext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16269 (eval $ac_link) 2>conftest.er1
16270 ac_status=$?
16271 grep -v '^ *+' conftest.er1 >conftest.err
16272 rm -f conftest.er1
16273 cat conftest.err >&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } &&
16276 { ac_try='test -z "$ac_c_werror_flag"
16277 || test ! -s conftest.err'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16280 ac_status=$?
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; } &&
16283 { ac_try='test -s conftest$ac_exeext'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16286 ac_status=$?
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; }; then
16289 eval "$as_ac_var=yes"
16290 else
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.$ac_ext >&5
16294 eval "$as_ac_var=no"
16296 rm -f conftest.err conftest.$ac_objext \
16297 conftest$ac_exeext conftest.$ac_ext
16299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16301 if test `eval echo '${'$as_ac_var'}'` = yes; then
16302 cat >>confdefs.h <<_ACEOF
16303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16304 _ACEOF
16307 done
16309 else
16311 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16312 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16313 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16314 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 else
16320 ac_ext=cc
16321 ac_cpp='$CXXCPP $CPPFLAGS'
16322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16326 cat >conftest.$ac_ext <<_ACEOF
16327 /* confdefs.h. */
16328 _ACEOF
16329 cat confdefs.h >>conftest.$ac_ext
16330 cat >>conftest.$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 #include <math.h>
16333 #ifdef HAVE_IEEEFP_H
16334 #include <ieeefp.h>
16335 #endif
16338 main ()
16340 _log10f(0);
16342 return 0;
16344 _ACEOF
16345 rm -f conftest.$ac_objext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16347 (eval $ac_compile) 2>conftest.er1
16348 ac_status=$?
16349 grep -v '^ *+' conftest.er1 >conftest.err
16350 rm -f conftest.er1
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } &&
16354 { ac_try='test -z "$ac_cxx_werror_flag"
16355 || test ! -s conftest.err'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16358 ac_status=$?
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; } &&
16361 { ac_try='test -s conftest.$ac_objext'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16364 ac_status=$?
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; }; then
16367 glibcxx_cv_func__log10f_use=yes
16368 else
16369 echo "$as_me: failed program was:" >&5
16370 sed 's/^/| /' conftest.$ac_ext >&5
16372 glibcxx_cv_func__log10f_use=no
16374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16375 ac_ext=c
16376 ac_cpp='$CPP $CPPFLAGS'
16377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16386 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16388 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16390 for ac_func in _log10f
16392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16393 echo "$as_me:$LINENO: checking for $ac_func" >&5
16394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16395 if eval "test \"\${$as_ac_var+set}\" = set"; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 else
16398 if test x$gcc_no_link = xyes; then
16399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16401 { (exit 1); exit 1; }; }
16403 cat >conftest.$ac_ext <<_ACEOF
16404 /* confdefs.h. */
16405 _ACEOF
16406 cat confdefs.h >>conftest.$ac_ext
16407 cat >>conftest.$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16411 #define $ac_func innocuous_$ac_func
16413 /* System header to define __stub macros and hopefully few prototypes,
16414 which can conflict with char $ac_func (); below.
16415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16416 <limits.h> exists even on freestanding compilers. */
16418 #ifdef __STDC__
16419 # include <limits.h>
16420 #else
16421 # include <assert.h>
16422 #endif
16424 #undef $ac_func
16426 /* Override any gcc2 internal prototype to avoid an error. */
16427 #ifdef __cplusplus
16428 extern "C"
16430 #endif
16431 /* We use char because int might match the return type of a gcc2
16432 builtin and then its argument prototype would still apply. */
16433 char $ac_func ();
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16438 choke me
16439 #else
16440 char (*f) () = $ac_func;
16441 #endif
16442 #ifdef __cplusplus
16444 #endif
16447 main ()
16449 return f != $ac_func;
16451 return 0;
16453 _ACEOF
16454 rm -f conftest.$ac_objext conftest$ac_exeext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16456 (eval $ac_link) 2>conftest.er1
16457 ac_status=$?
16458 grep -v '^ *+' conftest.er1 >conftest.err
16459 rm -f conftest.er1
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try='test -z "$ac_c_werror_flag"
16464 || test ! -s conftest.err'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16467 ac_status=$?
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; } &&
16470 { ac_try='test -s conftest$ac_exeext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16473 ac_status=$?
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 eval "$as_ac_var=yes"
16477 else
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.$ac_ext >&5
16481 eval "$as_ac_var=no"
16483 rm -f conftest.err conftest.$ac_objext \
16484 conftest$ac_exeext conftest.$ac_ext
16486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16488 if test `eval echo '${'$as_ac_var'}'` = yes; then
16489 cat >>confdefs.h <<_ACEOF
16490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16491 _ACEOF
16494 done
16504 echo "$as_me:$LINENO: checking for modff declaration" >&5
16505 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16506 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16507 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 else
16513 ac_ext=cc
16514 ac_cpp='$CXXCPP $CPPFLAGS'
16515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16519 cat >conftest.$ac_ext <<_ACEOF
16520 /* confdefs.h. */
16521 _ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 #include <math.h>
16527 main ()
16529 modff(0, 0);
16531 return 0;
16533 _ACEOF
16534 rm -f conftest.$ac_objext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16536 (eval $ac_compile) 2>conftest.er1
16537 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try='test -z "$ac_cxx_werror_flag"
16544 || test ! -s conftest.err'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; } &&
16550 { ac_try='test -s conftest.$ac_objext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16556 glibcxx_cv_func_modff_use=yes
16557 else
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16561 glibcxx_cv_func_modff_use=no
16563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16564 ac_ext=c
16565 ac_cpp='$CPP $CPPFLAGS'
16566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16575 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16577 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16579 for ac_func in modff
16581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16582 echo "$as_me:$LINENO: checking for $ac_func" >&5
16583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16584 if eval "test \"\${$as_ac_var+set}\" = set"; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16587 if test x$gcc_no_link = xyes; then
16588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16590 { (exit 1); exit 1; }; }
16592 cat >conftest.$ac_ext <<_ACEOF
16593 /* confdefs.h. */
16594 _ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16600 #define $ac_func innocuous_$ac_func
16602 /* System header to define __stub macros and hopefully few prototypes,
16603 which can conflict with char $ac_func (); below.
16604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16605 <limits.h> exists even on freestanding compilers. */
16607 #ifdef __STDC__
16608 # include <limits.h>
16609 #else
16610 # include <assert.h>
16611 #endif
16613 #undef $ac_func
16615 /* Override any gcc2 internal prototype to avoid an error. */
16616 #ifdef __cplusplus
16617 extern "C"
16619 #endif
16620 /* We use char because int might match the return type of a gcc2
16621 builtin and then its argument prototype would still apply. */
16622 char $ac_func ();
16623 /* The GNU C library defines this for functions which it implements
16624 to always fail with ENOSYS. Some functions are actually named
16625 something starting with __ and the normal name is an alias. */
16626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16627 choke me
16628 #else
16629 char (*f) () = $ac_func;
16630 #endif
16631 #ifdef __cplusplus
16633 #endif
16636 main ()
16638 return f != $ac_func;
16640 return 0;
16642 _ACEOF
16643 rm -f conftest.$ac_objext conftest$ac_exeext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16645 (eval $ac_link) 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_c_werror_flag"
16653 || test ! -s conftest.err'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16656 ac_status=$?
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } &&
16659 { ac_try='test -s conftest$ac_exeext'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; }; then
16665 eval "$as_ac_var=yes"
16666 else
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16670 eval "$as_ac_var=no"
16672 rm -f conftest.err conftest.$ac_objext \
16673 conftest$ac_exeext conftest.$ac_ext
16675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16677 if test `eval echo '${'$as_ac_var'}'` = yes; then
16678 cat >>confdefs.h <<_ACEOF
16679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16680 _ACEOF
16683 done
16685 else
16687 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16688 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16689 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16690 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 else
16696 ac_ext=cc
16697 ac_cpp='$CXXCPP $CPPFLAGS'
16698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16702 cat >conftest.$ac_ext <<_ACEOF
16703 /* confdefs.h. */
16704 _ACEOF
16705 cat confdefs.h >>conftest.$ac_ext
16706 cat >>conftest.$ac_ext <<_ACEOF
16707 /* end confdefs.h. */
16708 #include <math.h>
16710 main ()
16712 _modff(0, 0);
16714 return 0;
16716 _ACEOF
16717 rm -f conftest.$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16720 ac_status=$?
16721 grep -v '^ *+' conftest.er1 >conftest.err
16722 rm -f conftest.er1
16723 cat conftest.err >&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try='test -z "$ac_cxx_werror_flag"
16727 || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16736 ac_status=$?
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16739 glibcxx_cv_func__modff_use=yes
16740 else
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16744 glibcxx_cv_func__modff_use=no
16746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16747 ac_ext=c
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16758 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16760 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16762 for ac_func in _modff
16764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16765 echo "$as_me:$LINENO: checking for $ac_func" >&5
16766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16767 if eval "test \"\${$as_ac_var+set}\" = set"; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 else
16770 if test x$gcc_no_link = xyes; then
16771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16773 { (exit 1); exit 1; }; }
16775 cat >conftest.$ac_ext <<_ACEOF
16776 /* confdefs.h. */
16777 _ACEOF
16778 cat confdefs.h >>conftest.$ac_ext
16779 cat >>conftest.$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16783 #define $ac_func innocuous_$ac_func
16785 /* System header to define __stub macros and hopefully few prototypes,
16786 which can conflict with char $ac_func (); below.
16787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16788 <limits.h> exists even on freestanding compilers. */
16790 #ifdef __STDC__
16791 # include <limits.h>
16792 #else
16793 # include <assert.h>
16794 #endif
16796 #undef $ac_func
16798 /* Override any gcc2 internal prototype to avoid an error. */
16799 #ifdef __cplusplus
16800 extern "C"
16802 #endif
16803 /* We use char because int might match the return type of a gcc2
16804 builtin and then its argument prototype would still apply. */
16805 char $ac_func ();
16806 /* The GNU C library defines this for functions which it implements
16807 to always fail with ENOSYS. Some functions are actually named
16808 something starting with __ and the normal name is an alias. */
16809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16810 choke me
16811 #else
16812 char (*f) () = $ac_func;
16813 #endif
16814 #ifdef __cplusplus
16816 #endif
16819 main ()
16821 return f != $ac_func;
16823 return 0;
16825 _ACEOF
16826 rm -f conftest.$ac_objext conftest$ac_exeext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16828 (eval $ac_link) 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try='test -z "$ac_c_werror_flag"
16836 || test ! -s conftest.err'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16839 ac_status=$?
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; } &&
16842 { ac_try='test -s conftest$ac_exeext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16845 ac_status=$?
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 eval "$as_ac_var=yes"
16849 else
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16853 eval "$as_ac_var=no"
16855 rm -f conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16860 if test `eval echo '${'$as_ac_var'}'` = yes; then
16861 cat >>confdefs.h <<_ACEOF
16862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16863 _ACEOF
16866 done
16876 echo "$as_me:$LINENO: checking for modf declaration" >&5
16877 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16878 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16879 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16885 ac_ext=cc
16886 ac_cpp='$CXXCPP $CPPFLAGS'
16887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16891 cat >conftest.$ac_ext <<_ACEOF
16892 /* confdefs.h. */
16893 _ACEOF
16894 cat confdefs.h >>conftest.$ac_ext
16895 cat >>conftest.$ac_ext <<_ACEOF
16896 /* end confdefs.h. */
16897 #include <math.h>
16899 main ()
16901 modf(0, 0);
16903 return 0;
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16909 ac_status=$?
16910 grep -v '^ *+' conftest.er1 >conftest.err
16911 rm -f conftest.er1
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try='test -z "$ac_cxx_werror_flag"
16916 || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 glibcxx_cv_func_modf_use=yes
16929 else
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16933 glibcxx_cv_func_modf_use=no
16935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16936 ac_ext=c
16937 ac_cpp='$CPP $CPPFLAGS'
16938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16947 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16949 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16951 for ac_func in modf
16953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16954 echo "$as_me:$LINENO: checking for $ac_func" >&5
16955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16956 if eval "test \"\${$as_ac_var+set}\" = set"; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 else
16959 if test x$gcc_no_link = xyes; then
16960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16962 { (exit 1); exit 1; }; }
16964 cat >conftest.$ac_ext <<_ACEOF
16965 /* confdefs.h. */
16966 _ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16972 #define $ac_func innocuous_$ac_func
16974 /* System header to define __stub macros and hopefully few prototypes,
16975 which can conflict with char $ac_func (); below.
16976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16977 <limits.h> exists even on freestanding compilers. */
16979 #ifdef __STDC__
16980 # include <limits.h>
16981 #else
16982 # include <assert.h>
16983 #endif
16985 #undef $ac_func
16987 /* Override any gcc2 internal prototype to avoid an error. */
16988 #ifdef __cplusplus
16989 extern "C"
16991 #endif
16992 /* We use char because int might match the return type of a gcc2
16993 builtin and then its argument prototype would still apply. */
16994 char $ac_func ();
16995 /* The GNU C library defines this for functions which it implements
16996 to always fail with ENOSYS. Some functions are actually named
16997 something starting with __ and the normal name is an alias. */
16998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16999 choke me
17000 #else
17001 char (*f) () = $ac_func;
17002 #endif
17003 #ifdef __cplusplus
17005 #endif
17008 main ()
17010 return f != $ac_func;
17012 return 0;
17014 _ACEOF
17015 rm -f conftest.$ac_objext conftest$ac_exeext
17016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17017 (eval $ac_link) 2>conftest.er1
17018 ac_status=$?
17019 grep -v '^ *+' conftest.er1 >conftest.err
17020 rm -f conftest.er1
17021 cat conftest.err >&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } &&
17024 { ac_try='test -z "$ac_c_werror_flag"
17025 || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try='test -s conftest$ac_exeext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17034 ac_status=$?
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17037 eval "$as_ac_var=yes"
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 eval "$as_ac_var=no"
17044 rm -f conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17049 if test `eval echo '${'$as_ac_var'}'` = yes; then
17050 cat >>confdefs.h <<_ACEOF
17051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17052 _ACEOF
17055 done
17057 else
17059 echo "$as_me:$LINENO: checking for _modf declaration" >&5
17060 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17061 if test x${glibcxx_cv_func__modf_use+set} != xset; then
17062 if test "${glibcxx_cv_func__modf_use+set}" = set; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 else
17068 ac_ext=cc
17069 ac_cpp='$CXXCPP $CPPFLAGS'
17070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17074 cat >conftest.$ac_ext <<_ACEOF
17075 /* confdefs.h. */
17076 _ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080 #include <math.h>
17082 main ()
17084 _modf(0, 0);
17086 return 0;
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17091 (eval $ac_compile) 2>conftest.er1
17092 ac_status=$?
17093 grep -v '^ *+' conftest.er1 >conftest.err
17094 rm -f conftest.er1
17095 cat conftest.err >&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try='test -z "$ac_cxx_werror_flag"
17099 || test ! -s conftest.err'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17102 ac_status=$?
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; } &&
17105 { ac_try='test -s conftest.$ac_objext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 glibcxx_cv_func__modf_use=yes
17112 else
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17116 glibcxx_cv_func__modf_use=no
17118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17119 ac_ext=c
17120 ac_cpp='$CPP $CPPFLAGS'
17121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17130 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17132 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17134 for ac_func in _modf
17136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17137 echo "$as_me:$LINENO: checking for $ac_func" >&5
17138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17139 if eval "test \"\${$as_ac_var+set}\" = set"; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 else
17142 if test x$gcc_no_link = xyes; then
17143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17145 { (exit 1); exit 1; }; }
17147 cat >conftest.$ac_ext <<_ACEOF
17148 /* confdefs.h. */
17149 _ACEOF
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17155 #define $ac_func innocuous_$ac_func
17157 /* System header to define __stub macros and hopefully few prototypes,
17158 which can conflict with char $ac_func (); below.
17159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17160 <limits.h> exists even on freestanding compilers. */
17162 #ifdef __STDC__
17163 # include <limits.h>
17164 #else
17165 # include <assert.h>
17166 #endif
17168 #undef $ac_func
17170 /* Override any gcc2 internal prototype to avoid an error. */
17171 #ifdef __cplusplus
17172 extern "C"
17174 #endif
17175 /* We use char because int might match the return type of a gcc2
17176 builtin and then its argument prototype would still apply. */
17177 char $ac_func ();
17178 /* The GNU C library defines this for functions which it implements
17179 to always fail with ENOSYS. Some functions are actually named
17180 something starting with __ and the normal name is an alias. */
17181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17182 choke me
17183 #else
17184 char (*f) () = $ac_func;
17185 #endif
17186 #ifdef __cplusplus
17188 #endif
17191 main ()
17193 return f != $ac_func;
17195 return 0;
17197 _ACEOF
17198 rm -f conftest.$ac_objext conftest$ac_exeext
17199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17200 (eval $ac_link) 2>conftest.er1
17201 ac_status=$?
17202 grep -v '^ *+' conftest.er1 >conftest.err
17203 rm -f conftest.er1
17204 cat conftest.err >&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } &&
17207 { ac_try='test -z "$ac_c_werror_flag"
17208 || test ! -s conftest.err'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17211 ac_status=$?
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; } &&
17214 { ac_try='test -s conftest$ac_exeext'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17217 ac_status=$?
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; }; then
17220 eval "$as_ac_var=yes"
17221 else
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17225 eval "$as_ac_var=no"
17227 rm -f conftest.err conftest.$ac_objext \
17228 conftest$ac_exeext conftest.$ac_ext
17230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17232 if test `eval echo '${'$as_ac_var'}'` = yes; then
17233 cat >>confdefs.h <<_ACEOF
17234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17235 _ACEOF
17238 done
17248 echo "$as_me:$LINENO: checking for powf declaration" >&5
17249 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17250 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17251 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17252 echo $ECHO_N "(cached) $ECHO_C" >&6
17253 else
17257 ac_ext=cc
17258 ac_cpp='$CXXCPP $CPPFLAGS'
17259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17263 cat >conftest.$ac_ext <<_ACEOF
17264 /* confdefs.h. */
17265 _ACEOF
17266 cat confdefs.h >>conftest.$ac_ext
17267 cat >>conftest.$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 #include <math.h>
17271 main ()
17273 powf(0, 0);
17275 return 0;
17277 _ACEOF
17278 rm -f conftest.$ac_objext
17279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17280 (eval $ac_compile) 2>conftest.er1
17281 ac_status=$?
17282 grep -v '^ *+' conftest.er1 >conftest.err
17283 rm -f conftest.er1
17284 cat conftest.err >&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); } &&
17287 { ac_try='test -z "$ac_cxx_werror_flag"
17288 || test ! -s conftest.err'
17289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17290 (eval $ac_try) 2>&5
17291 ac_status=$?
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; } &&
17294 { ac_try='test -s conftest.$ac_objext'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17297 ac_status=$?
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; }; then
17300 glibcxx_cv_func_powf_use=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 glibcxx_cv_func_powf_use=no
17307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17308 ac_ext=c
17309 ac_cpp='$CPP $CPPFLAGS'
17310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17319 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17321 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17323 for ac_func in powf
17325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17326 echo "$as_me:$LINENO: checking for $ac_func" >&5
17327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17328 if eval "test \"\${$as_ac_var+set}\" = set"; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 else
17331 if test x$gcc_no_link = xyes; then
17332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17334 { (exit 1); exit 1; }; }
17336 cat >conftest.$ac_ext <<_ACEOF
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17344 #define $ac_func innocuous_$ac_func
17346 /* System header to define __stub macros and hopefully few prototypes,
17347 which can conflict with char $ac_func (); below.
17348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17349 <limits.h> exists even on freestanding compilers. */
17351 #ifdef __STDC__
17352 # include <limits.h>
17353 #else
17354 # include <assert.h>
17355 #endif
17357 #undef $ac_func
17359 /* Override any gcc2 internal prototype to avoid an error. */
17360 #ifdef __cplusplus
17361 extern "C"
17363 #endif
17364 /* We use char because int might match the return type of a gcc2
17365 builtin and then its argument prototype would still apply. */
17366 char $ac_func ();
17367 /* The GNU C library defines this for functions which it implements
17368 to always fail with ENOSYS. Some functions are actually named
17369 something starting with __ and the normal name is an alias. */
17370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17371 choke me
17372 #else
17373 char (*f) () = $ac_func;
17374 #endif
17375 #ifdef __cplusplus
17377 #endif
17380 main ()
17382 return f != $ac_func;
17384 return 0;
17386 _ACEOF
17387 rm -f conftest.$ac_objext conftest$ac_exeext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17389 (eval $ac_link) 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest$ac_exeext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 eval "$as_ac_var=yes"
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 eval "$as_ac_var=no"
17416 rm -f conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17421 if test `eval echo '${'$as_ac_var'}'` = yes; then
17422 cat >>confdefs.h <<_ACEOF
17423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17424 _ACEOF
17427 done
17429 else
17431 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17432 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17433 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17434 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17440 ac_ext=cc
17441 ac_cpp='$CXXCPP $CPPFLAGS'
17442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17446 cat >conftest.$ac_ext <<_ACEOF
17447 /* confdefs.h. */
17448 _ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17452 #include <math.h>
17454 main ()
17456 _powf(0, 0);
17458 return 0;
17460 _ACEOF
17461 rm -f conftest.$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_cxx_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17480 ac_status=$?
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 glibcxx_cv_func__powf_use=yes
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 glibcxx_cv_func__powf_use=no
17490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17491 ac_ext=c
17492 ac_cpp='$CPP $CPPFLAGS'
17493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17502 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17504 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17506 for ac_func in _powf
17508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17509 echo "$as_me:$LINENO: checking for $ac_func" >&5
17510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17511 if eval "test \"\${$as_ac_var+set}\" = set"; then
17512 echo $ECHO_N "(cached) $ECHO_C" >&6
17513 else
17514 if test x$gcc_no_link = xyes; then
17515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17517 { (exit 1); exit 1; }; }
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17527 #define $ac_func innocuous_$ac_func
17529 /* System header to define __stub macros and hopefully few prototypes,
17530 which can conflict with char $ac_func (); below.
17531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17532 <limits.h> exists even on freestanding compilers. */
17534 #ifdef __STDC__
17535 # include <limits.h>
17536 #else
17537 # include <assert.h>
17538 #endif
17540 #undef $ac_func
17542 /* Override any gcc2 internal prototype to avoid an error. */
17543 #ifdef __cplusplus
17544 extern "C"
17546 #endif
17547 /* We use char because int might match the return type of a gcc2
17548 builtin and then its argument prototype would still apply. */
17549 char $ac_func ();
17550 /* The GNU C library defines this for functions which it implements
17551 to always fail with ENOSYS. Some functions are actually named
17552 something starting with __ and the normal name is an alias. */
17553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17554 choke me
17555 #else
17556 char (*f) () = $ac_func;
17557 #endif
17558 #ifdef __cplusplus
17560 #endif
17563 main ()
17565 return f != $ac_func;
17567 return 0;
17569 _ACEOF
17570 rm -f conftest.$ac_objext conftest$ac_exeext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17572 (eval $ac_link) 2>conftest.er1
17573 ac_status=$?
17574 grep -v '^ *+' conftest.er1 >conftest.err
17575 rm -f conftest.er1
17576 cat conftest.err >&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } &&
17579 { ac_try='test -z "$ac_c_werror_flag"
17580 || test ! -s conftest.err'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; } &&
17586 { ac_try='test -s conftest$ac_exeext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 eval "$as_ac_var=yes"
17593 else
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 eval "$as_ac_var=no"
17599 rm -f conftest.err conftest.$ac_objext \
17600 conftest$ac_exeext conftest.$ac_ext
17602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17604 if test `eval echo '${'$as_ac_var'}'` = yes; then
17605 cat >>confdefs.h <<_ACEOF
17606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17607 _ACEOF
17610 done
17620 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17621 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17622 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17623 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17629 ac_ext=cc
17630 ac_cpp='$CXXCPP $CPPFLAGS'
17631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 #include <math.h>
17642 #ifdef HAVE_IEEEFP_H
17643 #include <ieeefp.h>
17644 #endif
17647 main ()
17649 sqrtf(0);
17651 return 0;
17653 _ACEOF
17654 rm -f conftest.$ac_objext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17656 (eval $ac_compile) 2>conftest.er1
17657 ac_status=$?
17658 grep -v '^ *+' conftest.er1 >conftest.err
17659 rm -f conftest.er1
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } &&
17663 { ac_try='test -z "$ac_cxx_werror_flag"
17664 || test ! -s conftest.err'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; } &&
17670 { ac_try='test -s conftest.$ac_objext'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17673 ac_status=$?
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; }; then
17676 glibcxx_cv_func_sqrtf_use=yes
17677 else
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17681 glibcxx_cv_func_sqrtf_use=no
17683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17684 ac_ext=c
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17695 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17697 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17699 for ac_func in sqrtf
17701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17702 echo "$as_me:$LINENO: checking for $ac_func" >&5
17703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17704 if eval "test \"\${$as_ac_var+set}\" = set"; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 else
17707 if test x$gcc_no_link = xyes; then
17708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17710 { (exit 1); exit 1; }; }
17712 cat >conftest.$ac_ext <<_ACEOF
17713 /* confdefs.h. */
17714 _ACEOF
17715 cat confdefs.h >>conftest.$ac_ext
17716 cat >>conftest.$ac_ext <<_ACEOF
17717 /* end confdefs.h. */
17718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17720 #define $ac_func innocuous_$ac_func
17722 /* System header to define __stub macros and hopefully few prototypes,
17723 which can conflict with char $ac_func (); below.
17724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17725 <limits.h> exists even on freestanding compilers. */
17727 #ifdef __STDC__
17728 # include <limits.h>
17729 #else
17730 # include <assert.h>
17731 #endif
17733 #undef $ac_func
17735 /* Override any gcc2 internal prototype to avoid an error. */
17736 #ifdef __cplusplus
17737 extern "C"
17739 #endif
17740 /* We use char because int might match the return type of a gcc2
17741 builtin and then its argument prototype would still apply. */
17742 char $ac_func ();
17743 /* The GNU C library defines this for functions which it implements
17744 to always fail with ENOSYS. Some functions are actually named
17745 something starting with __ and the normal name is an alias. */
17746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17747 choke me
17748 #else
17749 char (*f) () = $ac_func;
17750 #endif
17751 #ifdef __cplusplus
17753 #endif
17756 main ()
17758 return f != $ac_func;
17760 return 0;
17762 _ACEOF
17763 rm -f conftest.$ac_objext conftest$ac_exeext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17765 (eval $ac_link) 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try='test -z "$ac_c_werror_flag"
17773 || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17776 ac_status=$?
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try='test -s conftest$ac_exeext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17782 ac_status=$?
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 eval "$as_ac_var=yes"
17786 else
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 eval "$as_ac_var=no"
17792 rm -f conftest.err conftest.$ac_objext \
17793 conftest$ac_exeext conftest.$ac_ext
17795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17797 if test `eval echo '${'$as_ac_var'}'` = yes; then
17798 cat >>confdefs.h <<_ACEOF
17799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17800 _ACEOF
17803 done
17805 else
17807 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17808 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17809 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17810 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17816 ac_ext=cc
17817 ac_cpp='$CXXCPP $CPPFLAGS'
17818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <math.h>
17829 #ifdef HAVE_IEEEFP_H
17830 #include <ieeefp.h>
17831 #endif
17834 main ()
17836 _sqrtf(0);
17838 return 0;
17840 _ACEOF
17841 rm -f conftest.$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -z "$ac_cxx_werror_flag"
17851 || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17854 ac_status=$?
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try='test -s conftest.$ac_objext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17860 ac_status=$?
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 glibcxx_cv_func__sqrtf_use=yes
17864 else
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17868 glibcxx_cv_func__sqrtf_use=no
17870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17871 ac_ext=c
17872 ac_cpp='$CPP $CPPFLAGS'
17873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17882 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17884 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17886 for ac_func in _sqrtf
17888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17889 echo "$as_me:$LINENO: checking for $ac_func" >&5
17890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17891 if eval "test \"\${$as_ac_var+set}\" = set"; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 else
17894 if test x$gcc_no_link = xyes; then
17895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17897 { (exit 1); exit 1; }; }
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17907 #define $ac_func innocuous_$ac_func
17909 /* System header to define __stub macros and hopefully few prototypes,
17910 which can conflict with char $ac_func (); below.
17911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17912 <limits.h> exists even on freestanding compilers. */
17914 #ifdef __STDC__
17915 # include <limits.h>
17916 #else
17917 # include <assert.h>
17918 #endif
17920 #undef $ac_func
17922 /* Override any gcc2 internal prototype to avoid an error. */
17923 #ifdef __cplusplus
17924 extern "C"
17926 #endif
17927 /* We use char because int might match the return type of a gcc2
17928 builtin and then its argument prototype would still apply. */
17929 char $ac_func ();
17930 /* The GNU C library defines this for functions which it implements
17931 to always fail with ENOSYS. Some functions are actually named
17932 something starting with __ and the normal name is an alias. */
17933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17934 choke me
17935 #else
17936 char (*f) () = $ac_func;
17937 #endif
17938 #ifdef __cplusplus
17940 #endif
17943 main ()
17945 return f != $ac_func;
17947 return 0;
17949 _ACEOF
17950 rm -f conftest.$ac_objext conftest$ac_exeext
17951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17952 (eval $ac_link) 2>conftest.er1
17953 ac_status=$?
17954 grep -v '^ *+' conftest.er1 >conftest.err
17955 rm -f conftest.er1
17956 cat conftest.err >&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } &&
17959 { ac_try='test -z "$ac_c_werror_flag"
17960 || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17963 ac_status=$?
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try='test -s conftest$ac_exeext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17969 ac_status=$?
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 eval "$as_ac_var=yes"
17973 else
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.$ac_ext >&5
17977 eval "$as_ac_var=no"
17979 rm -f conftest.err conftest.$ac_objext \
17980 conftest$ac_exeext conftest.$ac_ext
17982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17984 if test `eval echo '${'$as_ac_var'}'` = yes; then
17985 cat >>confdefs.h <<_ACEOF
17986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17987 _ACEOF
17990 done
18000 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18001 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18002 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18003 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 else
18009 ac_ext=cc
18010 ac_cpp='$CXXCPP $CPPFLAGS'
18011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18015 cat >conftest.$ac_ext <<_ACEOF
18016 /* confdefs.h. */
18017 _ACEOF
18018 cat confdefs.h >>conftest.$ac_ext
18019 cat >>conftest.$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18021 #include <math.h>
18023 main ()
18025 sincosf(0, 0, 0);
18027 return 0;
18029 _ACEOF
18030 rm -f conftest.$ac_objext
18031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18032 (eval $ac_compile) 2>conftest.er1
18033 ac_status=$?
18034 grep -v '^ *+' conftest.er1 >conftest.err
18035 rm -f conftest.er1
18036 cat conftest.err >&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } &&
18039 { ac_try='test -z "$ac_cxx_werror_flag"
18040 || test ! -s conftest.err'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18043 ac_status=$?
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; } &&
18046 { ac_try='test -s conftest.$ac_objext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 glibcxx_cv_func_sincosf_use=yes
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18057 glibcxx_cv_func_sincosf_use=no
18059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18060 ac_ext=c
18061 ac_cpp='$CPP $CPPFLAGS'
18062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18071 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18073 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18075 for ac_func in sincosf
18077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18078 echo "$as_me:$LINENO: checking for $ac_func" >&5
18079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18080 if eval "test \"\${$as_ac_var+set}\" = set"; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 else
18083 if test x$gcc_no_link = xyes; then
18084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18086 { (exit 1); exit 1; }; }
18088 cat >conftest.$ac_ext <<_ACEOF
18089 /* confdefs.h. */
18090 _ACEOF
18091 cat confdefs.h >>conftest.$ac_ext
18092 cat >>conftest.$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18096 #define $ac_func innocuous_$ac_func
18098 /* System header to define __stub macros and hopefully few prototypes,
18099 which can conflict with char $ac_func (); below.
18100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18101 <limits.h> exists even on freestanding compilers. */
18103 #ifdef __STDC__
18104 # include <limits.h>
18105 #else
18106 # include <assert.h>
18107 #endif
18109 #undef $ac_func
18111 /* Override any gcc2 internal prototype to avoid an error. */
18112 #ifdef __cplusplus
18113 extern "C"
18115 #endif
18116 /* We use char because int might match the return type of a gcc2
18117 builtin and then its argument prototype would still apply. */
18118 char $ac_func ();
18119 /* The GNU C library defines this for functions which it implements
18120 to always fail with ENOSYS. Some functions are actually named
18121 something starting with __ and the normal name is an alias. */
18122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18123 choke me
18124 #else
18125 char (*f) () = $ac_func;
18126 #endif
18127 #ifdef __cplusplus
18129 #endif
18132 main ()
18134 return f != $ac_func;
18136 return 0;
18138 _ACEOF
18139 rm -f conftest.$ac_objext conftest$ac_exeext
18140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18141 (eval $ac_link) 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
18148 { ac_try='test -z "$ac_c_werror_flag"
18149 || test ! -s conftest.err'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18152 ac_status=$?
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; } &&
18155 { ac_try='test -s conftest$ac_exeext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 eval "$as_ac_var=yes"
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18166 eval "$as_ac_var=no"
18168 rm -f conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18173 if test `eval echo '${'$as_ac_var'}'` = yes; then
18174 cat >>confdefs.h <<_ACEOF
18175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18176 _ACEOF
18179 done
18181 else
18183 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18184 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18188 else
18192 ac_ext=cc
18193 ac_cpp='$CXXCPP $CPPFLAGS'
18194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 #include <math.h>
18206 main ()
18208 _sincosf(0, 0, 0);
18210 return 0;
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_cxx_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 glibcxx_cv_func__sincosf_use=yes
18236 else
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.$ac_ext >&5
18240 glibcxx_cv_func__sincosf_use=no
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 ac_ext=c
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18254 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18256 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18258 for ac_func in _sincosf
18260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18261 echo "$as_me:$LINENO: checking for $ac_func" >&5
18262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18263 if eval "test \"\${$as_ac_var+set}\" = set"; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
18266 if test x$gcc_no_link = xyes; then
18267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18269 { (exit 1); exit 1; }; }
18271 cat >conftest.$ac_ext <<_ACEOF
18272 /* confdefs.h. */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18279 #define $ac_func innocuous_$ac_func
18281 /* System header to define __stub macros and hopefully few prototypes,
18282 which can conflict with char $ac_func (); below.
18283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18284 <limits.h> exists even on freestanding compilers. */
18286 #ifdef __STDC__
18287 # include <limits.h>
18288 #else
18289 # include <assert.h>
18290 #endif
18292 #undef $ac_func
18294 /* Override any gcc2 internal prototype to avoid an error. */
18295 #ifdef __cplusplus
18296 extern "C"
18298 #endif
18299 /* We use char because int might match the return type of a gcc2
18300 builtin and then its argument prototype would still apply. */
18301 char $ac_func ();
18302 /* The GNU C library defines this for functions which it implements
18303 to always fail with ENOSYS. Some functions are actually named
18304 something starting with __ and the normal name is an alias. */
18305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18306 choke me
18307 #else
18308 char (*f) () = $ac_func;
18309 #endif
18310 #ifdef __cplusplus
18312 #endif
18315 main ()
18317 return f != $ac_func;
18319 return 0;
18321 _ACEOF
18322 rm -f conftest.$ac_objext conftest$ac_exeext
18323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18324 (eval $ac_link) 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } &&
18331 { ac_try='test -z "$ac_c_werror_flag"
18332 || test ! -s conftest.err'
18333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18335 ac_status=$?
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); }; } &&
18338 { ac_try='test -s conftest$ac_exeext'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18341 ac_status=$?
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; }; then
18344 eval "$as_ac_var=yes"
18345 else
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18349 eval "$as_ac_var=no"
18351 rm -f conftest.err conftest.$ac_objext \
18352 conftest$ac_exeext conftest.$ac_ext
18354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18356 if test `eval echo '${'$as_ac_var'}'` = yes; then
18357 cat >>confdefs.h <<_ACEOF
18358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18359 _ACEOF
18362 done
18372 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18373 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18374 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18375 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 else
18381 ac_ext=cc
18382 ac_cpp='$CXXCPP $CPPFLAGS'
18383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #include <math.h>
18394 #ifdef HAVE_IEEEFP_H
18395 #include <ieeefp.h>
18396 #endif
18399 main ()
18401 finitef(0);
18403 return 0;
18405 _ACEOF
18406 rm -f conftest.$ac_objext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18408 (eval $ac_compile) 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try='test -z "$ac_cxx_werror_flag"
18416 || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18419 ac_status=$?
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try='test -s conftest.$ac_objext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18425 ac_status=$?
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 glibcxx_cv_func_finitef_use=yes
18429 else
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.$ac_ext >&5
18433 glibcxx_cv_func_finitef_use=no
18435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18436 ac_ext=c
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18447 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18451 for ac_func in finitef
18453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18454 echo "$as_me:$LINENO: checking for $ac_func" >&5
18455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18456 if eval "test \"\${$as_ac_var+set}\" = set"; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 else
18459 if test x$gcc_no_link = xyes; then
18460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18462 { (exit 1); exit 1; }; }
18464 cat >conftest.$ac_ext <<_ACEOF
18465 /* confdefs.h. */
18466 _ACEOF
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18472 #define $ac_func innocuous_$ac_func
18474 /* System header to define __stub macros and hopefully few prototypes,
18475 which can conflict with char $ac_func (); below.
18476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18477 <limits.h> exists even on freestanding compilers. */
18479 #ifdef __STDC__
18480 # include <limits.h>
18481 #else
18482 # include <assert.h>
18483 #endif
18485 #undef $ac_func
18487 /* Override any gcc2 internal prototype to avoid an error. */
18488 #ifdef __cplusplus
18489 extern "C"
18491 #endif
18492 /* We use char because int might match the return type of a gcc2
18493 builtin and then its argument prototype would still apply. */
18494 char $ac_func ();
18495 /* The GNU C library defines this for functions which it implements
18496 to always fail with ENOSYS. Some functions are actually named
18497 something starting with __ and the normal name is an alias. */
18498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18499 choke me
18500 #else
18501 char (*f) () = $ac_func;
18502 #endif
18503 #ifdef __cplusplus
18505 #endif
18508 main ()
18510 return f != $ac_func;
18512 return 0;
18514 _ACEOF
18515 rm -f conftest.$ac_objext conftest$ac_exeext
18516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18517 (eval $ac_link) 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } &&
18524 { ac_try='test -z "$ac_c_werror_flag"
18525 || test ! -s conftest.err'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18528 ac_status=$?
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; } &&
18531 { ac_try='test -s conftest$ac_exeext'
18532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18533 (eval $ac_try) 2>&5
18534 ac_status=$?
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; }; then
18537 eval "$as_ac_var=yes"
18538 else
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18542 eval "$as_ac_var=no"
18544 rm -f conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18549 if test `eval echo '${'$as_ac_var'}'` = yes; then
18550 cat >>confdefs.h <<_ACEOF
18551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18552 _ACEOF
18555 done
18557 else
18559 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18560 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18561 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18562 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 else
18568 ac_ext=cc
18569 ac_cpp='$CXXCPP $CPPFLAGS'
18570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18574 cat >conftest.$ac_ext <<_ACEOF
18575 /* confdefs.h. */
18576 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 #include <math.h>
18581 #ifdef HAVE_IEEEFP_H
18582 #include <ieeefp.h>
18583 #endif
18586 main ()
18588 _finitef(0);
18590 return 0;
18592 _ACEOF
18593 rm -f conftest.$ac_objext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18595 (eval $ac_compile) 2>conftest.er1
18596 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } &&
18602 { ac_try='test -z "$ac_cxx_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18606 ac_status=$?
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try='test -s conftest.$ac_objext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 glibcxx_cv_func__finitef_use=yes
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18620 glibcxx_cv_func__finitef_use=no
18622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18623 ac_ext=c
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18634 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18636 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18638 for ac_func in _finitef
18640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18641 echo "$as_me:$LINENO: checking for $ac_func" >&5
18642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18643 if eval "test \"\${$as_ac_var+set}\" = set"; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 else
18646 if test x$gcc_no_link = xyes; then
18647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18649 { (exit 1); exit 1; }; }
18651 cat >conftest.$ac_ext <<_ACEOF
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18659 #define $ac_func innocuous_$ac_func
18661 /* System header to define __stub macros and hopefully few prototypes,
18662 which can conflict with char $ac_func (); below.
18663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18664 <limits.h> exists even on freestanding compilers. */
18666 #ifdef __STDC__
18667 # include <limits.h>
18668 #else
18669 # include <assert.h>
18670 #endif
18672 #undef $ac_func
18674 /* Override any gcc2 internal prototype to avoid an error. */
18675 #ifdef __cplusplus
18676 extern "C"
18678 #endif
18679 /* We use char because int might match the return type of a gcc2
18680 builtin and then its argument prototype would still apply. */
18681 char $ac_func ();
18682 /* The GNU C library defines this for functions which it implements
18683 to always fail with ENOSYS. Some functions are actually named
18684 something starting with __ and the normal name is an alias. */
18685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18686 choke me
18687 #else
18688 char (*f) () = $ac_func;
18689 #endif
18690 #ifdef __cplusplus
18692 #endif
18695 main ()
18697 return f != $ac_func;
18699 return 0;
18701 _ACEOF
18702 rm -f conftest.$ac_objext conftest$ac_exeext
18703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18704 (eval $ac_link) 2>conftest.er1
18705 ac_status=$?
18706 grep -v '^ *+' conftest.er1 >conftest.err
18707 rm -f conftest.er1
18708 cat conftest.err >&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } &&
18711 { ac_try='test -z "$ac_c_werror_flag"
18712 || test ! -s conftest.err'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; } &&
18718 { ac_try='test -s conftest$ac_exeext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18721 ac_status=$?
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 eval "$as_ac_var=yes"
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18729 eval "$as_ac_var=no"
18731 rm -f conftest.err conftest.$ac_objext \
18732 conftest$ac_exeext conftest.$ac_ext
18734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18736 if test `eval echo '${'$as_ac_var'}'` = yes; then
18737 cat >>confdefs.h <<_ACEOF
18738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18739 _ACEOF
18742 done
18752 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18753 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18754 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 else
18760 ac_ext=cc
18761 ac_cpp='$CXXCPP $CPPFLAGS'
18762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h. */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 #include <math.h>
18774 main ()
18776 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18778 return 0;
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try='test -z "$ac_cxx_werror_flag"
18791 || test ! -s conftest.err'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18794 ac_status=$?
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; } &&
18797 { ac_try='test -s conftest.$ac_objext'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18800 ac_status=$?
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; }; then
18803 glibcxx_cv_func_long_double_trig_use=yes
18804 else
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18808 glibcxx_cv_func_long_double_trig_use=no
18810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18811 ac_ext=c
18812 ac_cpp='$CPP $CPPFLAGS'
18813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18820 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18821 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18831 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18834 echo "$as_me:$LINENO: checking for $ac_func" >&5
18835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18836 if eval "test \"\${$as_ac_var+set}\" = set"; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 else
18839 if test x$gcc_no_link = xyes; then
18840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18842 { (exit 1); exit 1; }; }
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18852 #define $ac_func innocuous_$ac_func
18854 /* System header to define __stub macros and hopefully few prototypes,
18855 which can conflict with char $ac_func (); below.
18856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18857 <limits.h> exists even on freestanding compilers. */
18859 #ifdef __STDC__
18860 # include <limits.h>
18861 #else
18862 # include <assert.h>
18863 #endif
18865 #undef $ac_func
18867 /* Override any gcc2 internal prototype to avoid an error. */
18868 #ifdef __cplusplus
18869 extern "C"
18871 #endif
18872 /* We use char because int might match the return type of a gcc2
18873 builtin and then its argument prototype would still apply. */
18874 char $ac_func ();
18875 /* The GNU C library defines this for functions which it implements
18876 to always fail with ENOSYS. Some functions are actually named
18877 something starting with __ and the normal name is an alias. */
18878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18879 choke me
18880 #else
18881 char (*f) () = $ac_func;
18882 #endif
18883 #ifdef __cplusplus
18885 #endif
18888 main ()
18890 return f != $ac_func;
18892 return 0;
18894 _ACEOF
18895 rm -f conftest.$ac_objext conftest$ac_exeext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18897 (eval $ac_link) 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try='test -z "$ac_c_werror_flag"
18905 || test ! -s conftest.err'
18906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907 (eval $ac_try) 2>&5
18908 ac_status=$?
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); }; } &&
18911 { ac_try='test -s conftest$ac_exeext'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18914 ac_status=$?
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; }; then
18917 eval "$as_ac_var=yes"
18918 else
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18922 eval "$as_ac_var=no"
18924 rm -f conftest.err conftest.$ac_objext \
18925 conftest$ac_exeext conftest.$ac_ext
18927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18929 if test `eval echo '${'$as_ac_var'}'` = yes; then
18930 cat >>confdefs.h <<_ACEOF
18931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18932 _ACEOF
18935 done
18937 else
18938 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18939 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18940 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18946 ac_ext=cc
18947 ac_cpp='$CXXCPP $CPPFLAGS'
18948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18952 cat >conftest.$ac_ext <<_ACEOF
18953 /* confdefs.h. */
18954 _ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 #include <math.h>
18960 main ()
18962 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18964 return 0;
18966 _ACEOF
18967 rm -f conftest.$ac_objext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18969 (eval $ac_compile) 2>conftest.er1
18970 ac_status=$?
18971 grep -v '^ *+' conftest.er1 >conftest.err
18972 rm -f conftest.er1
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } &&
18976 { ac_try='test -z "$ac_cxx_werror_flag"
18977 || test ! -s conftest.err'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18980 ac_status=$?
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; } &&
18983 { ac_try='test -s conftest.$ac_objext'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; }; then
18989 glibcxx_cv_func__long_double_trig_use=yes
18990 else
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.$ac_ext >&5
18994 glibcxx_cv_func__long_double_trig_use=no
18996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18997 ac_ext=c
18998 ac_cpp='$CPP $CPPFLAGS'
18999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19006 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19007 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19017 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19020 echo "$as_me:$LINENO: checking for $ac_func" >&5
19021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19022 if eval "test \"\${$as_ac_var+set}\" = set"; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 else
19025 if test x$gcc_no_link = xyes; then
19026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19028 { (exit 1); exit 1; }; }
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19038 #define $ac_func innocuous_$ac_func
19040 /* System header to define __stub macros and hopefully few prototypes,
19041 which can conflict with char $ac_func (); below.
19042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19043 <limits.h> exists even on freestanding compilers. */
19045 #ifdef __STDC__
19046 # include <limits.h>
19047 #else
19048 # include <assert.h>
19049 #endif
19051 #undef $ac_func
19053 /* Override any gcc2 internal prototype to avoid an error. */
19054 #ifdef __cplusplus
19055 extern "C"
19057 #endif
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19060 char $ac_func ();
19061 /* The GNU C library defines this for functions which it implements
19062 to always fail with ENOSYS. Some functions are actually named
19063 something starting with __ and the normal name is an alias. */
19064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19065 choke me
19066 #else
19067 char (*f) () = $ac_func;
19068 #endif
19069 #ifdef __cplusplus
19071 #endif
19074 main ()
19076 return f != $ac_func;
19078 return 0;
19080 _ACEOF
19081 rm -f conftest.$ac_objext conftest$ac_exeext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19083 (eval $ac_link) 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try='test -s conftest$ac_exeext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 eval "$as_ac_var=yes"
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19108 eval "$as_ac_var=no"
19110 rm -f conftest.err conftest.$ac_objext \
19111 conftest$ac_exeext conftest.$ac_ext
19113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19115 if test `eval echo '${'$as_ac_var'}'` = yes; then
19116 cat >>confdefs.h <<_ACEOF
19117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19118 _ACEOF
19121 done
19139 echo "$as_me:$LINENO: checking for long double round functions" >&5
19140 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19141 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 else
19147 ac_ext=cc
19148 ac_cpp='$CXXCPP $CPPFLAGS'
19149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19153 cat >conftest.$ac_ext <<_ACEOF
19154 /* confdefs.h. */
19155 _ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159 #include <math.h>
19161 main ()
19163 ceill (0); floorl (0);
19165 return 0;
19167 _ACEOF
19168 rm -f conftest.$ac_objext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19170 (eval $ac_compile) 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try='test -z "$ac_cxx_werror_flag"
19178 || test ! -s conftest.err'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19181 ac_status=$?
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try='test -s conftest.$ac_objext'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19187 ac_status=$?
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; }; then
19190 glibcxx_cv_func_long_double_round_use=yes
19191 else
19192 echo "$as_me: failed program was:" >&5
19193 sed 's/^/| /' conftest.$ac_ext >&5
19195 glibcxx_cv_func_long_double_round_use=no
19197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19198 ac_ext=c
19199 ac_cpp='$CPP $CPPFLAGS'
19200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19207 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19208 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19211 for ac_func in ceill floorl
19213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19214 echo "$as_me:$LINENO: checking for $ac_func" >&5
19215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19216 if eval "test \"\${$as_ac_var+set}\" = set"; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 else
19219 if test x$gcc_no_link = xyes; then
19220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19222 { (exit 1); exit 1; }; }
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19232 #define $ac_func innocuous_$ac_func
19234 /* System header to define __stub macros and hopefully few prototypes,
19235 which can conflict with char $ac_func (); below.
19236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19237 <limits.h> exists even on freestanding compilers. */
19239 #ifdef __STDC__
19240 # include <limits.h>
19241 #else
19242 # include <assert.h>
19243 #endif
19245 #undef $ac_func
19247 /* Override any gcc2 internal prototype to avoid an error. */
19248 #ifdef __cplusplus
19249 extern "C"
19251 #endif
19252 /* We use char because int might match the return type of a gcc2
19253 builtin and then its argument prototype would still apply. */
19254 char $ac_func ();
19255 /* The GNU C library defines this for functions which it implements
19256 to always fail with ENOSYS. Some functions are actually named
19257 something starting with __ and the normal name is an alias. */
19258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19259 choke me
19260 #else
19261 char (*f) () = $ac_func;
19262 #endif
19263 #ifdef __cplusplus
19265 #endif
19268 main ()
19270 return f != $ac_func;
19272 return 0;
19274 _ACEOF
19275 rm -f conftest.$ac_objext conftest$ac_exeext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19277 (eval $ac_link) 2>conftest.er1
19278 ac_status=$?
19279 grep -v '^ *+' conftest.er1 >conftest.err
19280 rm -f conftest.er1
19281 cat conftest.err >&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try='test -z "$ac_c_werror_flag"
19285 || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19288 ac_status=$?
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try='test -s conftest$ac_exeext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 eval "$as_ac_var=yes"
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 eval "$as_ac_var=no"
19304 rm -f conftest.err conftest.$ac_objext \
19305 conftest$ac_exeext conftest.$ac_ext
19307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19309 if test `eval echo '${'$as_ac_var'}'` = yes; then
19310 cat >>confdefs.h <<_ACEOF
19311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19312 _ACEOF
19315 done
19317 else
19318 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19319 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19320 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 else
19326 ac_ext=cc
19327 ac_cpp='$CXXCPP $CPPFLAGS'
19328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19332 cat >conftest.$ac_ext <<_ACEOF
19333 /* confdefs.h. */
19334 _ACEOF
19335 cat confdefs.h >>conftest.$ac_ext
19336 cat >>conftest.$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 #include <math.h>
19340 main ()
19342 _ceill (0); _floorl (0);
19344 return 0;
19346 _ACEOF
19347 rm -f conftest.$ac_objext
19348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19349 (eval $ac_compile) 2>conftest.er1
19350 ac_status=$?
19351 grep -v '^ *+' conftest.er1 >conftest.err
19352 rm -f conftest.er1
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try='test -z "$ac_cxx_werror_flag"
19357 || test ! -s conftest.err'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19360 ac_status=$?
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try='test -s conftest.$ac_objext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19366 ac_status=$?
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19369 glibcxx_cv_func__long_double_round_use=yes
19370 else
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19374 glibcxx_cv_func__long_double_round_use=no
19376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19377 ac_ext=c
19378 ac_cpp='$CPP $CPPFLAGS'
19379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19386 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19387 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19390 for ac_func in _ceill _floorl
19392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19393 echo "$as_me:$LINENO: checking for $ac_func" >&5
19394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19395 if eval "test \"\${$as_ac_var+set}\" = set"; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19397 else
19398 if test x$gcc_no_link = xyes; then
19399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19401 { (exit 1); exit 1; }; }
19403 cat >conftest.$ac_ext <<_ACEOF
19404 /* confdefs.h. */
19405 _ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19411 #define $ac_func innocuous_$ac_func
19413 /* System header to define __stub macros and hopefully few prototypes,
19414 which can conflict with char $ac_func (); below.
19415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19416 <limits.h> exists even on freestanding compilers. */
19418 #ifdef __STDC__
19419 # include <limits.h>
19420 #else
19421 # include <assert.h>
19422 #endif
19424 #undef $ac_func
19426 /* Override any gcc2 internal prototype to avoid an error. */
19427 #ifdef __cplusplus
19428 extern "C"
19430 #endif
19431 /* We use char because int might match the return type of a gcc2
19432 builtin and then its argument prototype would still apply. */
19433 char $ac_func ();
19434 /* The GNU C library defines this for functions which it implements
19435 to always fail with ENOSYS. Some functions are actually named
19436 something starting with __ and the normal name is an alias. */
19437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19438 choke me
19439 #else
19440 char (*f) () = $ac_func;
19441 #endif
19442 #ifdef __cplusplus
19444 #endif
19447 main ()
19449 return f != $ac_func;
19451 return 0;
19453 _ACEOF
19454 rm -f conftest.$ac_objext conftest$ac_exeext
19455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19456 (eval $ac_link) 2>conftest.er1
19457 ac_status=$?
19458 grep -v '^ *+' conftest.er1 >conftest.err
19459 rm -f conftest.er1
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } &&
19463 { ac_try='test -z "$ac_c_werror_flag"
19464 || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19467 ac_status=$?
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest$ac_exeext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 eval "$as_ac_var=yes"
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19481 eval "$as_ac_var=no"
19483 rm -f conftest.err conftest.$ac_objext \
19484 conftest$ac_exeext conftest.$ac_ext
19486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19488 if test `eval echo '${'$as_ac_var'}'` = yes; then
19489 cat >>confdefs.h <<_ACEOF
19490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19491 _ACEOF
19494 done
19506 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19507 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19508 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19509 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19515 ac_ext=cc
19516 ac_cpp='$CXXCPP $CPPFLAGS'
19517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19521 cat >conftest.$ac_ext <<_ACEOF
19522 /* confdefs.h. */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 #include <math.h>
19528 #ifdef HAVE_IEEEFP_H
19529 #include <ieeefp.h>
19530 #endif
19533 main ()
19535 isnanl(0);
19537 return 0;
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try='test -z "$ac_cxx_werror_flag"
19550 || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19553 ac_status=$?
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try='test -s conftest.$ac_objext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19559 ac_status=$?
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 glibcxx_cv_func_isnanl_use=yes
19563 else
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19567 glibcxx_cv_func_isnanl_use=no
19569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19570 ac_ext=c
19571 ac_cpp='$CPP $CPPFLAGS'
19572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19581 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19583 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19585 for ac_func in isnanl
19587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19588 echo "$as_me:$LINENO: checking for $ac_func" >&5
19589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19590 if eval "test \"\${$as_ac_var+set}\" = set"; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 if test x$gcc_no_link = xyes; then
19594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19596 { (exit 1); exit 1; }; }
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19606 #define $ac_func innocuous_$ac_func
19608 /* System header to define __stub macros and hopefully few prototypes,
19609 which can conflict with char $ac_func (); below.
19610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19611 <limits.h> exists even on freestanding compilers. */
19613 #ifdef __STDC__
19614 # include <limits.h>
19615 #else
19616 # include <assert.h>
19617 #endif
19619 #undef $ac_func
19621 /* Override any gcc2 internal prototype to avoid an error. */
19622 #ifdef __cplusplus
19623 extern "C"
19625 #endif
19626 /* We use char because int might match the return type of a gcc2
19627 builtin and then its argument prototype would still apply. */
19628 char $ac_func ();
19629 /* The GNU C library defines this for functions which it implements
19630 to always fail with ENOSYS. Some functions are actually named
19631 something starting with __ and the normal name is an alias. */
19632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19633 choke me
19634 #else
19635 char (*f) () = $ac_func;
19636 #endif
19637 #ifdef __cplusplus
19639 #endif
19642 main ()
19644 return f != $ac_func;
19646 return 0;
19648 _ACEOF
19649 rm -f conftest.$ac_objext conftest$ac_exeext
19650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19651 (eval $ac_link) 2>conftest.er1
19652 ac_status=$?
19653 grep -v '^ *+' conftest.er1 >conftest.err
19654 rm -f conftest.er1
19655 cat conftest.err >&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } &&
19658 { ac_try='test -z "$ac_c_werror_flag"
19659 || test ! -s conftest.err'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19662 ac_status=$?
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try='test -s conftest$ac_exeext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 eval "$as_ac_var=yes"
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19676 eval "$as_ac_var=no"
19678 rm -f conftest.err conftest.$ac_objext \
19679 conftest$ac_exeext conftest.$ac_ext
19681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19683 if test `eval echo '${'$as_ac_var'}'` = yes; then
19684 cat >>confdefs.h <<_ACEOF
19685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19686 _ACEOF
19689 done
19691 else
19693 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19694 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19695 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19696 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19698 else
19702 ac_ext=cc
19703 ac_cpp='$CXXCPP $CPPFLAGS'
19704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19708 cat >conftest.$ac_ext <<_ACEOF
19709 /* confdefs.h. */
19710 _ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 #include <math.h>
19715 #ifdef HAVE_IEEEFP_H
19716 #include <ieeefp.h>
19717 #endif
19720 main ()
19722 _isnanl(0);
19724 return 0;
19726 _ACEOF
19727 rm -f conftest.$ac_objext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19729 (eval $ac_compile) 2>conftest.er1
19730 ac_status=$?
19731 grep -v '^ *+' conftest.er1 >conftest.err
19732 rm -f conftest.er1
19733 cat conftest.err >&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } &&
19736 { ac_try='test -z "$ac_cxx_werror_flag"
19737 || test ! -s conftest.err'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19740 ac_status=$?
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; } &&
19743 { ac_try='test -s conftest.$ac_objext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19749 glibcxx_cv_func__isnanl_use=yes
19750 else
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.$ac_ext >&5
19754 glibcxx_cv_func__isnanl_use=no
19756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19757 ac_ext=c
19758 ac_cpp='$CPP $CPPFLAGS'
19759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19768 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19770 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19772 for ac_func in _isnanl
19774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19775 echo "$as_me:$LINENO: checking for $ac_func" >&5
19776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19777 if eval "test \"\${$as_ac_var+set}\" = set"; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 else
19780 if test x$gcc_no_link = xyes; then
19781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19783 { (exit 1); exit 1; }; }
19785 cat >conftest.$ac_ext <<_ACEOF
19786 /* confdefs.h. */
19787 _ACEOF
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19793 #define $ac_func innocuous_$ac_func
19795 /* System header to define __stub macros and hopefully few prototypes,
19796 which can conflict with char $ac_func (); below.
19797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19798 <limits.h> exists even on freestanding compilers. */
19800 #ifdef __STDC__
19801 # include <limits.h>
19802 #else
19803 # include <assert.h>
19804 #endif
19806 #undef $ac_func
19808 /* Override any gcc2 internal prototype to avoid an error. */
19809 #ifdef __cplusplus
19810 extern "C"
19812 #endif
19813 /* We use char because int might match the return type of a gcc2
19814 builtin and then its argument prototype would still apply. */
19815 char $ac_func ();
19816 /* The GNU C library defines this for functions which it implements
19817 to always fail with ENOSYS. Some functions are actually named
19818 something starting with __ and the normal name is an alias. */
19819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19820 choke me
19821 #else
19822 char (*f) () = $ac_func;
19823 #endif
19824 #ifdef __cplusplus
19826 #endif
19829 main ()
19831 return f != $ac_func;
19833 return 0;
19835 _ACEOF
19836 rm -f conftest.$ac_objext conftest$ac_exeext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19838 (eval $ac_link) 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } &&
19845 { ac_try='test -z "$ac_c_werror_flag"
19846 || test ! -s conftest.err'
19847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848 (eval $ac_try) 2>&5
19849 ac_status=$?
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; } &&
19852 { ac_try='test -s conftest$ac_exeext'
19853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854 (eval $ac_try) 2>&5
19855 ac_status=$?
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); }; }; then
19858 eval "$as_ac_var=yes"
19859 else
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19863 eval "$as_ac_var=no"
19865 rm -f conftest.err conftest.$ac_objext \
19866 conftest$ac_exeext conftest.$ac_ext
19868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19870 if test `eval echo '${'$as_ac_var'}'` = yes; then
19871 cat >>confdefs.h <<_ACEOF
19872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19873 _ACEOF
19876 done
19886 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19887 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19888 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19889 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19895 ac_ext=cc
19896 ac_cpp='$CXXCPP $CPPFLAGS'
19897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19901 cat >conftest.$ac_ext <<_ACEOF
19902 /* confdefs.h. */
19903 _ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 #include <math.h>
19908 #ifdef HAVE_IEEEFP_H
19909 #include <ieeefp.h>
19910 #endif
19913 main ()
19915 isinfl(0);
19917 return 0;
19919 _ACEOF
19920 rm -f conftest.$ac_objext
19921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19922 (eval $ac_compile) 2>conftest.er1
19923 ac_status=$?
19924 grep -v '^ *+' conftest.er1 >conftest.err
19925 rm -f conftest.er1
19926 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } &&
19929 { ac_try='test -z "$ac_cxx_werror_flag"
19930 || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 glibcxx_cv_func_isinfl_use=yes
19943 else
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19947 glibcxx_cv_func_isinfl_use=no
19949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19950 ac_ext=c
19951 ac_cpp='$CPP $CPPFLAGS'
19952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19961 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19963 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19965 for ac_func in isinfl
19967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19968 echo "$as_me:$LINENO: checking for $ac_func" >&5
19969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19970 if eval "test \"\${$as_ac_var+set}\" = set"; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 else
19973 if test x$gcc_no_link = xyes; then
19974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19976 { (exit 1); exit 1; }; }
19978 cat >conftest.$ac_ext <<_ACEOF
19979 /* confdefs.h. */
19980 _ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19986 #define $ac_func innocuous_$ac_func
19988 /* System header to define __stub macros and hopefully few prototypes,
19989 which can conflict with char $ac_func (); below.
19990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19991 <limits.h> exists even on freestanding compilers. */
19993 #ifdef __STDC__
19994 # include <limits.h>
19995 #else
19996 # include <assert.h>
19997 #endif
19999 #undef $ac_func
20001 /* Override any gcc2 internal prototype to avoid an error. */
20002 #ifdef __cplusplus
20003 extern "C"
20005 #endif
20006 /* We use char because int might match the return type of a gcc2
20007 builtin and then its argument prototype would still apply. */
20008 char $ac_func ();
20009 /* The GNU C library defines this for functions which it implements
20010 to always fail with ENOSYS. Some functions are actually named
20011 something starting with __ and the normal name is an alias. */
20012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20013 choke me
20014 #else
20015 char (*f) () = $ac_func;
20016 #endif
20017 #ifdef __cplusplus
20019 #endif
20022 main ()
20024 return f != $ac_func;
20026 return 0;
20028 _ACEOF
20029 rm -f conftest.$ac_objext conftest$ac_exeext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20031 (eval $ac_link) 2>conftest.er1
20032 ac_status=$?
20033 grep -v '^ *+' conftest.er1 >conftest.err
20034 rm -f conftest.er1
20035 cat conftest.err >&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try='test -z "$ac_c_werror_flag"
20039 || test ! -s conftest.err'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20042 ac_status=$?
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; } &&
20045 { ac_try='test -s conftest$ac_exeext'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20048 ac_status=$?
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; }; then
20051 eval "$as_ac_var=yes"
20052 else
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20056 eval "$as_ac_var=no"
20058 rm -f conftest.err conftest.$ac_objext \
20059 conftest$ac_exeext conftest.$ac_ext
20061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20063 if test `eval echo '${'$as_ac_var'}'` = yes; then
20064 cat >>confdefs.h <<_ACEOF
20065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20066 _ACEOF
20069 done
20071 else
20073 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20074 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20075 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20076 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 else
20082 ac_ext=cc
20083 ac_cpp='$CXXCPP $CPPFLAGS'
20084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 #include <math.h>
20095 #ifdef HAVE_IEEEFP_H
20096 #include <ieeefp.h>
20097 #endif
20100 main ()
20102 _isinfl(0);
20104 return 0;
20106 _ACEOF
20107 rm -f conftest.$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } &&
20116 { ac_try='test -z "$ac_cxx_werror_flag"
20117 || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 glibcxx_cv_func__isinfl_use=yes
20130 else
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20134 glibcxx_cv_func__isinfl_use=no
20136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20137 ac_ext=c
20138 ac_cpp='$CPP $CPPFLAGS'
20139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20148 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20150 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20152 for ac_func in _isinfl
20154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20155 echo "$as_me:$LINENO: checking for $ac_func" >&5
20156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20157 if eval "test \"\${$as_ac_var+set}\" = set"; then
20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 else
20160 if test x$gcc_no_link = xyes; then
20161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20163 { (exit 1); exit 1; }; }
20165 cat >conftest.$ac_ext <<_ACEOF
20166 /* confdefs.h. */
20167 _ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20173 #define $ac_func innocuous_$ac_func
20175 /* System header to define __stub macros and hopefully few prototypes,
20176 which can conflict with char $ac_func (); below.
20177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20178 <limits.h> exists even on freestanding compilers. */
20180 #ifdef __STDC__
20181 # include <limits.h>
20182 #else
20183 # include <assert.h>
20184 #endif
20186 #undef $ac_func
20188 /* Override any gcc2 internal prototype to avoid an error. */
20189 #ifdef __cplusplus
20190 extern "C"
20192 #endif
20193 /* We use char because int might match the return type of a gcc2
20194 builtin and then its argument prototype would still apply. */
20195 char $ac_func ();
20196 /* The GNU C library defines this for functions which it implements
20197 to always fail with ENOSYS. Some functions are actually named
20198 something starting with __ and the normal name is an alias. */
20199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20200 choke me
20201 #else
20202 char (*f) () = $ac_func;
20203 #endif
20204 #ifdef __cplusplus
20206 #endif
20209 main ()
20211 return f != $ac_func;
20213 return 0;
20215 _ACEOF
20216 rm -f conftest.$ac_objext conftest$ac_exeext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20218 (eval $ac_link) 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -z "$ac_c_werror_flag"
20226 || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try='test -s conftest$ac_exeext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20235 ac_status=$?
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 eval "$as_ac_var=yes"
20239 else
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20243 eval "$as_ac_var=no"
20245 rm -f conftest.err conftest.$ac_objext \
20246 conftest$ac_exeext conftest.$ac_ext
20248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20250 if test `eval echo '${'$as_ac_var'}'` = yes; then
20251 cat >>confdefs.h <<_ACEOF
20252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20253 _ACEOF
20256 done
20266 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20267 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20268 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20269 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 else
20275 ac_ext=cc
20276 ac_cpp='$CXXCPP $CPPFLAGS'
20277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20281 cat >conftest.$ac_ext <<_ACEOF
20282 /* confdefs.h. */
20283 _ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287 #include <math.h>
20289 main ()
20291 copysignl(0, 0);
20293 return 0;
20295 _ACEOF
20296 rm -f conftest.$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20299 ac_status=$?
20300 grep -v '^ *+' conftest.er1 >conftest.err
20301 rm -f conftest.er1
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try='test -z "$ac_cxx_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 glibcxx_cv_func_copysignl_use=yes
20319 else
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.$ac_ext >&5
20323 glibcxx_cv_func_copysignl_use=no
20325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20326 ac_ext=c
20327 ac_cpp='$CPP $CPPFLAGS'
20328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20336 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20337 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20339 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20341 for ac_func in copysignl
20343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20344 echo "$as_me:$LINENO: checking for $ac_func" >&5
20345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20346 if eval "test \"\${$as_ac_var+set}\" = set"; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 else
20349 if test x$gcc_no_link = xyes; then
20350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20352 { (exit 1); exit 1; }; }
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20362 #define $ac_func innocuous_$ac_func
20364 /* System header to define __stub macros and hopefully few prototypes,
20365 which can conflict with char $ac_func (); below.
20366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20367 <limits.h> exists even on freestanding compilers. */
20369 #ifdef __STDC__
20370 # include <limits.h>
20371 #else
20372 # include <assert.h>
20373 #endif
20375 #undef $ac_func
20377 /* Override any gcc2 internal prototype to avoid an error. */
20378 #ifdef __cplusplus
20379 extern "C"
20381 #endif
20382 /* We use char because int might match the return type of a gcc2
20383 builtin and then its argument prototype would still apply. */
20384 char $ac_func ();
20385 /* The GNU C library defines this for functions which it implements
20386 to always fail with ENOSYS. Some functions are actually named
20387 something starting with __ and the normal name is an alias. */
20388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20389 choke me
20390 #else
20391 char (*f) () = $ac_func;
20392 #endif
20393 #ifdef __cplusplus
20395 #endif
20398 main ()
20400 return f != $ac_func;
20402 return 0;
20404 _ACEOF
20405 rm -f conftest.$ac_objext conftest$ac_exeext
20406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20407 (eval $ac_link) 2>conftest.er1
20408 ac_status=$?
20409 grep -v '^ *+' conftest.er1 >conftest.err
20410 rm -f conftest.er1
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } &&
20414 { ac_try='test -z "$ac_c_werror_flag"
20415 || test ! -s conftest.err'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20418 ac_status=$?
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; } &&
20421 { ac_try='test -s conftest$ac_exeext'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20424 ac_status=$?
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; }; then
20427 eval "$as_ac_var=yes"
20428 else
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.$ac_ext >&5
20432 eval "$as_ac_var=no"
20434 rm -f conftest.err conftest.$ac_objext \
20435 conftest$ac_exeext conftest.$ac_ext
20437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20439 if test `eval echo '${'$as_ac_var'}'` = yes; then
20440 cat >>confdefs.h <<_ACEOF
20441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20442 _ACEOF
20445 done
20447 else
20449 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20450 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20451 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20452 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 else
20458 ac_ext=cc
20459 ac_cpp='$CXXCPP $CPPFLAGS'
20460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20464 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */
20466 _ACEOF
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 #include <math.h>
20472 main ()
20474 _copysignl(0, 0);
20476 return 0;
20478 _ACEOF
20479 rm -f conftest.$ac_objext
20480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20481 (eval $ac_compile) 2>conftest.er1
20482 ac_status=$?
20483 grep -v '^ *+' conftest.er1 >conftest.err
20484 rm -f conftest.er1
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } &&
20488 { ac_try='test -z "$ac_cxx_werror_flag"
20489 || test ! -s conftest.err'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20492 ac_status=$?
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; } &&
20495 { ac_try='test -s conftest.$ac_objext'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20498 ac_status=$?
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; }; then
20501 glibcxx_cv_func__copysignl_use=yes
20502 else
20503 echo "$as_me: failed program was:" >&5
20504 sed 's/^/| /' conftest.$ac_ext >&5
20506 glibcxx_cv_func__copysignl_use=no
20508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20509 ac_ext=c
20510 ac_cpp='$CPP $CPPFLAGS'
20511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20520 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20522 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20524 for ac_func in _copysignl
20526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20527 echo "$as_me:$LINENO: checking for $ac_func" >&5
20528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20529 if eval "test \"\${$as_ac_var+set}\" = set"; then
20530 echo $ECHO_N "(cached) $ECHO_C" >&6
20531 else
20532 if test x$gcc_no_link = xyes; then
20533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20535 { (exit 1); exit 1; }; }
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20545 #define $ac_func innocuous_$ac_func
20547 /* System header to define __stub macros and hopefully few prototypes,
20548 which can conflict with char $ac_func (); below.
20549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20550 <limits.h> exists even on freestanding compilers. */
20552 #ifdef __STDC__
20553 # include <limits.h>
20554 #else
20555 # include <assert.h>
20556 #endif
20558 #undef $ac_func
20560 /* Override any gcc2 internal prototype to avoid an error. */
20561 #ifdef __cplusplus
20562 extern "C"
20564 #endif
20565 /* We use char because int might match the return type of a gcc2
20566 builtin and then its argument prototype would still apply. */
20567 char $ac_func ();
20568 /* The GNU C library defines this for functions which it implements
20569 to always fail with ENOSYS. Some functions are actually named
20570 something starting with __ and the normal name is an alias. */
20571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20572 choke me
20573 #else
20574 char (*f) () = $ac_func;
20575 #endif
20576 #ifdef __cplusplus
20578 #endif
20581 main ()
20583 return f != $ac_func;
20585 return 0;
20587 _ACEOF
20588 rm -f conftest.$ac_objext conftest$ac_exeext
20589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20590 (eval $ac_link) 2>conftest.er1
20591 ac_status=$?
20592 grep -v '^ *+' conftest.er1 >conftest.err
20593 rm -f conftest.er1
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } &&
20597 { ac_try='test -z "$ac_c_werror_flag"
20598 || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20601 ac_status=$?
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try='test -s conftest$ac_exeext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20607 ac_status=$?
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 eval "$as_ac_var=yes"
20611 else
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20615 eval "$as_ac_var=no"
20617 rm -f conftest.err conftest.$ac_objext \
20618 conftest$ac_exeext conftest.$ac_ext
20620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20622 if test `eval echo '${'$as_ac_var'}'` = yes; then
20623 cat >>confdefs.h <<_ACEOF
20624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20625 _ACEOF
20628 done
20638 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20639 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20640 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20641 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20643 else
20647 ac_ext=cc
20648 ac_cpp='$CXXCPP $CPPFLAGS'
20649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20653 cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h. */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 #include <math.h>
20661 main ()
20663 atan2l(0, 0);
20665 return 0;
20667 _ACEOF
20668 rm -f conftest.$ac_objext
20669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20670 (eval $ac_compile) 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } &&
20677 { ac_try='test -z "$ac_cxx_werror_flag"
20678 || test ! -s conftest.err'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20681 ac_status=$?
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; } &&
20684 { ac_try='test -s conftest.$ac_objext'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20687 ac_status=$?
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 glibcxx_cv_func_atan2l_use=yes
20691 else
20692 echo "$as_me: failed program was:" >&5
20693 sed 's/^/| /' conftest.$ac_ext >&5
20695 glibcxx_cv_func_atan2l_use=no
20697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20698 ac_ext=c
20699 ac_cpp='$CPP $CPPFLAGS'
20700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20709 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20711 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20713 for ac_func in atan2l
20715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20716 echo "$as_me:$LINENO: checking for $ac_func" >&5
20717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20718 if eval "test \"\${$as_ac_var+set}\" = set"; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 else
20721 if test x$gcc_no_link = xyes; then
20722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20724 { (exit 1); exit 1; }; }
20726 cat >conftest.$ac_ext <<_ACEOF
20727 /* confdefs.h. */
20728 _ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20734 #define $ac_func innocuous_$ac_func
20736 /* System header to define __stub macros and hopefully few prototypes,
20737 which can conflict with char $ac_func (); below.
20738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20739 <limits.h> exists even on freestanding compilers. */
20741 #ifdef __STDC__
20742 # include <limits.h>
20743 #else
20744 # include <assert.h>
20745 #endif
20747 #undef $ac_func
20749 /* Override any gcc2 internal prototype to avoid an error. */
20750 #ifdef __cplusplus
20751 extern "C"
20753 #endif
20754 /* We use char because int might match the return type of a gcc2
20755 builtin and then its argument prototype would still apply. */
20756 char $ac_func ();
20757 /* The GNU C library defines this for functions which it implements
20758 to always fail with ENOSYS. Some functions are actually named
20759 something starting with __ and the normal name is an alias. */
20760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20761 choke me
20762 #else
20763 char (*f) () = $ac_func;
20764 #endif
20765 #ifdef __cplusplus
20767 #endif
20770 main ()
20772 return f != $ac_func;
20774 return 0;
20776 _ACEOF
20777 rm -f conftest.$ac_objext conftest$ac_exeext
20778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20779 (eval $ac_link) 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try='test -z "$ac_c_werror_flag"
20787 || test ! -s conftest.err'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20790 ac_status=$?
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; } &&
20793 { ac_try='test -s conftest$ac_exeext'
20794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795 (eval $ac_try) 2>&5
20796 ac_status=$?
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); }; }; then
20799 eval "$as_ac_var=yes"
20800 else
20801 echo "$as_me: failed program was:" >&5
20802 sed 's/^/| /' conftest.$ac_ext >&5
20804 eval "$as_ac_var=no"
20806 rm -f conftest.err conftest.$ac_objext \
20807 conftest$ac_exeext conftest.$ac_ext
20809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20811 if test `eval echo '${'$as_ac_var'}'` = yes; then
20812 cat >>confdefs.h <<_ACEOF
20813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20814 _ACEOF
20817 done
20819 else
20821 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20822 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20823 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20824 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20826 else
20830 ac_ext=cc
20831 ac_cpp='$CXXCPP $CPPFLAGS'
20832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 #include <math.h>
20844 main ()
20846 _atan2l(0, 0);
20848 return 0;
20850 _ACEOF
20851 rm -f conftest.$ac_objext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20853 (eval $ac_compile) 2>conftest.er1
20854 ac_status=$?
20855 grep -v '^ *+' conftest.er1 >conftest.err
20856 rm -f conftest.er1
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -z "$ac_cxx_werror_flag"
20861 || test ! -s conftest.err'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; } &&
20867 { ac_try='test -s conftest.$ac_objext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20873 glibcxx_cv_func__atan2l_use=yes
20874 else
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.$ac_ext >&5
20878 glibcxx_cv_func__atan2l_use=no
20880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20881 ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20892 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20894 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20896 for ac_func in _atan2l
20898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20899 echo "$as_me:$LINENO: checking for $ac_func" >&5
20900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20901 if eval "test \"\${$as_ac_var+set}\" = set"; then
20902 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 else
20904 if test x$gcc_no_link = xyes; then
20905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20907 { (exit 1); exit 1; }; }
20909 cat >conftest.$ac_ext <<_ACEOF
20910 /* confdefs.h. */
20911 _ACEOF
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20917 #define $ac_func innocuous_$ac_func
20919 /* System header to define __stub macros and hopefully few prototypes,
20920 which can conflict with char $ac_func (); below.
20921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20922 <limits.h> exists even on freestanding compilers. */
20924 #ifdef __STDC__
20925 # include <limits.h>
20926 #else
20927 # include <assert.h>
20928 #endif
20930 #undef $ac_func
20932 /* Override any gcc2 internal prototype to avoid an error. */
20933 #ifdef __cplusplus
20934 extern "C"
20936 #endif
20937 /* We use char because int might match the return type of a gcc2
20938 builtin and then its argument prototype would still apply. */
20939 char $ac_func ();
20940 /* The GNU C library defines this for functions which it implements
20941 to always fail with ENOSYS. Some functions are actually named
20942 something starting with __ and the normal name is an alias. */
20943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20944 choke me
20945 #else
20946 char (*f) () = $ac_func;
20947 #endif
20948 #ifdef __cplusplus
20950 #endif
20953 main ()
20955 return f != $ac_func;
20957 return 0;
20959 _ACEOF
20960 rm -f conftest.$ac_objext conftest$ac_exeext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20962 (eval $ac_link) 2>conftest.er1
20963 ac_status=$?
20964 grep -v '^ *+' conftest.er1 >conftest.err
20965 rm -f conftest.er1
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } &&
20969 { ac_try='test -z "$ac_c_werror_flag"
20970 || test ! -s conftest.err'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; } &&
20976 { ac_try='test -s conftest$ac_exeext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20979 ac_status=$?
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20982 eval "$as_ac_var=yes"
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 eval "$as_ac_var=no"
20989 rm -f conftest.err conftest.$ac_objext \
20990 conftest$ac_exeext conftest.$ac_ext
20992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20994 if test `eval echo '${'$as_ac_var'}'` = yes; then
20995 cat >>confdefs.h <<_ACEOF
20996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20997 _ACEOF
21000 done
21010 echo "$as_me:$LINENO: checking for expl declaration" >&5
21011 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21012 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21013 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 else
21019 ac_ext=cc
21020 ac_cpp='$CXXCPP $CPPFLAGS'
21021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21025 cat >conftest.$ac_ext <<_ACEOF
21026 /* confdefs.h. */
21027 _ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #include <math.h>
21032 #ifdef HAVE_IEEEFP_H
21033 #include <ieeefp.h>
21034 #endif
21037 main ()
21039 expl(0);
21041 return 0;
21043 _ACEOF
21044 rm -f conftest.$ac_objext
21045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046 (eval $ac_compile) 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try='test -z "$ac_cxx_werror_flag"
21054 || test ! -s conftest.err'
21055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21056 (eval $ac_try) 2>&5
21057 ac_status=$?
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); }; } &&
21060 { ac_try='test -s conftest.$ac_objext'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21063 ac_status=$?
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; }; then
21066 glibcxx_cv_func_expl_use=yes
21067 else
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.$ac_ext >&5
21071 glibcxx_cv_func_expl_use=no
21073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21074 ac_ext=c
21075 ac_cpp='$CPP $CPPFLAGS'
21076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21085 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21087 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21089 for ac_func in expl
21091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21092 echo "$as_me:$LINENO: checking for $ac_func" >&5
21093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21094 if eval "test \"\${$as_ac_var+set}\" = set"; then
21095 echo $ECHO_N "(cached) $ECHO_C" >&6
21096 else
21097 if test x$gcc_no_link = xyes; then
21098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21100 { (exit 1); exit 1; }; }
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21110 #define $ac_func innocuous_$ac_func
21112 /* System header to define __stub macros and hopefully few prototypes,
21113 which can conflict with char $ac_func (); below.
21114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21115 <limits.h> exists even on freestanding compilers. */
21117 #ifdef __STDC__
21118 # include <limits.h>
21119 #else
21120 # include <assert.h>
21121 #endif
21123 #undef $ac_func
21125 /* Override any gcc2 internal prototype to avoid an error. */
21126 #ifdef __cplusplus
21127 extern "C"
21129 #endif
21130 /* We use char because int might match the return type of a gcc2
21131 builtin and then its argument prototype would still apply. */
21132 char $ac_func ();
21133 /* The GNU C library defines this for functions which it implements
21134 to always fail with ENOSYS. Some functions are actually named
21135 something starting with __ and the normal name is an alias. */
21136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21137 choke me
21138 #else
21139 char (*f) () = $ac_func;
21140 #endif
21141 #ifdef __cplusplus
21143 #endif
21146 main ()
21148 return f != $ac_func;
21150 return 0;
21152 _ACEOF
21153 rm -f conftest.$ac_objext conftest$ac_exeext
21154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21155 (eval $ac_link) 2>conftest.er1
21156 ac_status=$?
21157 grep -v '^ *+' conftest.er1 >conftest.err
21158 rm -f conftest.er1
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } &&
21162 { ac_try='test -z "$ac_c_werror_flag"
21163 || test ! -s conftest.err'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21166 ac_status=$?
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; } &&
21169 { ac_try='test -s conftest$ac_exeext'
21170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171 (eval $ac_try) 2>&5
21172 ac_status=$?
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21175 eval "$as_ac_var=yes"
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21180 eval "$as_ac_var=no"
21182 rm -f conftest.err conftest.$ac_objext \
21183 conftest$ac_exeext conftest.$ac_ext
21185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21187 if test `eval echo '${'$as_ac_var'}'` = yes; then
21188 cat >>confdefs.h <<_ACEOF
21189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21190 _ACEOF
21193 done
21195 else
21197 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21198 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21199 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21200 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 else
21206 ac_ext=cc
21207 ac_cpp='$CXXCPP $CPPFLAGS'
21208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21212 cat >conftest.$ac_ext <<_ACEOF
21213 /* confdefs.h. */
21214 _ACEOF
21215 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21218 #include <math.h>
21219 #ifdef HAVE_IEEEFP_H
21220 #include <ieeefp.h>
21221 #endif
21224 main ()
21226 _expl(0);
21228 return 0;
21230 _ACEOF
21231 rm -f conftest.$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try='test -z "$ac_cxx_werror_flag"
21241 || test ! -s conftest.err'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; } &&
21247 { ac_try='test -s conftest.$ac_objext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21250 ac_status=$?
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 glibcxx_cv_func__expl_use=yes
21254 else
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 glibcxx_cv_func__expl_use=no
21260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21261 ac_ext=c
21262 ac_cpp='$CPP $CPPFLAGS'
21263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21272 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21274 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21276 for ac_func in _expl
21278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21279 echo "$as_me:$LINENO: checking for $ac_func" >&5
21280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21281 if eval "test \"\${$as_ac_var+set}\" = set"; then
21282 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 else
21284 if test x$gcc_no_link = xyes; then
21285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21287 { (exit 1); exit 1; }; }
21289 cat >conftest.$ac_ext <<_ACEOF
21290 /* confdefs.h. */
21291 _ACEOF
21292 cat confdefs.h >>conftest.$ac_ext
21293 cat >>conftest.$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21297 #define $ac_func innocuous_$ac_func
21299 /* System header to define __stub macros and hopefully few prototypes,
21300 which can conflict with char $ac_func (); below.
21301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21302 <limits.h> exists even on freestanding compilers. */
21304 #ifdef __STDC__
21305 # include <limits.h>
21306 #else
21307 # include <assert.h>
21308 #endif
21310 #undef $ac_func
21312 /* Override any gcc2 internal prototype to avoid an error. */
21313 #ifdef __cplusplus
21314 extern "C"
21316 #endif
21317 /* We use char because int might match the return type of a gcc2
21318 builtin and then its argument prototype would still apply. */
21319 char $ac_func ();
21320 /* The GNU C library defines this for functions which it implements
21321 to always fail with ENOSYS. Some functions are actually named
21322 something starting with __ and the normal name is an alias. */
21323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21324 choke me
21325 #else
21326 char (*f) () = $ac_func;
21327 #endif
21328 #ifdef __cplusplus
21330 #endif
21333 main ()
21335 return f != $ac_func;
21337 return 0;
21339 _ACEOF
21340 rm -f conftest.$ac_objext conftest$ac_exeext
21341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21342 (eval $ac_link) 2>conftest.er1
21343 ac_status=$?
21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try='test -z "$ac_c_werror_flag"
21350 || test ! -s conftest.err'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21353 ac_status=$?
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; } &&
21356 { ac_try='test -s conftest$ac_exeext'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21359 ac_status=$?
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; }; then
21362 eval "$as_ac_var=yes"
21363 else
21364 echo "$as_me: failed program was:" >&5
21365 sed 's/^/| /' conftest.$ac_ext >&5
21367 eval "$as_ac_var=no"
21369 rm -f conftest.err conftest.$ac_objext \
21370 conftest$ac_exeext conftest.$ac_ext
21372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21374 if test `eval echo '${'$as_ac_var'}'` = yes; then
21375 cat >>confdefs.h <<_ACEOF
21376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21377 _ACEOF
21380 done
21390 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21391 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21392 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21393 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 else
21399 ac_ext=cc
21400 ac_cpp='$CXXCPP $CPPFLAGS'
21401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21405 cat >conftest.$ac_ext <<_ACEOF
21406 /* confdefs.h. */
21407 _ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21411 #include <math.h>
21412 #ifdef HAVE_IEEEFP_H
21413 #include <ieeefp.h>
21414 #endif
21417 main ()
21419 fabsl(0);
21421 return 0;
21423 _ACEOF
21424 rm -f conftest.$ac_objext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21426 (eval $ac_compile) 2>conftest.er1
21427 ac_status=$?
21428 grep -v '^ *+' conftest.er1 >conftest.err
21429 rm -f conftest.er1
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } &&
21433 { ac_try='test -z "$ac_cxx_werror_flag"
21434 || test ! -s conftest.err'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21437 ac_status=$?
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; } &&
21440 { ac_try='test -s conftest.$ac_objext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21443 ac_status=$?
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21446 glibcxx_cv_func_fabsl_use=yes
21447 else
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21451 glibcxx_cv_func_fabsl_use=no
21453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21454 ac_ext=c
21455 ac_cpp='$CPP $CPPFLAGS'
21456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21465 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21467 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21469 for ac_func in fabsl
21471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21472 echo "$as_me:$LINENO: checking for $ac_func" >&5
21473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21474 if eval "test \"\${$as_ac_var+set}\" = set"; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 else
21477 if test x$gcc_no_link = xyes; then
21478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21480 { (exit 1); exit 1; }; }
21482 cat >conftest.$ac_ext <<_ACEOF
21483 /* confdefs.h. */
21484 _ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21490 #define $ac_func innocuous_$ac_func
21492 /* System header to define __stub macros and hopefully few prototypes,
21493 which can conflict with char $ac_func (); below.
21494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21495 <limits.h> exists even on freestanding compilers. */
21497 #ifdef __STDC__
21498 # include <limits.h>
21499 #else
21500 # include <assert.h>
21501 #endif
21503 #undef $ac_func
21505 /* Override any gcc2 internal prototype to avoid an error. */
21506 #ifdef __cplusplus
21507 extern "C"
21509 #endif
21510 /* We use char because int might match the return type of a gcc2
21511 builtin and then its argument prototype would still apply. */
21512 char $ac_func ();
21513 /* The GNU C library defines this for functions which it implements
21514 to always fail with ENOSYS. Some functions are actually named
21515 something starting with __ and the normal name is an alias. */
21516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21517 choke me
21518 #else
21519 char (*f) () = $ac_func;
21520 #endif
21521 #ifdef __cplusplus
21523 #endif
21526 main ()
21528 return f != $ac_func;
21530 return 0;
21532 _ACEOF
21533 rm -f conftest.$ac_objext conftest$ac_exeext
21534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21535 (eval $ac_link) 2>conftest.er1
21536 ac_status=$?
21537 grep -v '^ *+' conftest.er1 >conftest.err
21538 rm -f conftest.er1
21539 cat conftest.err >&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try='test -z "$ac_c_werror_flag"
21543 || test ! -s conftest.err'
21544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21545 (eval $ac_try) 2>&5
21546 ac_status=$?
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); }; } &&
21549 { ac_try='test -s conftest$ac_exeext'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 eval "$as_ac_var=yes"
21556 else
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21560 eval "$as_ac_var=no"
21562 rm -f conftest.err conftest.$ac_objext \
21563 conftest$ac_exeext conftest.$ac_ext
21565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21567 if test `eval echo '${'$as_ac_var'}'` = yes; then
21568 cat >>confdefs.h <<_ACEOF
21569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 _ACEOF
21573 done
21575 else
21577 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21578 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21579 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21580 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21586 ac_ext=cc
21587 ac_cpp='$CXXCPP $CPPFLAGS'
21588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21592 cat >conftest.$ac_ext <<_ACEOF
21593 /* confdefs.h. */
21594 _ACEOF
21595 cat confdefs.h >>conftest.$ac_ext
21596 cat >>conftest.$ac_ext <<_ACEOF
21597 /* end confdefs.h. */
21598 #include <math.h>
21599 #ifdef HAVE_IEEEFP_H
21600 #include <ieeefp.h>
21601 #endif
21604 main ()
21606 _fabsl(0);
21608 return 0;
21610 _ACEOF
21611 rm -f conftest.$ac_objext
21612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21613 (eval $ac_compile) 2>conftest.er1
21614 ac_status=$?
21615 grep -v '^ *+' conftest.er1 >conftest.err
21616 rm -f conftest.er1
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } &&
21620 { ac_try='test -z "$ac_cxx_werror_flag"
21621 || test ! -s conftest.err'
21622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 (eval $ac_try) 2>&5
21624 ac_status=$?
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); }; } &&
21627 { ac_try='test -s conftest.$ac_objext'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21630 ac_status=$?
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; }; then
21633 glibcxx_cv_func__fabsl_use=yes
21634 else
21635 echo "$as_me: failed program was:" >&5
21636 sed 's/^/| /' conftest.$ac_ext >&5
21638 glibcxx_cv_func__fabsl_use=no
21640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21641 ac_ext=c
21642 ac_cpp='$CPP $CPPFLAGS'
21643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21652 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21654 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21656 for ac_func in _fabsl
21658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21659 echo "$as_me:$LINENO: checking for $ac_func" >&5
21660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21661 if eval "test \"\${$as_ac_var+set}\" = set"; then
21662 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 else
21664 if test x$gcc_no_link = xyes; then
21665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21667 { (exit 1); exit 1; }; }
21669 cat >conftest.$ac_ext <<_ACEOF
21670 /* confdefs.h. */
21671 _ACEOF
21672 cat confdefs.h >>conftest.$ac_ext
21673 cat >>conftest.$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21677 #define $ac_func innocuous_$ac_func
21679 /* System header to define __stub macros and hopefully few prototypes,
21680 which can conflict with char $ac_func (); below.
21681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21682 <limits.h> exists even on freestanding compilers. */
21684 #ifdef __STDC__
21685 # include <limits.h>
21686 #else
21687 # include <assert.h>
21688 #endif
21690 #undef $ac_func
21692 /* Override any gcc2 internal prototype to avoid an error. */
21693 #ifdef __cplusplus
21694 extern "C"
21696 #endif
21697 /* We use char because int might match the return type of a gcc2
21698 builtin and then its argument prototype would still apply. */
21699 char $ac_func ();
21700 /* The GNU C library defines this for functions which it implements
21701 to always fail with ENOSYS. Some functions are actually named
21702 something starting with __ and the normal name is an alias. */
21703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21704 choke me
21705 #else
21706 char (*f) () = $ac_func;
21707 #endif
21708 #ifdef __cplusplus
21710 #endif
21713 main ()
21715 return f != $ac_func;
21717 return 0;
21719 _ACEOF
21720 rm -f conftest.$ac_objext conftest$ac_exeext
21721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21722 (eval $ac_link) 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag"
21730 || test ! -s conftest.err'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; } &&
21736 { ac_try='test -s conftest$ac_exeext'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; }; then
21742 eval "$as_ac_var=yes"
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21747 eval "$as_ac_var=no"
21749 rm -f conftest.err conftest.$ac_objext \
21750 conftest$ac_exeext conftest.$ac_ext
21752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21754 if test `eval echo '${'$as_ac_var'}'` = yes; then
21755 cat >>confdefs.h <<_ACEOF
21756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21757 _ACEOF
21760 done
21770 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21771 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21772 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21773 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21774 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 else
21779 ac_ext=cc
21780 ac_cpp='$CXXCPP $CPPFLAGS'
21781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 #include <math.h>
21793 main ()
21795 fmodl(0, 0);
21797 return 0;
21799 _ACEOF
21800 rm -f conftest.$ac_objext
21801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21802 (eval $ac_compile) 2>conftest.er1
21803 ac_status=$?
21804 grep -v '^ *+' conftest.er1 >conftest.err
21805 rm -f conftest.er1
21806 cat conftest.err >&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); } &&
21809 { ac_try='test -z "$ac_cxx_werror_flag"
21810 || test ! -s conftest.err'
21811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 (eval $ac_try) 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; } &&
21816 { ac_try='test -s conftest.$ac_objext'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21819 ac_status=$?
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; }; then
21822 glibcxx_cv_func_fmodl_use=yes
21823 else
21824 echo "$as_me: failed program was:" >&5
21825 sed 's/^/| /' conftest.$ac_ext >&5
21827 glibcxx_cv_func_fmodl_use=no
21829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21830 ac_ext=c
21831 ac_cpp='$CPP $CPPFLAGS'
21832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21841 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21843 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21845 for ac_func in fmodl
21847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21848 echo "$as_me:$LINENO: checking for $ac_func" >&5
21849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21850 if eval "test \"\${$as_ac_var+set}\" = set"; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 else
21853 if test x$gcc_no_link = xyes; then
21854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21856 { (exit 1); exit 1; }; }
21858 cat >conftest.$ac_ext <<_ACEOF
21859 /* confdefs.h. */
21860 _ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21866 #define $ac_func innocuous_$ac_func
21868 /* System header to define __stub macros and hopefully few prototypes,
21869 which can conflict with char $ac_func (); below.
21870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21871 <limits.h> exists even on freestanding compilers. */
21873 #ifdef __STDC__
21874 # include <limits.h>
21875 #else
21876 # include <assert.h>
21877 #endif
21879 #undef $ac_func
21881 /* Override any gcc2 internal prototype to avoid an error. */
21882 #ifdef __cplusplus
21883 extern "C"
21885 #endif
21886 /* We use char because int might match the return type of a gcc2
21887 builtin and then its argument prototype would still apply. */
21888 char $ac_func ();
21889 /* The GNU C library defines this for functions which it implements
21890 to always fail with ENOSYS. Some functions are actually named
21891 something starting with __ and the normal name is an alias. */
21892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21893 choke me
21894 #else
21895 char (*f) () = $ac_func;
21896 #endif
21897 #ifdef __cplusplus
21899 #endif
21902 main ()
21904 return f != $ac_func;
21906 return 0;
21908 _ACEOF
21909 rm -f conftest.$ac_objext conftest$ac_exeext
21910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21911 (eval $ac_link) 2>conftest.er1
21912 ac_status=$?
21913 grep -v '^ *+' conftest.er1 >conftest.err
21914 rm -f conftest.er1
21915 cat conftest.err >&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try='test -z "$ac_c_werror_flag"
21919 || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try='test -s conftest$ac_exeext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21928 ac_status=$?
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21931 eval "$as_ac_var=yes"
21932 else
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21936 eval "$as_ac_var=no"
21938 rm -f conftest.err conftest.$ac_objext \
21939 conftest$ac_exeext conftest.$ac_ext
21941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21943 if test `eval echo '${'$as_ac_var'}'` = yes; then
21944 cat >>confdefs.h <<_ACEOF
21945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21946 _ACEOF
21949 done
21951 else
21953 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21954 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21955 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21956 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21957 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 else
21962 ac_ext=cc
21963 ac_cpp='$CXXCPP $CPPFLAGS'
21964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21968 cat >conftest.$ac_ext <<_ACEOF
21969 /* confdefs.h. */
21970 _ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974 #include <math.h>
21976 main ()
21978 _fmodl(0, 0);
21980 return 0;
21982 _ACEOF
21983 rm -f conftest.$ac_objext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21985 (eval $ac_compile) 2>conftest.er1
21986 ac_status=$?
21987 grep -v '^ *+' conftest.er1 >conftest.err
21988 rm -f conftest.er1
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -z "$ac_cxx_werror_flag"
21993 || test ! -s conftest.err'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21996 ac_status=$?
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; } &&
21999 { ac_try='test -s conftest.$ac_objext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22002 ac_status=$?
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 glibcxx_cv_func__fmodl_use=yes
22006 else
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22010 glibcxx_cv_func__fmodl_use=no
22012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22013 ac_ext=c
22014 ac_cpp='$CPP $CPPFLAGS'
22015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22024 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22026 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22028 for ac_func in _fmodl
22030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22031 echo "$as_me:$LINENO: checking for $ac_func" >&5
22032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22033 if eval "test \"\${$as_ac_var+set}\" = set"; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 else
22036 if test x$gcc_no_link = xyes; then
22037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22039 { (exit 1); exit 1; }; }
22041 cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22049 #define $ac_func innocuous_$ac_func
22051 /* System header to define __stub macros and hopefully few prototypes,
22052 which can conflict with char $ac_func (); below.
22053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22054 <limits.h> exists even on freestanding compilers. */
22056 #ifdef __STDC__
22057 # include <limits.h>
22058 #else
22059 # include <assert.h>
22060 #endif
22062 #undef $ac_func
22064 /* Override any gcc2 internal prototype to avoid an error. */
22065 #ifdef __cplusplus
22066 extern "C"
22068 #endif
22069 /* We use char because int might match the return type of a gcc2
22070 builtin and then its argument prototype would still apply. */
22071 char $ac_func ();
22072 /* The GNU C library defines this for functions which it implements
22073 to always fail with ENOSYS. Some functions are actually named
22074 something starting with __ and the normal name is an alias. */
22075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22076 choke me
22077 #else
22078 char (*f) () = $ac_func;
22079 #endif
22080 #ifdef __cplusplus
22082 #endif
22085 main ()
22087 return f != $ac_func;
22089 return 0;
22091 _ACEOF
22092 rm -f conftest.$ac_objext conftest$ac_exeext
22093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22094 (eval $ac_link) 2>conftest.er1
22095 ac_status=$?
22096 grep -v '^ *+' conftest.er1 >conftest.err
22097 rm -f conftest.er1
22098 cat conftest.err >&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
22101 { ac_try='test -z "$ac_c_werror_flag"
22102 || test ! -s conftest.err'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; } &&
22108 { ac_try='test -s conftest$ac_exeext'
22109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110 (eval $ac_try) 2>&5
22111 ac_status=$?
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; }; then
22114 eval "$as_ac_var=yes"
22115 else
22116 echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22119 eval "$as_ac_var=no"
22121 rm -f conftest.err conftest.$ac_objext \
22122 conftest$ac_exeext conftest.$ac_ext
22124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22126 if test `eval echo '${'$as_ac_var'}'` = yes; then
22127 cat >>confdefs.h <<_ACEOF
22128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22129 _ACEOF
22132 done
22142 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22143 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22144 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22145 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22151 ac_ext=cc
22152 ac_cpp='$CXXCPP $CPPFLAGS'
22153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157 cat >conftest.$ac_ext <<_ACEOF
22158 /* confdefs.h. */
22159 _ACEOF
22160 cat confdefs.h >>conftest.$ac_ext
22161 cat >>conftest.$ac_ext <<_ACEOF
22162 /* end confdefs.h. */
22163 #include <math.h>
22165 main ()
22167 frexpl(0, 0);
22169 return 0;
22171 _ACEOF
22172 rm -f conftest.$ac_objext
22173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22174 (eval $ac_compile) 2>conftest.er1
22175 ac_status=$?
22176 grep -v '^ *+' conftest.er1 >conftest.err
22177 rm -f conftest.er1
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try='test -z "$ac_cxx_werror_flag"
22182 || test ! -s conftest.err'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22185 ac_status=$?
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; } &&
22188 { ac_try='test -s conftest.$ac_objext'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 glibcxx_cv_func_frexpl_use=yes
22195 else
22196 echo "$as_me: failed program was:" >&5
22197 sed 's/^/| /' conftest.$ac_ext >&5
22199 glibcxx_cv_func_frexpl_use=no
22201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22202 ac_ext=c
22203 ac_cpp='$CPP $CPPFLAGS'
22204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22213 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22215 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22217 for ac_func in frexpl
22219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22220 echo "$as_me:$LINENO: checking for $ac_func" >&5
22221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22222 if eval "test \"\${$as_ac_var+set}\" = set"; then
22223 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 else
22225 if test x$gcc_no_link = xyes; then
22226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22228 { (exit 1); exit 1; }; }
22230 cat >conftest.$ac_ext <<_ACEOF
22231 /* confdefs.h. */
22232 _ACEOF
22233 cat confdefs.h >>conftest.$ac_ext
22234 cat >>conftest.$ac_ext <<_ACEOF
22235 /* end confdefs.h. */
22236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22238 #define $ac_func innocuous_$ac_func
22240 /* System header to define __stub macros and hopefully few prototypes,
22241 which can conflict with char $ac_func (); below.
22242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22243 <limits.h> exists even on freestanding compilers. */
22245 #ifdef __STDC__
22246 # include <limits.h>
22247 #else
22248 # include <assert.h>
22249 #endif
22251 #undef $ac_func
22253 /* Override any gcc2 internal prototype to avoid an error. */
22254 #ifdef __cplusplus
22255 extern "C"
22257 #endif
22258 /* We use char because int might match the return type of a gcc2
22259 builtin and then its argument prototype would still apply. */
22260 char $ac_func ();
22261 /* The GNU C library defines this for functions which it implements
22262 to always fail with ENOSYS. Some functions are actually named
22263 something starting with __ and the normal name is an alias. */
22264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22265 choke me
22266 #else
22267 char (*f) () = $ac_func;
22268 #endif
22269 #ifdef __cplusplus
22271 #endif
22274 main ()
22276 return f != $ac_func;
22278 return 0;
22280 _ACEOF
22281 rm -f conftest.$ac_objext conftest$ac_exeext
22282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22283 (eval $ac_link) 2>conftest.er1
22284 ac_status=$?
22285 grep -v '^ *+' conftest.er1 >conftest.err
22286 rm -f conftest.er1
22287 cat conftest.err >&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } &&
22290 { ac_try='test -z "$ac_c_werror_flag"
22291 || test ! -s conftest.err'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22294 ac_status=$?
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; } &&
22297 { ac_try='test -s conftest$ac_exeext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 eval "$as_ac_var=yes"
22304 else
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22308 eval "$as_ac_var=no"
22310 rm -f conftest.err conftest.$ac_objext \
22311 conftest$ac_exeext conftest.$ac_ext
22313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22315 if test `eval echo '${'$as_ac_var'}'` = yes; then
22316 cat >>confdefs.h <<_ACEOF
22317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22318 _ACEOF
22321 done
22323 else
22325 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22326 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22327 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22328 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 else
22334 ac_ext=cc
22335 ac_cpp='$CXXCPP $CPPFLAGS'
22336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22340 cat >conftest.$ac_ext <<_ACEOF
22341 /* confdefs.h. */
22342 _ACEOF
22343 cat confdefs.h >>conftest.$ac_ext
22344 cat >>conftest.$ac_ext <<_ACEOF
22345 /* end confdefs.h. */
22346 #include <math.h>
22348 main ()
22350 _frexpl(0, 0);
22352 return 0;
22354 _ACEOF
22355 rm -f conftest.$ac_objext
22356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22357 (eval $ac_compile) 2>conftest.er1
22358 ac_status=$?
22359 grep -v '^ *+' conftest.er1 >conftest.err
22360 rm -f conftest.er1
22361 cat conftest.err >&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } &&
22364 { ac_try='test -z "$ac_cxx_werror_flag"
22365 || test ! -s conftest.err'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22368 ac_status=$?
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; } &&
22371 { ac_try='test -s conftest.$ac_objext'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22374 ac_status=$?
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; }; then
22377 glibcxx_cv_func__frexpl_use=yes
22378 else
22379 echo "$as_me: failed program was:" >&5
22380 sed 's/^/| /' conftest.$ac_ext >&5
22382 glibcxx_cv_func__frexpl_use=no
22384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22385 ac_ext=c
22386 ac_cpp='$CPP $CPPFLAGS'
22387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22396 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22398 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22400 for ac_func in _frexpl
22402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22403 echo "$as_me:$LINENO: checking for $ac_func" >&5
22404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22405 if eval "test \"\${$as_ac_var+set}\" = set"; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22407 else
22408 if test x$gcc_no_link = xyes; then
22409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22411 { (exit 1); exit 1; }; }
22413 cat >conftest.$ac_ext <<_ACEOF
22414 /* confdefs.h. */
22415 _ACEOF
22416 cat confdefs.h >>conftest.$ac_ext
22417 cat >>conftest.$ac_ext <<_ACEOF
22418 /* end confdefs.h. */
22419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22421 #define $ac_func innocuous_$ac_func
22423 /* System header to define __stub macros and hopefully few prototypes,
22424 which can conflict with char $ac_func (); below.
22425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22426 <limits.h> exists even on freestanding compilers. */
22428 #ifdef __STDC__
22429 # include <limits.h>
22430 #else
22431 # include <assert.h>
22432 #endif
22434 #undef $ac_func
22436 /* Override any gcc2 internal prototype to avoid an error. */
22437 #ifdef __cplusplus
22438 extern "C"
22440 #endif
22441 /* We use char because int might match the return type of a gcc2
22442 builtin and then its argument prototype would still apply. */
22443 char $ac_func ();
22444 /* The GNU C library defines this for functions which it implements
22445 to always fail with ENOSYS. Some functions are actually named
22446 something starting with __ and the normal name is an alias. */
22447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22448 choke me
22449 #else
22450 char (*f) () = $ac_func;
22451 #endif
22452 #ifdef __cplusplus
22454 #endif
22457 main ()
22459 return f != $ac_func;
22461 return 0;
22463 _ACEOF
22464 rm -f conftest.$ac_objext conftest$ac_exeext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22466 (eval $ac_link) 2>conftest.er1
22467 ac_status=$?
22468 grep -v '^ *+' conftest.er1 >conftest.err
22469 rm -f conftest.er1
22470 cat conftest.err >&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); } &&
22473 { ac_try='test -z "$ac_c_werror_flag"
22474 || test ! -s conftest.err'
22475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22476 (eval $ac_try) 2>&5
22477 ac_status=$?
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); }; } &&
22480 { ac_try='test -s conftest$ac_exeext'
22481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22482 (eval $ac_try) 2>&5
22483 ac_status=$?
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; }; then
22486 eval "$as_ac_var=yes"
22487 else
22488 echo "$as_me: failed program was:" >&5
22489 sed 's/^/| /' conftest.$ac_ext >&5
22491 eval "$as_ac_var=no"
22493 rm -f conftest.err conftest.$ac_objext \
22494 conftest$ac_exeext conftest.$ac_ext
22496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22498 if test `eval echo '${'$as_ac_var'}'` = yes; then
22499 cat >>confdefs.h <<_ACEOF
22500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22501 _ACEOF
22504 done
22514 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22515 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22516 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22517 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 else
22523 ac_ext=cc
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529 cat >conftest.$ac_ext <<_ACEOF
22530 /* confdefs.h. */
22531 _ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22535 #include <math.h>
22537 main ()
22539 hypotl(0, 0);
22541 return 0;
22543 _ACEOF
22544 rm -f conftest.$ac_objext
22545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22546 (eval $ac_compile) 2>conftest.er1
22547 ac_status=$?
22548 grep -v '^ *+' conftest.er1 >conftest.err
22549 rm -f conftest.er1
22550 cat conftest.err >&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } &&
22553 { ac_try='test -z "$ac_cxx_werror_flag"
22554 || test ! -s conftest.err'
22555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22556 (eval $ac_try) 2>&5
22557 ac_status=$?
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); }; } &&
22560 { ac_try='test -s conftest.$ac_objext'
22561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22562 (eval $ac_try) 2>&5
22563 ac_status=$?
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }; }; then
22566 glibcxx_cv_func_hypotl_use=yes
22567 else
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.$ac_ext >&5
22571 glibcxx_cv_func_hypotl_use=no
22573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22574 ac_ext=c
22575 ac_cpp='$CPP $CPPFLAGS'
22576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22585 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22587 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22589 for ac_func in hypotl
22591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22592 echo "$as_me:$LINENO: checking for $ac_func" >&5
22593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22594 if eval "test \"\${$as_ac_var+set}\" = set"; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22596 else
22597 if test x$gcc_no_link = xyes; then
22598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22600 { (exit 1); exit 1; }; }
22602 cat >conftest.$ac_ext <<_ACEOF
22603 /* confdefs.h. */
22604 _ACEOF
22605 cat confdefs.h >>conftest.$ac_ext
22606 cat >>conftest.$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22610 #define $ac_func innocuous_$ac_func
22612 /* System header to define __stub macros and hopefully few prototypes,
22613 which can conflict with char $ac_func (); below.
22614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22615 <limits.h> exists even on freestanding compilers. */
22617 #ifdef __STDC__
22618 # include <limits.h>
22619 #else
22620 # include <assert.h>
22621 #endif
22623 #undef $ac_func
22625 /* Override any gcc2 internal prototype to avoid an error. */
22626 #ifdef __cplusplus
22627 extern "C"
22629 #endif
22630 /* We use char because int might match the return type of a gcc2
22631 builtin and then its argument prototype would still apply. */
22632 char $ac_func ();
22633 /* The GNU C library defines this for functions which it implements
22634 to always fail with ENOSYS. Some functions are actually named
22635 something starting with __ and the normal name is an alias. */
22636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22637 choke me
22638 #else
22639 char (*f) () = $ac_func;
22640 #endif
22641 #ifdef __cplusplus
22643 #endif
22646 main ()
22648 return f != $ac_func;
22650 return 0;
22652 _ACEOF
22653 rm -f conftest.$ac_objext conftest$ac_exeext
22654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22655 (eval $ac_link) 2>conftest.er1
22656 ac_status=$?
22657 grep -v '^ *+' conftest.er1 >conftest.err
22658 rm -f conftest.er1
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } &&
22662 { ac_try='test -z "$ac_c_werror_flag"
22663 || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest$ac_exeext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 eval "$as_ac_var=yes"
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22680 eval "$as_ac_var=no"
22682 rm -f conftest.err conftest.$ac_objext \
22683 conftest$ac_exeext conftest.$ac_ext
22685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22687 if test `eval echo '${'$as_ac_var'}'` = yes; then
22688 cat >>confdefs.h <<_ACEOF
22689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22690 _ACEOF
22693 done
22695 else
22697 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22698 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22699 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22700 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22702 else
22706 ac_ext=cc
22707 ac_cpp='$CXXCPP $CPPFLAGS'
22708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 #include <math.h>
22720 main ()
22722 _hypotl(0, 0);
22724 return 0;
22726 _ACEOF
22727 rm -f conftest.$ac_objext
22728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22729 (eval $ac_compile) 2>conftest.er1
22730 ac_status=$?
22731 grep -v '^ *+' conftest.er1 >conftest.err
22732 rm -f conftest.er1
22733 cat conftest.err >&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try='test -z "$ac_cxx_werror_flag"
22737 || test ! -s conftest.err'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; } &&
22743 { ac_try='test -s conftest.$ac_objext'
22744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22745 (eval $ac_try) 2>&5
22746 ac_status=$?
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); }; }; then
22749 glibcxx_cv_func__hypotl_use=yes
22750 else
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.$ac_ext >&5
22754 glibcxx_cv_func__hypotl_use=no
22756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22757 ac_ext=c
22758 ac_cpp='$CPP $CPPFLAGS'
22759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22768 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22770 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22772 for ac_func in _hypotl
22774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22775 echo "$as_me:$LINENO: checking for $ac_func" >&5
22776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22777 if eval "test \"\${$as_ac_var+set}\" = set"; then
22778 echo $ECHO_N "(cached) $ECHO_C" >&6
22779 else
22780 if test x$gcc_no_link = xyes; then
22781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22783 { (exit 1); exit 1; }; }
22785 cat >conftest.$ac_ext <<_ACEOF
22786 /* confdefs.h. */
22787 _ACEOF
22788 cat confdefs.h >>conftest.$ac_ext
22789 cat >>conftest.$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22793 #define $ac_func innocuous_$ac_func
22795 /* System header to define __stub macros and hopefully few prototypes,
22796 which can conflict with char $ac_func (); below.
22797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22798 <limits.h> exists even on freestanding compilers. */
22800 #ifdef __STDC__
22801 # include <limits.h>
22802 #else
22803 # include <assert.h>
22804 #endif
22806 #undef $ac_func
22808 /* Override any gcc2 internal prototype to avoid an error. */
22809 #ifdef __cplusplus
22810 extern "C"
22812 #endif
22813 /* We use char because int might match the return type of a gcc2
22814 builtin and then its argument prototype would still apply. */
22815 char $ac_func ();
22816 /* The GNU C library defines this for functions which it implements
22817 to always fail with ENOSYS. Some functions are actually named
22818 something starting with __ and the normal name is an alias. */
22819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22820 choke me
22821 #else
22822 char (*f) () = $ac_func;
22823 #endif
22824 #ifdef __cplusplus
22826 #endif
22829 main ()
22831 return f != $ac_func;
22833 return 0;
22835 _ACEOF
22836 rm -f conftest.$ac_objext conftest$ac_exeext
22837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22838 (eval $ac_link) 2>conftest.er1
22839 ac_status=$?
22840 grep -v '^ *+' conftest.er1 >conftest.err
22841 rm -f conftest.er1
22842 cat conftest.err >&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } &&
22845 { ac_try='test -z "$ac_c_werror_flag"
22846 || test ! -s conftest.err'
22847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848 (eval $ac_try) 2>&5
22849 ac_status=$?
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; } &&
22852 { ac_try='test -s conftest$ac_exeext'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22855 ac_status=$?
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 eval "$as_ac_var=yes"
22859 else
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22863 eval "$as_ac_var=no"
22865 rm -f conftest.err conftest.$ac_objext \
22866 conftest$ac_exeext conftest.$ac_ext
22868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22870 if test `eval echo '${'$as_ac_var'}'` = yes; then
22871 cat >>confdefs.h <<_ACEOF
22872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22873 _ACEOF
22876 done
22886 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22887 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22888 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22889 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22891 else
22895 ac_ext=cc
22896 ac_cpp='$CXXCPP $CPPFLAGS'
22897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22901 cat >conftest.$ac_ext <<_ACEOF
22902 /* confdefs.h. */
22903 _ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22907 #include <math.h>
22909 main ()
22911 ldexpl(0, 0);
22913 return 0;
22915 _ACEOF
22916 rm -f conftest.$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_cxx_werror_flag"
22926 || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22929 ac_status=$?
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 glibcxx_cv_func_ldexpl_use=yes
22939 else
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22943 glibcxx_cv_func_ldexpl_use=no
22945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22946 ac_ext=c
22947 ac_cpp='$CPP $CPPFLAGS'
22948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22957 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22959 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22961 for ac_func in ldexpl
22963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22964 echo "$as_me:$LINENO: checking for $ac_func" >&5
22965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22966 if eval "test \"\${$as_ac_var+set}\" = set"; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22968 else
22969 if test x$gcc_no_link = xyes; then
22970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22972 { (exit 1); exit 1; }; }
22974 cat >conftest.$ac_ext <<_ACEOF
22975 /* confdefs.h. */
22976 _ACEOF
22977 cat confdefs.h >>conftest.$ac_ext
22978 cat >>conftest.$ac_ext <<_ACEOF
22979 /* end confdefs.h. */
22980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22982 #define $ac_func innocuous_$ac_func
22984 /* System header to define __stub macros and hopefully few prototypes,
22985 which can conflict with char $ac_func (); below.
22986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22987 <limits.h> exists even on freestanding compilers. */
22989 #ifdef __STDC__
22990 # include <limits.h>
22991 #else
22992 # include <assert.h>
22993 #endif
22995 #undef $ac_func
22997 /* Override any gcc2 internal prototype to avoid an error. */
22998 #ifdef __cplusplus
22999 extern "C"
23001 #endif
23002 /* We use char because int might match the return type of a gcc2
23003 builtin and then its argument prototype would still apply. */
23004 char $ac_func ();
23005 /* The GNU C library defines this for functions which it implements
23006 to always fail with ENOSYS. Some functions are actually named
23007 something starting with __ and the normal name is an alias. */
23008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23009 choke me
23010 #else
23011 char (*f) () = $ac_func;
23012 #endif
23013 #ifdef __cplusplus
23015 #endif
23018 main ()
23020 return f != $ac_func;
23022 return 0;
23024 _ACEOF
23025 rm -f conftest.$ac_objext conftest$ac_exeext
23026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23027 (eval $ac_link) 2>conftest.er1
23028 ac_status=$?
23029 grep -v '^ *+' conftest.er1 >conftest.err
23030 rm -f conftest.er1
23031 cat conftest.err >&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); } &&
23034 { ac_try='test -z "$ac_c_werror_flag"
23035 || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 eval "$as_ac_var=yes"
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23052 eval "$as_ac_var=no"
23054 rm -f conftest.err conftest.$ac_objext \
23055 conftest$ac_exeext conftest.$ac_ext
23057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23059 if test `eval echo '${'$as_ac_var'}'` = yes; then
23060 cat >>confdefs.h <<_ACEOF
23061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23062 _ACEOF
23065 done
23067 else
23069 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23070 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23071 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23072 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23074 else
23078 ac_ext=cc
23079 ac_cpp='$CXXCPP $CPPFLAGS'
23080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23084 cat >conftest.$ac_ext <<_ACEOF
23085 /* confdefs.h. */
23086 _ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23090 #include <math.h>
23092 main ()
23094 _ldexpl(0, 0);
23096 return 0;
23098 _ACEOF
23099 rm -f conftest.$ac_objext
23100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23101 (eval $ac_compile) 2>conftest.er1
23102 ac_status=$?
23103 grep -v '^ *+' conftest.er1 >conftest.err
23104 rm -f conftest.er1
23105 cat conftest.err >&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); } &&
23108 { ac_try='test -z "$ac_cxx_werror_flag"
23109 || test ! -s conftest.err'
23110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23111 (eval $ac_try) 2>&5
23112 ac_status=$?
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; } &&
23115 { ac_try='test -s conftest.$ac_objext'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23118 ac_status=$?
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; }; then
23121 glibcxx_cv_func__ldexpl_use=yes
23122 else
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.$ac_ext >&5
23126 glibcxx_cv_func__ldexpl_use=no
23128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23129 ac_ext=c
23130 ac_cpp='$CPP $CPPFLAGS'
23131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23140 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23142 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23144 for ac_func in _ldexpl
23146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23147 echo "$as_me:$LINENO: checking for $ac_func" >&5
23148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23149 if eval "test \"\${$as_ac_var+set}\" = set"; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23151 else
23152 if test x$gcc_no_link = xyes; then
23153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23155 { (exit 1); exit 1; }; }
23157 cat >conftest.$ac_ext <<_ACEOF
23158 /* confdefs.h. */
23159 _ACEOF
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23165 #define $ac_func innocuous_$ac_func
23167 /* System header to define __stub macros and hopefully few prototypes,
23168 which can conflict with char $ac_func (); below.
23169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23170 <limits.h> exists even on freestanding compilers. */
23172 #ifdef __STDC__
23173 # include <limits.h>
23174 #else
23175 # include <assert.h>
23176 #endif
23178 #undef $ac_func
23180 /* Override any gcc2 internal prototype to avoid an error. */
23181 #ifdef __cplusplus
23182 extern "C"
23184 #endif
23185 /* We use char because int might match the return type of a gcc2
23186 builtin and then its argument prototype would still apply. */
23187 char $ac_func ();
23188 /* The GNU C library defines this for functions which it implements
23189 to always fail with ENOSYS. Some functions are actually named
23190 something starting with __ and the normal name is an alias. */
23191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23192 choke me
23193 #else
23194 char (*f) () = $ac_func;
23195 #endif
23196 #ifdef __cplusplus
23198 #endif
23201 main ()
23203 return f != $ac_func;
23205 return 0;
23207 _ACEOF
23208 rm -f conftest.$ac_objext conftest$ac_exeext
23209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23210 (eval $ac_link) 2>conftest.er1
23211 ac_status=$?
23212 grep -v '^ *+' conftest.er1 >conftest.err
23213 rm -f conftest.er1
23214 cat conftest.err >&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try='test -z "$ac_c_werror_flag"
23218 || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 eval "$as_ac_var=yes"
23231 else
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23235 eval "$as_ac_var=no"
23237 rm -f conftest.err conftest.$ac_objext \
23238 conftest$ac_exeext conftest.$ac_ext
23240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23242 if test `eval echo '${'$as_ac_var'}'` = yes; then
23243 cat >>confdefs.h <<_ACEOF
23244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23245 _ACEOF
23248 done
23258 echo "$as_me:$LINENO: checking for logl declaration" >&5
23259 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23260 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23261 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23267 ac_ext=cc
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */
23275 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 #include <math.h>
23280 #ifdef HAVE_IEEEFP_H
23281 #include <ieeefp.h>
23282 #endif
23285 main ()
23287 logl(0);
23289 return 0;
23291 _ACEOF
23292 rm -f conftest.$ac_objext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23294 (eval $ac_compile) 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } &&
23301 { ac_try='test -z "$ac_cxx_werror_flag"
23302 || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try='test -s conftest.$ac_objext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23311 ac_status=$?
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314 glibcxx_cv_func_logl_use=yes
23315 else
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23319 glibcxx_cv_func_logl_use=no
23321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23322 ac_ext=c
23323 ac_cpp='$CPP $CPPFLAGS'
23324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23333 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23335 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23337 for ac_func in logl
23339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23340 echo "$as_me:$LINENO: checking for $ac_func" >&5
23341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23342 if eval "test \"\${$as_ac_var+set}\" = set"; then
23343 echo $ECHO_N "(cached) $ECHO_C" >&6
23344 else
23345 if test x$gcc_no_link = xyes; then
23346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23348 { (exit 1); exit 1; }; }
23350 cat >conftest.$ac_ext <<_ACEOF
23351 /* confdefs.h. */
23352 _ACEOF
23353 cat confdefs.h >>conftest.$ac_ext
23354 cat >>conftest.$ac_ext <<_ACEOF
23355 /* end confdefs.h. */
23356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23358 #define $ac_func innocuous_$ac_func
23360 /* System header to define __stub macros and hopefully few prototypes,
23361 which can conflict with char $ac_func (); below.
23362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23363 <limits.h> exists even on freestanding compilers. */
23365 #ifdef __STDC__
23366 # include <limits.h>
23367 #else
23368 # include <assert.h>
23369 #endif
23371 #undef $ac_func
23373 /* Override any gcc2 internal prototype to avoid an error. */
23374 #ifdef __cplusplus
23375 extern "C"
23377 #endif
23378 /* We use char because int might match the return type of a gcc2
23379 builtin and then its argument prototype would still apply. */
23380 char $ac_func ();
23381 /* The GNU C library defines this for functions which it implements
23382 to always fail with ENOSYS. Some functions are actually named
23383 something starting with __ and the normal name is an alias. */
23384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23385 choke me
23386 #else
23387 char (*f) () = $ac_func;
23388 #endif
23389 #ifdef __cplusplus
23391 #endif
23394 main ()
23396 return f != $ac_func;
23398 return 0;
23400 _ACEOF
23401 rm -f conftest.$ac_objext conftest$ac_exeext
23402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23403 (eval $ac_link) 2>conftest.er1
23404 ac_status=$?
23405 grep -v '^ *+' conftest.er1 >conftest.err
23406 rm -f conftest.er1
23407 cat conftest.err >&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); } &&
23410 { ac_try='test -z "$ac_c_werror_flag"
23411 || test ! -s conftest.err'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23414 ac_status=$?
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try='test -s conftest$ac_exeext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 eval "$as_ac_var=yes"
23424 else
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23428 eval "$as_ac_var=no"
23430 rm -f conftest.err conftest.$ac_objext \
23431 conftest$ac_exeext conftest.$ac_ext
23433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23435 if test `eval echo '${'$as_ac_var'}'` = yes; then
23436 cat >>confdefs.h <<_ACEOF
23437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23438 _ACEOF
23441 done
23443 else
23445 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23446 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23447 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23448 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 else
23454 ac_ext=cc
23455 ac_cpp='$CXXCPP $CPPFLAGS'
23456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23460 cat >conftest.$ac_ext <<_ACEOF
23461 /* confdefs.h. */
23462 _ACEOF
23463 cat confdefs.h >>conftest.$ac_ext
23464 cat >>conftest.$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 #include <math.h>
23467 #ifdef HAVE_IEEEFP_H
23468 #include <ieeefp.h>
23469 #endif
23472 main ()
23474 _logl(0);
23476 return 0;
23478 _ACEOF
23479 rm -f conftest.$ac_objext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23481 (eval $ac_compile) 2>conftest.er1
23482 ac_status=$?
23483 grep -v '^ *+' conftest.er1 >conftest.err
23484 rm -f conftest.er1
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try='test -z "$ac_cxx_werror_flag"
23489 || test ! -s conftest.err'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; } &&
23495 { ac_try='test -s conftest.$ac_objext'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 glibcxx_cv_func__logl_use=yes
23502 else
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23506 glibcxx_cv_func__logl_use=no
23508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23509 ac_ext=c
23510 ac_cpp='$CPP $CPPFLAGS'
23511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23520 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23522 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23524 for ac_func in _logl
23526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23527 echo "$as_me:$LINENO: checking for $ac_func" >&5
23528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23529 if eval "test \"\${$as_ac_var+set}\" = set"; then
23530 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 else
23532 if test x$gcc_no_link = xyes; then
23533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23535 { (exit 1); exit 1; }; }
23537 cat >conftest.$ac_ext <<_ACEOF
23538 /* confdefs.h. */
23539 _ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23545 #define $ac_func innocuous_$ac_func
23547 /* System header to define __stub macros and hopefully few prototypes,
23548 which can conflict with char $ac_func (); below.
23549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23550 <limits.h> exists even on freestanding compilers. */
23552 #ifdef __STDC__
23553 # include <limits.h>
23554 #else
23555 # include <assert.h>
23556 #endif
23558 #undef $ac_func
23560 /* Override any gcc2 internal prototype to avoid an error. */
23561 #ifdef __cplusplus
23562 extern "C"
23564 #endif
23565 /* We use char because int might match the return type of a gcc2
23566 builtin and then its argument prototype would still apply. */
23567 char $ac_func ();
23568 /* The GNU C library defines this for functions which it implements
23569 to always fail with ENOSYS. Some functions are actually named
23570 something starting with __ and the normal name is an alias. */
23571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23572 choke me
23573 #else
23574 char (*f) () = $ac_func;
23575 #endif
23576 #ifdef __cplusplus
23578 #endif
23581 main ()
23583 return f != $ac_func;
23585 return 0;
23587 _ACEOF
23588 rm -f conftest.$ac_objext conftest$ac_exeext
23589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23590 (eval $ac_link) 2>conftest.er1
23591 ac_status=$?
23592 grep -v '^ *+' conftest.er1 >conftest.err
23593 rm -f conftest.er1
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } &&
23597 { ac_try='test -z "$ac_c_werror_flag"
23598 || test ! -s conftest.err'
23599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23600 (eval $ac_try) 2>&5
23601 ac_status=$?
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); }; } &&
23604 { ac_try='test -s conftest$ac_exeext'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; }; then
23610 eval "$as_ac_var=yes"
23611 else
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23615 eval "$as_ac_var=no"
23617 rm -f conftest.err conftest.$ac_objext \
23618 conftest$ac_exeext conftest.$ac_ext
23620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23622 if test `eval echo '${'$as_ac_var'}'` = yes; then
23623 cat >>confdefs.h <<_ACEOF
23624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23625 _ACEOF
23628 done
23638 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23639 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23640 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23641 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23647 ac_ext=cc
23648 ac_cpp='$CXXCPP $CPPFLAGS'
23649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653 cat >conftest.$ac_ext <<_ACEOF
23654 /* confdefs.h. */
23655 _ACEOF
23656 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23659 #include <math.h>
23660 #ifdef HAVE_IEEEFP_H
23661 #include <ieeefp.h>
23662 #endif
23665 main ()
23667 log10l(0);
23669 return 0;
23671 _ACEOF
23672 rm -f conftest.$ac_objext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23674 (eval $ac_compile) 2>conftest.er1
23675 ac_status=$?
23676 grep -v '^ *+' conftest.er1 >conftest.err
23677 rm -f conftest.er1
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try='test -z "$ac_cxx_werror_flag"
23682 || test ! -s conftest.err'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23685 ac_status=$?
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; } &&
23688 { ac_try='test -s conftest.$ac_objext'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 glibcxx_cv_func_log10l_use=yes
23695 else
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23699 glibcxx_cv_func_log10l_use=no
23701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23702 ac_ext=c
23703 ac_cpp='$CPP $CPPFLAGS'
23704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23713 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23715 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23717 for ac_func in log10l
23719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23720 echo "$as_me:$LINENO: checking for $ac_func" >&5
23721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23722 if eval "test \"\${$as_ac_var+set}\" = set"; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 else
23725 if test x$gcc_no_link = xyes; then
23726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23728 { (exit 1); exit 1; }; }
23730 cat >conftest.$ac_ext <<_ACEOF
23731 /* confdefs.h. */
23732 _ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23738 #define $ac_func innocuous_$ac_func
23740 /* System header to define __stub macros and hopefully few prototypes,
23741 which can conflict with char $ac_func (); below.
23742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23743 <limits.h> exists even on freestanding compilers. */
23745 #ifdef __STDC__
23746 # include <limits.h>
23747 #else
23748 # include <assert.h>
23749 #endif
23751 #undef $ac_func
23753 /* Override any gcc2 internal prototype to avoid an error. */
23754 #ifdef __cplusplus
23755 extern "C"
23757 #endif
23758 /* We use char because int might match the return type of a gcc2
23759 builtin and then its argument prototype would still apply. */
23760 char $ac_func ();
23761 /* The GNU C library defines this for functions which it implements
23762 to always fail with ENOSYS. Some functions are actually named
23763 something starting with __ and the normal name is an alias. */
23764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23765 choke me
23766 #else
23767 char (*f) () = $ac_func;
23768 #endif
23769 #ifdef __cplusplus
23771 #endif
23774 main ()
23776 return f != $ac_func;
23778 return 0;
23780 _ACEOF
23781 rm -f conftest.$ac_objext conftest$ac_exeext
23782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23783 (eval $ac_link) 2>conftest.er1
23784 ac_status=$?
23785 grep -v '^ *+' conftest.er1 >conftest.err
23786 rm -f conftest.er1
23787 cat conftest.err >&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } &&
23790 { ac_try='test -z "$ac_c_werror_flag"
23791 || test ! -s conftest.err'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; } &&
23797 { ac_try='test -s conftest$ac_exeext'
23798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23799 (eval $ac_try) 2>&5
23800 ac_status=$?
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); }; }; then
23803 eval "$as_ac_var=yes"
23804 else
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23808 eval "$as_ac_var=no"
23810 rm -f conftest.err conftest.$ac_objext \
23811 conftest$ac_exeext conftest.$ac_ext
23813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23815 if test `eval echo '${'$as_ac_var'}'` = yes; then
23816 cat >>confdefs.h <<_ACEOF
23817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23818 _ACEOF
23821 done
23823 else
23825 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23826 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23827 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23828 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 else
23834 ac_ext=cc
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840 cat >conftest.$ac_ext <<_ACEOF
23841 /* confdefs.h. */
23842 _ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 #include <math.h>
23847 #ifdef HAVE_IEEEFP_H
23848 #include <ieeefp.h>
23849 #endif
23852 main ()
23854 _log10l(0);
23856 return 0;
23858 _ACEOF
23859 rm -f conftest.$ac_objext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23861 (eval $ac_compile) 2>conftest.er1
23862 ac_status=$?
23863 grep -v '^ *+' conftest.er1 >conftest.err
23864 rm -f conftest.er1
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } &&
23868 { ac_try='test -z "$ac_cxx_werror_flag"
23869 || test ! -s conftest.err'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; } &&
23875 { ac_try='test -s conftest.$ac_objext'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23878 ac_status=$?
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; }; then
23881 glibcxx_cv_func__log10l_use=yes
23882 else
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23886 glibcxx_cv_func__log10l_use=no
23888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23889 ac_ext=c
23890 ac_cpp='$CPP $CPPFLAGS'
23891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23900 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23902 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23904 for ac_func in _log10l
23906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23907 echo "$as_me:$LINENO: checking for $ac_func" >&5
23908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23909 if eval "test \"\${$as_ac_var+set}\" = set"; then
23910 echo $ECHO_N "(cached) $ECHO_C" >&6
23911 else
23912 if test x$gcc_no_link = xyes; then
23913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23915 { (exit 1); exit 1; }; }
23917 cat >conftest.$ac_ext <<_ACEOF
23918 /* confdefs.h. */
23919 _ACEOF
23920 cat confdefs.h >>conftest.$ac_ext
23921 cat >>conftest.$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23925 #define $ac_func innocuous_$ac_func
23927 /* System header to define __stub macros and hopefully few prototypes,
23928 which can conflict with char $ac_func (); below.
23929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23930 <limits.h> exists even on freestanding compilers. */
23932 #ifdef __STDC__
23933 # include <limits.h>
23934 #else
23935 # include <assert.h>
23936 #endif
23938 #undef $ac_func
23940 /* Override any gcc2 internal prototype to avoid an error. */
23941 #ifdef __cplusplus
23942 extern "C"
23944 #endif
23945 /* We use char because int might match the return type of a gcc2
23946 builtin and then its argument prototype would still apply. */
23947 char $ac_func ();
23948 /* The GNU C library defines this for functions which it implements
23949 to always fail with ENOSYS. Some functions are actually named
23950 something starting with __ and the normal name is an alias. */
23951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23952 choke me
23953 #else
23954 char (*f) () = $ac_func;
23955 #endif
23956 #ifdef __cplusplus
23958 #endif
23961 main ()
23963 return f != $ac_func;
23965 return 0;
23967 _ACEOF
23968 rm -f conftest.$ac_objext conftest$ac_exeext
23969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23970 (eval $ac_link) 2>conftest.er1
23971 ac_status=$?
23972 grep -v '^ *+' conftest.er1 >conftest.err
23973 rm -f conftest.er1
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try='test -z "$ac_c_werror_flag"
23978 || test ! -s conftest.err'
23979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23980 (eval $ac_try) 2>&5
23981 ac_status=$?
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); }; } &&
23984 { ac_try='test -s conftest$ac_exeext'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23987 ac_status=$?
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; }; then
23990 eval "$as_ac_var=yes"
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23995 eval "$as_ac_var=no"
23997 rm -f conftest.err conftest.$ac_objext \
23998 conftest$ac_exeext conftest.$ac_ext
24000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24002 if test `eval echo '${'$as_ac_var'}'` = yes; then
24003 cat >>confdefs.h <<_ACEOF
24004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24005 _ACEOF
24008 done
24018 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24019 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24020 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24021 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 else
24027 ac_ext=cc
24028 ac_cpp='$CXXCPP $CPPFLAGS'
24029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24033 cat >conftest.$ac_ext <<_ACEOF
24034 /* confdefs.h. */
24035 _ACEOF
24036 cat confdefs.h >>conftest.$ac_ext
24037 cat >>conftest.$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 #include <math.h>
24041 main ()
24043 modfl(0, 0);
24045 return 0;
24047 _ACEOF
24048 rm -f conftest.$ac_objext
24049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24050 (eval $ac_compile) 2>conftest.er1
24051 ac_status=$?
24052 grep -v '^ *+' conftest.er1 >conftest.err
24053 rm -f conftest.er1
24054 cat conftest.err >&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); } &&
24057 { ac_try='test -z "$ac_cxx_werror_flag"
24058 || test ! -s conftest.err'
24059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24060 (eval $ac_try) 2>&5
24061 ac_status=$?
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); }; } &&
24064 { ac_try='test -s conftest.$ac_objext'
24065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24066 (eval $ac_try) 2>&5
24067 ac_status=$?
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; }; then
24070 glibcxx_cv_func_modfl_use=yes
24071 else
24072 echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.$ac_ext >&5
24075 glibcxx_cv_func_modfl_use=no
24077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24078 ac_ext=c
24079 ac_cpp='$CPP $CPPFLAGS'
24080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24089 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24091 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24093 for ac_func in modfl
24095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24096 echo "$as_me:$LINENO: checking for $ac_func" >&5
24097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24098 if eval "test \"\${$as_ac_var+set}\" = set"; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 else
24101 if test x$gcc_no_link = xyes; then
24102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24104 { (exit 1); exit 1; }; }
24106 cat >conftest.$ac_ext <<_ACEOF
24107 /* confdefs.h. */
24108 _ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24114 #define $ac_func innocuous_$ac_func
24116 /* System header to define __stub macros and hopefully few prototypes,
24117 which can conflict with char $ac_func (); below.
24118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24119 <limits.h> exists even on freestanding compilers. */
24121 #ifdef __STDC__
24122 # include <limits.h>
24123 #else
24124 # include <assert.h>
24125 #endif
24127 #undef $ac_func
24129 /* Override any gcc2 internal prototype to avoid an error. */
24130 #ifdef __cplusplus
24131 extern "C"
24133 #endif
24134 /* We use char because int might match the return type of a gcc2
24135 builtin and then its argument prototype would still apply. */
24136 char $ac_func ();
24137 /* The GNU C library defines this for functions which it implements
24138 to always fail with ENOSYS. Some functions are actually named
24139 something starting with __ and the normal name is an alias. */
24140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24141 choke me
24142 #else
24143 char (*f) () = $ac_func;
24144 #endif
24145 #ifdef __cplusplus
24147 #endif
24150 main ()
24152 return f != $ac_func;
24154 return 0;
24156 _ACEOF
24157 rm -f conftest.$ac_objext conftest$ac_exeext
24158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24159 (eval $ac_link) 2>conftest.er1
24160 ac_status=$?
24161 grep -v '^ *+' conftest.er1 >conftest.err
24162 rm -f conftest.er1
24163 cat conftest.err >&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } &&
24166 { ac_try='test -z "$ac_c_werror_flag"
24167 || test ! -s conftest.err'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24170 ac_status=$?
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; } &&
24173 { ac_try='test -s conftest$ac_exeext'
24174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24175 (eval $ac_try) 2>&5
24176 ac_status=$?
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 eval "$as_ac_var=yes"
24180 else
24181 echo "$as_me: failed program was:" >&5
24182 sed 's/^/| /' conftest.$ac_ext >&5
24184 eval "$as_ac_var=no"
24186 rm -f conftest.err conftest.$ac_objext \
24187 conftest$ac_exeext conftest.$ac_ext
24189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24191 if test `eval echo '${'$as_ac_var'}'` = yes; then
24192 cat >>confdefs.h <<_ACEOF
24193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24194 _ACEOF
24197 done
24199 else
24201 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24202 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24203 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24204 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 else
24210 ac_ext=cc
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24216 cat >conftest.$ac_ext <<_ACEOF
24217 /* confdefs.h. */
24218 _ACEOF
24219 cat confdefs.h >>conftest.$ac_ext
24220 cat >>conftest.$ac_ext <<_ACEOF
24221 /* end confdefs.h. */
24222 #include <math.h>
24224 main ()
24226 _modfl(0, 0);
24228 return 0;
24230 _ACEOF
24231 rm -f conftest.$ac_objext
24232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24233 (eval $ac_compile) 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try='test -z "$ac_cxx_werror_flag"
24241 || test ! -s conftest.err'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24244 ac_status=$?
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; } &&
24247 { ac_try='test -s conftest.$ac_objext'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24250 ac_status=$?
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; }; then
24253 glibcxx_cv_func__modfl_use=yes
24254 else
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24258 glibcxx_cv_func__modfl_use=no
24260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24261 ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24272 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24274 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24276 for ac_func in _modfl
24278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24279 echo "$as_me:$LINENO: checking for $ac_func" >&5
24280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24281 if eval "test \"\${$as_ac_var+set}\" = set"; then
24282 echo $ECHO_N "(cached) $ECHO_C" >&6
24283 else
24284 if test x$gcc_no_link = xyes; then
24285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24287 { (exit 1); exit 1; }; }
24289 cat >conftest.$ac_ext <<_ACEOF
24290 /* confdefs.h. */
24291 _ACEOF
24292 cat confdefs.h >>conftest.$ac_ext
24293 cat >>conftest.$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24297 #define $ac_func innocuous_$ac_func
24299 /* System header to define __stub macros and hopefully few prototypes,
24300 which can conflict with char $ac_func (); below.
24301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24302 <limits.h> exists even on freestanding compilers. */
24304 #ifdef __STDC__
24305 # include <limits.h>
24306 #else
24307 # include <assert.h>
24308 #endif
24310 #undef $ac_func
24312 /* Override any gcc2 internal prototype to avoid an error. */
24313 #ifdef __cplusplus
24314 extern "C"
24316 #endif
24317 /* We use char because int might match the return type of a gcc2
24318 builtin and then its argument prototype would still apply. */
24319 char $ac_func ();
24320 /* The GNU C library defines this for functions which it implements
24321 to always fail with ENOSYS. Some functions are actually named
24322 something starting with __ and the normal name is an alias. */
24323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24324 choke me
24325 #else
24326 char (*f) () = $ac_func;
24327 #endif
24328 #ifdef __cplusplus
24330 #endif
24333 main ()
24335 return f != $ac_func;
24337 return 0;
24339 _ACEOF
24340 rm -f conftest.$ac_objext conftest$ac_exeext
24341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24342 (eval $ac_link) 2>conftest.er1
24343 ac_status=$?
24344 grep -v '^ *+' conftest.er1 >conftest.err
24345 rm -f conftest.er1
24346 cat conftest.err >&5
24347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); } &&
24349 { ac_try='test -z "$ac_c_werror_flag"
24350 || test ! -s conftest.err'
24351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24352 (eval $ac_try) 2>&5
24353 ac_status=$?
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); }; } &&
24356 { ac_try='test -s conftest$ac_exeext'
24357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24358 (eval $ac_try) 2>&5
24359 ac_status=$?
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); }; }; then
24362 eval "$as_ac_var=yes"
24363 else
24364 echo "$as_me: failed program was:" >&5
24365 sed 's/^/| /' conftest.$ac_ext >&5
24367 eval "$as_ac_var=no"
24369 rm -f conftest.err conftest.$ac_objext \
24370 conftest$ac_exeext conftest.$ac_ext
24372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24374 if test `eval echo '${'$as_ac_var'}'` = yes; then
24375 cat >>confdefs.h <<_ACEOF
24376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24377 _ACEOF
24380 done
24390 echo "$as_me:$LINENO: checking for powl declaration" >&5
24391 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24392 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24393 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 else
24399 ac_ext=cc
24400 ac_cpp='$CXXCPP $CPPFLAGS'
24401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24405 cat >conftest.$ac_ext <<_ACEOF
24406 /* confdefs.h. */
24407 _ACEOF
24408 cat confdefs.h >>conftest.$ac_ext
24409 cat >>conftest.$ac_ext <<_ACEOF
24410 /* end confdefs.h. */
24411 #include <math.h>
24413 main ()
24415 powl(0, 0);
24417 return 0;
24419 _ACEOF
24420 rm -f conftest.$ac_objext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24422 (eval $ac_compile) 2>conftest.er1
24423 ac_status=$?
24424 grep -v '^ *+' conftest.er1 >conftest.err
24425 rm -f conftest.er1
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } &&
24429 { ac_try='test -z "$ac_cxx_werror_flag"
24430 || test ! -s conftest.err'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; } &&
24436 { ac_try='test -s conftest.$ac_objext'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24439 ac_status=$?
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; }; then
24442 glibcxx_cv_func_powl_use=yes
24443 else
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24447 glibcxx_cv_func_powl_use=no
24449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24450 ac_ext=c
24451 ac_cpp='$CPP $CPPFLAGS'
24452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24461 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24463 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24465 for ac_func in powl
24467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24468 echo "$as_me:$LINENO: checking for $ac_func" >&5
24469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24470 if eval "test \"\${$as_ac_var+set}\" = set"; then
24471 echo $ECHO_N "(cached) $ECHO_C" >&6
24472 else
24473 if test x$gcc_no_link = xyes; then
24474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24476 { (exit 1); exit 1; }; }
24478 cat >conftest.$ac_ext <<_ACEOF
24479 /* confdefs.h. */
24480 _ACEOF
24481 cat confdefs.h >>conftest.$ac_ext
24482 cat >>conftest.$ac_ext <<_ACEOF
24483 /* end confdefs.h. */
24484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24486 #define $ac_func innocuous_$ac_func
24488 /* System header to define __stub macros and hopefully few prototypes,
24489 which can conflict with char $ac_func (); below.
24490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24491 <limits.h> exists even on freestanding compilers. */
24493 #ifdef __STDC__
24494 # include <limits.h>
24495 #else
24496 # include <assert.h>
24497 #endif
24499 #undef $ac_func
24501 /* Override any gcc2 internal prototype to avoid an error. */
24502 #ifdef __cplusplus
24503 extern "C"
24505 #endif
24506 /* We use char because int might match the return type of a gcc2
24507 builtin and then its argument prototype would still apply. */
24508 char $ac_func ();
24509 /* The GNU C library defines this for functions which it implements
24510 to always fail with ENOSYS. Some functions are actually named
24511 something starting with __ and the normal name is an alias. */
24512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24513 choke me
24514 #else
24515 char (*f) () = $ac_func;
24516 #endif
24517 #ifdef __cplusplus
24519 #endif
24522 main ()
24524 return f != $ac_func;
24526 return 0;
24528 _ACEOF
24529 rm -f conftest.$ac_objext conftest$ac_exeext
24530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24531 (eval $ac_link) 2>conftest.er1
24532 ac_status=$?
24533 grep -v '^ *+' conftest.er1 >conftest.err
24534 rm -f conftest.er1
24535 cat conftest.err >&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } &&
24538 { ac_try='test -z "$ac_c_werror_flag"
24539 || test ! -s conftest.err'
24540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24541 (eval $ac_try) 2>&5
24542 ac_status=$?
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); }; } &&
24545 { ac_try='test -s conftest$ac_exeext'
24546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24547 (eval $ac_try) 2>&5
24548 ac_status=$?
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); }; }; then
24551 eval "$as_ac_var=yes"
24552 else
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24556 eval "$as_ac_var=no"
24558 rm -f conftest.err conftest.$ac_objext \
24559 conftest$ac_exeext conftest.$ac_ext
24561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24563 if test `eval echo '${'$as_ac_var'}'` = yes; then
24564 cat >>confdefs.h <<_ACEOF
24565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24566 _ACEOF
24569 done
24571 else
24573 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24574 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24575 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24576 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24577 echo $ECHO_N "(cached) $ECHO_C" >&6
24578 else
24582 ac_ext=cc
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24588 cat >conftest.$ac_ext <<_ACEOF
24589 /* confdefs.h. */
24590 _ACEOF
24591 cat confdefs.h >>conftest.$ac_ext
24592 cat >>conftest.$ac_ext <<_ACEOF
24593 /* end confdefs.h. */
24594 #include <math.h>
24596 main ()
24598 _powl(0, 0);
24600 return 0;
24602 _ACEOF
24603 rm -f conftest.$ac_objext
24604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24605 (eval $ac_compile) 2>conftest.er1
24606 ac_status=$?
24607 grep -v '^ *+' conftest.er1 >conftest.err
24608 rm -f conftest.er1
24609 cat conftest.err >&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); } &&
24612 { ac_try='test -z "$ac_cxx_werror_flag"
24613 || test ! -s conftest.err'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24616 ac_status=$?
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; } &&
24619 { ac_try='test -s conftest.$ac_objext'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24622 ac_status=$?
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; }; then
24625 glibcxx_cv_func__powl_use=yes
24626 else
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.$ac_ext >&5
24630 glibcxx_cv_func__powl_use=no
24632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24633 ac_ext=c
24634 ac_cpp='$CPP $CPPFLAGS'
24635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24644 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24646 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24648 for ac_func in _powl
24650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24651 echo "$as_me:$LINENO: checking for $ac_func" >&5
24652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24653 if eval "test \"\${$as_ac_var+set}\" = set"; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 else
24656 if test x$gcc_no_link = xyes; then
24657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24659 { (exit 1); exit 1; }; }
24661 cat >conftest.$ac_ext <<_ACEOF
24662 /* confdefs.h. */
24663 _ACEOF
24664 cat confdefs.h >>conftest.$ac_ext
24665 cat >>conftest.$ac_ext <<_ACEOF
24666 /* end confdefs.h. */
24667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24669 #define $ac_func innocuous_$ac_func
24671 /* System header to define __stub macros and hopefully few prototypes,
24672 which can conflict with char $ac_func (); below.
24673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24674 <limits.h> exists even on freestanding compilers. */
24676 #ifdef __STDC__
24677 # include <limits.h>
24678 #else
24679 # include <assert.h>
24680 #endif
24682 #undef $ac_func
24684 /* Override any gcc2 internal prototype to avoid an error. */
24685 #ifdef __cplusplus
24686 extern "C"
24688 #endif
24689 /* We use char because int might match the return type of a gcc2
24690 builtin and then its argument prototype would still apply. */
24691 char $ac_func ();
24692 /* The GNU C library defines this for functions which it implements
24693 to always fail with ENOSYS. Some functions are actually named
24694 something starting with __ and the normal name is an alias. */
24695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24696 choke me
24697 #else
24698 char (*f) () = $ac_func;
24699 #endif
24700 #ifdef __cplusplus
24702 #endif
24705 main ()
24707 return f != $ac_func;
24709 return 0;
24711 _ACEOF
24712 rm -f conftest.$ac_objext conftest$ac_exeext
24713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24714 (eval $ac_link) 2>conftest.er1
24715 ac_status=$?
24716 grep -v '^ *+' conftest.er1 >conftest.err
24717 rm -f conftest.er1
24718 cat conftest.err >&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); } &&
24721 { ac_try='test -z "$ac_c_werror_flag"
24722 || test ! -s conftest.err'
24723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24724 (eval $ac_try) 2>&5
24725 ac_status=$?
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; } &&
24728 { ac_try='test -s conftest$ac_exeext'
24729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24730 (eval $ac_try) 2>&5
24731 ac_status=$?
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); }; }; then
24734 eval "$as_ac_var=yes"
24735 else
24736 echo "$as_me: failed program was:" >&5
24737 sed 's/^/| /' conftest.$ac_ext >&5
24739 eval "$as_ac_var=no"
24741 rm -f conftest.err conftest.$ac_objext \
24742 conftest$ac_exeext conftest.$ac_ext
24744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24746 if test `eval echo '${'$as_ac_var'}'` = yes; then
24747 cat >>confdefs.h <<_ACEOF
24748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24749 _ACEOF
24752 done
24762 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24763 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24764 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24765 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 else
24771 ac_ext=cc
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat >conftest.$ac_ext <<_ACEOF
24778 /* confdefs.h. */
24779 _ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24783 #include <math.h>
24784 #ifdef HAVE_IEEEFP_H
24785 #include <ieeefp.h>
24786 #endif
24789 main ()
24791 sqrtl(0);
24793 return 0;
24795 _ACEOF
24796 rm -f conftest.$ac_objext
24797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24798 (eval $ac_compile) 2>conftest.er1
24799 ac_status=$?
24800 grep -v '^ *+' conftest.er1 >conftest.err
24801 rm -f conftest.er1
24802 cat conftest.err >&5
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); } &&
24805 { ac_try='test -z "$ac_cxx_werror_flag"
24806 || test ! -s conftest.err'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24809 ac_status=$?
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; } &&
24812 { ac_try='test -s conftest.$ac_objext'
24813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24814 (eval $ac_try) 2>&5
24815 ac_status=$?
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); }; }; then
24818 glibcxx_cv_func_sqrtl_use=yes
24819 else
24820 echo "$as_me: failed program was:" >&5
24821 sed 's/^/| /' conftest.$ac_ext >&5
24823 glibcxx_cv_func_sqrtl_use=no
24825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24826 ac_ext=c
24827 ac_cpp='$CPP $CPPFLAGS'
24828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24837 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24839 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24841 for ac_func in sqrtl
24843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24844 echo "$as_me:$LINENO: checking for $ac_func" >&5
24845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24846 if eval "test \"\${$as_ac_var+set}\" = set"; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24848 else
24849 if test x$gcc_no_link = xyes; then
24850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24852 { (exit 1); exit 1; }; }
24854 cat >conftest.$ac_ext <<_ACEOF
24855 /* confdefs.h. */
24856 _ACEOF
24857 cat confdefs.h >>conftest.$ac_ext
24858 cat >>conftest.$ac_ext <<_ACEOF
24859 /* end confdefs.h. */
24860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24862 #define $ac_func innocuous_$ac_func
24864 /* System header to define __stub macros and hopefully few prototypes,
24865 which can conflict with char $ac_func (); below.
24866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24867 <limits.h> exists even on freestanding compilers. */
24869 #ifdef __STDC__
24870 # include <limits.h>
24871 #else
24872 # include <assert.h>
24873 #endif
24875 #undef $ac_func
24877 /* Override any gcc2 internal prototype to avoid an error. */
24878 #ifdef __cplusplus
24879 extern "C"
24881 #endif
24882 /* We use char because int might match the return type of a gcc2
24883 builtin and then its argument prototype would still apply. */
24884 char $ac_func ();
24885 /* The GNU C library defines this for functions which it implements
24886 to always fail with ENOSYS. Some functions are actually named
24887 something starting with __ and the normal name is an alias. */
24888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24889 choke me
24890 #else
24891 char (*f) () = $ac_func;
24892 #endif
24893 #ifdef __cplusplus
24895 #endif
24898 main ()
24900 return f != $ac_func;
24902 return 0;
24904 _ACEOF
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24907 (eval $ac_link) 2>conftest.er1
24908 ac_status=$?
24909 grep -v '^ *+' conftest.er1 >conftest.err
24910 rm -f conftest.er1
24911 cat conftest.err >&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try='test -z "$ac_c_werror_flag"
24915 || test ! -s conftest.err'
24916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24917 (eval $ac_try) 2>&5
24918 ac_status=$?
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); }; } &&
24921 { ac_try='test -s conftest$ac_exeext'
24922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24923 (eval $ac_try) 2>&5
24924 ac_status=$?
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); }; }; then
24927 eval "$as_ac_var=yes"
24928 else
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24932 eval "$as_ac_var=no"
24934 rm -f conftest.err conftest.$ac_objext \
24935 conftest$ac_exeext conftest.$ac_ext
24937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24939 if test `eval echo '${'$as_ac_var'}'` = yes; then
24940 cat >>confdefs.h <<_ACEOF
24941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24942 _ACEOF
24945 done
24947 else
24949 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24950 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24951 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24952 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24958 ac_ext=cc
24959 ac_cpp='$CXXCPP $CPPFLAGS'
24960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24964 cat >conftest.$ac_ext <<_ACEOF
24965 /* confdefs.h. */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970 #include <math.h>
24971 #ifdef HAVE_IEEEFP_H
24972 #include <ieeefp.h>
24973 #endif
24976 main ()
24978 _sqrtl(0);
24980 return 0;
24982 _ACEOF
24983 rm -f conftest.$ac_objext
24984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24985 (eval $ac_compile) 2>conftest.er1
24986 ac_status=$?
24987 grep -v '^ *+' conftest.er1 >conftest.err
24988 rm -f conftest.er1
24989 cat conftest.err >&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try='test -z "$ac_cxx_werror_flag"
24993 || test ! -s conftest.err'
24994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24995 (eval $ac_try) 2>&5
24996 ac_status=$?
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); }; } &&
24999 { ac_try='test -s conftest.$ac_objext'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25002 ac_status=$?
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; }; then
25005 glibcxx_cv_func__sqrtl_use=yes
25006 else
25007 echo "$as_me: failed program was:" >&5
25008 sed 's/^/| /' conftest.$ac_ext >&5
25010 glibcxx_cv_func__sqrtl_use=no
25012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25013 ac_ext=c
25014 ac_cpp='$CPP $CPPFLAGS'
25015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25024 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25026 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25028 for ac_func in _sqrtl
25030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25031 echo "$as_me:$LINENO: checking for $ac_func" >&5
25032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25033 if eval "test \"\${$as_ac_var+set}\" = set"; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 else
25036 if test x$gcc_no_link = xyes; then
25037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25039 { (exit 1); exit 1; }; }
25041 cat >conftest.$ac_ext <<_ACEOF
25042 /* confdefs.h. */
25043 _ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25049 #define $ac_func innocuous_$ac_func
25051 /* System header to define __stub macros and hopefully few prototypes,
25052 which can conflict with char $ac_func (); below.
25053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25054 <limits.h> exists even on freestanding compilers. */
25056 #ifdef __STDC__
25057 # include <limits.h>
25058 #else
25059 # include <assert.h>
25060 #endif
25062 #undef $ac_func
25064 /* Override any gcc2 internal prototype to avoid an error. */
25065 #ifdef __cplusplus
25066 extern "C"
25068 #endif
25069 /* We use char because int might match the return type of a gcc2
25070 builtin and then its argument prototype would still apply. */
25071 char $ac_func ();
25072 /* The GNU C library defines this for functions which it implements
25073 to always fail with ENOSYS. Some functions are actually named
25074 something starting with __ and the normal name is an alias. */
25075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25076 choke me
25077 #else
25078 char (*f) () = $ac_func;
25079 #endif
25080 #ifdef __cplusplus
25082 #endif
25085 main ()
25087 return f != $ac_func;
25089 return 0;
25091 _ACEOF
25092 rm -f conftest.$ac_objext conftest$ac_exeext
25093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25094 (eval $ac_link) 2>conftest.er1
25095 ac_status=$?
25096 grep -v '^ *+' conftest.er1 >conftest.err
25097 rm -f conftest.er1
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } &&
25101 { ac_try='test -z "$ac_c_werror_flag"
25102 || test ! -s conftest.err'
25103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25104 (eval $ac_try) 2>&5
25105 ac_status=$?
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); }; } &&
25108 { ac_try='test -s conftest$ac_exeext'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25111 ac_status=$?
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 eval "$as_ac_var=yes"
25115 else
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.$ac_ext >&5
25119 eval "$as_ac_var=no"
25121 rm -f conftest.err conftest.$ac_objext \
25122 conftest$ac_exeext conftest.$ac_ext
25124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25126 if test `eval echo '${'$as_ac_var'}'` = yes; then
25127 cat >>confdefs.h <<_ACEOF
25128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25129 _ACEOF
25132 done
25142 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25143 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25144 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25145 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25147 else
25151 ac_ext=cc
25152 ac_cpp='$CXXCPP $CPPFLAGS'
25153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25157 cat >conftest.$ac_ext <<_ACEOF
25158 /* confdefs.h. */
25159 _ACEOF
25160 cat confdefs.h >>conftest.$ac_ext
25161 cat >>conftest.$ac_ext <<_ACEOF
25162 /* end confdefs.h. */
25163 #include <math.h>
25165 main ()
25167 sincosl(0, 0, 0);
25169 return 0;
25171 _ACEOF
25172 rm -f conftest.$ac_objext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25174 (eval $ac_compile) 2>conftest.er1
25175 ac_status=$?
25176 grep -v '^ *+' conftest.er1 >conftest.err
25177 rm -f conftest.er1
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try='test -z "$ac_cxx_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try='test -s conftest.$ac_objext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25191 ac_status=$?
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25194 glibcxx_cv_func_sincosl_use=yes
25195 else
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25199 glibcxx_cv_func_sincosl_use=no
25201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25202 ac_ext=c
25203 ac_cpp='$CPP $CPPFLAGS'
25204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25213 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25215 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25217 for ac_func in sincosl
25219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25220 echo "$as_me:$LINENO: checking for $ac_func" >&5
25221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25222 if eval "test \"\${$as_ac_var+set}\" = set"; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25224 else
25225 if test x$gcc_no_link = xyes; then
25226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25228 { (exit 1); exit 1; }; }
25230 cat >conftest.$ac_ext <<_ACEOF
25231 /* confdefs.h. */
25232 _ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25238 #define $ac_func innocuous_$ac_func
25240 /* System header to define __stub macros and hopefully few prototypes,
25241 which can conflict with char $ac_func (); below.
25242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25243 <limits.h> exists even on freestanding compilers. */
25245 #ifdef __STDC__
25246 # include <limits.h>
25247 #else
25248 # include <assert.h>
25249 #endif
25251 #undef $ac_func
25253 /* Override any gcc2 internal prototype to avoid an error. */
25254 #ifdef __cplusplus
25255 extern "C"
25257 #endif
25258 /* We use char because int might match the return type of a gcc2
25259 builtin and then its argument prototype would still apply. */
25260 char $ac_func ();
25261 /* The GNU C library defines this for functions which it implements
25262 to always fail with ENOSYS. Some functions are actually named
25263 something starting with __ and the normal name is an alias. */
25264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25265 choke me
25266 #else
25267 char (*f) () = $ac_func;
25268 #endif
25269 #ifdef __cplusplus
25271 #endif
25274 main ()
25276 return f != $ac_func;
25278 return 0;
25280 _ACEOF
25281 rm -f conftest.$ac_objext conftest$ac_exeext
25282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25283 (eval $ac_link) 2>conftest.er1
25284 ac_status=$?
25285 grep -v '^ *+' conftest.er1 >conftest.err
25286 rm -f conftest.er1
25287 cat conftest.err >&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } &&
25290 { ac_try='test -z "$ac_c_werror_flag"
25291 || test ! -s conftest.err'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25294 ac_status=$?
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; } &&
25297 { ac_try='test -s conftest$ac_exeext'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25300 ac_status=$?
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; }; then
25303 eval "$as_ac_var=yes"
25304 else
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.$ac_ext >&5
25308 eval "$as_ac_var=no"
25310 rm -f conftest.err conftest.$ac_objext \
25311 conftest$ac_exeext conftest.$ac_ext
25313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25315 if test `eval echo '${'$as_ac_var'}'` = yes; then
25316 cat >>confdefs.h <<_ACEOF
25317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25318 _ACEOF
25321 done
25323 else
25325 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25326 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25327 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25328 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25329 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 else
25334 ac_ext=cc
25335 ac_cpp='$CXXCPP $CPPFLAGS'
25336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25340 cat >conftest.$ac_ext <<_ACEOF
25341 /* confdefs.h. */
25342 _ACEOF
25343 cat confdefs.h >>conftest.$ac_ext
25344 cat >>conftest.$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 _sincosl(0, 0, 0);
25352 return 0;
25354 _ACEOF
25355 rm -f conftest.$ac_objext
25356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25357 (eval $ac_compile) 2>conftest.er1
25358 ac_status=$?
25359 grep -v '^ *+' conftest.er1 >conftest.err
25360 rm -f conftest.er1
25361 cat conftest.err >&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } &&
25364 { ac_try='test -z "$ac_cxx_werror_flag"
25365 || test ! -s conftest.err'
25366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25367 (eval $ac_try) 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); }; } &&
25371 { ac_try='test -s conftest.$ac_objext'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25374 ac_status=$?
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; }; then
25377 glibcxx_cv_func__sincosl_use=yes
25378 else
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25382 glibcxx_cv_func__sincosl_use=no
25384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25385 ac_ext=c
25386 ac_cpp='$CPP $CPPFLAGS'
25387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25396 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25398 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25400 for ac_func in _sincosl
25402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25403 echo "$as_me:$LINENO: checking for $ac_func" >&5
25404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25405 if eval "test \"\${$as_ac_var+set}\" = set"; then
25406 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 else
25408 if test x$gcc_no_link = xyes; then
25409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25411 { (exit 1); exit 1; }; }
25413 cat >conftest.$ac_ext <<_ACEOF
25414 /* confdefs.h. */
25415 _ACEOF
25416 cat confdefs.h >>conftest.$ac_ext
25417 cat >>conftest.$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25421 #define $ac_func innocuous_$ac_func
25423 /* System header to define __stub macros and hopefully few prototypes,
25424 which can conflict with char $ac_func (); below.
25425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25426 <limits.h> exists even on freestanding compilers. */
25428 #ifdef __STDC__
25429 # include <limits.h>
25430 #else
25431 # include <assert.h>
25432 #endif
25434 #undef $ac_func
25436 /* Override any gcc2 internal prototype to avoid an error. */
25437 #ifdef __cplusplus
25438 extern "C"
25440 #endif
25441 /* We use char because int might match the return type of a gcc2
25442 builtin and then its argument prototype would still apply. */
25443 char $ac_func ();
25444 /* The GNU C library defines this for functions which it implements
25445 to always fail with ENOSYS. Some functions are actually named
25446 something starting with __ and the normal name is an alias. */
25447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25448 choke me
25449 #else
25450 char (*f) () = $ac_func;
25451 #endif
25452 #ifdef __cplusplus
25454 #endif
25457 main ()
25459 return f != $ac_func;
25461 return 0;
25463 _ACEOF
25464 rm -f conftest.$ac_objext conftest$ac_exeext
25465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25466 (eval $ac_link) 2>conftest.er1
25467 ac_status=$?
25468 grep -v '^ *+' conftest.er1 >conftest.err
25469 rm -f conftest.er1
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -z "$ac_c_werror_flag"
25474 || test ! -s conftest.err'
25475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476 (eval $ac_try) 2>&5
25477 ac_status=$?
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); }; } &&
25480 { ac_try='test -s conftest$ac_exeext'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25483 ac_status=$?
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; }; then
25486 eval "$as_ac_var=yes"
25487 else
25488 echo "$as_me: failed program was:" >&5
25489 sed 's/^/| /' conftest.$ac_ext >&5
25491 eval "$as_ac_var=no"
25493 rm -f conftest.err conftest.$ac_objext \
25494 conftest$ac_exeext conftest.$ac_ext
25496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25498 if test `eval echo '${'$as_ac_var'}'` = yes; then
25499 cat >>confdefs.h <<_ACEOF
25500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25501 _ACEOF
25504 done
25514 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25515 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25516 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25517 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 else
25523 ac_ext=cc
25524 ac_cpp='$CXXCPP $CPPFLAGS'
25525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25529 cat >conftest.$ac_ext <<_ACEOF
25530 /* confdefs.h. */
25531 _ACEOF
25532 cat confdefs.h >>conftest.$ac_ext
25533 cat >>conftest.$ac_ext <<_ACEOF
25534 /* end confdefs.h. */
25535 #include <math.h>
25536 #ifdef HAVE_IEEEFP_H
25537 #include <ieeefp.h>
25538 #endif
25541 main ()
25543 finitel(0);
25545 return 0;
25547 _ACEOF
25548 rm -f conftest.$ac_objext
25549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25550 (eval $ac_compile) 2>conftest.er1
25551 ac_status=$?
25552 grep -v '^ *+' conftest.er1 >conftest.err
25553 rm -f conftest.er1
25554 cat conftest.err >&5
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); } &&
25557 { ac_try='test -z "$ac_cxx_werror_flag"
25558 || test ! -s conftest.err'
25559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25560 (eval $ac_try) 2>&5
25561 ac_status=$?
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); }; } &&
25564 { ac_try='test -s conftest.$ac_objext'
25565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25566 (eval $ac_try) 2>&5
25567 ac_status=$?
25568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25569 (exit $ac_status); }; }; then
25570 glibcxx_cv_func_finitel_use=yes
25571 else
25572 echo "$as_me: failed program was:" >&5
25573 sed 's/^/| /' conftest.$ac_ext >&5
25575 glibcxx_cv_func_finitel_use=no
25577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25588 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25589 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25591 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25593 for ac_func in finitel
25595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25596 echo "$as_me:$LINENO: checking for $ac_func" >&5
25597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25598 if eval "test \"\${$as_ac_var+set}\" = set"; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 else
25601 if test x$gcc_no_link = xyes; then
25602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25604 { (exit 1); exit 1; }; }
25606 cat >conftest.$ac_ext <<_ACEOF
25607 /* confdefs.h. */
25608 _ACEOF
25609 cat confdefs.h >>conftest.$ac_ext
25610 cat >>conftest.$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25614 #define $ac_func innocuous_$ac_func
25616 /* System header to define __stub macros and hopefully few prototypes,
25617 which can conflict with char $ac_func (); below.
25618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25619 <limits.h> exists even on freestanding compilers. */
25621 #ifdef __STDC__
25622 # include <limits.h>
25623 #else
25624 # include <assert.h>
25625 #endif
25627 #undef $ac_func
25629 /* Override any gcc2 internal prototype to avoid an error. */
25630 #ifdef __cplusplus
25631 extern "C"
25633 #endif
25634 /* We use char because int might match the return type of a gcc2
25635 builtin and then its argument prototype would still apply. */
25636 char $ac_func ();
25637 /* The GNU C library defines this for functions which it implements
25638 to always fail with ENOSYS. Some functions are actually named
25639 something starting with __ and the normal name is an alias. */
25640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25641 choke me
25642 #else
25643 char (*f) () = $ac_func;
25644 #endif
25645 #ifdef __cplusplus
25647 #endif
25650 main ()
25652 return f != $ac_func;
25654 return 0;
25656 _ACEOF
25657 rm -f conftest.$ac_objext conftest$ac_exeext
25658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25659 (eval $ac_link) 2>conftest.er1
25660 ac_status=$?
25661 grep -v '^ *+' conftest.er1 >conftest.err
25662 rm -f conftest.er1
25663 cat conftest.err >&5
25664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25665 (exit $ac_status); } &&
25666 { ac_try='test -z "$ac_c_werror_flag"
25667 || test ! -s conftest.err'
25668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669 (eval $ac_try) 2>&5
25670 ac_status=$?
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; } &&
25673 { ac_try='test -s conftest$ac_exeext'
25674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675 (eval $ac_try) 2>&5
25676 ac_status=$?
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); }; }; then
25679 eval "$as_ac_var=yes"
25680 else
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.$ac_ext >&5
25684 eval "$as_ac_var=no"
25686 rm -f conftest.err conftest.$ac_objext \
25687 conftest$ac_exeext conftest.$ac_ext
25689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25691 if test `eval echo '${'$as_ac_var'}'` = yes; then
25692 cat >>confdefs.h <<_ACEOF
25693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25694 _ACEOF
25697 done
25699 else
25701 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25702 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25703 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25704 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25710 ac_ext=cc
25711 ac_cpp='$CXXCPP $CPPFLAGS'
25712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25716 cat >conftest.$ac_ext <<_ACEOF
25717 /* confdefs.h. */
25718 _ACEOF
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 #include <math.h>
25723 #ifdef HAVE_IEEEFP_H
25724 #include <ieeefp.h>
25725 #endif
25728 main ()
25730 _finitel(0);
25732 return 0;
25734 _ACEOF
25735 rm -f conftest.$ac_objext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25737 (eval $ac_compile) 2>conftest.er1
25738 ac_status=$?
25739 grep -v '^ *+' conftest.er1 >conftest.err
25740 rm -f conftest.er1
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try='test -z "$ac_cxx_werror_flag"
25745 || test ! -s conftest.err'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25748 ac_status=$?
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; } &&
25751 { ac_try='test -s conftest.$ac_objext'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25754 ac_status=$?
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; }; then
25757 glibcxx_cv_func__finitel_use=yes
25758 else
25759 echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.$ac_ext >&5
25762 glibcxx_cv_func__finitel_use=no
25764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25765 ac_ext=c
25766 ac_cpp='$CPP $CPPFLAGS'
25767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25776 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25778 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25780 for ac_func in _finitel
25782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25783 echo "$as_me:$LINENO: checking for $ac_func" >&5
25784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25785 if eval "test \"\${$as_ac_var+set}\" = set"; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25787 else
25788 if test x$gcc_no_link = xyes; then
25789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25791 { (exit 1); exit 1; }; }
25793 cat >conftest.$ac_ext <<_ACEOF
25794 /* confdefs.h. */
25795 _ACEOF
25796 cat confdefs.h >>conftest.$ac_ext
25797 cat >>conftest.$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25801 #define $ac_func innocuous_$ac_func
25803 /* System header to define __stub macros and hopefully few prototypes,
25804 which can conflict with char $ac_func (); below.
25805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25806 <limits.h> exists even on freestanding compilers. */
25808 #ifdef __STDC__
25809 # include <limits.h>
25810 #else
25811 # include <assert.h>
25812 #endif
25814 #undef $ac_func
25816 /* Override any gcc2 internal prototype to avoid an error. */
25817 #ifdef __cplusplus
25818 extern "C"
25820 #endif
25821 /* We use char because int might match the return type of a gcc2
25822 builtin and then its argument prototype would still apply. */
25823 char $ac_func ();
25824 /* The GNU C library defines this for functions which it implements
25825 to always fail with ENOSYS. Some functions are actually named
25826 something starting with __ and the normal name is an alias. */
25827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25828 choke me
25829 #else
25830 char (*f) () = $ac_func;
25831 #endif
25832 #ifdef __cplusplus
25834 #endif
25837 main ()
25839 return f != $ac_func;
25841 return 0;
25843 _ACEOF
25844 rm -f conftest.$ac_objext conftest$ac_exeext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25846 (eval $ac_link) 2>conftest.er1
25847 ac_status=$?
25848 grep -v '^ *+' conftest.er1 >conftest.err
25849 rm -f conftest.er1
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -z "$ac_c_werror_flag"
25854 || test ! -s conftest.err'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25857 ac_status=$?
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; } &&
25860 { ac_try='test -s conftest$ac_exeext'
25861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25862 (eval $ac_try) 2>&5
25863 ac_status=$?
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); }; }; then
25866 eval "$as_ac_var=yes"
25867 else
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.$ac_ext >&5
25871 eval "$as_ac_var=no"
25873 rm -f conftest.err conftest.$ac_objext \
25874 conftest$ac_exeext conftest.$ac_ext
25876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25878 if test `eval echo '${'$as_ac_var'}'` = yes; then
25879 cat >>confdefs.h <<_ACEOF
25880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25881 _ACEOF
25884 done
25893 LIBS="$ac_save_LIBS"
25894 CXXFLAGS="$ac_save_CXXFLAGS"
25898 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25899 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25900 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25901 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25907 ac_ext=cc
25908 ac_cpp='$CXXCPP $CPPFLAGS'
25909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25913 cat >conftest.$ac_ext <<_ACEOF
25914 /* confdefs.h. */
25915 _ACEOF
25916 cat confdefs.h >>conftest.$ac_ext
25917 cat >>conftest.$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25919 #include <math.h>
25921 main ()
25923 __builtin_abs(0);
25925 return 0;
25927 _ACEOF
25928 rm -f conftest.$ac_objext
25929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25930 (eval $ac_compile) 2>conftest.er1
25931 ac_status=$?
25932 grep -v '^ *+' conftest.er1 >conftest.err
25933 rm -f conftest.er1
25934 cat conftest.err >&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } &&
25937 { ac_try='test -z "$ac_cxx_werror_flag"
25938 || test ! -s conftest.err'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; } &&
25944 { ac_try='test -s conftest.$ac_objext'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25947 ac_status=$?
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; }; then
25950 glibcxx_cv_func___builtin_abs_use=yes
25951 else
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.$ac_ext >&5
25955 glibcxx_cv_func___builtin_abs_use=no
25957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25958 ac_ext=c
25959 ac_cpp='$CPP $CPPFLAGS'
25960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25969 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25970 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25971 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25972 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25973 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25974 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25978 if test x$gcc_no_link = xyes; then
25979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25981 { (exit 1); exit 1; }; }
25983 cat >conftest.$ac_ext <<_ACEOF
25984 /* confdefs.h. */
25985 _ACEOF
25986 cat confdefs.h >>conftest.$ac_ext
25987 cat >>conftest.$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25989 #include <math.h>
25991 main ()
25993 __builtin_abs(0);
25995 return 0;
25997 _ACEOF
25998 rm -f conftest.$ac_objext conftest$ac_exeext
25999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26000 (eval $ac_link) 2>conftest.er1
26001 ac_status=$?
26002 grep -v '^ *+' conftest.er1 >conftest.err
26003 rm -f conftest.er1
26004 cat conftest.err >&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); } &&
26007 { ac_try='test -z "$ac_c_werror_flag"
26008 || test ! -s conftest.err'
26009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26010 (eval $ac_try) 2>&5
26011 ac_status=$?
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); }; } &&
26014 { ac_try='test -s conftest$ac_exeext'
26015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016 (eval $ac_try) 2>&5
26017 ac_status=$?
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); }; }; then
26020 glibcxx_cv_func___builtin_abs_link=yes
26021 else
26022 echo "$as_me: failed program was:" >&5
26023 sed 's/^/| /' conftest.$ac_ext >&5
26025 glibcxx_cv_func___builtin_abs_link=no
26027 rm -f conftest.err conftest.$ac_objext \
26028 conftest$ac_exeext conftest.$ac_ext
26033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26034 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26036 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26038 cat >>confdefs.h <<\_ACEOF
26039 #define HAVE___BUILTIN_ABS 1
26040 _ACEOF
26047 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26048 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26049 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26050 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26051 echo $ECHO_N "(cached) $ECHO_C" >&6
26052 else
26056 ac_ext=cc
26057 ac_cpp='$CXXCPP $CPPFLAGS'
26058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062 cat >conftest.$ac_ext <<_ACEOF
26063 /* confdefs.h. */
26064 _ACEOF
26065 cat confdefs.h >>conftest.$ac_ext
26066 cat >>conftest.$ac_ext <<_ACEOF
26067 /* end confdefs.h. */
26068 #include <math.h>
26070 main ()
26072 __builtin_fabsf(0);
26074 return 0;
26076 _ACEOF
26077 rm -f conftest.$ac_objext
26078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26079 (eval $ac_compile) 2>conftest.er1
26080 ac_status=$?
26081 grep -v '^ *+' conftest.er1 >conftest.err
26082 rm -f conftest.er1
26083 cat conftest.err >&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); } &&
26086 { ac_try='test -z "$ac_cxx_werror_flag"
26087 || test ! -s conftest.err'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26090 ac_status=$?
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; } &&
26093 { ac_try='test -s conftest.$ac_objext'
26094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095 (eval $ac_try) 2>&5
26096 ac_status=$?
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); }; }; then
26099 glibcxx_cv_func___builtin_fabsf_use=yes
26100 else
26101 echo "$as_me: failed program was:" >&5
26102 sed 's/^/| /' conftest.$ac_ext >&5
26104 glibcxx_cv_func___builtin_fabsf_use=no
26106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26107 ac_ext=c
26108 ac_cpp='$CPP $CPPFLAGS'
26109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26118 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26119 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26120 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26121 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26122 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26123 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26125 else
26127 if test x$gcc_no_link = xyes; then
26128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26130 { (exit 1); exit 1; }; }
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138 #include <math.h>
26140 main ()
26142 __builtin_fabsf(0);
26144 return 0;
26146 _ACEOF
26147 rm -f conftest.$ac_objext conftest$ac_exeext
26148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26149 (eval $ac_link) 2>conftest.er1
26150 ac_status=$?
26151 grep -v '^ *+' conftest.er1 >conftest.err
26152 rm -f conftest.er1
26153 cat conftest.err >&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); } &&
26156 { ac_try='test -z "$ac_c_werror_flag"
26157 || test ! -s conftest.err'
26158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159 (eval $ac_try) 2>&5
26160 ac_status=$?
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); }; } &&
26163 { ac_try='test -s conftest$ac_exeext'
26164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26165 (eval $ac_try) 2>&5
26166 ac_status=$?
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); }; }; then
26169 glibcxx_cv_func___builtin_fabsf_link=yes
26170 else
26171 echo "$as_me: failed program was:" >&5
26172 sed 's/^/| /' conftest.$ac_ext >&5
26174 glibcxx_cv_func___builtin_fabsf_link=no
26176 rm -f conftest.err conftest.$ac_objext \
26177 conftest$ac_exeext conftest.$ac_ext
26182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26183 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26185 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26187 cat >>confdefs.h <<\_ACEOF
26188 #define HAVE___BUILTIN_FABSF 1
26189 _ACEOF
26196 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26197 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26198 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26199 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26201 else
26205 ac_ext=cc
26206 ac_cpp='$CXXCPP $CPPFLAGS'
26207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26211 cat >conftest.$ac_ext <<_ACEOF
26212 /* confdefs.h. */
26213 _ACEOF
26214 cat confdefs.h >>conftest.$ac_ext
26215 cat >>conftest.$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26217 #include <math.h>
26219 main ()
26221 __builtin_fabs(0);
26223 return 0;
26225 _ACEOF
26226 rm -f conftest.$ac_objext
26227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26228 (eval $ac_compile) 2>conftest.er1
26229 ac_status=$?
26230 grep -v '^ *+' conftest.er1 >conftest.err
26231 rm -f conftest.er1
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } &&
26235 { ac_try='test -z "$ac_cxx_werror_flag"
26236 || test ! -s conftest.err'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; } &&
26242 { ac_try='test -s conftest.$ac_objext'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26245 ac_status=$?
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; }; then
26248 glibcxx_cv_func___builtin_fabs_use=yes
26249 else
26250 echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.$ac_ext >&5
26253 glibcxx_cv_func___builtin_fabs_use=no
26255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26256 ac_ext=c
26257 ac_cpp='$CPP $CPPFLAGS'
26258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26266 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26267 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26268 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26269 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26270 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26271 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26272 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26276 if test x$gcc_no_link = xyes; then
26277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26279 { (exit 1); exit 1; }; }
26281 cat >conftest.$ac_ext <<_ACEOF
26282 /* confdefs.h. */
26283 _ACEOF
26284 cat confdefs.h >>conftest.$ac_ext
26285 cat >>conftest.$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26287 #include <math.h>
26289 main ()
26291 __builtin_fabs(0);
26293 return 0;
26295 _ACEOF
26296 rm -f conftest.$ac_objext conftest$ac_exeext
26297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26298 (eval $ac_link) 2>conftest.er1
26299 ac_status=$?
26300 grep -v '^ *+' conftest.er1 >conftest.err
26301 rm -f conftest.er1
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } &&
26305 { ac_try='test -z "$ac_c_werror_flag"
26306 || test ! -s conftest.err'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; } &&
26312 { ac_try='test -s conftest$ac_exeext'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26315 ac_status=$?
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; }; then
26318 glibcxx_cv_func___builtin_fabs_link=yes
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26323 glibcxx_cv_func___builtin_fabs_link=no
26325 rm -f conftest.err conftest.$ac_objext \
26326 conftest$ac_exeext conftest.$ac_ext
26331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26332 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26334 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26336 cat >>confdefs.h <<\_ACEOF
26337 #define HAVE___BUILTIN_FABS 1
26338 _ACEOF
26345 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26346 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26347 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26348 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26354 ac_ext=cc
26355 ac_cpp='$CXXCPP $CPPFLAGS'
26356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26360 cat >conftest.$ac_ext <<_ACEOF
26361 /* confdefs.h. */
26362 _ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366 #include <math.h>
26368 main ()
26370 __builtin_fabsl(0);
26372 return 0;
26374 _ACEOF
26375 rm -f conftest.$ac_objext
26376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26377 (eval $ac_compile) 2>conftest.er1
26378 ac_status=$?
26379 grep -v '^ *+' conftest.er1 >conftest.err
26380 rm -f conftest.er1
26381 cat conftest.err >&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } &&
26384 { ac_try='test -z "$ac_cxx_werror_flag"
26385 || test ! -s conftest.err'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; } &&
26391 { ac_try='test -s conftest.$ac_objext'
26392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26393 (eval $ac_try) 2>&5
26394 ac_status=$?
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; }; then
26397 glibcxx_cv_func___builtin_fabsl_use=yes
26398 else
26399 echo "$as_me: failed program was:" >&5
26400 sed 's/^/| /' conftest.$ac_ext >&5
26402 glibcxx_cv_func___builtin_fabsl_use=no
26404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26405 ac_ext=c
26406 ac_cpp='$CPP $CPPFLAGS'
26407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26416 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26417 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26418 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26419 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26420 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26421 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26425 if test x$gcc_no_link = xyes; then
26426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26428 { (exit 1); exit 1; }; }
26430 cat >conftest.$ac_ext <<_ACEOF
26431 /* confdefs.h. */
26432 _ACEOF
26433 cat confdefs.h >>conftest.$ac_ext
26434 cat >>conftest.$ac_ext <<_ACEOF
26435 /* end confdefs.h. */
26436 #include <math.h>
26438 main ()
26440 __builtin_fabsl(0);
26442 return 0;
26444 _ACEOF
26445 rm -f conftest.$ac_objext conftest$ac_exeext
26446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26447 (eval $ac_link) 2>conftest.er1
26448 ac_status=$?
26449 grep -v '^ *+' conftest.er1 >conftest.err
26450 rm -f conftest.er1
26451 cat conftest.err >&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); } &&
26454 { ac_try='test -z "$ac_c_werror_flag"
26455 || test ! -s conftest.err'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; } &&
26461 { ac_try='test -s conftest$ac_exeext'
26462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26463 (eval $ac_try) 2>&5
26464 ac_status=$?
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); }; }; then
26467 glibcxx_cv_func___builtin_fabsl_link=yes
26468 else
26469 echo "$as_me: failed program was:" >&5
26470 sed 's/^/| /' conftest.$ac_ext >&5
26472 glibcxx_cv_func___builtin_fabsl_link=no
26474 rm -f conftest.err conftest.$ac_objext \
26475 conftest$ac_exeext conftest.$ac_ext
26480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26481 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26483 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26485 cat >>confdefs.h <<\_ACEOF
26486 #define HAVE___BUILTIN_FABSL 1
26487 _ACEOF
26494 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26495 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26496 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26497 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26498 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 else
26503 ac_ext=cc
26504 ac_cpp='$CXXCPP $CPPFLAGS'
26505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26509 cat >conftest.$ac_ext <<_ACEOF
26510 /* confdefs.h. */
26511 _ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515 #include <math.h>
26517 main ()
26519 __builtin_labs(0);
26521 return 0;
26523 _ACEOF
26524 rm -f conftest.$ac_objext
26525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26526 (eval $ac_compile) 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } &&
26533 { ac_try='test -z "$ac_cxx_werror_flag"
26534 || test ! -s conftest.err'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; } &&
26540 { ac_try='test -s conftest.$ac_objext'
26541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26542 (eval $ac_try) 2>&5
26543 ac_status=$?
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); }; }; then
26546 glibcxx_cv_func___builtin_labs_use=yes
26547 else
26548 echo "$as_me: failed program was:" >&5
26549 sed 's/^/| /' conftest.$ac_ext >&5
26551 glibcxx_cv_func___builtin_labs_use=no
26553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26554 ac_ext=c
26555 ac_cpp='$CPP $CPPFLAGS'
26556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26565 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26566 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26567 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26568 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26569 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26570 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26571 echo $ECHO_N "(cached) $ECHO_C" >&6
26572 else
26574 if test x$gcc_no_link = xyes; then
26575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26577 { (exit 1); exit 1; }; }
26579 cat >conftest.$ac_ext <<_ACEOF
26580 /* confdefs.h. */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26585 #include <math.h>
26587 main ()
26589 __builtin_labs(0);
26591 return 0;
26593 _ACEOF
26594 rm -f conftest.$ac_objext conftest$ac_exeext
26595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26596 (eval $ac_link) 2>conftest.er1
26597 ac_status=$?
26598 grep -v '^ *+' conftest.er1 >conftest.err
26599 rm -f conftest.er1
26600 cat conftest.err >&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); } &&
26603 { ac_try='test -z "$ac_c_werror_flag"
26604 || test ! -s conftest.err'
26605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26606 (eval $ac_try) 2>&5
26607 ac_status=$?
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); }; } &&
26610 { ac_try='test -s conftest$ac_exeext'
26611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26612 (eval $ac_try) 2>&5
26613 ac_status=$?
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; }; then
26616 glibcxx_cv_func___builtin_labs_link=yes
26617 else
26618 echo "$as_me: failed program was:" >&5
26619 sed 's/^/| /' conftest.$ac_ext >&5
26621 glibcxx_cv_func___builtin_labs_link=no
26623 rm -f conftest.err conftest.$ac_objext \
26624 conftest$ac_exeext conftest.$ac_ext
26629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26630 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26632 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26634 cat >>confdefs.h <<\_ACEOF
26635 #define HAVE___BUILTIN_LABS 1
26636 _ACEOF
26644 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26645 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26646 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26647 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26648 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 else
26653 ac_ext=cc
26654 ac_cpp='$CXXCPP $CPPFLAGS'
26655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26659 cat >conftest.$ac_ext <<_ACEOF
26660 /* confdefs.h. */
26661 _ACEOF
26662 cat confdefs.h >>conftest.$ac_ext
26663 cat >>conftest.$ac_ext <<_ACEOF
26664 /* end confdefs.h. */
26665 #include <math.h>
26667 main ()
26669 __builtin_sqrtf(0);
26671 return 0;
26673 _ACEOF
26674 rm -f conftest.$ac_objext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26676 (eval $ac_compile) 2>conftest.er1
26677 ac_status=$?
26678 grep -v '^ *+' conftest.er1 >conftest.err
26679 rm -f conftest.er1
26680 cat conftest.err >&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try='test -z "$ac_cxx_werror_flag"
26684 || test ! -s conftest.err'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26687 ac_status=$?
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; } &&
26690 { ac_try='test -s conftest.$ac_objext'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26693 ac_status=$?
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; }; then
26696 glibcxx_cv_func___builtin_sqrtf_use=yes
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26701 glibcxx_cv_func___builtin_sqrtf_use=no
26703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26704 ac_ext=c
26705 ac_cpp='$CPP $CPPFLAGS'
26706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26715 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26716 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26717 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26718 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26719 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26720 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 else
26724 if test x$gcc_no_link = xyes; then
26725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26727 { (exit 1); exit 1; }; }
26729 cat >conftest.$ac_ext <<_ACEOF
26730 /* confdefs.h. */
26731 _ACEOF
26732 cat confdefs.h >>conftest.$ac_ext
26733 cat >>conftest.$ac_ext <<_ACEOF
26734 /* end confdefs.h. */
26735 #include <math.h>
26737 main ()
26739 __builtin_sqrtf(0);
26741 return 0;
26743 _ACEOF
26744 rm -f conftest.$ac_objext conftest$ac_exeext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26746 (eval $ac_link) 2>conftest.er1
26747 ac_status=$?
26748 grep -v '^ *+' conftest.er1 >conftest.err
26749 rm -f conftest.er1
26750 cat conftest.err >&5
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); } &&
26753 { ac_try='test -z "$ac_c_werror_flag"
26754 || test ! -s conftest.err'
26755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756 (eval $ac_try) 2>&5
26757 ac_status=$?
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; } &&
26760 { ac_try='test -s conftest$ac_exeext'
26761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762 (eval $ac_try) 2>&5
26763 ac_status=$?
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); }; }; then
26766 glibcxx_cv_func___builtin_sqrtf_link=yes
26767 else
26768 echo "$as_me: failed program was:" >&5
26769 sed 's/^/| /' conftest.$ac_ext >&5
26771 glibcxx_cv_func___builtin_sqrtf_link=no
26773 rm -f conftest.err conftest.$ac_objext \
26774 conftest$ac_exeext conftest.$ac_ext
26779 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26780 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26782 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26784 cat >>confdefs.h <<\_ACEOF
26785 #define HAVE___BUILTIN_SQRTF 1
26786 _ACEOF
26793 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26794 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26795 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26796 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26797 echo $ECHO_N "(cached) $ECHO_C" >&6
26798 else
26802 ac_ext=cc
26803 ac_cpp='$CXXCPP $CPPFLAGS'
26804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814 #include <math.h>
26816 main ()
26818 __builtin_sqrt(0);
26820 return 0;
26822 _ACEOF
26823 rm -f conftest.$ac_objext
26824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26825 (eval $ac_compile) 2>conftest.er1
26826 ac_status=$?
26827 grep -v '^ *+' conftest.er1 >conftest.err
26828 rm -f conftest.er1
26829 cat conftest.err >&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } &&
26832 { ac_try='test -z "$ac_cxx_werror_flag"
26833 || test ! -s conftest.err'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; } &&
26839 { ac_try='test -s conftest.$ac_objext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 glibcxx_cv_func___builtin_sqrt_use=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26850 glibcxx_cv_func___builtin_sqrt_use=no
26852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26853 ac_ext=c
26854 ac_cpp='$CPP $CPPFLAGS'
26855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26864 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26865 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26866 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26867 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26868 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26869 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26873 if test x$gcc_no_link = xyes; then
26874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26876 { (exit 1); exit 1; }; }
26878 cat >conftest.$ac_ext <<_ACEOF
26879 /* confdefs.h. */
26880 _ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26884 #include <math.h>
26886 main ()
26888 __builtin_sqrt(0);
26890 return 0;
26892 _ACEOF
26893 rm -f conftest.$ac_objext conftest$ac_exeext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26895 (eval $ac_link) 2>conftest.er1
26896 ac_status=$?
26897 grep -v '^ *+' conftest.er1 >conftest.err
26898 rm -f conftest.er1
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } &&
26902 { ac_try='test -z "$ac_c_werror_flag"
26903 || test ! -s conftest.err'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try='test -s conftest$ac_exeext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26915 glibcxx_cv_func___builtin_sqrt_link=yes
26916 else
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26920 glibcxx_cv_func___builtin_sqrt_link=no
26922 rm -f conftest.err conftest.$ac_objext \
26923 conftest$ac_exeext conftest.$ac_ext
26928 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26929 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26931 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26933 cat >>confdefs.h <<\_ACEOF
26934 #define HAVE___BUILTIN_SQRT 1
26935 _ACEOF
26942 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26943 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26944 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26945 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26951 ac_ext=cc
26952 ac_cpp='$CXXCPP $CPPFLAGS'
26953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26957 cat >conftest.$ac_ext <<_ACEOF
26958 /* confdefs.h. */
26959 _ACEOF
26960 cat confdefs.h >>conftest.$ac_ext
26961 cat >>conftest.$ac_ext <<_ACEOF
26962 /* end confdefs.h. */
26963 #include <math.h>
26965 main ()
26967 __builtin_sqrtl(0);
26969 return 0;
26971 _ACEOF
26972 rm -f conftest.$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974 (eval $ac_compile) 2>conftest.er1
26975 ac_status=$?
26976 grep -v '^ *+' conftest.er1 >conftest.err
26977 rm -f conftest.er1
26978 cat conftest.err >&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -z "$ac_cxx_werror_flag"
26982 || test ! -s conftest.err'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; } &&
26988 { ac_try='test -s conftest.$ac_objext'
26989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26990 (eval $ac_try) 2>&5
26991 ac_status=$?
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; }; then
26994 glibcxx_cv_func___builtin_sqrtl_use=yes
26995 else
26996 echo "$as_me: failed program was:" >&5
26997 sed 's/^/| /' conftest.$ac_ext >&5
26999 glibcxx_cv_func___builtin_sqrtl_use=no
27001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27002 ac_ext=c
27003 ac_cpp='$CPP $CPPFLAGS'
27004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27012 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27013 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27014 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27015 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27016 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27017 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27018 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 else
27022 if test x$gcc_no_link = xyes; then
27023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27025 { (exit 1); exit 1; }; }
27027 cat >conftest.$ac_ext <<_ACEOF
27028 /* confdefs.h. */
27029 _ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27033 #include <math.h>
27035 main ()
27037 __builtin_sqrtl(0);
27039 return 0;
27041 _ACEOF
27042 rm -f conftest.$ac_objext conftest$ac_exeext
27043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27044 (eval $ac_link) 2>conftest.er1
27045 ac_status=$?
27046 grep -v '^ *+' conftest.er1 >conftest.err
27047 rm -f conftest.er1
27048 cat conftest.err >&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); } &&
27051 { ac_try='test -z "$ac_c_werror_flag"
27052 || test ! -s conftest.err'
27053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054 (eval $ac_try) 2>&5
27055 ac_status=$?
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; } &&
27058 { ac_try='test -s conftest$ac_exeext'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27061 ac_status=$?
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; }; then
27064 glibcxx_cv_func___builtin_sqrtl_link=yes
27065 else
27066 echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.$ac_ext >&5
27069 glibcxx_cv_func___builtin_sqrtl_link=no
27071 rm -f conftest.err conftest.$ac_objext \
27072 conftest$ac_exeext conftest.$ac_ext
27077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27078 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27080 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27082 cat >>confdefs.h <<\_ACEOF
27083 #define HAVE___BUILTIN_SQRTL 1
27084 _ACEOF
27092 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27093 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27094 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27095 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 else
27101 ac_ext=cc
27102 ac_cpp='$CXXCPP $CPPFLAGS'
27103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h. */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113 #include <math.h>
27115 main ()
27117 __builtin_sinf(0);
27119 return 0;
27121 _ACEOF
27122 rm -f conftest.$ac_objext
27123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27124 (eval $ac_compile) 2>conftest.er1
27125 ac_status=$?
27126 grep -v '^ *+' conftest.er1 >conftest.err
27127 rm -f conftest.er1
27128 cat conftest.err >&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); } &&
27131 { ac_try='test -z "$ac_cxx_werror_flag"
27132 || test ! -s conftest.err'
27133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134 (eval $ac_try) 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); }; } &&
27138 { ac_try='test -s conftest.$ac_objext'
27139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27140 (eval $ac_try) 2>&5
27141 ac_status=$?
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); }; }; then
27144 glibcxx_cv_func___builtin_sinf_use=yes
27145 else
27146 echo "$as_me: failed program was:" >&5
27147 sed 's/^/| /' conftest.$ac_ext >&5
27149 glibcxx_cv_func___builtin_sinf_use=no
27151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27152 ac_ext=c
27153 ac_cpp='$CPP $CPPFLAGS'
27154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27163 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27164 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27165 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27166 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27167 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27168 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27172 if test x$gcc_no_link = xyes; then
27173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27175 { (exit 1); exit 1; }; }
27177 cat >conftest.$ac_ext <<_ACEOF
27178 /* confdefs.h. */
27179 _ACEOF
27180 cat confdefs.h >>conftest.$ac_ext
27181 cat >>conftest.$ac_ext <<_ACEOF
27182 /* end confdefs.h. */
27183 #include <math.h>
27185 main ()
27187 __builtin_sinf(0);
27189 return 0;
27191 _ACEOF
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27194 (eval $ac_link) 2>conftest.er1
27195 ac_status=$?
27196 grep -v '^ *+' conftest.er1 >conftest.err
27197 rm -f conftest.er1
27198 cat conftest.err >&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try='test -z "$ac_c_werror_flag"
27202 || test ! -s conftest.err'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27205 ac_status=$?
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; } &&
27208 { ac_try='test -s conftest$ac_exeext'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27211 ac_status=$?
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; }; then
27214 glibcxx_cv_func___builtin_sinf_link=yes
27215 else
27216 echo "$as_me: failed program was:" >&5
27217 sed 's/^/| /' conftest.$ac_ext >&5
27219 glibcxx_cv_func___builtin_sinf_link=no
27221 rm -f conftest.err conftest.$ac_objext \
27222 conftest$ac_exeext conftest.$ac_ext
27227 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27228 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27230 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27232 cat >>confdefs.h <<\_ACEOF
27233 #define HAVE___BUILTIN_SINF 1
27234 _ACEOF
27241 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27242 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27243 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27244 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27245 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 else
27250 ac_ext=cc
27251 ac_cpp='$CXXCPP $CPPFLAGS'
27252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27256 cat >conftest.$ac_ext <<_ACEOF
27257 /* confdefs.h. */
27258 _ACEOF
27259 cat confdefs.h >>conftest.$ac_ext
27260 cat >>conftest.$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27262 #include <math.h>
27264 main ()
27266 __builtin_sin(0);
27268 return 0;
27270 _ACEOF
27271 rm -f conftest.$ac_objext
27272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27273 (eval $ac_compile) 2>conftest.er1
27274 ac_status=$?
27275 grep -v '^ *+' conftest.er1 >conftest.err
27276 rm -f conftest.er1
27277 cat conftest.err >&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try='test -z "$ac_cxx_werror_flag"
27281 || test ! -s conftest.err'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27284 ac_status=$?
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; } &&
27287 { ac_try='test -s conftest.$ac_objext'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27290 ac_status=$?
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; }; then
27293 glibcxx_cv_func___builtin_sin_use=yes
27294 else
27295 echo "$as_me: failed program was:" >&5
27296 sed 's/^/| /' conftest.$ac_ext >&5
27298 glibcxx_cv_func___builtin_sin_use=no
27300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27301 ac_ext=c
27302 ac_cpp='$CPP $CPPFLAGS'
27303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27312 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27313 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27314 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27315 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27316 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27317 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 else
27321 if test x$gcc_no_link = xyes; then
27322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27324 { (exit 1); exit 1; }; }
27326 cat >conftest.$ac_ext <<_ACEOF
27327 /* confdefs.h. */
27328 _ACEOF
27329 cat confdefs.h >>conftest.$ac_ext
27330 cat >>conftest.$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27332 #include <math.h>
27334 main ()
27336 __builtin_sin(0);
27338 return 0;
27340 _ACEOF
27341 rm -f conftest.$ac_objext conftest$ac_exeext
27342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27343 (eval $ac_link) 2>conftest.er1
27344 ac_status=$?
27345 grep -v '^ *+' conftest.er1 >conftest.err
27346 rm -f conftest.er1
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } &&
27350 { ac_try='test -z "$ac_c_werror_flag"
27351 || test ! -s conftest.err'
27352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353 (eval $ac_try) 2>&5
27354 ac_status=$?
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); }; } &&
27357 { ac_try='test -s conftest$ac_exeext'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; }; then
27363 glibcxx_cv_func___builtin_sin_link=yes
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27368 glibcxx_cv_func___builtin_sin_link=no
27370 rm -f conftest.err conftest.$ac_objext \
27371 conftest$ac_exeext conftest.$ac_ext
27376 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27377 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27379 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27381 cat >>confdefs.h <<\_ACEOF
27382 #define HAVE___BUILTIN_SIN 1
27383 _ACEOF
27390 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27391 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27392 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27393 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27395 else
27399 ac_ext=cc
27400 ac_cpp='$CXXCPP $CPPFLAGS'
27401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27405 cat >conftest.$ac_ext <<_ACEOF
27406 /* confdefs.h. */
27407 _ACEOF
27408 cat confdefs.h >>conftest.$ac_ext
27409 cat >>conftest.$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27411 #include <math.h>
27413 main ()
27415 __builtin_sinl(0);
27417 return 0;
27419 _ACEOF
27420 rm -f conftest.$ac_objext
27421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27422 (eval $ac_compile) 2>conftest.er1
27423 ac_status=$?
27424 grep -v '^ *+' conftest.er1 >conftest.err
27425 rm -f conftest.er1
27426 cat conftest.err >&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } &&
27429 { ac_try='test -z "$ac_cxx_werror_flag"
27430 || test ! -s conftest.err'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; } &&
27436 { ac_try='test -s conftest.$ac_objext'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27439 ac_status=$?
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; }; then
27442 glibcxx_cv_func___builtin_sinl_use=yes
27443 else
27444 echo "$as_me: failed program was:" >&5
27445 sed 's/^/| /' conftest.$ac_ext >&5
27447 glibcxx_cv_func___builtin_sinl_use=no
27449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27450 ac_ext=c
27451 ac_cpp='$CPP $CPPFLAGS'
27452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27462 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27463 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27464 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27465 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27466 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27467 echo $ECHO_N "(cached) $ECHO_C" >&6
27468 else
27470 if test x$gcc_no_link = xyes; then
27471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27473 { (exit 1); exit 1; }; }
27475 cat >conftest.$ac_ext <<_ACEOF
27476 /* confdefs.h. */
27477 _ACEOF
27478 cat confdefs.h >>conftest.$ac_ext
27479 cat >>conftest.$ac_ext <<_ACEOF
27480 /* end confdefs.h. */
27481 #include <math.h>
27483 main ()
27485 __builtin_sinl(0);
27487 return 0;
27489 _ACEOF
27490 rm -f conftest.$ac_objext conftest$ac_exeext
27491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27492 (eval $ac_link) 2>conftest.er1
27493 ac_status=$?
27494 grep -v '^ *+' conftest.er1 >conftest.err
27495 rm -f conftest.er1
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } &&
27499 { ac_try='test -z "$ac_c_werror_flag"
27500 || test ! -s conftest.err'
27501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27502 (eval $ac_try) 2>&5
27503 ac_status=$?
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); }; } &&
27506 { ac_try='test -s conftest$ac_exeext'
27507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508 (eval $ac_try) 2>&5
27509 ac_status=$?
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); }; }; then
27512 glibcxx_cv_func___builtin_sinl_link=yes
27513 else
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.$ac_ext >&5
27517 glibcxx_cv_func___builtin_sinl_link=no
27519 rm -f conftest.err conftest.$ac_objext \
27520 conftest$ac_exeext conftest.$ac_ext
27525 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27526 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27528 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27530 cat >>confdefs.h <<\_ACEOF
27531 #define HAVE___BUILTIN_SINL 1
27532 _ACEOF
27540 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27541 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27542 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27543 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27545 else
27549 ac_ext=cc
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27555 cat >conftest.$ac_ext <<_ACEOF
27556 /* confdefs.h. */
27557 _ACEOF
27558 cat confdefs.h >>conftest.$ac_ext
27559 cat >>conftest.$ac_ext <<_ACEOF
27560 /* end confdefs.h. */
27561 #include <math.h>
27563 main ()
27565 __builtin_cosf(0);
27567 return 0;
27569 _ACEOF
27570 rm -f conftest.$ac_objext
27571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27572 (eval $ac_compile) 2>conftest.er1
27573 ac_status=$?
27574 grep -v '^ *+' conftest.er1 >conftest.err
27575 rm -f conftest.er1
27576 cat conftest.err >&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } &&
27579 { ac_try='test -z "$ac_cxx_werror_flag"
27580 || test ! -s conftest.err'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27583 ac_status=$?
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; } &&
27586 { ac_try='test -s conftest.$ac_objext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27589 ac_status=$?
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27592 glibcxx_cv_func___builtin_cosf_use=yes
27593 else
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27597 glibcxx_cv_func___builtin_cosf_use=no
27599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27600 ac_ext=c
27601 ac_cpp='$CPP $CPPFLAGS'
27602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27611 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27612 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27613 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27614 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27615 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27616 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 else
27620 if test x$gcc_no_link = xyes; then
27621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27623 { (exit 1); exit 1; }; }
27625 cat >conftest.$ac_ext <<_ACEOF
27626 /* confdefs.h. */
27627 _ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 #include <math.h>
27633 main ()
27635 __builtin_cosf(0);
27637 return 0;
27639 _ACEOF
27640 rm -f conftest.$ac_objext conftest$ac_exeext
27641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27642 (eval $ac_link) 2>conftest.er1
27643 ac_status=$?
27644 grep -v '^ *+' conftest.er1 >conftest.err
27645 rm -f conftest.er1
27646 cat conftest.err >&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); } &&
27649 { ac_try='test -z "$ac_c_werror_flag"
27650 || test ! -s conftest.err'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27653 ac_status=$?
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; } &&
27656 { ac_try='test -s conftest$ac_exeext'
27657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27658 (eval $ac_try) 2>&5
27659 ac_status=$?
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); }; }; then
27662 glibcxx_cv_func___builtin_cosf_link=yes
27663 else
27664 echo "$as_me: failed program was:" >&5
27665 sed 's/^/| /' conftest.$ac_ext >&5
27667 glibcxx_cv_func___builtin_cosf_link=no
27669 rm -f conftest.err conftest.$ac_objext \
27670 conftest$ac_exeext conftest.$ac_ext
27675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27676 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27678 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27680 cat >>confdefs.h <<\_ACEOF
27681 #define HAVE___BUILTIN_COSF 1
27682 _ACEOF
27689 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27690 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27691 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27692 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27693 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 else
27698 ac_ext=cc
27699 ac_cpp='$CXXCPP $CPPFLAGS'
27700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27704 cat >conftest.$ac_ext <<_ACEOF
27705 /* confdefs.h. */
27706 _ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27710 #include <math.h>
27712 main ()
27714 __builtin_cos(0);
27716 return 0;
27718 _ACEOF
27719 rm -f conftest.$ac_objext
27720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27721 (eval $ac_compile) 2>conftest.er1
27722 ac_status=$?
27723 grep -v '^ *+' conftest.er1 >conftest.err
27724 rm -f conftest.er1
27725 cat conftest.err >&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); } &&
27728 { ac_try='test -z "$ac_cxx_werror_flag"
27729 || test ! -s conftest.err'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; } &&
27735 { ac_try='test -s conftest.$ac_objext'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27738 ac_status=$?
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; }; then
27741 glibcxx_cv_func___builtin_cos_use=yes
27742 else
27743 echo "$as_me: failed program was:" >&5
27744 sed 's/^/| /' conftest.$ac_ext >&5
27746 glibcxx_cv_func___builtin_cos_use=no
27748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27749 ac_ext=c
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27760 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27761 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27762 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27763 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27764 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27765 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27769 if test x$gcc_no_link = xyes; then
27770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27772 { (exit 1); exit 1; }; }
27774 cat >conftest.$ac_ext <<_ACEOF
27775 /* confdefs.h. */
27776 _ACEOF
27777 cat confdefs.h >>conftest.$ac_ext
27778 cat >>conftest.$ac_ext <<_ACEOF
27779 /* end confdefs.h. */
27780 #include <math.h>
27782 main ()
27784 __builtin_cos(0);
27786 return 0;
27788 _ACEOF
27789 rm -f conftest.$ac_objext conftest$ac_exeext
27790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27791 (eval $ac_link) 2>conftest.er1
27792 ac_status=$?
27793 grep -v '^ *+' conftest.er1 >conftest.err
27794 rm -f conftest.er1
27795 cat conftest.err >&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); } &&
27798 { ac_try='test -z "$ac_c_werror_flag"
27799 || test ! -s conftest.err'
27800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27801 (eval $ac_try) 2>&5
27802 ac_status=$?
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); }; } &&
27805 { ac_try='test -s conftest$ac_exeext'
27806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27807 (eval $ac_try) 2>&5
27808 ac_status=$?
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); }; }; then
27811 glibcxx_cv_func___builtin_cos_link=yes
27812 else
27813 echo "$as_me: failed program was:" >&5
27814 sed 's/^/| /' conftest.$ac_ext >&5
27816 glibcxx_cv_func___builtin_cos_link=no
27818 rm -f conftest.err conftest.$ac_objext \
27819 conftest$ac_exeext conftest.$ac_ext
27824 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27825 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27827 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27829 cat >>confdefs.h <<\_ACEOF
27830 #define HAVE___BUILTIN_COS 1
27831 _ACEOF
27838 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27839 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27840 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27841 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27843 else
27847 ac_ext=cc
27848 ac_cpp='$CXXCPP $CPPFLAGS'
27849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27853 cat >conftest.$ac_ext <<_ACEOF
27854 /* confdefs.h. */
27855 _ACEOF
27856 cat confdefs.h >>conftest.$ac_ext
27857 cat >>conftest.$ac_ext <<_ACEOF
27858 /* end confdefs.h. */
27859 #include <math.h>
27861 main ()
27863 __builtin_cosl(0);
27865 return 0;
27867 _ACEOF
27868 rm -f conftest.$ac_objext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27870 (eval $ac_compile) 2>conftest.er1
27871 ac_status=$?
27872 grep -v '^ *+' conftest.er1 >conftest.err
27873 rm -f conftest.er1
27874 cat conftest.err >&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try='test -z "$ac_cxx_werror_flag"
27878 || test ! -s conftest.err'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27881 ac_status=$?
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; } &&
27884 { ac_try='test -s conftest.$ac_objext'
27885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27886 (eval $ac_try) 2>&5
27887 ac_status=$?
27888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27889 (exit $ac_status); }; }; then
27890 glibcxx_cv_func___builtin_cosl_use=yes
27891 else
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27895 glibcxx_cv_func___builtin_cosl_use=no
27897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27898 ac_ext=c
27899 ac_cpp='$CPP $CPPFLAGS'
27900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27909 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27910 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27911 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27912 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27913 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27914 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27915 echo $ECHO_N "(cached) $ECHO_C" >&6
27916 else
27918 if test x$gcc_no_link = xyes; then
27919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27921 { (exit 1); exit 1; }; }
27923 cat >conftest.$ac_ext <<_ACEOF
27924 /* confdefs.h. */
27925 _ACEOF
27926 cat confdefs.h >>conftest.$ac_ext
27927 cat >>conftest.$ac_ext <<_ACEOF
27928 /* end confdefs.h. */
27929 #include <math.h>
27931 main ()
27933 __builtin_cosl(0);
27935 return 0;
27937 _ACEOF
27938 rm -f conftest.$ac_objext conftest$ac_exeext
27939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27940 (eval $ac_link) 2>conftest.er1
27941 ac_status=$?
27942 grep -v '^ *+' conftest.er1 >conftest.err
27943 rm -f conftest.er1
27944 cat conftest.err >&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); } &&
27947 { ac_try='test -z "$ac_c_werror_flag"
27948 || test ! -s conftest.err'
27949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27950 (eval $ac_try) 2>&5
27951 ac_status=$?
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); }; } &&
27954 { ac_try='test -s conftest$ac_exeext'
27955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27956 (eval $ac_try) 2>&5
27957 ac_status=$?
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); }; }; then
27960 glibcxx_cv_func___builtin_cosl_link=yes
27961 else
27962 echo "$as_me: failed program was:" >&5
27963 sed 's/^/| /' conftest.$ac_ext >&5
27965 glibcxx_cv_func___builtin_cosl_link=no
27967 rm -f conftest.err conftest.$ac_objext \
27968 conftest$ac_exeext conftest.$ac_ext
27973 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27974 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27976 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27978 cat >>confdefs.h <<\_ACEOF
27979 #define HAVE___BUILTIN_COSL 1
27980 _ACEOF
27989 echo "$as_me:$LINENO: checking for main in -lm" >&5
27990 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27991 if test "${ac_cv_lib_m_main+set}" = set; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 else
27994 ac_check_lib_save_LIBS=$LIBS
27995 LIBS="-lm $LIBS"
27996 if test x$gcc_no_link = xyes; then
27997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27999 { (exit 1); exit 1; }; }
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28010 main ()
28012 main ();
28014 return 0;
28016 _ACEOF
28017 rm -f conftest.$ac_objext conftest$ac_exeext
28018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28019 (eval $ac_link) 2>conftest.er1
28020 ac_status=$?
28021 grep -v '^ *+' conftest.er1 >conftest.err
28022 rm -f conftest.er1
28023 cat conftest.err >&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); } &&
28026 { ac_try='test -z "$ac_c_werror_flag"
28027 || test ! -s conftest.err'
28028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029 (eval $ac_try) 2>&5
28030 ac_status=$?
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); }; } &&
28033 { ac_try='test -s conftest$ac_exeext'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28036 ac_status=$?
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28039 ac_cv_lib_m_main=yes
28040 else
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28044 ac_cv_lib_m_main=no
28046 rm -f conftest.err conftest.$ac_objext \
28047 conftest$ac_exeext conftest.$ac_ext
28048 LIBS=$ac_check_lib_save_LIBS
28050 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28051 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28052 if test $ac_cv_lib_m_main = yes; then
28053 cat >>confdefs.h <<_ACEOF
28054 #define HAVE_LIBM 1
28055 _ACEOF
28057 LIBS="-lm $LIBS"
28062 for ac_func in copysignf
28064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28065 echo "$as_me:$LINENO: checking for $ac_func" >&5
28066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28067 if eval "test \"\${$as_ac_var+set}\" = set"; then
28068 echo $ECHO_N "(cached) $ECHO_C" >&6
28069 else
28070 if test x$gcc_no_link = xyes; then
28071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28073 { (exit 1); exit 1; }; }
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28083 #define $ac_func innocuous_$ac_func
28085 /* System header to define __stub macros and hopefully few prototypes,
28086 which can conflict with char $ac_func (); below.
28087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28088 <limits.h> exists even on freestanding compilers. */
28090 #ifdef __STDC__
28091 # include <limits.h>
28092 #else
28093 # include <assert.h>
28094 #endif
28096 #undef $ac_func
28098 /* Override any gcc2 internal prototype to avoid an error. */
28099 #ifdef __cplusplus
28100 extern "C"
28102 #endif
28103 /* We use char because int might match the return type of a gcc2
28104 builtin and then its argument prototype would still apply. */
28105 char $ac_func ();
28106 /* The GNU C library defines this for functions which it implements
28107 to always fail with ENOSYS. Some functions are actually named
28108 something starting with __ and the normal name is an alias. */
28109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28110 choke me
28111 #else
28112 char (*f) () = $ac_func;
28113 #endif
28114 #ifdef __cplusplus
28116 #endif
28119 main ()
28121 return f != $ac_func;
28123 return 0;
28125 _ACEOF
28126 rm -f conftest.$ac_objext conftest$ac_exeext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28128 (eval $ac_link) 2>conftest.er1
28129 ac_status=$?
28130 grep -v '^ *+' conftest.er1 >conftest.err
28131 rm -f conftest.er1
28132 cat conftest.err >&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } &&
28135 { ac_try='test -z "$ac_c_werror_flag"
28136 || test ! -s conftest.err'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28139 ac_status=$?
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try='test -s conftest$ac_exeext'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28145 ac_status=$?
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 eval "$as_ac_var=yes"
28149 else
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.$ac_ext >&5
28153 eval "$as_ac_var=no"
28155 rm -f conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28160 if test `eval echo '${'$as_ac_var'}'` = yes; then
28161 cat >>confdefs.h <<_ACEOF
28162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28163 _ACEOF
28165 else
28166 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28168 done
28172 for ac_func in __signbit
28174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28175 echo "$as_me:$LINENO: checking for $ac_func" >&5
28176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28177 if eval "test \"\${$as_ac_var+set}\" = set"; then
28178 echo $ECHO_N "(cached) $ECHO_C" >&6
28179 else
28180 if test x$gcc_no_link = xyes; then
28181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28183 { (exit 1); exit 1; }; }
28185 cat >conftest.$ac_ext <<_ACEOF
28186 /* confdefs.h. */
28187 _ACEOF
28188 cat confdefs.h >>conftest.$ac_ext
28189 cat >>conftest.$ac_ext <<_ACEOF
28190 /* end confdefs.h. */
28191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28193 #define $ac_func innocuous_$ac_func
28195 /* System header to define __stub macros and hopefully few prototypes,
28196 which can conflict with char $ac_func (); below.
28197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28198 <limits.h> exists even on freestanding compilers. */
28200 #ifdef __STDC__
28201 # include <limits.h>
28202 #else
28203 # include <assert.h>
28204 #endif
28206 #undef $ac_func
28208 /* Override any gcc2 internal prototype to avoid an error. */
28209 #ifdef __cplusplus
28210 extern "C"
28212 #endif
28213 /* We use char because int might match the return type of a gcc2
28214 builtin and then its argument prototype would still apply. */
28215 char $ac_func ();
28216 /* The GNU C library defines this for functions which it implements
28217 to always fail with ENOSYS. Some functions are actually named
28218 something starting with __ and the normal name is an alias. */
28219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28220 choke me
28221 #else
28222 char (*f) () = $ac_func;
28223 #endif
28224 #ifdef __cplusplus
28226 #endif
28229 main ()
28231 return f != $ac_func;
28233 return 0;
28235 _ACEOF
28236 rm -f conftest.$ac_objext conftest$ac_exeext
28237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28238 (eval $ac_link) 2>conftest.er1
28239 ac_status=$?
28240 grep -v '^ *+' conftest.er1 >conftest.err
28241 rm -f conftest.er1
28242 cat conftest.err >&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); } &&
28245 { ac_try='test -z "$ac_c_werror_flag"
28246 || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28249 ac_status=$?
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try='test -s conftest$ac_exeext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28255 ac_status=$?
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 eval "$as_ac_var=yes"
28259 else
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28263 eval "$as_ac_var=no"
28265 rm -f conftest.err conftest.$ac_objext \
28266 conftest$ac_exeext conftest.$ac_ext
28268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28270 if test `eval echo '${'$as_ac_var'}'` = yes; then
28271 cat >>confdefs.h <<_ACEOF
28272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28273 _ACEOF
28275 else
28276 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28278 done
28282 for ac_func in __signbitf
28284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28285 echo "$as_me:$LINENO: checking for $ac_func" >&5
28286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28287 if eval "test \"\${$as_ac_var+set}\" = set"; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28289 else
28290 if test x$gcc_no_link = xyes; then
28291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28293 { (exit 1); exit 1; }; }
28295 cat >conftest.$ac_ext <<_ACEOF
28296 /* confdefs.h. */
28297 _ACEOF
28298 cat confdefs.h >>conftest.$ac_ext
28299 cat >>conftest.$ac_ext <<_ACEOF
28300 /* end confdefs.h. */
28301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28303 #define $ac_func innocuous_$ac_func
28305 /* System header to define __stub macros and hopefully few prototypes,
28306 which can conflict with char $ac_func (); below.
28307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28308 <limits.h> exists even on freestanding compilers. */
28310 #ifdef __STDC__
28311 # include <limits.h>
28312 #else
28313 # include <assert.h>
28314 #endif
28316 #undef $ac_func
28318 /* Override any gcc2 internal prototype to avoid an error. */
28319 #ifdef __cplusplus
28320 extern "C"
28322 #endif
28323 /* We use char because int might match the return type of a gcc2
28324 builtin and then its argument prototype would still apply. */
28325 char $ac_func ();
28326 /* The GNU C library defines this for functions which it implements
28327 to always fail with ENOSYS. Some functions are actually named
28328 something starting with __ and the normal name is an alias. */
28329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28330 choke me
28331 #else
28332 char (*f) () = $ac_func;
28333 #endif
28334 #ifdef __cplusplus
28336 #endif
28339 main ()
28341 return f != $ac_func;
28343 return 0;
28345 _ACEOF
28346 rm -f conftest.$ac_objext conftest$ac_exeext
28347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28348 (eval $ac_link) 2>conftest.er1
28349 ac_status=$?
28350 grep -v '^ *+' conftest.er1 >conftest.err
28351 rm -f conftest.er1
28352 cat conftest.err >&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try='test -z "$ac_c_werror_flag"
28356 || test ! -s conftest.err'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28359 ac_status=$?
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; } &&
28362 { ac_try='test -s conftest$ac_exeext'
28363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28364 (eval $ac_try) 2>&5
28365 ac_status=$?
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); }; }; then
28368 eval "$as_ac_var=yes"
28369 else
28370 echo "$as_me: failed program was:" >&5
28371 sed 's/^/| /' conftest.$ac_ext >&5
28373 eval "$as_ac_var=no"
28375 rm -f conftest.err conftest.$ac_objext \
28376 conftest$ac_exeext conftest.$ac_ext
28378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28380 if test `eval echo '${'$as_ac_var'}'` = yes; then
28381 cat >>confdefs.h <<_ACEOF
28382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28383 _ACEOF
28385 else
28386 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28388 done
28391 if test x$ac_cv_func_copysignl = x"yes"; then
28393 for ac_func in __signbitl
28395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28396 echo "$as_me:$LINENO: checking for $ac_func" >&5
28397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28398 if eval "test \"\${$as_ac_var+set}\" = set"; then
28399 echo $ECHO_N "(cached) $ECHO_C" >&6
28400 else
28401 if test x$gcc_no_link = xyes; then
28402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28404 { (exit 1); exit 1; }; }
28406 cat >conftest.$ac_ext <<_ACEOF
28407 /* confdefs.h. */
28408 _ACEOF
28409 cat confdefs.h >>conftest.$ac_ext
28410 cat >>conftest.$ac_ext <<_ACEOF
28411 /* end confdefs.h. */
28412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28414 #define $ac_func innocuous_$ac_func
28416 /* System header to define __stub macros and hopefully few prototypes,
28417 which can conflict with char $ac_func (); below.
28418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28419 <limits.h> exists even on freestanding compilers. */
28421 #ifdef __STDC__
28422 # include <limits.h>
28423 #else
28424 # include <assert.h>
28425 #endif
28427 #undef $ac_func
28429 /* Override any gcc2 internal prototype to avoid an error. */
28430 #ifdef __cplusplus
28431 extern "C"
28433 #endif
28434 /* We use char because int might match the return type of a gcc2
28435 builtin and then its argument prototype would still apply. */
28436 char $ac_func ();
28437 /* The GNU C library defines this for functions which it implements
28438 to always fail with ENOSYS. Some functions are actually named
28439 something starting with __ and the normal name is an alias. */
28440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28441 choke me
28442 #else
28443 char (*f) () = $ac_func;
28444 #endif
28445 #ifdef __cplusplus
28447 #endif
28450 main ()
28452 return f != $ac_func;
28454 return 0;
28456 _ACEOF
28457 rm -f conftest.$ac_objext conftest$ac_exeext
28458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28459 (eval $ac_link) 2>conftest.er1
28460 ac_status=$?
28461 grep -v '^ *+' conftest.er1 >conftest.err
28462 rm -f conftest.er1
28463 cat conftest.err >&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); } &&
28466 { ac_try='test -z "$ac_c_werror_flag"
28467 || test ! -s conftest.err'
28468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469 (eval $ac_try) 2>&5
28470 ac_status=$?
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; } &&
28473 { ac_try='test -s conftest$ac_exeext'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28476 ac_status=$?
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; }; then
28479 eval "$as_ac_var=yes"
28480 else
28481 echo "$as_me: failed program was:" >&5
28482 sed 's/^/| /' conftest.$ac_ext >&5
28484 eval "$as_ac_var=no"
28486 rm -f conftest.err conftest.$ac_objext \
28487 conftest$ac_exeext conftest.$ac_ext
28489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28491 if test `eval echo '${'$as_ac_var'}'` = yes; then
28492 cat >>confdefs.h <<_ACEOF
28493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28494 _ACEOF
28496 else
28497 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28499 done
28503 # Used in libmath/Makefile.am.
28504 if test -n "$LIBMATHOBJS"; then
28505 need_libmath=yes
28510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28511 ac_save_CXXFLAGS="$CXXFLAGS"
28512 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28515 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28516 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28517 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28518 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28519 echo $ECHO_N "(cached) $ECHO_C" >&6
28520 else
28524 ac_ext=cc
28525 ac_cpp='$CXXCPP $CPPFLAGS'
28526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28530 cat >conftest.$ac_ext <<_ACEOF
28531 /* confdefs.h. */
28532 _ACEOF
28533 cat confdefs.h >>conftest.$ac_ext
28534 cat >>conftest.$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28536 #include <stdlib.h>
28538 main ()
28540 strtold(0, 0);
28542 return 0;
28544 _ACEOF
28545 rm -f conftest.$ac_objext
28546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28547 (eval $ac_compile) 2>conftest.er1
28548 ac_status=$?
28549 grep -v '^ *+' conftest.er1 >conftest.err
28550 rm -f conftest.er1
28551 cat conftest.err >&5
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); } &&
28554 { ac_try='test -z "$ac_cxx_werror_flag"
28555 || test ! -s conftest.err'
28556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28557 (eval $ac_try) 2>&5
28558 ac_status=$?
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); }; } &&
28561 { ac_try='test -s conftest.$ac_objext'
28562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28563 (eval $ac_try) 2>&5
28564 ac_status=$?
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; }; then
28567 glibcxx_cv_func_strtold_use=yes
28568 else
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28572 glibcxx_cv_func_strtold_use=no
28574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28575 ac_ext=c
28576 ac_cpp='$CPP $CPPFLAGS'
28577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28586 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28587 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28589 for ac_func in strtold
28591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28592 echo "$as_me:$LINENO: checking for $ac_func" >&5
28593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28594 if eval "test \"\${$as_ac_var+set}\" = set"; then
28595 echo $ECHO_N "(cached) $ECHO_C" >&6
28596 else
28597 if test x$gcc_no_link = xyes; then
28598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28600 { (exit 1); exit 1; }; }
28602 cat >conftest.$ac_ext <<_ACEOF
28603 /* confdefs.h. */
28604 _ACEOF
28605 cat confdefs.h >>conftest.$ac_ext
28606 cat >>conftest.$ac_ext <<_ACEOF
28607 /* end confdefs.h. */
28608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28610 #define $ac_func innocuous_$ac_func
28612 /* System header to define __stub macros and hopefully few prototypes,
28613 which can conflict with char $ac_func (); below.
28614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28615 <limits.h> exists even on freestanding compilers. */
28617 #ifdef __STDC__
28618 # include <limits.h>
28619 #else
28620 # include <assert.h>
28621 #endif
28623 #undef $ac_func
28625 /* Override any gcc2 internal prototype to avoid an error. */
28626 #ifdef __cplusplus
28627 extern "C"
28629 #endif
28630 /* We use char because int might match the return type of a gcc2
28631 builtin and then its argument prototype would still apply. */
28632 char $ac_func ();
28633 /* The GNU C library defines this for functions which it implements
28634 to always fail with ENOSYS. Some functions are actually named
28635 something starting with __ and the normal name is an alias. */
28636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28637 choke me
28638 #else
28639 char (*f) () = $ac_func;
28640 #endif
28641 #ifdef __cplusplus
28643 #endif
28646 main ()
28648 return f != $ac_func;
28650 return 0;
28652 _ACEOF
28653 rm -f conftest.$ac_objext conftest$ac_exeext
28654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28655 (eval $ac_link) 2>conftest.er1
28656 ac_status=$?
28657 grep -v '^ *+' conftest.er1 >conftest.err
28658 rm -f conftest.er1
28659 cat conftest.err >&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); } &&
28662 { ac_try='test -z "$ac_c_werror_flag"
28663 || test ! -s conftest.err'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28666 ac_status=$?
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; } &&
28669 { ac_try='test -s conftest$ac_exeext'
28670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28671 (eval $ac_try) 2>&5
28672 ac_status=$?
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); }; }; then
28675 eval "$as_ac_var=yes"
28676 else
28677 echo "$as_me: failed program was:" >&5
28678 sed 's/^/| /' conftest.$ac_ext >&5
28680 eval "$as_ac_var=no"
28682 rm -f conftest.err conftest.$ac_objext \
28683 conftest$ac_exeext conftest.$ac_ext
28685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28687 if test `eval echo '${'$as_ac_var'}'` = yes; then
28688 cat >>confdefs.h <<_ACEOF
28689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28690 _ACEOF
28693 done
28701 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28702 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28703 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28704 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 else
28710 ac_ext=cc
28711 ac_cpp='$CXXCPP $CPPFLAGS'
28712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28716 cat >conftest.$ac_ext <<_ACEOF
28717 /* confdefs.h. */
28718 _ACEOF
28719 cat confdefs.h >>conftest.$ac_ext
28720 cat >>conftest.$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 #include <stdlib.h>
28724 main ()
28726 strtof(0, 0);
28728 return 0;
28730 _ACEOF
28731 rm -f conftest.$ac_objext
28732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28733 (eval $ac_compile) 2>conftest.er1
28734 ac_status=$?
28735 grep -v '^ *+' conftest.er1 >conftest.err
28736 rm -f conftest.er1
28737 cat conftest.err >&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); } &&
28740 { ac_try='test -z "$ac_cxx_werror_flag"
28741 || test ! -s conftest.err'
28742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28743 (eval $ac_try) 2>&5
28744 ac_status=$?
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); }; } &&
28747 { ac_try='test -s conftest.$ac_objext'
28748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28749 (eval $ac_try) 2>&5
28750 ac_status=$?
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); }; }; then
28753 glibcxx_cv_func_strtof_use=yes
28754 else
28755 echo "$as_me: failed program was:" >&5
28756 sed 's/^/| /' conftest.$ac_ext >&5
28758 glibcxx_cv_func_strtof_use=no
28760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28761 ac_ext=c
28762 ac_cpp='$CPP $CPPFLAGS'
28763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28772 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28773 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28775 for ac_func in strtof
28777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28778 echo "$as_me:$LINENO: checking for $ac_func" >&5
28779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28780 if eval "test \"\${$as_ac_var+set}\" = set"; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 else
28783 if test x$gcc_no_link = xyes; then
28784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28786 { (exit 1); exit 1; }; }
28788 cat >conftest.$ac_ext <<_ACEOF
28789 /* confdefs.h. */
28790 _ACEOF
28791 cat confdefs.h >>conftest.$ac_ext
28792 cat >>conftest.$ac_ext <<_ACEOF
28793 /* end confdefs.h. */
28794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28796 #define $ac_func innocuous_$ac_func
28798 /* System header to define __stub macros and hopefully few prototypes,
28799 which can conflict with char $ac_func (); below.
28800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28801 <limits.h> exists even on freestanding compilers. */
28803 #ifdef __STDC__
28804 # include <limits.h>
28805 #else
28806 # include <assert.h>
28807 #endif
28809 #undef $ac_func
28811 /* Override any gcc2 internal prototype to avoid an error. */
28812 #ifdef __cplusplus
28813 extern "C"
28815 #endif
28816 /* We use char because int might match the return type of a gcc2
28817 builtin and then its argument prototype would still apply. */
28818 char $ac_func ();
28819 /* The GNU C library defines this for functions which it implements
28820 to always fail with ENOSYS. Some functions are actually named
28821 something starting with __ and the normal name is an alias. */
28822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28823 choke me
28824 #else
28825 char (*f) () = $ac_func;
28826 #endif
28827 #ifdef __cplusplus
28829 #endif
28832 main ()
28834 return f != $ac_func;
28836 return 0;
28838 _ACEOF
28839 rm -f conftest.$ac_objext conftest$ac_exeext
28840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28841 (eval $ac_link) 2>conftest.er1
28842 ac_status=$?
28843 grep -v '^ *+' conftest.er1 >conftest.err
28844 rm -f conftest.er1
28845 cat conftest.err >&5
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); } &&
28848 { ac_try='test -z "$ac_c_werror_flag"
28849 || test ! -s conftest.err'
28850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28851 (eval $ac_try) 2>&5
28852 ac_status=$?
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); }; } &&
28855 { ac_try='test -s conftest$ac_exeext'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; }; then
28861 eval "$as_ac_var=yes"
28862 else
28863 echo "$as_me: failed program was:" >&5
28864 sed 's/^/| /' conftest.$ac_ext >&5
28866 eval "$as_ac_var=no"
28868 rm -f conftest.err conftest.$ac_objext \
28869 conftest$ac_exeext conftest.$ac_ext
28871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28873 if test `eval echo '${'$as_ac_var'}'` = yes; then
28874 cat >>confdefs.h <<_ACEOF
28875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28876 _ACEOF
28879 done
28887 CXXFLAGS="$ac_save_CXXFLAGS"
28890 # For showmanyc_helper().
28893 for ac_header in sys/ioctl.h sys/filio.h
28895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28897 echo "$as_me:$LINENO: checking for $ac_header" >&5
28898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28904 else
28905 # Is the header compilable?
28906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28908 cat >conftest.$ac_ext <<_ACEOF
28909 /* confdefs.h. */
28910 _ACEOF
28911 cat confdefs.h >>conftest.$ac_ext
28912 cat >>conftest.$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28914 $ac_includes_default
28915 #include <$ac_header>
28916 _ACEOF
28917 rm -f conftest.$ac_objext
28918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28919 (eval $ac_compile) 2>conftest.er1
28920 ac_status=$?
28921 grep -v '^ *+' conftest.er1 >conftest.err
28922 rm -f conftest.er1
28923 cat conftest.err >&5
28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925 (exit $ac_status); } &&
28926 { ac_try='test -z "$ac_c_werror_flag"
28927 || test ! -s conftest.err'
28928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28929 (eval $ac_try) 2>&5
28930 ac_status=$?
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); }; } &&
28933 { ac_try='test -s conftest.$ac_objext'
28934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28935 (eval $ac_try) 2>&5
28936 ac_status=$?
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); }; }; then
28939 ac_header_compiler=yes
28940 else
28941 echo "$as_me: failed program was:" >&5
28942 sed 's/^/| /' conftest.$ac_ext >&5
28944 ac_header_compiler=no
28946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28948 echo "${ECHO_T}$ac_header_compiler" >&6
28950 # Is the header present?
28951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28953 cat >conftest.$ac_ext <<_ACEOF
28954 /* confdefs.h. */
28955 _ACEOF
28956 cat confdefs.h >>conftest.$ac_ext
28957 cat >>conftest.$ac_ext <<_ACEOF
28958 /* end confdefs.h. */
28959 #include <$ac_header>
28960 _ACEOF
28961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28963 ac_status=$?
28964 grep -v '^ *+' conftest.er1 >conftest.err
28965 rm -f conftest.er1
28966 cat conftest.err >&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } >/dev/null; then
28969 if test -s conftest.err; then
28970 ac_cpp_err=$ac_c_preproc_warn_flag
28971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28972 else
28973 ac_cpp_err=
28975 else
28976 ac_cpp_err=yes
28978 if test -z "$ac_cpp_err"; then
28979 ac_header_preproc=yes
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28984 ac_header_preproc=no
28986 rm -f conftest.err conftest.$ac_ext
28987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28988 echo "${ECHO_T}$ac_header_preproc" >&6
28990 # So? What about this header?
28991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28992 yes:no: )
28993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28997 ac_header_preproc=yes
28999 no:yes:* )
29000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29013 cat <<\_ASBOX
29014 ## ----------------------------------------- ##
29015 ## Report this to the package-unused lists. ##
29016 ## ----------------------------------------- ##
29017 _ASBOX
29019 sed "s/^/$as_me: WARNING: /" >&2
29021 esac
29022 echo "$as_me:$LINENO: checking for $ac_header" >&5
29023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29025 echo $ECHO_N "(cached) $ECHO_C" >&6
29026 else
29027 eval "$as_ac_Header=\$ac_header_preproc"
29029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29034 cat >>confdefs.h <<_ACEOF
29035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29036 _ACEOF
29040 done
29043 echo "$as_me:$LINENO: checking for poll" >&5
29044 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29045 if test "${glibcxx_cv_POLL+set}" = set; then
29046 echo $ECHO_N "(cached) $ECHO_C" >&6
29047 else
29049 if test x$gcc_no_link = xyes; then
29050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29052 { (exit 1); exit 1; }; }
29054 cat >conftest.$ac_ext <<_ACEOF
29055 /* confdefs.h. */
29056 _ACEOF
29057 cat confdefs.h >>conftest.$ac_ext
29058 cat >>conftest.$ac_ext <<_ACEOF
29059 /* end confdefs.h. */
29060 #include <poll.h>
29062 main ()
29064 struct pollfd pfd[1];
29065 pfd[0].events = POLLIN;
29066 poll(pfd, 1, 0);
29068 return 0;
29070 _ACEOF
29071 rm -f conftest.$ac_objext conftest$ac_exeext
29072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29073 (eval $ac_link) 2>conftest.er1
29074 ac_status=$?
29075 grep -v '^ *+' conftest.er1 >conftest.err
29076 rm -f conftest.er1
29077 cat conftest.err >&5
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); } &&
29080 { ac_try='test -z "$ac_c_werror_flag"
29081 || test ! -s conftest.err'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29084 ac_status=$?
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; } &&
29087 { ac_try='test -s conftest$ac_exeext'
29088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089 (eval $ac_try) 2>&5
29090 ac_status=$?
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29093 glibcxx_cv_POLL=yes
29094 else
29095 echo "$as_me: failed program was:" >&5
29096 sed 's/^/| /' conftest.$ac_ext >&5
29098 glibcxx_cv_POLL=no
29100 rm -f conftest.err conftest.$ac_objext \
29101 conftest$ac_exeext conftest.$ac_ext
29105 if test $glibcxx_cv_POLL = yes; then
29107 cat >>confdefs.h <<\_ACEOF
29108 #define HAVE_POLL 1
29109 _ACEOF
29112 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29113 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29116 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29117 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29118 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29119 echo $ECHO_N "(cached) $ECHO_C" >&6
29120 else
29122 if test x$gcc_no_link = xyes; then
29123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29125 { (exit 1); exit 1; }; }
29127 cat >conftest.$ac_ext <<_ACEOF
29128 /* confdefs.h. */
29129 _ACEOF
29130 cat confdefs.h >>conftest.$ac_ext
29131 cat >>conftest.$ac_ext <<_ACEOF
29132 /* end confdefs.h. */
29133 #include <sys/stat.h>
29135 main ()
29137 struct stat buffer;
29138 fstat(0, &buffer);
29139 S_ISREG(buffer.st_mode);
29141 return 0;
29143 _ACEOF
29144 rm -f conftest.$ac_objext conftest$ac_exeext
29145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29146 (eval $ac_link) 2>conftest.er1
29147 ac_status=$?
29148 grep -v '^ *+' conftest.er1 >conftest.err
29149 rm -f conftest.er1
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } &&
29153 { ac_try='test -z "$ac_c_werror_flag"
29154 || test ! -s conftest.err'
29155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156 (eval $ac_try) 2>&5
29157 ac_status=$?
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); }; } &&
29160 { ac_try='test -s conftest$ac_exeext'
29161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162 (eval $ac_try) 2>&5
29163 ac_status=$?
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; }; then
29166 glibcxx_cv_S_ISREG=yes
29167 else
29168 echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.$ac_ext >&5
29171 glibcxx_cv_S_ISREG=no
29173 rm -f conftest.err conftest.$ac_objext \
29174 conftest$ac_exeext conftest.$ac_ext
29178 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29179 echo $ECHO_N "(cached) $ECHO_C" >&6
29180 else
29182 if test x$gcc_no_link = xyes; then
29183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29185 { (exit 1); exit 1; }; }
29187 cat >conftest.$ac_ext <<_ACEOF
29188 /* confdefs.h. */
29189 _ACEOF
29190 cat confdefs.h >>conftest.$ac_ext
29191 cat >>conftest.$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29193 #include <sys/stat.h>
29195 main ()
29197 struct stat buffer;
29198 fstat(0, &buffer);
29199 S_IFREG & buffer.st_mode;
29201 return 0;
29203 _ACEOF
29204 rm -f conftest.$ac_objext conftest$ac_exeext
29205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29206 (eval $ac_link) 2>conftest.er1
29207 ac_status=$?
29208 grep -v '^ *+' conftest.er1 >conftest.err
29209 rm -f conftest.er1
29210 cat conftest.err >&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); } &&
29213 { ac_try='test -z "$ac_c_werror_flag"
29214 || test ! -s conftest.err'
29215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29216 (eval $ac_try) 2>&5
29217 ac_status=$?
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); }; } &&
29220 { ac_try='test -s conftest$ac_exeext'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29223 ac_status=$?
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; }; then
29226 glibcxx_cv_S_IFREG=yes
29227 else
29228 echo "$as_me: failed program was:" >&5
29229 sed 's/^/| /' conftest.$ac_ext >&5
29231 glibcxx_cv_S_IFREG=no
29233 rm -f conftest.err conftest.$ac_objext \
29234 conftest$ac_exeext conftest.$ac_ext
29238 res=no
29239 if test $glibcxx_cv_S_ISREG = yes; then
29241 cat >>confdefs.h <<\_ACEOF
29242 #define HAVE_S_ISREG 1
29243 _ACEOF
29245 res=S_ISREG
29246 elif test $glibcxx_cv_S_IFREG = yes; then
29248 cat >>confdefs.h <<\_ACEOF
29249 #define HAVE_S_IFREG 1
29250 _ACEOF
29252 res=S_IFREG
29254 echo "$as_me:$LINENO: result: $res" >&5
29255 echo "${ECHO_T}$res" >&6
29258 # For xsputn_2().
29260 for ac_header in sys/uio.h
29262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29264 echo "$as_me:$LINENO: checking for $ac_header" >&5
29265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29271 else
29272 # Is the header compilable?
29273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29275 cat >conftest.$ac_ext <<_ACEOF
29276 /* confdefs.h. */
29277 _ACEOF
29278 cat confdefs.h >>conftest.$ac_ext
29279 cat >>conftest.$ac_ext <<_ACEOF
29280 /* end confdefs.h. */
29281 $ac_includes_default
29282 #include <$ac_header>
29283 _ACEOF
29284 rm -f conftest.$ac_objext
29285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29286 (eval $ac_compile) 2>conftest.er1
29287 ac_status=$?
29288 grep -v '^ *+' conftest.er1 >conftest.err
29289 rm -f conftest.er1
29290 cat conftest.err >&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); } &&
29293 { ac_try='test -z "$ac_c_werror_flag"
29294 || test ! -s conftest.err'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29297 ac_status=$?
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try='test -s conftest.$ac_objext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29303 ac_status=$?
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 ac_header_compiler=yes
29307 else
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29311 ac_header_compiler=no
29313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29315 echo "${ECHO_T}$ac_header_compiler" >&6
29317 # Is the header present?
29318 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29320 cat >conftest.$ac_ext <<_ACEOF
29321 /* confdefs.h. */
29322 _ACEOF
29323 cat confdefs.h >>conftest.$ac_ext
29324 cat >>conftest.$ac_ext <<_ACEOF
29325 /* end confdefs.h. */
29326 #include <$ac_header>
29327 _ACEOF
29328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } >/dev/null; then
29336 if test -s conftest.err; then
29337 ac_cpp_err=$ac_c_preproc_warn_flag
29338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29339 else
29340 ac_cpp_err=
29342 else
29343 ac_cpp_err=yes
29345 if test -z "$ac_cpp_err"; then
29346 ac_header_preproc=yes
29347 else
29348 echo "$as_me: failed program was:" >&5
29349 sed 's/^/| /' conftest.$ac_ext >&5
29351 ac_header_preproc=no
29353 rm -f conftest.err conftest.$ac_ext
29354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29355 echo "${ECHO_T}$ac_header_preproc" >&6
29357 # So? What about this header?
29358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29359 yes:no: )
29360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29364 ac_header_preproc=yes
29366 no:yes:* )
29367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29380 cat <<\_ASBOX
29381 ## ----------------------------------------- ##
29382 ## Report this to the package-unused lists. ##
29383 ## ----------------------------------------- ##
29384 _ASBOX
29386 sed "s/^/$as_me: WARNING: /" >&2
29388 esac
29389 echo "$as_me:$LINENO: checking for $ac_header" >&5
29390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29392 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 else
29394 eval "$as_ac_Header=\$ac_header_preproc"
29396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29401 cat >>confdefs.h <<_ACEOF
29402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29403 _ACEOF
29407 done
29410 echo "$as_me:$LINENO: checking for writev" >&5
29411 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29412 if test "${glibcxx_cv_WRITEV+set}" = set; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29416 if test x$gcc_no_link = xyes; then
29417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29419 { (exit 1); exit 1; }; }
29421 cat >conftest.$ac_ext <<_ACEOF
29422 /* confdefs.h. */
29423 _ACEOF
29424 cat confdefs.h >>conftest.$ac_ext
29425 cat >>conftest.$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29427 #include <sys/uio.h>
29429 main ()
29431 struct iovec iov[2];
29432 writev(0, iov, 0);
29434 return 0;
29436 _ACEOF
29437 rm -f conftest.$ac_objext conftest$ac_exeext
29438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29439 (eval $ac_link) 2>conftest.er1
29440 ac_status=$?
29441 grep -v '^ *+' conftest.er1 >conftest.err
29442 rm -f conftest.er1
29443 cat conftest.err >&5
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); } &&
29446 { ac_try='test -z "$ac_c_werror_flag"
29447 || test ! -s conftest.err'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29450 ac_status=$?
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; } &&
29453 { ac_try='test -s conftest$ac_exeext'
29454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29455 (eval $ac_try) 2>&5
29456 ac_status=$?
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); }; }; then
29459 glibcxx_cv_WRITEV=yes
29460 else
29461 echo "$as_me: failed program was:" >&5
29462 sed 's/^/| /' conftest.$ac_ext >&5
29464 glibcxx_cv_WRITEV=no
29466 rm -f conftest.err conftest.$ac_objext \
29467 conftest$ac_exeext conftest.$ac_ext
29471 if test $glibcxx_cv_WRITEV = yes; then
29473 cat >>confdefs.h <<\_ACEOF
29474 #define HAVE_WRITEV 1
29475 _ACEOF
29478 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29479 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29482 # For the __streamoff_base_type typedef.
29484 echo "$as_me:$LINENO: checking for int64_t" >&5
29485 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29486 if test "${glibcxx_cv_INT64_T+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29490 cat >conftest.$ac_ext <<_ACEOF
29491 /* confdefs.h. */
29492 _ACEOF
29493 cat confdefs.h >>conftest.$ac_ext
29494 cat >>conftest.$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496 #include <stdint.h>
29498 main ()
29500 int64_t var;
29502 return 0;
29504 _ACEOF
29505 rm -f conftest.$ac_objext
29506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29507 (eval $ac_compile) 2>conftest.er1
29508 ac_status=$?
29509 grep -v '^ *+' conftest.er1 >conftest.err
29510 rm -f conftest.er1
29511 cat conftest.err >&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); } &&
29514 { ac_try='test -z "$ac_c_werror_flag"
29515 || test ! -s conftest.err'
29516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29517 (eval $ac_try) 2>&5
29518 ac_status=$?
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); }; } &&
29521 { ac_try='test -s conftest.$ac_objext'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29524 ac_status=$?
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; }; then
29527 glibcxx_cv_INT64_T=yes
29528 else
29529 echo "$as_me: failed program was:" >&5
29530 sed 's/^/| /' conftest.$ac_ext >&5
29532 glibcxx_cv_INT64_T=no
29534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29538 if test $glibcxx_cv_INT64_T = yes; then
29540 cat >>confdefs.h <<\_ACEOF
29541 #define HAVE_INT64_T 1
29542 _ACEOF
29545 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29546 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29549 # For LFS support.
29553 ac_ext=cc
29554 ac_cpp='$CXXCPP $CPPFLAGS'
29555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29559 ac_save_CXXFLAGS="$CXXFLAGS"
29560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29561 echo "$as_me:$LINENO: checking for LFS support" >&5
29562 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29563 if test "${glibcxx_cv_LFS+set}" = set; then
29564 echo $ECHO_N "(cached) $ECHO_C" >&6
29565 else
29567 if test x$gcc_no_link = xyes; then
29568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29570 { (exit 1); exit 1; }; }
29572 cat >conftest.$ac_ext <<_ACEOF
29573 /* confdefs.h. */
29574 _ACEOF
29575 cat confdefs.h >>conftest.$ac_ext
29576 cat >>conftest.$ac_ext <<_ACEOF
29577 /* end confdefs.h. */
29578 #include <unistd.h>
29579 #include <stdio.h>
29580 #include <sys/stat.h>
29583 main ()
29585 FILE* fp;
29586 fopen64("t", "w");
29587 fseeko64(fp, 0, SEEK_CUR);
29588 ftello64(fp);
29589 lseek64(1, 0, SEEK_CUR);
29590 struct stat64 buf;
29591 fstat64(1, &buf);
29593 return 0;
29595 _ACEOF
29596 rm -f conftest.$ac_objext conftest$ac_exeext
29597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29598 (eval $ac_link) 2>conftest.er1
29599 ac_status=$?
29600 grep -v '^ *+' conftest.er1 >conftest.err
29601 rm -f conftest.er1
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try='test -z "$ac_cxx_werror_flag"
29606 || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29609 ac_status=$?
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 glibcxx_cv_LFS=yes
29619 else
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29623 glibcxx_cv_LFS=no
29625 rm -f conftest.err conftest.$ac_objext \
29626 conftest$ac_exeext conftest.$ac_ext
29630 if test $glibcxx_cv_LFS = yes; then
29632 cat >>confdefs.h <<\_ACEOF
29633 #define _GLIBCXX_USE_LFS 1
29634 _ACEOF
29637 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29638 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29639 CXXFLAGS="$ac_save_CXXFLAGS"
29640 ac_ext=c
29641 ac_cpp='$CPP $CPPFLAGS'
29642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29648 # For C99 support to TR1.
29653 ac_ext=cc
29654 ac_cpp='$CXXCPP $CPPFLAGS'
29655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29660 # Check for the existence of <complex.h> complex math functions used
29661 # by tr1/complex.
29663 for ac_header in complex.h
29665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29667 echo "$as_me:$LINENO: checking for $ac_header" >&5
29668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29670 echo $ECHO_N "(cached) $ECHO_C" >&6
29672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29674 else
29675 # Is the header compilable?
29676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29678 cat >conftest.$ac_ext <<_ACEOF
29679 /* confdefs.h. */
29680 _ACEOF
29681 cat confdefs.h >>conftest.$ac_ext
29682 cat >>conftest.$ac_ext <<_ACEOF
29683 /* end confdefs.h. */
29684 $ac_includes_default
29685 #include <$ac_header>
29686 _ACEOF
29687 rm -f conftest.$ac_objext
29688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29689 (eval $ac_compile) 2>conftest.er1
29690 ac_status=$?
29691 grep -v '^ *+' conftest.er1 >conftest.err
29692 rm -f conftest.er1
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } &&
29696 { ac_try='test -z "$ac_cxx_werror_flag"
29697 || test ! -s conftest.err'
29698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699 (eval $ac_try) 2>&5
29700 ac_status=$?
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); }; } &&
29703 { ac_try='test -s conftest.$ac_objext'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29706 ac_status=$?
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; }; then
29709 ac_header_compiler=yes
29710 else
29711 echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.$ac_ext >&5
29714 ac_header_compiler=no
29716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29718 echo "${ECHO_T}$ac_header_compiler" >&6
29720 # Is the header present?
29721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29723 cat >conftest.$ac_ext <<_ACEOF
29724 /* confdefs.h. */
29725 _ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729 #include <$ac_header>
29730 _ACEOF
29731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29733 ac_status=$?
29734 grep -v '^ *+' conftest.er1 >conftest.err
29735 rm -f conftest.er1
29736 cat conftest.err >&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } >/dev/null; then
29739 if test -s conftest.err; then
29740 ac_cpp_err=$ac_cxx_preproc_warn_flag
29741 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29742 else
29743 ac_cpp_err=
29745 else
29746 ac_cpp_err=yes
29748 if test -z "$ac_cpp_err"; then
29749 ac_header_preproc=yes
29750 else
29751 echo "$as_me: failed program was:" >&5
29752 sed 's/^/| /' conftest.$ac_ext >&5
29754 ac_header_preproc=no
29756 rm -f conftest.err conftest.$ac_ext
29757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29758 echo "${ECHO_T}$ac_header_preproc" >&6
29760 # So? What about this header?
29761 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
29762 yes:no: )
29763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29767 ac_header_preproc=yes
29769 no:yes:* )
29770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29783 cat <<\_ASBOX
29784 ## ----------------------------------------- ##
29785 ## Report this to the package-unused lists. ##
29786 ## ----------------------------------------- ##
29787 _ASBOX
29789 sed "s/^/$as_me: WARNING: /" >&2
29791 esac
29792 echo "$as_me:$LINENO: checking for $ac_header" >&5
29793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29795 echo $ECHO_N "(cached) $ECHO_C" >&6
29796 else
29797 eval "$as_ac_Header=\$ac_header_preproc"
29799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29804 cat >>confdefs.h <<_ACEOF
29805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29806 _ACEOF
29807 ac_has_complex_h=yes
29808 else
29809 ac_has_complex_h=no
29812 done
29814 ac_c99_complex_tr1=no;
29815 if test x"$ac_has_complex_h" = x"yes"; then
29816 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
29817 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
29818 cat >conftest.$ac_ext <<_ACEOF
29819 /* confdefs.h. */
29820 _ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824 #include <complex.h>
29826 main ()
29828 typedef __complex__ float float_type; float_type tmpf;
29829 cacosf(tmpf);
29830 casinf(tmpf);
29831 catanf(tmpf);
29832 cacoshf(tmpf);
29833 casinhf(tmpf);
29834 catanhf(tmpf);
29835 typedef __complex__ double double_type; double_type tmpd;
29836 cacos(tmpd);
29837 casin(tmpd);
29838 catan(tmpd);
29839 cacosh(tmpd);
29840 casinh(tmpd);
29841 catanh(tmpd);
29842 typedef __complex__ long double ld_type; ld_type tmpld;
29843 cacosl(tmpld);
29844 casinl(tmpld);
29845 catanl(tmpld);
29846 cacoshl(tmpld);
29847 casinhl(tmpld);
29848 catanhl(tmpld);
29851 return 0;
29853 _ACEOF
29854 rm -f conftest.$ac_objext
29855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29856 (eval $ac_compile) 2>conftest.er1
29857 ac_status=$?
29858 grep -v '^ *+' conftest.er1 >conftest.err
29859 rm -f conftest.er1
29860 cat conftest.err >&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); } &&
29863 { ac_try='test -z "$ac_cxx_werror_flag"
29864 || test ! -s conftest.err'
29865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29866 (eval $ac_try) 2>&5
29867 ac_status=$?
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; } &&
29870 { ac_try='test -s conftest.$ac_objext'
29871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29872 (eval $ac_try) 2>&5
29873 ac_status=$?
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); }; }; then
29876 ac_c99_complex_tr1=yes
29877 else
29878 echo "$as_me: failed program was:" >&5
29879 sed 's/^/| /' conftest.$ac_ext >&5
29881 ac_c99_complex_tr1=no
29883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29885 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
29886 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
29887 if test x"$ac_c99_complex_tr1" = x"yes"; then
29889 cat >>confdefs.h <<\_ACEOF
29890 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
29891 _ACEOF
29895 # Check for the existence of <ctype.h> functions.
29896 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
29897 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
29898 if test "${ac_c99_ctype_tr1+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 else
29902 cat >conftest.$ac_ext <<_ACEOF
29903 /* confdefs.h. */
29904 _ACEOF
29905 cat confdefs.h >>conftest.$ac_ext
29906 cat >>conftest.$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29908 #include <ctype.h>
29910 main ()
29912 int ch;
29913 int ret;
29914 ret = isblank(ch);
29917 return 0;
29919 _ACEOF
29920 rm -f conftest.$ac_objext
29921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29922 (eval $ac_compile) 2>conftest.er1
29923 ac_status=$?
29924 grep -v '^ *+' conftest.er1 >conftest.err
29925 rm -f conftest.er1
29926 cat conftest.err >&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); } &&
29929 { ac_try='test -z "$ac_cxx_werror_flag"
29930 || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try='test -s conftest.$ac_objext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29942 ac_c99_ctype_tr1=yes
29943 else
29944 echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29947 ac_c99_ctype_tr1=no
29949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29953 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
29954 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
29955 if test x"$ac_c99_ctype_tr1" = x"yes"; then
29957 cat >>confdefs.h <<\_ACEOF
29958 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
29959 _ACEOF
29963 # Check for the existence of <fenv.h> functions.
29965 for ac_header in fenv.h
29967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29969 echo "$as_me:$LINENO: checking for $ac_header" >&5
29970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29972 echo $ECHO_N "(cached) $ECHO_C" >&6
29974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29976 else
29977 # Is the header compilable?
29978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29980 cat >conftest.$ac_ext <<_ACEOF
29981 /* confdefs.h. */
29982 _ACEOF
29983 cat confdefs.h >>conftest.$ac_ext
29984 cat >>conftest.$ac_ext <<_ACEOF
29985 /* end confdefs.h. */
29986 $ac_includes_default
29987 #include <$ac_header>
29988 _ACEOF
29989 rm -f conftest.$ac_objext
29990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29991 (eval $ac_compile) 2>conftest.er1
29992 ac_status=$?
29993 grep -v '^ *+' conftest.er1 >conftest.err
29994 rm -f conftest.er1
29995 cat conftest.err >&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); } &&
29998 { ac_try='test -z "$ac_cxx_werror_flag"
29999 || test ! -s conftest.err'
30000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30001 (eval $ac_try) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); }; } &&
30005 { ac_try='test -s conftest.$ac_objext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30011 ac_header_compiler=yes
30012 else
30013 echo "$as_me: failed program was:" >&5
30014 sed 's/^/| /' conftest.$ac_ext >&5
30016 ac_header_compiler=no
30018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30020 echo "${ECHO_T}$ac_header_compiler" >&6
30022 # Is the header present?
30023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30025 cat >conftest.$ac_ext <<_ACEOF
30026 /* confdefs.h. */
30027 _ACEOF
30028 cat confdefs.h >>conftest.$ac_ext
30029 cat >>conftest.$ac_ext <<_ACEOF
30030 /* end confdefs.h. */
30031 #include <$ac_header>
30032 _ACEOF
30033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } >/dev/null; then
30041 if test -s conftest.err; then
30042 ac_cpp_err=$ac_cxx_preproc_warn_flag
30043 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30044 else
30045 ac_cpp_err=
30047 else
30048 ac_cpp_err=yes
30050 if test -z "$ac_cpp_err"; then
30051 ac_header_preproc=yes
30052 else
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30056 ac_header_preproc=no
30058 rm -f conftest.err conftest.$ac_ext
30059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30060 echo "${ECHO_T}$ac_header_preproc" >&6
30062 # So? What about this header?
30063 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30064 yes:no: )
30065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30069 ac_header_preproc=yes
30071 no:yes:* )
30072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30085 cat <<\_ASBOX
30086 ## ----------------------------------------- ##
30087 ## Report this to the package-unused lists. ##
30088 ## ----------------------------------------- ##
30089 _ASBOX
30091 sed "s/^/$as_me: WARNING: /" >&2
30093 esac
30094 echo "$as_me:$LINENO: checking for $ac_header" >&5
30095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30097 echo $ECHO_N "(cached) $ECHO_C" >&6
30098 else
30099 eval "$as_ac_Header=\$ac_header_preproc"
30101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30106 cat >>confdefs.h <<_ACEOF
30107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30108 _ACEOF
30109 ac_has_fenv_h=yes
30110 else
30111 ac_has_fenv_h=no
30114 done
30116 ac_c99_fenv_tr1=no;
30117 if test x"$ac_has_fenv_h" = x"yes"; then
30118 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30119 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30120 cat >conftest.$ac_ext <<_ACEOF
30121 /* confdefs.h. */
30122 _ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30126 #include <fenv.h>
30128 main ()
30130 int except, mode;
30131 fexcept_t* pflag;
30132 fenv_t* penv;
30133 int ret;
30134 ret = feclearexcept(except);
30135 ret = fegetexceptflag(pflag, except);
30136 ret = feraiseexcept(except);
30137 ret = fesetexceptflag(pflag, except);
30138 ret = fetestexcept(except);
30139 ret = fegetround();
30140 ret = fesetround(mode);
30141 ret = fegetenv(penv);
30142 ret = feholdexcept(penv);
30143 ret = fesetenv(penv);
30144 ret = feupdateenv(penv);
30147 return 0;
30149 _ACEOF
30150 rm -f conftest.$ac_objext
30151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30152 (eval $ac_compile) 2>conftest.er1
30153 ac_status=$?
30154 grep -v '^ *+' conftest.er1 >conftest.err
30155 rm -f conftest.er1
30156 cat conftest.err >&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); } &&
30159 { ac_try='test -z "$ac_cxx_werror_flag"
30160 || test ! -s conftest.err'
30161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30162 (eval $ac_try) 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); }; } &&
30166 { ac_try='test -s conftest.$ac_objext'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; }; then
30172 ac_c99_fenv_tr1=yes
30173 else
30174 echo "$as_me: failed program was:" >&5
30175 sed 's/^/| /' conftest.$ac_ext >&5
30177 ac_c99_fenv_tr1=no
30179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30181 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30182 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30183 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30185 cat >>confdefs.h <<\_ACEOF
30186 #define _GLIBCXX_USE_C99_FENV_TR1 1
30187 _ACEOF
30191 # Check for the existence of <stdint.h> types.
30192 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30193 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30194 if test "${ac_c99_stdint_tr1+set}" = set; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30196 else
30198 cat >conftest.$ac_ext <<_ACEOF
30199 /* confdefs.h. */
30200 _ACEOF
30201 cat confdefs.h >>conftest.$ac_ext
30202 cat >>conftest.$ac_ext <<_ACEOF
30203 /* end confdefs.h. */
30204 #include <stdint.h>
30206 main ()
30208 typedef int8_t my_int8_t;
30209 typedef int16_t my_int16_t;
30210 typedef int32_t my_int32_t;
30211 typedef int64_t my_int64_t;
30212 typedef int_fast8_t my_int_fast8_t;
30213 typedef int_fast16_t my_int_fast16_t;
30214 typedef int_fast32_t my_int_fast32_t;
30215 typedef int_fast64_t my_int_fast64_t;
30216 typedef int_least8_t my_int_least8_t;
30217 typedef int_least16_t my_int_least16_t;
30218 typedef int_least32_t my_int_least32_t;
30219 typedef int_least64_t my_int_least64_t;
30220 typedef intmax_t my_intmax_t;
30221 typedef intptr_t my_intptr_t;
30222 typedef uint8_t my_uint8_t;
30223 typedef uint16_t my_uint16_t;
30224 typedef uint32_t my_uint32_t;
30225 typedef uint64_t my_uint64_t;
30226 typedef uint_fast8_t my_uint_fast8_t;
30227 typedef uint_fast16_t my_uint_fast16_t;
30228 typedef uint_fast32_t my_uint_fast32_t;
30229 typedef uint_fast64_t my_uint_fast64_t;
30230 typedef uint_least8_t my_uint_least8_t;
30231 typedef uint_least16_t my_uint_least16_t;
30232 typedef uint_least32_t my_uint_least32_t;
30233 typedef uint_least64_t my_uint_least64_t;
30234 typedef uintmax_t my_uintmax_t;
30235 typedef uintptr_t my_uintptr_t;
30238 return 0;
30240 _ACEOF
30241 rm -f conftest.$ac_objext
30242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30243 (eval $ac_compile) 2>conftest.er1
30244 ac_status=$?
30245 grep -v '^ *+' conftest.er1 >conftest.err
30246 rm -f conftest.er1
30247 cat conftest.err >&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } &&
30250 { ac_try='test -z "$ac_cxx_werror_flag"
30251 || test ! -s conftest.err'
30252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30253 (eval $ac_try) 2>&5
30254 ac_status=$?
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); }; } &&
30257 { ac_try='test -s conftest.$ac_objext'
30258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259 (eval $ac_try) 2>&5
30260 ac_status=$?
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); }; }; then
30263 ac_c99_stdint_tr1=yes
30264 else
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.$ac_ext >&5
30268 ac_c99_stdint_tr1=no
30270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30274 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30275 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30276 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30278 cat >>confdefs.h <<\_ACEOF
30279 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30280 _ACEOF
30284 # Check for the existence of <math.h> functions.
30285 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30286 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30287 if test "${ac_c99_math_tr1+set}" = set; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 else
30291 cat >conftest.$ac_ext <<_ACEOF
30292 /* confdefs.h. */
30293 _ACEOF
30294 cat confdefs.h >>conftest.$ac_ext
30295 cat >>conftest.$ac_ext <<_ACEOF
30296 /* end confdefs.h. */
30297 #include <math.h>
30299 main ()
30301 typedef double_t my_double_t;
30302 typedef float_t my_float_t;
30303 acosh(0.0);
30304 acoshf(0.0f);
30305 acoshl(0.0l);
30306 asinh(0.0);
30307 asinhf(0.0f);
30308 asinhl(0.0l);
30309 atanh(0.0);
30310 atanhf(0.0f);
30311 atanhl(0.0l);
30312 cbrt(0.0);
30313 cbrtf(0.0f);
30314 cbrtl(0.0l);
30315 copysign(0.0, 0.0);
30316 copysignf(0.0f, 0.0f);
30317 copysignl(0.0l, 0.0l);
30318 erf(0.0);
30319 erff(0.0f);
30320 erfl(0.0l);
30321 erfc(0.0);
30322 erfcf(0.0f);
30323 erfcl(0.0l);
30324 exp2(0.0);
30325 exp2f(0.0f);
30326 exp2l(0.0l);
30327 expm1(0.0);
30328 expm1f(0.0f);
30329 expm1l(0.0l);
30330 fdim(0.0, 0.0);
30331 fdimf(0.0f, 0.0f);
30332 fdiml(0.0l, 0.0l);
30333 fma(0.0, 0.0, 0.0);
30334 fmaf(0.0f, 0.0f, 0.0f);
30335 fmal(0.0l, 0.0l, 0.0l);
30336 fmax(0.0, 0.0);
30337 fmaxf(0.0f, 0.0f);
30338 fmaxl(0.0l, 0.0l);
30339 fmin(0.0, 0.0);
30340 fminf(0.0f, 0.0f);
30341 fminl(0.0l, 0.0l);
30342 hypot(0.0, 0.0);
30343 hypotf(0.0f, 0.0f);
30344 hypotl(0.0l, 0.0l);
30345 ilogb(0.0);
30346 ilogbf(0.0f);
30347 ilogbl(0.0l);
30348 lgamma(0.0);
30349 lgammaf(0.0f);
30350 lgammal(0.0l);
30351 llrint(0.0);
30352 llrintf(0.0f);
30353 llrintl(0.0l);
30354 llround(0.0);
30355 llroundf(0.0f);
30356 llroundl(0.0l);
30357 log1p(0.0);
30358 log1pf(0.0f);
30359 log1pl(0.0l);
30360 log2(0.0);
30361 log2f(0.0f);
30362 log2l(0.0l);
30363 logb(0.0);
30364 logbf(0.0f);
30365 logbl(0.0l);
30366 lrint(0.0);
30367 lrintf(0.0f);
30368 lrintl(0.0l);
30369 lround(0.0);
30370 lroundf(0.0f);
30371 lroundl(0.0l);
30372 nan(0);
30373 nanf(0);
30374 nanl(0);
30375 nearbyint(0.0);
30376 nearbyintf(0.0f);
30377 nearbyintl(0.0l);
30378 nextafter(0.0, 0.0);
30379 nextafterf(0.0f, 0.0f);
30380 nextafterl(0.0l, 0.0l);
30381 nexttoward(0.0, 0.0);
30382 nexttowardf(0.0f, 0.0f);
30383 nexttowardl(0.0l, 0.0l);
30384 remainder(0.0, 0.0);
30385 remainderf(0.0f, 0.0f);
30386 remainderl(0.0l, 0.0l);
30387 remquo(0.0, 0.0, 0);
30388 remquo(0.0f, 0.0f, 0);
30389 remquo(0.0l, 0.0l, 0);
30390 rint(0.0);
30391 rintf(0.0f);
30392 rintl(0.0l);
30393 round(0.0);
30394 roundf(0.0f);
30395 roundl(0.0l);
30396 scalbln(0.0, 0l);
30397 scalblnf(0.0f, 0l);
30398 scalblnl(0.0l, 0l);
30399 scalbn(0.0, 0);
30400 scalbnf(0.0f, 0);
30401 scalbnl(0.0l, 0);
30402 tgamma(0.0);
30403 tgammaf(0.0f);
30404 tgammal(0.0l);
30405 trunc(0.0);
30406 truncf(0.0f);
30407 truncl(0.0l);
30410 return 0;
30412 _ACEOF
30413 rm -f conftest.$ac_objext
30414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30415 (eval $ac_compile) 2>conftest.er1
30416 ac_status=$?
30417 grep -v '^ *+' conftest.er1 >conftest.err
30418 rm -f conftest.er1
30419 cat conftest.err >&5
30420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421 (exit $ac_status); } &&
30422 { ac_try='test -z "$ac_cxx_werror_flag"
30423 || test ! -s conftest.err'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30426 ac_status=$?
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; } &&
30429 { ac_try='test -s conftest.$ac_objext'
30430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30431 (eval $ac_try) 2>&5
30432 ac_status=$?
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); }; }; then
30435 ac_c99_math_tr1=yes
30436 else
30437 echo "$as_me: failed program was:" >&5
30438 sed 's/^/| /' conftest.$ac_ext >&5
30440 ac_c99_math_tr1=no
30442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30446 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30447 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30448 if test x"$ac_c99_math_tr1" = x"yes"; then
30450 cat >>confdefs.h <<\_ACEOF
30451 #define _GLIBCXX_USE_C99_MATH_TR1 1
30452 _ACEOF
30456 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30457 # sense if the previous check fails, per C99, 7.8/1).
30458 ac_c99_inttypes_tr1=no;
30459 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30460 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30461 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30462 cat >conftest.$ac_ext <<_ACEOF
30463 /* confdefs.h. */
30464 _ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 #include <inttypes.h>
30470 main ()
30472 intmax_t i, numer, denom, base;
30473 const char* s;
30474 char** endptr;
30475 intmax_t ret = imaxabs(i);
30476 imaxdiv_t dret = imaxdiv(numer, denom);
30477 ret = strtoimax(s, endptr, base);
30478 uintmax_t uret = strtoumax(s, endptr, base);
30481 return 0;
30483 _ACEOF
30484 rm -f conftest.$ac_objext
30485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30486 (eval $ac_compile) 2>conftest.er1
30487 ac_status=$?
30488 grep -v '^ *+' conftest.er1 >conftest.err
30489 rm -f conftest.er1
30490 cat conftest.err >&5
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); } &&
30493 { ac_try='test -z "$ac_cxx_werror_flag"
30494 || test ! -s conftest.err'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30497 ac_status=$?
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; } &&
30500 { ac_try='test -s conftest.$ac_objext'
30501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30502 (eval $ac_try) 2>&5
30503 ac_status=$?
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); }; }; then
30506 ac_c99_inttypes_tr1=yes
30507 else
30508 echo "$as_me: failed program was:" >&5
30509 sed 's/^/| /' conftest.$ac_ext >&5
30511 ac_c99_inttypes_tr1=no
30513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30515 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30516 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30517 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30519 cat >>confdefs.h <<\_ACEOF
30520 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30521 _ACEOF
30525 # Check for the existence of the <stdbool.h> header.
30527 for ac_header in stdbool.h
30529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30531 echo "$as_me:$LINENO: checking for $ac_header" >&5
30532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30538 else
30539 # Is the header compilable?
30540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30542 cat >conftest.$ac_ext <<_ACEOF
30543 /* confdefs.h. */
30544 _ACEOF
30545 cat confdefs.h >>conftest.$ac_ext
30546 cat >>conftest.$ac_ext <<_ACEOF
30547 /* end confdefs.h. */
30548 $ac_includes_default
30549 #include <$ac_header>
30550 _ACEOF
30551 rm -f conftest.$ac_objext
30552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30553 (eval $ac_compile) 2>conftest.er1
30554 ac_status=$?
30555 grep -v '^ *+' conftest.er1 >conftest.err
30556 rm -f conftest.er1
30557 cat conftest.err >&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); } &&
30560 { ac_try='test -z "$ac_cxx_werror_flag"
30561 || test ! -s conftest.err'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; } &&
30567 { ac_try='test -s conftest.$ac_objext'
30568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30569 (eval $ac_try) 2>&5
30570 ac_status=$?
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); }; }; then
30573 ac_header_compiler=yes
30574 else
30575 echo "$as_me: failed program was:" >&5
30576 sed 's/^/| /' conftest.$ac_ext >&5
30578 ac_header_compiler=no
30580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30582 echo "${ECHO_T}$ac_header_compiler" >&6
30584 # Is the header present?
30585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30587 cat >conftest.$ac_ext <<_ACEOF
30588 /* confdefs.h. */
30589 _ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593 #include <$ac_header>
30594 _ACEOF
30595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30597 ac_status=$?
30598 grep -v '^ *+' conftest.er1 >conftest.err
30599 rm -f conftest.er1
30600 cat conftest.err >&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); } >/dev/null; then
30603 if test -s conftest.err; then
30604 ac_cpp_err=$ac_cxx_preproc_warn_flag
30605 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30606 else
30607 ac_cpp_err=
30609 else
30610 ac_cpp_err=yes
30612 if test -z "$ac_cpp_err"; then
30613 ac_header_preproc=yes
30614 else
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30618 ac_header_preproc=no
30620 rm -f conftest.err conftest.$ac_ext
30621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30622 echo "${ECHO_T}$ac_header_preproc" >&6
30624 # So? What about this header?
30625 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30626 yes:no: )
30627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30631 ac_header_preproc=yes
30633 no:yes:* )
30634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30647 cat <<\_ASBOX
30648 ## ----------------------------------------- ##
30649 ## Report this to the package-unused lists. ##
30650 ## ----------------------------------------- ##
30651 _ASBOX
30653 sed "s/^/$as_me: WARNING: /" >&2
30655 esac
30656 echo "$as_me:$LINENO: checking for $ac_header" >&5
30657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30659 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 else
30661 eval "$as_ac_Header=\$ac_header_preproc"
30663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30668 cat >>confdefs.h <<_ACEOF
30669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30670 _ACEOF
30674 done
30677 ac_ext=c
30678 ac_cpp='$CPP $CPPFLAGS'
30679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685 # For dev/random and dev/urandom for TR1.
30688 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
30689 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
30690 if test "${ac_random_tr1+set}" = set; then
30691 echo $ECHO_N "(cached) $ECHO_C" >&6
30692 else
30694 if test "$cross_compiling" = yes; then
30695 ac_random_tr1=no
30696 else
30697 cat >conftest.$ac_ext <<_ACEOF
30698 /* confdefs.h. */
30699 _ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703 #include <stdio.h>
30704 int main()
30706 return !(fopen("/dev/random", "r")
30707 && fopen("/dev/urandom", "r"));
30710 _ACEOF
30711 rm -f conftest$ac_exeext
30712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30713 (eval $ac_link) 2>&5
30714 ac_status=$?
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30719 ac_status=$?
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; }; then
30722 ac_random_tr1=yes
30723 else
30724 echo "$as_me: program exited with status $ac_status" >&5
30725 echo "$as_me: failed program was:" >&5
30726 sed 's/^/| /' conftest.$ac_ext >&5
30728 ( exit $ac_status )
30729 ac_random_tr1=no
30731 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30736 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
30737 echo "${ECHO_T}$ac_random_tr1" >&6
30738 if test x"$ac_random_tr1" = x"yes"; then
30740 cat >>confdefs.h <<\_ACEOF
30741 #define _GLIBCXX_USE_RANDOM_TR1 1
30742 _ACEOF
30748 # For TLS support.
30750 # Check whether --enable-tls or --disable-tls was given.
30751 if test "${enable_tls+set}" = set; then
30752 enableval="$enable_tls"
30754 case "$enableval" in
30755 yes|no) ;;
30756 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
30757 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
30758 { (exit 1); exit 1; }; } ;;
30759 esac
30761 else
30762 enable_tls=yes
30765 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
30766 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
30767 if test "${have_tls+set}" = set; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30769 else
30771 if test "$cross_compiling" = yes; then
30772 if test x$gcc_no_link = xyes; then
30773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30775 { (exit 1); exit 1; }; }
30777 cat >conftest.$ac_ext <<_ACEOF
30778 __thread int a; int b; int main() { return a = b; }
30779 _ACEOF
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30782 (eval $ac_link) 2>conftest.er1
30783 ac_status=$?
30784 grep -v '^ *+' conftest.er1 >conftest.err
30785 rm -f conftest.er1
30786 cat conftest.err >&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); } &&
30789 { ac_try='test -z "$ac_c_werror_flag"
30790 || test ! -s conftest.err'
30791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30792 (eval $ac_try) 2>&5
30793 ac_status=$?
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; } &&
30796 { ac_try='test -s conftest$ac_exeext'
30797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30798 (eval $ac_try) 2>&5
30799 ac_status=$?
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); }; }; then
30802 have_tls=yes
30803 else
30804 echo "$as_me: failed program was:" >&5
30805 sed 's/^/| /' conftest.$ac_ext >&5
30807 have_tls=no
30809 rm -f conftest.err conftest.$ac_objext \
30810 conftest$ac_exeext conftest.$ac_ext
30813 else
30814 cat >conftest.$ac_ext <<_ACEOF
30815 __thread int a; int b; int main() { return a = b; }
30816 _ACEOF
30817 rm -f conftest$ac_exeext
30818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30819 (eval $ac_link) 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824 (eval $ac_try) 2>&5
30825 ac_status=$?
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); }; }; then
30828 chktls_save_LDFLAGS="$LDFLAGS"
30829 LDFLAGS="-static $LDFLAGS"
30830 if test x$gcc_no_link = xyes; then
30831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30833 { (exit 1); exit 1; }; }
30835 cat >conftest.$ac_ext <<_ACEOF
30836 int main() { return 0; }
30837 _ACEOF
30838 rm -f conftest.$ac_objext conftest$ac_exeext
30839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30840 (eval $ac_link) 2>conftest.er1
30841 ac_status=$?
30842 grep -v '^ *+' conftest.er1 >conftest.err
30843 rm -f conftest.er1
30844 cat conftest.err >&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); } &&
30847 { ac_try='test -z "$ac_c_werror_flag"
30848 || test ! -s conftest.err'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; } &&
30854 { ac_try='test -s conftest$ac_exeext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30857 ac_status=$?
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860 if test "$cross_compiling" = yes; then
30861 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30862 See \`config.log' for more details." >&5
30863 echo "$as_me: error: cannot run test program while cross compiling
30864 See \`config.log' for more details." >&2;}
30865 { (exit 1); exit 1; }; }
30866 else
30867 cat >conftest.$ac_ext <<_ACEOF
30868 __thread int a; int b; int main() { return a = b; }
30869 _ACEOF
30870 rm -f conftest$ac_exeext
30871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30872 (eval $ac_link) 2>&5
30873 ac_status=$?
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30877 (eval $ac_try) 2>&5
30878 ac_status=$?
30879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30880 (exit $ac_status); }; }; then
30881 have_tls=yes
30882 else
30883 echo "$as_me: program exited with status $ac_status" >&5
30884 echo "$as_me: failed program was:" >&5
30885 sed 's/^/| /' conftest.$ac_ext >&5
30887 ( exit $ac_status )
30888 have_tls=no
30890 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30892 else
30893 echo "$as_me: failed program was:" >&5
30894 sed 's/^/| /' conftest.$ac_ext >&5
30896 have_tls=yes
30898 rm -f conftest.err conftest.$ac_objext \
30899 conftest$ac_exeext conftest.$ac_ext
30900 LDFLAGS="$chktls_save_LDFLAGS"
30901 if test $have_tls = yes; then
30902 chktls_save_CFLAGS="$CFLAGS"
30903 thread_CFLAGS=failed
30904 for flag in '' '-pthread' '-lpthread'; do
30905 CFLAGS="$flag $chktls_save_CFLAGS"
30906 if test x$gcc_no_link = xyes; then
30907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30909 { (exit 1); exit 1; }; }
30911 cat >conftest.$ac_ext <<_ACEOF
30912 /* confdefs.h. */
30913 _ACEOF
30914 cat confdefs.h >>conftest.$ac_ext
30915 cat >>conftest.$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30917 #include <pthread.h>
30918 void *g(void *d) { return NULL; }
30920 main ()
30922 pthread_t t; pthread_create(&t,NULL,g,NULL);
30924 return 0;
30926 _ACEOF
30927 rm -f conftest.$ac_objext conftest$ac_exeext
30928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30929 (eval $ac_link) 2>conftest.er1
30930 ac_status=$?
30931 grep -v '^ *+' conftest.er1 >conftest.err
30932 rm -f conftest.er1
30933 cat conftest.err >&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); } &&
30936 { ac_try='test -z "$ac_c_werror_flag"
30937 || test ! -s conftest.err'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; } &&
30943 { ac_try='test -s conftest$ac_exeext'
30944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30945 (eval $ac_try) 2>&5
30946 ac_status=$?
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); }; }; then
30949 thread_CFLAGS="$flag"
30950 else
30951 echo "$as_me: failed program was:" >&5
30952 sed 's/^/| /' conftest.$ac_ext >&5
30955 rm -f conftest.err conftest.$ac_objext \
30956 conftest$ac_exeext conftest.$ac_ext
30957 if test "X$thread_CFLAGS" != Xfailed; then
30958 break
30960 done
30961 CFLAGS="$chktls_save_CFLAGS"
30962 if test "X$thread_CFLAGS" != Xfailed; then
30963 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
30964 if test "$cross_compiling" = yes; then
30965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30966 See \`config.log' for more details." >&5
30967 echo "$as_me: error: cannot run test program while cross compiling
30968 See \`config.log' for more details." >&2;}
30969 { (exit 1); exit 1; }; }
30970 else
30971 cat >conftest.$ac_ext <<_ACEOF
30972 /* confdefs.h. */
30973 _ACEOF
30974 cat confdefs.h >>conftest.$ac_ext
30975 cat >>conftest.$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30977 #include <pthread.h>
30978 __thread int a;
30979 static int *a_in_other_thread;
30980 static void *
30981 thread_func (void *arg)
30983 a_in_other_thread = &a;
30984 return (void *)0;
30987 main ()
30989 pthread_t thread;
30990 void *thread_retval;
30991 int *a_in_main_thread;
30992 if (pthread_create (&thread, (pthread_attr_t *)0,
30993 thread_func, (void *)0))
30994 return 0;
30995 a_in_main_thread = &a;
30996 if (pthread_join (thread, &thread_retval))
30997 return 0;
30998 return (a_in_other_thread == a_in_main_thread);
31000 return 0;
31002 _ACEOF
31003 rm -f conftest$ac_exeext
31004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31005 (eval $ac_link) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31014 have_tls=yes
31015 else
31016 echo "$as_me: program exited with status $ac_status" >&5
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.$ac_ext >&5
31020 ( exit $ac_status )
31021 have_tls=no
31023 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31025 CFLAGS="$chktls_save_CFLAGS"
31028 else
31029 echo "$as_me: program exited with status $ac_status" >&5
31030 echo "$as_me: failed program was:" >&5
31031 sed 's/^/| /' conftest.$ac_ext >&5
31033 ( exit $ac_status )
31034 have_tls=no
31036 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31039 echo "$as_me:$LINENO: result: $have_tls" >&5
31040 echo "${ECHO_T}$have_tls" >&6
31041 if test "$enable_tls $have_tls" = "yes yes"; then
31043 cat >>confdefs.h <<\_ACEOF
31044 #define HAVE_TLS 1
31045 _ACEOF
31049 # For _Unwind_GetIPInfo.
31053 ac_ext=cc
31054 ac_cpp='$CXXCPP $CPPFLAGS'
31055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31059 ac_save_CXXFLAGS="$CXXFLAGS"
31060 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31061 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31062 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31063 if test "${gcc_cv_getipinfo+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31065 else
31067 if test x$gcc_no_link = xyes; then
31068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31070 { (exit 1); exit 1; }; }
31072 cat >conftest.$ac_ext <<_ACEOF
31073 /* confdefs.h. */
31074 _ACEOF
31075 cat confdefs.h >>conftest.$ac_ext
31076 cat >>conftest.$ac_ext <<_ACEOF
31077 /* end confdefs.h. */
31078 extern "C" { extern void _Unwind_GetIPInfo(); }
31080 main ()
31082 _Unwind_GetIPInfo();
31084 return 0;
31086 _ACEOF
31087 rm -f conftest.$ac_objext conftest$ac_exeext
31088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31089 (eval $ac_link) 2>conftest.er1
31090 ac_status=$?
31091 grep -v '^ *+' conftest.er1 >conftest.err
31092 rm -f conftest.er1
31093 cat conftest.err >&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } &&
31096 { ac_try='test -z "$ac_cxx_werror_flag"
31097 || test ! -s conftest.err'
31098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31099 (eval $ac_try) 2>&5
31100 ac_status=$?
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); }; } &&
31103 { ac_try='test -s conftest$ac_exeext'
31104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31105 (eval $ac_try) 2>&5
31106 ac_status=$?
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); }; }; then
31109 gcc_cv_getipinfo=yes
31110 else
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31114 gcc_cv_getipinfo=no
31116 rm -f conftest.err conftest.$ac_objext \
31117 conftest$ac_exeext conftest.$ac_ext
31121 if test $gcc_cv_getipinfo = yes; then
31123 cat >>confdefs.h <<\_ACEOF
31124 #define HAVE_GETIPINFO 1
31125 _ACEOF
31128 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31129 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31130 CXXFLAGS="$ac_save_CXXFLAGS"
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31140 if test "${ac_cv_header_locale_h+set}" = set; then
31141 echo "$as_me:$LINENO: checking for locale.h" >&5
31142 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31143 if test "${ac_cv_header_locale_h+set}" = set; then
31144 echo $ECHO_N "(cached) $ECHO_C" >&6
31146 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31147 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31148 else
31149 # Is the header compilable?
31150 echo "$as_me:$LINENO: checking locale.h usability" >&5
31151 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31152 cat >conftest.$ac_ext <<_ACEOF
31153 /* confdefs.h. */
31154 _ACEOF
31155 cat confdefs.h >>conftest.$ac_ext
31156 cat >>conftest.$ac_ext <<_ACEOF
31157 /* end confdefs.h. */
31158 $ac_includes_default
31159 #include <locale.h>
31160 _ACEOF
31161 rm -f conftest.$ac_objext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31163 (eval $ac_compile) 2>conftest.er1
31164 ac_status=$?
31165 grep -v '^ *+' conftest.er1 >conftest.err
31166 rm -f conftest.er1
31167 cat conftest.err >&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); } &&
31170 { ac_try='test -z "$ac_c_werror_flag"
31171 || test ! -s conftest.err'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31174 ac_status=$?
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; } &&
31177 { ac_try='test -s conftest.$ac_objext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31180 ac_status=$?
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 ac_header_compiler=yes
31184 else
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31188 ac_header_compiler=no
31190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31192 echo "${ECHO_T}$ac_header_compiler" >&6
31194 # Is the header present?
31195 echo "$as_me:$LINENO: checking locale.h presence" >&5
31196 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31197 cat >conftest.$ac_ext <<_ACEOF
31198 /* confdefs.h. */
31199 _ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203 #include <locale.h>
31204 _ACEOF
31205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31207 ac_status=$?
31208 grep -v '^ *+' conftest.er1 >conftest.err
31209 rm -f conftest.er1
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } >/dev/null; then
31213 if test -s conftest.err; then
31214 ac_cpp_err=$ac_c_preproc_warn_flag
31215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31216 else
31217 ac_cpp_err=
31219 else
31220 ac_cpp_err=yes
31222 if test -z "$ac_cpp_err"; then
31223 ac_header_preproc=yes
31224 else
31225 echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.$ac_ext >&5
31228 ac_header_preproc=no
31230 rm -f conftest.err conftest.$ac_ext
31231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31232 echo "${ECHO_T}$ac_header_preproc" >&6
31234 # So? What about this header?
31235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31236 yes:no: )
31237 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31238 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31239 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31240 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31241 ac_header_preproc=yes
31243 no:yes:* )
31244 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31245 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31246 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31247 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31248 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31249 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31250 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31251 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31252 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31253 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31254 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31255 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31257 cat <<\_ASBOX
31258 ## ----------------------------------------- ##
31259 ## Report this to the package-unused lists. ##
31260 ## ----------------------------------------- ##
31261 _ASBOX
31263 sed "s/^/$as_me: WARNING: /" >&2
31265 esac
31266 echo "$as_me:$LINENO: checking for locale.h" >&5
31267 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31268 if test "${ac_cv_header_locale_h+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31271 ac_cv_header_locale_h=$ac_header_preproc
31273 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31274 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31277 if test $ac_cv_header_locale_h = yes; then
31279 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31280 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31281 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31283 else
31284 if test x$gcc_no_link = xyes; then
31285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31287 { (exit 1); exit 1; }; }
31289 cat >conftest.$ac_ext <<_ACEOF
31290 /* confdefs.h. */
31291 _ACEOF
31292 cat confdefs.h >>conftest.$ac_ext
31293 cat >>conftest.$ac_ext <<_ACEOF
31294 /* end confdefs.h. */
31295 #include <locale.h>
31297 main ()
31299 return LC_MESSAGES
31301 return 0;
31303 _ACEOF
31304 rm -f conftest.$ac_objext conftest$ac_exeext
31305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31306 (eval $ac_link) 2>conftest.er1
31307 ac_status=$?
31308 grep -v '^ *+' conftest.er1 >conftest.err
31309 rm -f conftest.er1
31310 cat conftest.err >&5
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); } &&
31313 { ac_try='test -z "$ac_c_werror_flag"
31314 || test ! -s conftest.err'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31317 ac_status=$?
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; } &&
31320 { ac_try='test -s conftest$ac_exeext'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31323 ac_status=$?
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; }; then
31326 ac_cv_val_LC_MESSAGES=yes
31327 else
31328 echo "$as_me: failed program was:" >&5
31329 sed 's/^/| /' conftest.$ac_ext >&5
31331 ac_cv_val_LC_MESSAGES=no
31333 rm -f conftest.err conftest.$ac_objext \
31334 conftest$ac_exeext conftest.$ac_ext
31336 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31337 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31338 if test $ac_cv_val_LC_MESSAGES = yes; then
31340 cat >>confdefs.h <<\_ACEOF
31341 #define HAVE_LC_MESSAGES 1
31342 _ACEOF
31351 cat >conftest.$ac_ext <<_ACEOF
31352 /* confdefs.h. */
31353 _ACEOF
31354 cat confdefs.h >>conftest.$ac_ext
31355 cat >>conftest.$ac_ext <<_ACEOF
31356 /* end confdefs.h. */
31357 #include <setjmp.h>
31359 main ()
31361 sigjmp_buf env;
31362 while (! sigsetjmp (env, 1))
31363 siglongjmp (env, 1);
31366 return 0;
31368 _ACEOF
31369 rm -f conftest.$ac_objext
31370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31371 (eval $ac_compile) 2>conftest.er1
31372 ac_status=$?
31373 grep -v '^ *+' conftest.er1 >conftest.err
31374 rm -f conftest.er1
31375 cat conftest.err >&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); } &&
31378 { ac_try='test -z "$ac_c_werror_flag"
31379 || test ! -s conftest.err'
31380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31381 (eval $ac_try) 2>&5
31382 ac_status=$?
31383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31384 (exit $ac_status); }; } &&
31385 { ac_try='test -s conftest.$ac_objext'
31386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31387 (eval $ac_try) 2>&5
31388 ac_status=$?
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); }; }; then
31392 cat >>confdefs.h <<\_ACEOF
31393 #define HAVE_SIGSETJMP 1
31394 _ACEOF
31396 else
31397 echo "$as_me: failed program was:" >&5
31398 sed 's/^/| /' conftest.$ac_ext >&5
31401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31403 if test x$gcc_no_link = xyes; then
31404 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31405 ac_cv_func_mmap_fixed_mapped=no
31408 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31411 for ac_header in stdlib.h unistd.h
31413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31415 echo "$as_me:$LINENO: checking for $ac_header" >&5
31416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31418 echo $ECHO_N "(cached) $ECHO_C" >&6
31420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31422 else
31423 # Is the header compilable?
31424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 $ac_includes_default
31433 #include <$ac_header>
31434 _ACEOF
31435 rm -f conftest.$ac_objext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31437 (eval $ac_compile) 2>conftest.er1
31438 ac_status=$?
31439 grep -v '^ *+' conftest.er1 >conftest.err
31440 rm -f conftest.er1
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } &&
31444 { ac_try='test -z "$ac_c_werror_flag"
31445 || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try='test -s conftest.$ac_objext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457 ac_header_compiler=yes
31458 else
31459 echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.$ac_ext >&5
31462 ac_header_compiler=no
31464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31466 echo "${ECHO_T}$ac_header_compiler" >&6
31468 # Is the header present?
31469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31471 cat >conftest.$ac_ext <<_ACEOF
31472 /* confdefs.h. */
31473 _ACEOF
31474 cat confdefs.h >>conftest.$ac_ext
31475 cat >>conftest.$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31477 #include <$ac_header>
31478 _ACEOF
31479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31481 ac_status=$?
31482 grep -v '^ *+' conftest.er1 >conftest.err
31483 rm -f conftest.er1
31484 cat conftest.err >&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); } >/dev/null; then
31487 if test -s conftest.err; then
31488 ac_cpp_err=$ac_c_preproc_warn_flag
31489 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31490 else
31491 ac_cpp_err=
31493 else
31494 ac_cpp_err=yes
31496 if test -z "$ac_cpp_err"; then
31497 ac_header_preproc=yes
31498 else
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31502 ac_header_preproc=no
31504 rm -f conftest.err conftest.$ac_ext
31505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31506 echo "${ECHO_T}$ac_header_preproc" >&6
31508 # So? What about this header?
31509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31510 yes:no: )
31511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31515 ac_header_preproc=yes
31517 no:yes:* )
31518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31531 cat <<\_ASBOX
31532 ## ----------------------------------------- ##
31533 ## Report this to the package-unused lists. ##
31534 ## ----------------------------------------- ##
31535 _ASBOX
31537 sed "s/^/$as_me: WARNING: /" >&2
31539 esac
31540 echo "$as_me:$LINENO: checking for $ac_header" >&5
31541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31543 echo $ECHO_N "(cached) $ECHO_C" >&6
31544 else
31545 eval "$as_ac_Header=\$ac_header_preproc"
31547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31552 cat >>confdefs.h <<_ACEOF
31553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31554 _ACEOF
31558 done
31561 for ac_func in getpagesize
31563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31564 echo "$as_me:$LINENO: checking for $ac_func" >&5
31565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31566 if eval "test \"\${$as_ac_var+set}\" = set"; then
31567 echo $ECHO_N "(cached) $ECHO_C" >&6
31568 else
31569 if test x$gcc_no_link = xyes; then
31570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31572 { (exit 1); exit 1; }; }
31574 cat >conftest.$ac_ext <<_ACEOF
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31582 #define $ac_func innocuous_$ac_func
31584 /* System header to define __stub macros and hopefully few prototypes,
31585 which can conflict with char $ac_func (); below.
31586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31587 <limits.h> exists even on freestanding compilers. */
31589 #ifdef __STDC__
31590 # include <limits.h>
31591 #else
31592 # include <assert.h>
31593 #endif
31595 #undef $ac_func
31597 /* Override any gcc2 internal prototype to avoid an error. */
31598 #ifdef __cplusplus
31599 extern "C"
31601 #endif
31602 /* We use char because int might match the return type of a gcc2
31603 builtin and then its argument prototype would still apply. */
31604 char $ac_func ();
31605 /* The GNU C library defines this for functions which it implements
31606 to always fail with ENOSYS. Some functions are actually named
31607 something starting with __ and the normal name is an alias. */
31608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31609 choke me
31610 #else
31611 char (*f) () = $ac_func;
31612 #endif
31613 #ifdef __cplusplus
31615 #endif
31618 main ()
31620 return f != $ac_func;
31622 return 0;
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31627 (eval $ac_link) 2>conftest.er1
31628 ac_status=$?
31629 grep -v '^ *+' conftest.er1 >conftest.err
31630 rm -f conftest.er1
31631 cat conftest.err >&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } &&
31634 { ac_try='test -z "$ac_c_werror_flag"
31635 || test ! -s conftest.err'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31638 ac_status=$?
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; } &&
31641 { ac_try='test -s conftest$ac_exeext'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; }; then
31647 eval "$as_ac_var=yes"
31648 else
31649 echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.$ac_ext >&5
31652 eval "$as_ac_var=no"
31654 rm -f conftest.err conftest.$ac_objext \
31655 conftest$ac_exeext conftest.$ac_ext
31657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31659 if test `eval echo '${'$as_ac_var'}'` = yes; then
31660 cat >>confdefs.h <<_ACEOF
31661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31662 _ACEOF
31665 done
31667 echo "$as_me:$LINENO: checking for working mmap" >&5
31668 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31669 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 else
31672 if test "$cross_compiling" = yes; then
31673 ac_cv_func_mmap_fixed_mapped=no
31674 else
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681 $ac_includes_default
31682 /* malloc might have been renamed as rpl_malloc. */
31683 #undef malloc
31685 /* Thanks to Mike Haertel and Jim Avera for this test.
31686 Here is a matrix of mmap possibilities:
31687 mmap private not fixed
31688 mmap private fixed at somewhere currently unmapped
31689 mmap private fixed at somewhere already mapped
31690 mmap shared not fixed
31691 mmap shared fixed at somewhere currently unmapped
31692 mmap shared fixed at somewhere already mapped
31693 For private mappings, we should verify that changes cannot be read()
31694 back from the file, nor mmap's back from the file at a different
31695 address. (There have been systems where private was not correctly
31696 implemented like the infamous i386 svr4.0, and systems where the
31697 VM page cache was not coherent with the file system buffer cache
31698 like early versions of FreeBSD and possibly contemporary NetBSD.)
31699 For shared mappings, we should conversely verify that changes get
31700 propagated back to all the places they're supposed to be.
31702 Grep wants private fixed already mapped.
31703 The main things grep needs to know about mmap are:
31704 * does it exist and is it safe to write into the mmap'd area
31705 * how to use it (BSD variants) */
31707 #include <fcntl.h>
31708 #include <sys/mman.h>
31710 #if !STDC_HEADERS && !HAVE_STDLIB_H
31711 char *malloc ();
31712 #endif
31714 /* This mess was copied from the GNU getpagesize.h. */
31715 #if !HAVE_GETPAGESIZE
31716 /* Assume that all systems that can run configure have sys/param.h. */
31717 # if !HAVE_SYS_PARAM_H
31718 # define HAVE_SYS_PARAM_H 1
31719 # endif
31721 # ifdef _SC_PAGESIZE
31722 # define getpagesize() sysconf(_SC_PAGESIZE)
31723 # else /* no _SC_PAGESIZE */
31724 # if HAVE_SYS_PARAM_H
31725 # include <sys/param.h>
31726 # ifdef EXEC_PAGESIZE
31727 # define getpagesize() EXEC_PAGESIZE
31728 # else /* no EXEC_PAGESIZE */
31729 # ifdef NBPG
31730 # define getpagesize() NBPG * CLSIZE
31731 # ifndef CLSIZE
31732 # define CLSIZE 1
31733 # endif /* no CLSIZE */
31734 # else /* no NBPG */
31735 # ifdef NBPC
31736 # define getpagesize() NBPC
31737 # else /* no NBPC */
31738 # ifdef PAGESIZE
31739 # define getpagesize() PAGESIZE
31740 # endif /* PAGESIZE */
31741 # endif /* no NBPC */
31742 # endif /* no NBPG */
31743 # endif /* no EXEC_PAGESIZE */
31744 # else /* no HAVE_SYS_PARAM_H */
31745 # define getpagesize() 8192 /* punt totally */
31746 # endif /* no HAVE_SYS_PARAM_H */
31747 # endif /* no _SC_PAGESIZE */
31749 #endif /* no HAVE_GETPAGESIZE */
31752 main ()
31754 char *data, *data2, *data3;
31755 int i, pagesize;
31756 int fd;
31758 pagesize = getpagesize ();
31760 /* First, make a file with some known garbage in it. */
31761 data = (char *) malloc (pagesize);
31762 if (!data)
31763 exit (1);
31764 for (i = 0; i < pagesize; ++i)
31765 *(data + i) = rand ();
31766 umask (0);
31767 fd = creat ("conftest.mmap", 0600);
31768 if (fd < 0)
31769 exit (1);
31770 if (write (fd, data, pagesize) != pagesize)
31771 exit (1);
31772 close (fd);
31774 /* Next, try to mmap the file at a fixed address which already has
31775 something else allocated at it. If we can, also make sure that
31776 we see the same garbage. */
31777 fd = open ("conftest.mmap", O_RDWR);
31778 if (fd < 0)
31779 exit (1);
31780 data2 = (char *) malloc (2 * pagesize);
31781 if (!data2)
31782 exit (1);
31783 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31784 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31785 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31786 exit (1);
31787 for (i = 0; i < pagesize; ++i)
31788 if (*(data + i) != *(data2 + i))
31789 exit (1);
31791 /* Finally, make sure that changes to the mapped area do not
31792 percolate back to the file as seen by read(). (This is a bug on
31793 some variants of i386 svr4.0.) */
31794 for (i = 0; i < pagesize; ++i)
31795 *(data2 + i) = *(data2 + i) + 1;
31796 data3 = (char *) malloc (pagesize);
31797 if (!data3)
31798 exit (1);
31799 if (read (fd, data3, pagesize) != pagesize)
31800 exit (1);
31801 for (i = 0; i < pagesize; ++i)
31802 if (*(data + i) != *(data3 + i))
31803 exit (1);
31804 close (fd);
31805 exit (0);
31807 _ACEOF
31808 rm -f conftest$ac_exeext
31809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31810 (eval $ac_link) 2>&5
31811 ac_status=$?
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31816 ac_status=$?
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; }; then
31819 ac_cv_func_mmap_fixed_mapped=yes
31820 else
31821 echo "$as_me: program exited with status $ac_status" >&5
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.$ac_ext >&5
31825 ( exit $ac_status )
31826 ac_cv_func_mmap_fixed_mapped=no
31828 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31831 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31832 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31833 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31835 cat >>confdefs.h <<\_ACEOF
31836 #define HAVE_MMAP 1
31837 _ACEOF
31840 rm -f conftest.mmap
31844 # For iconv support.
31846 if test "X$prefix" = "XNONE"; then
31847 acl_final_prefix="$ac_default_prefix"
31848 else
31849 acl_final_prefix="$prefix"
31851 if test "X$exec_prefix" = "XNONE"; then
31852 acl_final_exec_prefix='${prefix}'
31853 else
31854 acl_final_exec_prefix="$exec_prefix"
31856 acl_save_prefix="$prefix"
31857 prefix="$acl_final_prefix"
31858 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
31859 prefix="$acl_save_prefix"
31862 # Check whether --with-gnu-ld or --without-gnu-ld was given.
31863 if test "${with_gnu_ld+set}" = set; then
31864 withval="$with_gnu_ld"
31865 test "$withval" = no || with_gnu_ld=yes
31866 else
31867 with_gnu_ld=no
31869 # Prepare PATH_SEPARATOR.
31870 # The user is always right.
31871 if test "${PATH_SEPARATOR+set}" != set; then
31872 echo "#! /bin/sh" >conf$$.sh
31873 echo "exit 0" >>conf$$.sh
31874 chmod +x conf$$.sh
31875 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
31876 PATH_SEPARATOR=';'
31877 else
31878 PATH_SEPARATOR=:
31880 rm -f conf$$.sh
31882 ac_prog=ld
31883 if test "$GCC" = yes; then
31884 # Check if gcc -print-prog-name=ld gives a path.
31885 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
31886 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
31887 case $host in
31888 *-*-mingw*)
31889 # gcc leaves a trailing carriage return which upsets mingw
31890 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
31892 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
31893 esac
31894 case $ac_prog in
31895 # Accept absolute paths.
31896 [\\/]* | [A-Za-z]:[\\/]*)
31897 re_direlt='/[^/][^/]*/\.\./'
31898 # Canonicalize the path of ld
31899 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
31900 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
31901 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
31902 done
31903 test -z "$LD" && LD="$ac_prog"
31906 # If it fails, then pretend we aren't using GCC.
31907 ac_prog=ld
31910 # If it is relative, then search for the first ld in PATH.
31911 with_gnu_ld=unknown
31913 esac
31914 elif test "$with_gnu_ld" = yes; then
31915 echo "$as_me:$LINENO: checking for GNU ld" >&5
31916 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
31917 else
31918 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
31919 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
31921 if test "${acl_cv_path_LD+set}" = set; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31923 else
31924 if test -z "$LD"; then
31925 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
31926 for ac_dir in $PATH; do
31927 test -z "$ac_dir" && ac_dir=.
31928 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
31929 acl_cv_path_LD="$ac_dir/$ac_prog"
31930 # Check to see if the program is GNU ld. I'd rather use --version,
31931 # but apparently some GNU ld's only accept -v.
31932 # Break only if it was the GNU/non-GNU ld that we prefer.
31933 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
31934 test "$with_gnu_ld" != no && break
31935 else
31936 test "$with_gnu_ld" != yes && break
31939 done
31940 IFS="$ac_save_ifs"
31941 else
31942 acl_cv_path_LD="$LD" # Let the user override the test with a path.
31946 LD="$acl_cv_path_LD"
31947 if test -n "$LD"; then
31948 echo "$as_me:$LINENO: result: $LD" >&5
31949 echo "${ECHO_T}$LD" >&6
31950 else
31951 echo "$as_me:$LINENO: result: no" >&5
31952 echo "${ECHO_T}no" >&6
31954 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
31955 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
31956 { (exit 1); exit 1; }; }
31957 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
31958 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
31959 if test "${acl_cv_prog_gnu_ld+set}" = set; then
31960 echo $ECHO_N "(cached) $ECHO_C" >&6
31961 else
31962 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
31963 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
31964 acl_cv_prog_gnu_ld=yes
31965 else
31966 acl_cv_prog_gnu_ld=no
31969 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
31970 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
31971 with_gnu_ld=$acl_cv_prog_gnu_ld
31975 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
31976 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
31977 if test "${acl_cv_rpath+set}" = set; then
31978 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 else
31981 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
31982 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
31983 . ./conftest.sh
31984 rm -f ./conftest.sh
31985 acl_cv_rpath=done
31988 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
31989 echo "${ECHO_T}$acl_cv_rpath" >&6
31990 wl="$acl_cv_wl"
31991 libext="$acl_cv_libext"
31992 shlibext="$acl_cv_shlibext"
31993 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
31994 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
31995 hardcode_direct="$acl_cv_hardcode_direct"
31996 hardcode_minus_L="$acl_cv_hardcode_minus_L"
31997 # Check whether --enable-rpath or --disable-rpath was given.
31998 if test "${enable_rpath+set}" = set; then
31999 enableval="$enable_rpath"
32001 else
32002 enable_rpath=yes
32011 use_additional=yes
32013 acl_save_prefix="$prefix"
32014 prefix="$acl_final_prefix"
32015 acl_save_exec_prefix="$exec_prefix"
32016 exec_prefix="$acl_final_exec_prefix"
32018 eval additional_includedir=\"$includedir\"
32019 eval additional_libdir=\"$libdir\"
32021 exec_prefix="$acl_save_exec_prefix"
32022 prefix="$acl_save_prefix"
32025 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32026 if test "${with_libiconv_prefix+set}" = set; then
32027 withval="$with_libiconv_prefix"
32029 if test "X$withval" = "Xno"; then
32030 use_additional=no
32031 else
32032 if test "X$withval" = "X"; then
32034 acl_save_prefix="$prefix"
32035 prefix="$acl_final_prefix"
32036 acl_save_exec_prefix="$exec_prefix"
32037 exec_prefix="$acl_final_exec_prefix"
32039 eval additional_includedir=\"$includedir\"
32040 eval additional_libdir=\"$libdir\"
32042 exec_prefix="$acl_save_exec_prefix"
32043 prefix="$acl_save_prefix"
32045 else
32046 additional_includedir="$withval/include"
32047 additional_libdir="$withval/lib"
32052 LIBICONV=
32053 LTLIBICONV=
32054 INCICONV=
32055 rpathdirs=
32056 ltrpathdirs=
32057 names_already_handled=
32058 names_next_round='iconv '
32059 while test -n "$names_next_round"; do
32060 names_this_round="$names_next_round"
32061 names_next_round=
32062 for name in $names_this_round; do
32063 already_handled=
32064 for n in $names_already_handled; do
32065 if test "$n" = "$name"; then
32066 already_handled=yes
32067 break
32069 done
32070 if test -z "$already_handled"; then
32071 names_already_handled="$names_already_handled $name"
32072 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
32073 eval value=\"\$HAVE_LIB$uppername\"
32074 if test -n "$value"; then
32075 if test "$value" = yes; then
32076 eval value=\"\$LIB$uppername\"
32077 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
32078 eval value=\"\$LTLIB$uppername\"
32079 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
32080 else
32083 else
32084 found_dir=
32085 found_la=
32086 found_so=
32087 found_a=
32088 if test $use_additional = yes; then
32089 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
32090 found_dir="$additional_libdir"
32091 found_so="$additional_libdir/lib$name.$shlibext"
32092 if test -f "$additional_libdir/lib$name.la"; then
32093 found_la="$additional_libdir/lib$name.la"
32095 else
32096 if test -f "$additional_libdir/lib$name.$libext"; then
32097 found_dir="$additional_libdir"
32098 found_a="$additional_libdir/lib$name.$libext"
32099 if test -f "$additional_libdir/lib$name.la"; then
32100 found_la="$additional_libdir/lib$name.la"
32105 if test "X$found_dir" = "X"; then
32106 for x in $LDFLAGS $LTLIBICONV; do
32108 acl_save_prefix="$prefix"
32109 prefix="$acl_final_prefix"
32110 acl_save_exec_prefix="$exec_prefix"
32111 exec_prefix="$acl_final_exec_prefix"
32112 eval x=\"$x\"
32113 exec_prefix="$acl_save_exec_prefix"
32114 prefix="$acl_save_prefix"
32116 case "$x" in
32117 -L*)
32118 dir=`echo "X$x" | sed -e 's/^X-L//'`
32119 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
32120 found_dir="$dir"
32121 found_so="$dir/lib$name.$shlibext"
32122 if test -f "$dir/lib$name.la"; then
32123 found_la="$dir/lib$name.la"
32125 else
32126 if test -f "$dir/lib$name.$libext"; then
32127 found_dir="$dir"
32128 found_a="$dir/lib$name.$libext"
32129 if test -f "$dir/lib$name.la"; then
32130 found_la="$dir/lib$name.la"
32135 esac
32136 if test "X$found_dir" != "X"; then
32137 break
32139 done
32141 if test "X$found_dir" != "X"; then
32142 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
32143 if test "X$found_so" != "X"; then
32144 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
32145 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32146 else
32147 haveit=
32148 for x in $ltrpathdirs; do
32149 if test "X$x" = "X$found_dir"; then
32150 haveit=yes
32151 break
32153 done
32154 if test -z "$haveit"; then
32155 ltrpathdirs="$ltrpathdirs $found_dir"
32157 if test "$hardcode_direct" = yes; then
32158 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32159 else
32160 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
32161 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32162 haveit=
32163 for x in $rpathdirs; do
32164 if test "X$x" = "X$found_dir"; then
32165 haveit=yes
32166 break
32168 done
32169 if test -z "$haveit"; then
32170 rpathdirs="$rpathdirs $found_dir"
32172 else
32173 haveit=
32174 for x in $LDFLAGS $LIBICONV; do
32176 acl_save_prefix="$prefix"
32177 prefix="$acl_final_prefix"
32178 acl_save_exec_prefix="$exec_prefix"
32179 exec_prefix="$acl_final_exec_prefix"
32180 eval x=\"$x\"
32181 exec_prefix="$acl_save_exec_prefix"
32182 prefix="$acl_save_prefix"
32184 if test "X$x" = "X-L$found_dir"; then
32185 haveit=yes
32186 break
32188 done
32189 if test -z "$haveit"; then
32190 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
32192 if test "$hardcode_minus_L" != no; then
32193 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32194 else
32195 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32200 else
32201 if test "X$found_a" != "X"; then
32202 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
32203 else
32204 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
32207 additional_includedir=
32208 case "$found_dir" in
32209 */lib | */lib/)
32210 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
32211 additional_includedir="$basedir/include"
32213 esac
32214 if test "X$additional_includedir" != "X"; then
32215 if test "X$additional_includedir" != "X/usr/include"; then
32216 haveit=
32217 if test "X$additional_includedir" = "X/usr/local/include"; then
32218 if test -n "$GCC"; then
32219 case $host_os in
32220 linux*) haveit=yes;;
32221 esac
32224 if test -z "$haveit"; then
32225 for x in $CPPFLAGS $INCICONV; do
32227 acl_save_prefix="$prefix"
32228 prefix="$acl_final_prefix"
32229 acl_save_exec_prefix="$exec_prefix"
32230 exec_prefix="$acl_final_exec_prefix"
32231 eval x=\"$x\"
32232 exec_prefix="$acl_save_exec_prefix"
32233 prefix="$acl_save_prefix"
32235 if test "X$x" = "X-I$additional_includedir"; then
32236 haveit=yes
32237 break
32239 done
32240 if test -z "$haveit"; then
32241 if test -d "$additional_includedir"; then
32242 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
32248 if test -n "$found_la"; then
32249 save_libdir="$libdir"
32250 case "$found_la" in
32251 */* | *\\*) . "$found_la" ;;
32252 *) . "./$found_la" ;;
32253 esac
32254 libdir="$save_libdir"
32255 for dep in $dependency_libs; do
32256 case "$dep" in
32257 -L*)
32258 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
32259 if test "X$additional_libdir" != "X/usr/lib"; then
32260 haveit=
32261 if test "X$additional_libdir" = "X/usr/local/lib"; then
32262 if test -n "$GCC"; then
32263 case $host_os in
32264 linux*) haveit=yes;;
32265 esac
32268 if test -z "$haveit"; then
32269 haveit=
32270 for x in $LDFLAGS $LIBICONV; do
32272 acl_save_prefix="$prefix"
32273 prefix="$acl_final_prefix"
32274 acl_save_exec_prefix="$exec_prefix"
32275 exec_prefix="$acl_final_exec_prefix"
32276 eval x=\"$x\"
32277 exec_prefix="$acl_save_exec_prefix"
32278 prefix="$acl_save_prefix"
32280 if test "X$x" = "X-L$additional_libdir"; then
32281 haveit=yes
32282 break
32284 done
32285 if test -z "$haveit"; then
32286 if test -d "$additional_libdir"; then
32287 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
32290 haveit=
32291 for x in $LDFLAGS $LTLIBICONV; do
32293 acl_save_prefix="$prefix"
32294 prefix="$acl_final_prefix"
32295 acl_save_exec_prefix="$exec_prefix"
32296 exec_prefix="$acl_final_exec_prefix"
32297 eval x=\"$x\"
32298 exec_prefix="$acl_save_exec_prefix"
32299 prefix="$acl_save_prefix"
32301 if test "X$x" = "X-L$additional_libdir"; then
32302 haveit=yes
32303 break
32305 done
32306 if test -z "$haveit"; then
32307 if test -d "$additional_libdir"; then
32308 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
32314 -R*)
32315 dir=`echo "X$dep" | sed -e 's/^X-R//'`
32316 if test "$enable_rpath" != no; then
32317 haveit=
32318 for x in $rpathdirs; do
32319 if test "X$x" = "X$dir"; then
32320 haveit=yes
32321 break
32323 done
32324 if test -z "$haveit"; then
32325 rpathdirs="$rpathdirs $dir"
32327 haveit=
32328 for x in $ltrpathdirs; do
32329 if test "X$x" = "X$dir"; then
32330 haveit=yes
32331 break
32333 done
32334 if test -z "$haveit"; then
32335 ltrpathdirs="$ltrpathdirs $dir"
32339 -l*)
32340 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
32342 *.la)
32343 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
32346 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
32347 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
32349 esac
32350 done
32352 else
32353 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32354 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
32358 done
32359 done
32360 if test "X$rpathdirs" != "X"; then
32361 if test -n "$hardcode_libdir_separator"; then
32362 alldirs=
32363 for found_dir in $rpathdirs; do
32364 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
32365 done
32366 acl_save_libdir="$libdir"
32367 libdir="$alldirs"
32368 eval flag=\"$hardcode_libdir_flag_spec\"
32369 libdir="$acl_save_libdir"
32370 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32371 else
32372 for found_dir in $rpathdirs; do
32373 acl_save_libdir="$libdir"
32374 libdir="$found_dir"
32375 eval flag=\"$hardcode_libdir_flag_spec\"
32376 libdir="$acl_save_libdir"
32377 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32378 done
32381 if test "X$ltrpathdirs" != "X"; then
32382 for found_dir in $ltrpathdirs; do
32383 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
32384 done
32393 am_save_CPPFLAGS="$CPPFLAGS"
32395 for element in $INCICONV; do
32396 haveit=
32397 for x in $CPPFLAGS; do
32399 acl_save_prefix="$prefix"
32400 prefix="$acl_final_prefix"
32401 acl_save_exec_prefix="$exec_prefix"
32402 exec_prefix="$acl_final_exec_prefix"
32403 eval x=\"$x\"
32404 exec_prefix="$acl_save_exec_prefix"
32405 prefix="$acl_save_prefix"
32407 if test "X$x" = "X$element"; then
32408 haveit=yes
32409 break
32411 done
32412 if test -z "$haveit"; then
32413 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
32415 done
32418 echo "$as_me:$LINENO: checking for iconv" >&5
32419 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32420 if test "${am_cv_func_iconv+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32424 am_cv_func_iconv="no, consider installing GNU libiconv"
32425 am_cv_lib_iconv=no
32426 if test x$gcc_no_link = xyes; then
32427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32429 { (exit 1); exit 1; }; }
32431 cat >conftest.$ac_ext <<_ACEOF
32432 /* confdefs.h. */
32433 _ACEOF
32434 cat confdefs.h >>conftest.$ac_ext
32435 cat >>conftest.$ac_ext <<_ACEOF
32436 /* end confdefs.h. */
32437 #include <stdlib.h>
32438 #include <iconv.h>
32440 main ()
32442 iconv_t cd = iconv_open("","");
32443 iconv(cd,NULL,NULL,NULL,NULL);
32444 iconv_close(cd);
32446 return 0;
32448 _ACEOF
32449 rm -f conftest.$ac_objext conftest$ac_exeext
32450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32451 (eval $ac_link) 2>conftest.er1
32452 ac_status=$?
32453 grep -v '^ *+' conftest.er1 >conftest.err
32454 rm -f conftest.er1
32455 cat conftest.err >&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); } &&
32458 { ac_try='test -z "$ac_c_werror_flag"
32459 || test ! -s conftest.err'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32462 ac_status=$?
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; } &&
32465 { ac_try='test -s conftest$ac_exeext'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32468 ac_status=$?
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }; then
32471 am_cv_func_iconv=yes
32472 else
32473 echo "$as_me: failed program was:" >&5
32474 sed 's/^/| /' conftest.$ac_ext >&5
32477 rm -f conftest.err conftest.$ac_objext \
32478 conftest$ac_exeext conftest.$ac_ext
32479 if test "$am_cv_func_iconv" != yes; then
32480 am_save_LIBS="$LIBS"
32481 LIBS="$LIBS $LIBICONV"
32482 if test x$gcc_no_link = xyes; then
32483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32485 { (exit 1); exit 1; }; }
32487 cat >conftest.$ac_ext <<_ACEOF
32488 /* confdefs.h. */
32489 _ACEOF
32490 cat confdefs.h >>conftest.$ac_ext
32491 cat >>conftest.$ac_ext <<_ACEOF
32492 /* end confdefs.h. */
32493 #include <stdlib.h>
32494 #include <iconv.h>
32496 main ()
32498 iconv_t cd = iconv_open("","");
32499 iconv(cd,NULL,NULL,NULL,NULL);
32500 iconv_close(cd);
32502 return 0;
32504 _ACEOF
32505 rm -f conftest.$ac_objext conftest$ac_exeext
32506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32507 (eval $ac_link) 2>conftest.er1
32508 ac_status=$?
32509 grep -v '^ *+' conftest.er1 >conftest.err
32510 rm -f conftest.er1
32511 cat conftest.err >&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); } &&
32514 { ac_try='test -z "$ac_c_werror_flag"
32515 || test ! -s conftest.err'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32518 ac_status=$?
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; } &&
32521 { ac_try='test -s conftest$ac_exeext'
32522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 (eval $ac_try) 2>&5
32524 ac_status=$?
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); }; }; then
32527 am_cv_lib_iconv=yes
32528 am_cv_func_iconv=yes
32529 else
32530 echo "$as_me: failed program was:" >&5
32531 sed 's/^/| /' conftest.$ac_ext >&5
32534 rm -f conftest.err conftest.$ac_objext \
32535 conftest$ac_exeext conftest.$ac_ext
32536 LIBS="$am_save_LIBS"
32540 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32541 echo "${ECHO_T}$am_cv_func_iconv" >&6
32542 if test "$am_cv_func_iconv" = yes; then
32544 cat >>confdefs.h <<\_ACEOF
32545 #define HAVE_ICONV 1
32546 _ACEOF
32549 if test "$am_cv_lib_iconv" = yes; then
32550 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
32551 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
32552 echo "$as_me:$LINENO: result: $LIBICONV" >&5
32553 echo "${ECHO_T}$LIBICONV" >&6
32554 else
32555 CPPFLAGS="$am_save_CPPFLAGS"
32556 LIBICONV=
32557 LTLIBICONV=
32562 if test "$am_cv_func_iconv" = yes; then
32563 echo "$as_me:$LINENO: checking for iconv declaration" >&5
32564 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
32565 if test "${am_cv_proto_iconv+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 else
32569 cat >conftest.$ac_ext <<_ACEOF
32570 /* confdefs.h. */
32571 _ACEOF
32572 cat confdefs.h >>conftest.$ac_ext
32573 cat >>conftest.$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32576 #include <stdlib.h>
32577 #include <iconv.h>
32578 extern
32579 #ifdef __cplusplus
32581 #endif
32582 #if defined(__STDC__) || defined(__cplusplus)
32583 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32584 #else
32585 size_t iconv();
32586 #endif
32589 main ()
32593 return 0;
32595 _ACEOF
32596 rm -f conftest.$ac_objext
32597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32598 (eval $ac_compile) 2>conftest.er1
32599 ac_status=$?
32600 grep -v '^ *+' conftest.er1 >conftest.err
32601 rm -f conftest.er1
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } &&
32605 { ac_try='test -z "$ac_c_werror_flag"
32606 || test ! -s conftest.err'
32607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32608 (eval $ac_try) 2>&5
32609 ac_status=$?
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); }; } &&
32612 { ac_try='test -s conftest.$ac_objext'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32615 ac_status=$?
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; }; then
32618 am_cv_proto_iconv_arg1=""
32619 else
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32623 am_cv_proto_iconv_arg1="const"
32625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32626 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
32629 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
32630 echo "$as_me:$LINENO: result: ${ac_t:-
32631 }$am_cv_proto_iconv" >&5
32632 echo "${ECHO_T}${ac_t:-
32633 }$am_cv_proto_iconv" >&6
32635 cat >>confdefs.h <<_ACEOF
32636 #define ICONV_CONST $am_cv_proto_iconv_arg1
32637 _ACEOF
32642 else
32644 # This lets us hard-code the functionality we know we'll have in the cross
32645 # target environment. "Let" is a sugar-coated word placed on an especially
32646 # dull and tedious hack, actually.
32648 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32649 # that involve linking, can't be used:
32650 # "cannot open sim-crt0.o"
32651 # "cannot open crt0.o"
32652 # etc. All this is because there currently exists no unified, consistent
32653 # way for top level CC information to be passed down to target directories:
32654 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32655 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32656 # crosses can be removed.
32658 # If Canadian cross, then don't pick up tools from the build directory.
32659 # Used only in GLIBCXX_EXPORT_INCLUDES.
32660 if test -n "$with_cross_host" &&
32661 test x"$build_alias" != x"$with_cross_host" &&
32662 test x"$build" != x"$target";
32663 then
32664 CANADIAN=yes
32665 else
32666 CANADIAN=no
32669 # Construct crosses by hand, eliminating bits that need ld...
32670 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32671 # GLIBCXX_CHECK_MATH_SUPPORT
32673 # First, test for "known" system libraries. We may be using newlib even
32674 # on a hosted environment.
32675 if test "x${with_newlib}" = "xyes"; then
32676 os_include_dir="os/newlib"
32677 cat >>confdefs.h <<\_ACEOF
32678 #define HAVE_HYPOT 1
32679 _ACEOF
32682 # GLIBCXX_CHECK_STDLIB_SUPPORT
32683 cat >>confdefs.h <<\_ACEOF
32684 #define HAVE_STRTOF 1
32685 _ACEOF
32687 # AC_FUNC_MMAP
32688 cat >>confdefs.h <<\_ACEOF
32689 #define HAVE_MMAP 1
32690 _ACEOF
32693 cat >>confdefs.h <<\_ACEOF
32694 #define HAVE_ACOSF 1
32695 _ACEOF
32697 cat >>confdefs.h <<\_ACEOF
32698 #define HAVE_ASINF 1
32699 _ACEOF
32701 cat >>confdefs.h <<\_ACEOF
32702 #define HAVE_ATAN2F 1
32703 _ACEOF
32705 cat >>confdefs.h <<\_ACEOF
32706 #define HAVE_ATANF 1
32707 _ACEOF
32709 cat >>confdefs.h <<\_ACEOF
32710 #define HAVE_CEILF 1
32711 _ACEOF
32713 cat >>confdefs.h <<\_ACEOF
32714 #define HAVE_COPYSIGN 1
32715 _ACEOF
32717 cat >>confdefs.h <<\_ACEOF
32718 #define HAVE_COPYSIGNF 1
32719 _ACEOF
32721 cat >>confdefs.h <<\_ACEOF
32722 #define HAVE_COSF 1
32723 _ACEOF
32725 cat >>confdefs.h <<\_ACEOF
32726 #define HAVE_COSHF 1
32727 _ACEOF
32729 cat >>confdefs.h <<\_ACEOF
32730 #define HAVE_EXPF 1
32731 _ACEOF
32733 cat >>confdefs.h <<\_ACEOF
32734 #define HAVE_FABSF 1
32735 _ACEOF
32737 cat >>confdefs.h <<\_ACEOF
32738 #define HAVE_FLOORF 1
32739 _ACEOF
32741 cat >>confdefs.h <<\_ACEOF
32742 #define HAVE_FMODF 1
32743 _ACEOF
32745 cat >>confdefs.h <<\_ACEOF
32746 #define HAVE_FREXPF 1
32747 _ACEOF
32749 cat >>confdefs.h <<\_ACEOF
32750 #define HAVE_LDEXPF 1
32751 _ACEOF
32753 cat >>confdefs.h <<\_ACEOF
32754 #define HAVE_LOG10F 1
32755 _ACEOF
32757 cat >>confdefs.h <<\_ACEOF
32758 #define HAVE_LOGF 1
32759 _ACEOF
32761 cat >>confdefs.h <<\_ACEOF
32762 #define HAVE_MODFF 1
32763 _ACEOF
32765 cat >>confdefs.h <<\_ACEOF
32766 #define HAVE_POWF 1
32767 _ACEOF
32769 cat >>confdefs.h <<\_ACEOF
32770 #define HAVE_SINF 1
32771 _ACEOF
32773 cat >>confdefs.h <<\_ACEOF
32774 #define HAVE_SINHF 1
32775 _ACEOF
32777 cat >>confdefs.h <<\_ACEOF
32778 #define HAVE_SQRTF 1
32779 _ACEOF
32781 cat >>confdefs.h <<\_ACEOF
32782 #define HAVE_TANF 1
32783 _ACEOF
32785 cat >>confdefs.h <<\_ACEOF
32786 #define HAVE_TANHF 1
32787 _ACEOF
32790 cat >>confdefs.h <<\_ACEOF
32791 #define HAVE_S_ISREG 1
32792 _ACEOF
32794 cat >>confdefs.h <<\_ACEOF
32795 #define HAVE_S_IFREG 1
32796 _ACEOF
32799 cat >>confdefs.h <<\_ACEOF
32800 #define HAVE_ICONV 1
32801 _ACEOF
32803 else
32805 # Base decisions on target environment.
32806 case "${host}" in
32807 arm*-*-symbianelf*)
32808 # This is a freestanding configuration; there is nothing to do here.
32811 *-darwin*)
32812 # Darwin versions vary, but the linker should work in a cross environment,
32813 # so we just check for all the features here.
32814 # Check for available headers.
32828 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32829 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32830 sys/types.h
32832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32834 echo "$as_me:$LINENO: checking for $ac_header" >&5
32835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32841 else
32842 # Is the header compilable?
32843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851 $ac_includes_default
32852 #include <$ac_header>
32853 _ACEOF
32854 rm -f conftest.$ac_objext
32855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32856 (eval $ac_compile) 2>conftest.er1
32857 ac_status=$?
32858 grep -v '^ *+' conftest.er1 >conftest.err
32859 rm -f conftest.er1
32860 cat conftest.err >&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); } &&
32863 { ac_try='test -z "$ac_c_werror_flag"
32864 || test ! -s conftest.err'
32865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32866 (eval $ac_try) 2>&5
32867 ac_status=$?
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); }; } &&
32870 { ac_try='test -s conftest.$ac_objext'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32873 ac_status=$?
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; }; then
32876 ac_header_compiler=yes
32877 else
32878 echo "$as_me: failed program was:" >&5
32879 sed 's/^/| /' conftest.$ac_ext >&5
32881 ac_header_compiler=no
32883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32885 echo "${ECHO_T}$ac_header_compiler" >&6
32887 # Is the header present?
32888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32890 cat >conftest.$ac_ext <<_ACEOF
32891 /* confdefs.h. */
32892 _ACEOF
32893 cat confdefs.h >>conftest.$ac_ext
32894 cat >>conftest.$ac_ext <<_ACEOF
32895 /* end confdefs.h. */
32896 #include <$ac_header>
32897 _ACEOF
32898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32900 ac_status=$?
32901 grep -v '^ *+' conftest.er1 >conftest.err
32902 rm -f conftest.er1
32903 cat conftest.err >&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); } >/dev/null; then
32906 if test -s conftest.err; then
32907 ac_cpp_err=$ac_c_preproc_warn_flag
32908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32909 else
32910 ac_cpp_err=
32912 else
32913 ac_cpp_err=yes
32915 if test -z "$ac_cpp_err"; then
32916 ac_header_preproc=yes
32917 else
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.$ac_ext >&5
32921 ac_header_preproc=no
32923 rm -f conftest.err conftest.$ac_ext
32924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32925 echo "${ECHO_T}$ac_header_preproc" >&6
32927 # So? What about this header?
32928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32929 yes:no: )
32930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32934 ac_header_preproc=yes
32936 no:yes:* )
32937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32950 cat <<\_ASBOX
32951 ## ----------------------------------------- ##
32952 ## Report this to the package-unused lists. ##
32953 ## ----------------------------------------- ##
32954 _ASBOX
32956 sed "s/^/$as_me: WARNING: /" >&2
32958 esac
32959 echo "$as_me:$LINENO: checking for $ac_header" >&5
32960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32962 echo $ECHO_N "(cached) $ECHO_C" >&6
32963 else
32964 eval "$as_ac_Header=\$ac_header_preproc"
32966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32971 cat >>confdefs.h <<_ACEOF
32972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32973 _ACEOF
32977 done
32980 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32982 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32983 ac_save_CXXFLAGS="$CXXFLAGS"
32984 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32986 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32987 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32988 if test "${ac_cv_lib_m_sin+set}" = set; then
32989 echo $ECHO_N "(cached) $ECHO_C" >&6
32990 else
32991 ac_check_lib_save_LIBS=$LIBS
32992 LIBS="-lm $LIBS"
32993 if test x$gcc_no_link = xyes; then
32994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32996 { (exit 1); exit 1; }; }
32998 cat >conftest.$ac_ext <<_ACEOF
32999 /* confdefs.h. */
33000 _ACEOF
33001 cat confdefs.h >>conftest.$ac_ext
33002 cat >>conftest.$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33005 /* Override any gcc2 internal prototype to avoid an error. */
33006 #ifdef __cplusplus
33007 extern "C"
33008 #endif
33009 /* We use char because int might match the return type of a gcc2
33010 builtin and then its argument prototype would still apply. */
33011 char sin ();
33013 main ()
33015 sin ();
33017 return 0;
33019 _ACEOF
33020 rm -f conftest.$ac_objext conftest$ac_exeext
33021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33022 (eval $ac_link) 2>conftest.er1
33023 ac_status=$?
33024 grep -v '^ *+' conftest.er1 >conftest.err
33025 rm -f conftest.er1
33026 cat conftest.err >&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } &&
33029 { ac_try='test -z "$ac_c_werror_flag"
33030 || test ! -s conftest.err'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33033 ac_status=$?
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; } &&
33036 { ac_try='test -s conftest$ac_exeext'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33039 ac_status=$?
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; }; then
33042 ac_cv_lib_m_sin=yes
33043 else
33044 echo "$as_me: failed program was:" >&5
33045 sed 's/^/| /' conftest.$ac_ext >&5
33047 ac_cv_lib_m_sin=no
33049 rm -f conftest.err conftest.$ac_objext \
33050 conftest$ac_exeext conftest.$ac_ext
33051 LIBS=$ac_check_lib_save_LIBS
33053 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
33054 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
33055 if test $ac_cv_lib_m_sin = yes; then
33056 libm="-lm"
33059 ac_save_LIBS="$LIBS"
33060 LIBS="$LIBS $libm"
33064 echo "$as_me:$LINENO: checking for isinf declaration" >&5
33065 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
33066 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33067 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
33068 echo $ECHO_N "(cached) $ECHO_C" >&6
33069 else
33073 ac_ext=cc
33074 ac_cpp='$CXXCPP $CPPFLAGS'
33075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33079 cat >conftest.$ac_ext <<_ACEOF
33080 /* confdefs.h. */
33081 _ACEOF
33082 cat confdefs.h >>conftest.$ac_ext
33083 cat >>conftest.$ac_ext <<_ACEOF
33084 /* end confdefs.h. */
33085 #include <math.h>
33086 #ifdef HAVE_IEEEFP_H
33087 #include <ieeefp.h>
33088 #endif
33091 main ()
33093 isinf(0);
33095 return 0;
33097 _ACEOF
33098 rm -f conftest.$ac_objext
33099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33100 (eval $ac_compile) 2>conftest.er1
33101 ac_status=$?
33102 grep -v '^ *+' conftest.er1 >conftest.err
33103 rm -f conftest.er1
33104 cat conftest.err >&5
33105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106 (exit $ac_status); } &&
33107 { ac_try='test -z "$ac_cxx_werror_flag"
33108 || test ! -s conftest.err'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; } &&
33114 { ac_try='test -s conftest.$ac_objext'
33115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33116 (eval $ac_try) 2>&5
33117 ac_status=$?
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); }; }; then
33120 glibcxx_cv_func_isinf_use=yes
33121 else
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.$ac_ext >&5
33125 glibcxx_cv_func_isinf_use=no
33127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33128 ac_ext=c
33129 ac_cpp='$CPP $CPPFLAGS'
33130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
33139 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
33141 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33143 for ac_func in isinf
33145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33146 echo "$as_me:$LINENO: checking for $ac_func" >&5
33147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33148 if eval "test \"\${$as_ac_var+set}\" = set"; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 else
33151 if test x$gcc_no_link = xyes; then
33152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33154 { (exit 1); exit 1; }; }
33156 cat >conftest.$ac_ext <<_ACEOF
33157 /* confdefs.h. */
33158 _ACEOF
33159 cat confdefs.h >>conftest.$ac_ext
33160 cat >>conftest.$ac_ext <<_ACEOF
33161 /* end confdefs.h. */
33162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33164 #define $ac_func innocuous_$ac_func
33166 /* System header to define __stub macros and hopefully few prototypes,
33167 which can conflict with char $ac_func (); below.
33168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33169 <limits.h> exists even on freestanding compilers. */
33171 #ifdef __STDC__
33172 # include <limits.h>
33173 #else
33174 # include <assert.h>
33175 #endif
33177 #undef $ac_func
33179 /* Override any gcc2 internal prototype to avoid an error. */
33180 #ifdef __cplusplus
33181 extern "C"
33183 #endif
33184 /* We use char because int might match the return type of a gcc2
33185 builtin and then its argument prototype would still apply. */
33186 char $ac_func ();
33187 /* The GNU C library defines this for functions which it implements
33188 to always fail with ENOSYS. Some functions are actually named
33189 something starting with __ and the normal name is an alias. */
33190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33191 choke me
33192 #else
33193 char (*f) () = $ac_func;
33194 #endif
33195 #ifdef __cplusplus
33197 #endif
33200 main ()
33202 return f != $ac_func;
33204 return 0;
33206 _ACEOF
33207 rm -f conftest.$ac_objext conftest$ac_exeext
33208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33209 (eval $ac_link) 2>conftest.er1
33210 ac_status=$?
33211 grep -v '^ *+' conftest.er1 >conftest.err
33212 rm -f conftest.er1
33213 cat conftest.err >&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } &&
33216 { ac_try='test -z "$ac_c_werror_flag"
33217 || test ! -s conftest.err'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; } &&
33223 { ac_try='test -s conftest$ac_exeext'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33226 ac_status=$?
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; }; then
33229 eval "$as_ac_var=yes"
33230 else
33231 echo "$as_me: failed program was:" >&5
33232 sed 's/^/| /' conftest.$ac_ext >&5
33234 eval "$as_ac_var=no"
33236 rm -f conftest.err conftest.$ac_objext \
33237 conftest$ac_exeext conftest.$ac_ext
33239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33241 if test `eval echo '${'$as_ac_var'}'` = yes; then
33242 cat >>confdefs.h <<_ACEOF
33243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33244 _ACEOF
33247 done
33249 else
33251 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
33252 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
33253 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33254 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
33255 echo $ECHO_N "(cached) $ECHO_C" >&6
33256 else
33260 ac_ext=cc
33261 ac_cpp='$CXXCPP $CPPFLAGS'
33262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266 cat >conftest.$ac_ext <<_ACEOF
33267 /* confdefs.h. */
33268 _ACEOF
33269 cat confdefs.h >>conftest.$ac_ext
33270 cat >>conftest.$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272 #include <math.h>
33273 #ifdef HAVE_IEEEFP_H
33274 #include <ieeefp.h>
33275 #endif
33278 main ()
33280 _isinf(0);
33282 return 0;
33284 _ACEOF
33285 rm -f conftest.$ac_objext
33286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33287 (eval $ac_compile) 2>conftest.er1
33288 ac_status=$?
33289 grep -v '^ *+' conftest.er1 >conftest.err
33290 rm -f conftest.er1
33291 cat conftest.err >&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); } &&
33294 { ac_try='test -z "$ac_cxx_werror_flag"
33295 || test ! -s conftest.err'
33296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33297 (eval $ac_try) 2>&5
33298 ac_status=$?
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); }; } &&
33301 { ac_try='test -s conftest.$ac_objext'
33302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33303 (eval $ac_try) 2>&5
33304 ac_status=$?
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); }; }; then
33307 glibcxx_cv_func__isinf_use=yes
33308 else
33309 echo "$as_me: failed program was:" >&5
33310 sed 's/^/| /' conftest.$ac_ext >&5
33312 glibcxx_cv_func__isinf_use=no
33314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33315 ac_ext=c
33316 ac_cpp='$CPP $CPPFLAGS'
33317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33326 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33328 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33330 for ac_func in _isinf
33332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33333 echo "$as_me:$LINENO: checking for $ac_func" >&5
33334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33335 if eval "test \"\${$as_ac_var+set}\" = set"; then
33336 echo $ECHO_N "(cached) $ECHO_C" >&6
33337 else
33338 if test x$gcc_no_link = xyes; then
33339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33341 { (exit 1); exit 1; }; }
33343 cat >conftest.$ac_ext <<_ACEOF
33344 /* confdefs.h. */
33345 _ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33351 #define $ac_func innocuous_$ac_func
33353 /* System header to define __stub macros and hopefully few prototypes,
33354 which can conflict with char $ac_func (); below.
33355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33356 <limits.h> exists even on freestanding compilers. */
33358 #ifdef __STDC__
33359 # include <limits.h>
33360 #else
33361 # include <assert.h>
33362 #endif
33364 #undef $ac_func
33366 /* Override any gcc2 internal prototype to avoid an error. */
33367 #ifdef __cplusplus
33368 extern "C"
33370 #endif
33371 /* We use char because int might match the return type of a gcc2
33372 builtin and then its argument prototype would still apply. */
33373 char $ac_func ();
33374 /* The GNU C library defines this for functions which it implements
33375 to always fail with ENOSYS. Some functions are actually named
33376 something starting with __ and the normal name is an alias. */
33377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33378 choke me
33379 #else
33380 char (*f) () = $ac_func;
33381 #endif
33382 #ifdef __cplusplus
33384 #endif
33387 main ()
33389 return f != $ac_func;
33391 return 0;
33393 _ACEOF
33394 rm -f conftest.$ac_objext conftest$ac_exeext
33395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33396 (eval $ac_link) 2>conftest.er1
33397 ac_status=$?
33398 grep -v '^ *+' conftest.er1 >conftest.err
33399 rm -f conftest.er1
33400 cat conftest.err >&5
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); } &&
33403 { ac_try='test -z "$ac_c_werror_flag"
33404 || test ! -s conftest.err'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33407 ac_status=$?
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; } &&
33410 { ac_try='test -s conftest$ac_exeext'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33413 ac_status=$?
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; }; then
33416 eval "$as_ac_var=yes"
33417 else
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33421 eval "$as_ac_var=no"
33423 rm -f conftest.err conftest.$ac_objext \
33424 conftest$ac_exeext conftest.$ac_ext
33426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33428 if test `eval echo '${'$as_ac_var'}'` = yes; then
33429 cat >>confdefs.h <<_ACEOF
33430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33431 _ACEOF
33434 done
33444 echo "$as_me:$LINENO: checking for isnan declaration" >&5
33445 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33446 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33447 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33448 echo $ECHO_N "(cached) $ECHO_C" >&6
33449 else
33453 ac_ext=cc
33454 ac_cpp='$CXXCPP $CPPFLAGS'
33455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33459 cat >conftest.$ac_ext <<_ACEOF
33460 /* confdefs.h. */
33461 _ACEOF
33462 cat confdefs.h >>conftest.$ac_ext
33463 cat >>conftest.$ac_ext <<_ACEOF
33464 /* end confdefs.h. */
33465 #include <math.h>
33466 #ifdef HAVE_IEEEFP_H
33467 #include <ieeefp.h>
33468 #endif
33471 main ()
33473 isnan(0);
33475 return 0;
33477 _ACEOF
33478 rm -f conftest.$ac_objext
33479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33480 (eval $ac_compile) 2>conftest.er1
33481 ac_status=$?
33482 grep -v '^ *+' conftest.er1 >conftest.err
33483 rm -f conftest.er1
33484 cat conftest.err >&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); } &&
33487 { ac_try='test -z "$ac_cxx_werror_flag"
33488 || test ! -s conftest.err'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33491 ac_status=$?
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; } &&
33494 { ac_try='test -s conftest.$ac_objext'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33497 ac_status=$?
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }; then
33500 glibcxx_cv_func_isnan_use=yes
33501 else
33502 echo "$as_me: failed program was:" >&5
33503 sed 's/^/| /' conftest.$ac_ext >&5
33505 glibcxx_cv_func_isnan_use=no
33507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33508 ac_ext=c
33509 ac_cpp='$CPP $CPPFLAGS'
33510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33518 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33519 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33521 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33523 for ac_func in isnan
33525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33526 echo "$as_me:$LINENO: checking for $ac_func" >&5
33527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33528 if eval "test \"\${$as_ac_var+set}\" = set"; then
33529 echo $ECHO_N "(cached) $ECHO_C" >&6
33530 else
33531 if test x$gcc_no_link = xyes; then
33532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33534 { (exit 1); exit 1; }; }
33536 cat >conftest.$ac_ext <<_ACEOF
33537 /* confdefs.h. */
33538 _ACEOF
33539 cat confdefs.h >>conftest.$ac_ext
33540 cat >>conftest.$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33544 #define $ac_func innocuous_$ac_func
33546 /* System header to define __stub macros and hopefully few prototypes,
33547 which can conflict with char $ac_func (); below.
33548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33549 <limits.h> exists even on freestanding compilers. */
33551 #ifdef __STDC__
33552 # include <limits.h>
33553 #else
33554 # include <assert.h>
33555 #endif
33557 #undef $ac_func
33559 /* Override any gcc2 internal prototype to avoid an error. */
33560 #ifdef __cplusplus
33561 extern "C"
33563 #endif
33564 /* We use char because int might match the return type of a gcc2
33565 builtin and then its argument prototype would still apply. */
33566 char $ac_func ();
33567 /* The GNU C library defines this for functions which it implements
33568 to always fail with ENOSYS. Some functions are actually named
33569 something starting with __ and the normal name is an alias. */
33570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33571 choke me
33572 #else
33573 char (*f) () = $ac_func;
33574 #endif
33575 #ifdef __cplusplus
33577 #endif
33580 main ()
33582 return f != $ac_func;
33584 return 0;
33586 _ACEOF
33587 rm -f conftest.$ac_objext conftest$ac_exeext
33588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33589 (eval $ac_link) 2>conftest.er1
33590 ac_status=$?
33591 grep -v '^ *+' conftest.er1 >conftest.err
33592 rm -f conftest.er1
33593 cat conftest.err >&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); } &&
33596 { ac_try='test -z "$ac_c_werror_flag"
33597 || test ! -s conftest.err'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33600 ac_status=$?
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; } &&
33603 { ac_try='test -s conftest$ac_exeext'
33604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605 (eval $ac_try) 2>&5
33606 ac_status=$?
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; }; then
33609 eval "$as_ac_var=yes"
33610 else
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.$ac_ext >&5
33614 eval "$as_ac_var=no"
33616 rm -f conftest.err conftest.$ac_objext \
33617 conftest$ac_exeext conftest.$ac_ext
33619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33621 if test `eval echo '${'$as_ac_var'}'` = yes; then
33622 cat >>confdefs.h <<_ACEOF
33623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33624 _ACEOF
33627 done
33629 else
33631 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33632 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33633 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33634 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 else
33640 ac_ext=cc
33641 ac_cpp='$CXXCPP $CPPFLAGS'
33642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33646 cat >conftest.$ac_ext <<_ACEOF
33647 /* confdefs.h. */
33648 _ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652 #include <math.h>
33653 #ifdef HAVE_IEEEFP_H
33654 #include <ieeefp.h>
33655 #endif
33658 main ()
33660 _isnan(0);
33662 return 0;
33664 _ACEOF
33665 rm -f conftest.$ac_objext
33666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33667 (eval $ac_compile) 2>conftest.er1
33668 ac_status=$?
33669 grep -v '^ *+' conftest.er1 >conftest.err
33670 rm -f conftest.er1
33671 cat conftest.err >&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); } &&
33674 { ac_try='test -z "$ac_cxx_werror_flag"
33675 || test ! -s conftest.err'
33676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33677 (eval $ac_try) 2>&5
33678 ac_status=$?
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); }; } &&
33681 { ac_try='test -s conftest.$ac_objext'
33682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33683 (eval $ac_try) 2>&5
33684 ac_status=$?
33685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 (exit $ac_status); }; }; then
33687 glibcxx_cv_func__isnan_use=yes
33688 else
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.$ac_ext >&5
33692 glibcxx_cv_func__isnan_use=no
33694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33706 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33708 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33710 for ac_func in _isnan
33712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33713 echo "$as_me:$LINENO: checking for $ac_func" >&5
33714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33715 if eval "test \"\${$as_ac_var+set}\" = set"; then
33716 echo $ECHO_N "(cached) $ECHO_C" >&6
33717 else
33718 if test x$gcc_no_link = xyes; then
33719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33721 { (exit 1); exit 1; }; }
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33731 #define $ac_func innocuous_$ac_func
33733 /* System header to define __stub macros and hopefully few prototypes,
33734 which can conflict with char $ac_func (); below.
33735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33736 <limits.h> exists even on freestanding compilers. */
33738 #ifdef __STDC__
33739 # include <limits.h>
33740 #else
33741 # include <assert.h>
33742 #endif
33744 #undef $ac_func
33746 /* Override any gcc2 internal prototype to avoid an error. */
33747 #ifdef __cplusplus
33748 extern "C"
33750 #endif
33751 /* We use char because int might match the return type of a gcc2
33752 builtin and then its argument prototype would still apply. */
33753 char $ac_func ();
33754 /* The GNU C library defines this for functions which it implements
33755 to always fail with ENOSYS. Some functions are actually named
33756 something starting with __ and the normal name is an alias. */
33757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33758 choke me
33759 #else
33760 char (*f) () = $ac_func;
33761 #endif
33762 #ifdef __cplusplus
33764 #endif
33767 main ()
33769 return f != $ac_func;
33771 return 0;
33773 _ACEOF
33774 rm -f conftest.$ac_objext conftest$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>conftest.er1
33777 ac_status=$?
33778 grep -v '^ *+' conftest.er1 >conftest.err
33779 rm -f conftest.er1
33780 cat conftest.err >&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try='test -z "$ac_c_werror_flag"
33784 || test ! -s conftest.err'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; } &&
33790 { ac_try='test -s conftest$ac_exeext'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; }; then
33796 eval "$as_ac_var=yes"
33797 else
33798 echo "$as_me: failed program was:" >&5
33799 sed 's/^/| /' conftest.$ac_ext >&5
33801 eval "$as_ac_var=no"
33803 rm -f conftest.err conftest.$ac_objext \
33804 conftest$ac_exeext conftest.$ac_ext
33806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33808 if test `eval echo '${'$as_ac_var'}'` = yes; then
33809 cat >>confdefs.h <<_ACEOF
33810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33811 _ACEOF
33814 done
33824 echo "$as_me:$LINENO: checking for finite declaration" >&5
33825 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33826 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33827 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 else
33833 ac_ext=cc
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33839 cat >conftest.$ac_ext <<_ACEOF
33840 /* confdefs.h. */
33841 _ACEOF
33842 cat confdefs.h >>conftest.$ac_ext
33843 cat >>conftest.$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33845 #include <math.h>
33846 #ifdef HAVE_IEEEFP_H
33847 #include <ieeefp.h>
33848 #endif
33851 main ()
33853 finite(0);
33855 return 0;
33857 _ACEOF
33858 rm -f conftest.$ac_objext
33859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33860 (eval $ac_compile) 2>conftest.er1
33861 ac_status=$?
33862 grep -v '^ *+' conftest.er1 >conftest.err
33863 rm -f conftest.er1
33864 cat conftest.err >&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); } &&
33867 { ac_try='test -z "$ac_cxx_werror_flag"
33868 || test ! -s conftest.err'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33871 ac_status=$?
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; } &&
33874 { ac_try='test -s conftest.$ac_objext'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; }; then
33880 glibcxx_cv_func_finite_use=yes
33881 else
33882 echo "$as_me: failed program was:" >&5
33883 sed 's/^/| /' conftest.$ac_ext >&5
33885 glibcxx_cv_func_finite_use=no
33887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33888 ac_ext=c
33889 ac_cpp='$CPP $CPPFLAGS'
33890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33899 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33901 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33903 for ac_func in finite
33905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33906 echo "$as_me:$LINENO: checking for $ac_func" >&5
33907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33908 if eval "test \"\${$as_ac_var+set}\" = set"; then
33909 echo $ECHO_N "(cached) $ECHO_C" >&6
33910 else
33911 if test x$gcc_no_link = xyes; then
33912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33914 { (exit 1); exit 1; }; }
33916 cat >conftest.$ac_ext <<_ACEOF
33917 /* confdefs.h. */
33918 _ACEOF
33919 cat confdefs.h >>conftest.$ac_ext
33920 cat >>conftest.$ac_ext <<_ACEOF
33921 /* end confdefs.h. */
33922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33924 #define $ac_func innocuous_$ac_func
33926 /* System header to define __stub macros and hopefully few prototypes,
33927 which can conflict with char $ac_func (); below.
33928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33929 <limits.h> exists even on freestanding compilers. */
33931 #ifdef __STDC__
33932 # include <limits.h>
33933 #else
33934 # include <assert.h>
33935 #endif
33937 #undef $ac_func
33939 /* Override any gcc2 internal prototype to avoid an error. */
33940 #ifdef __cplusplus
33941 extern "C"
33943 #endif
33944 /* We use char because int might match the return type of a gcc2
33945 builtin and then its argument prototype would still apply. */
33946 char $ac_func ();
33947 /* The GNU C library defines this for functions which it implements
33948 to always fail with ENOSYS. Some functions are actually named
33949 something starting with __ and the normal name is an alias. */
33950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33951 choke me
33952 #else
33953 char (*f) () = $ac_func;
33954 #endif
33955 #ifdef __cplusplus
33957 #endif
33960 main ()
33962 return f != $ac_func;
33964 return 0;
33966 _ACEOF
33967 rm -f conftest.$ac_objext conftest$ac_exeext
33968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33969 (eval $ac_link) 2>conftest.er1
33970 ac_status=$?
33971 grep -v '^ *+' conftest.er1 >conftest.err
33972 rm -f conftest.er1
33973 cat conftest.err >&5
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); } &&
33976 { ac_try='test -z "$ac_c_werror_flag"
33977 || test ! -s conftest.err'
33978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979 (eval $ac_try) 2>&5
33980 ac_status=$?
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; } &&
33983 { ac_try='test -s conftest$ac_exeext'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33986 ac_status=$?
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; }; then
33989 eval "$as_ac_var=yes"
33990 else
33991 echo "$as_me: failed program was:" >&5
33992 sed 's/^/| /' conftest.$ac_ext >&5
33994 eval "$as_ac_var=no"
33996 rm -f conftest.err conftest.$ac_objext \
33997 conftest$ac_exeext conftest.$ac_ext
33999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34001 if test `eval echo '${'$as_ac_var'}'` = yes; then
34002 cat >>confdefs.h <<_ACEOF
34003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34004 _ACEOF
34007 done
34009 else
34011 echo "$as_me:$LINENO: checking for _finite declaration" >&5
34012 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
34013 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34014 if test "${glibcxx_cv_func__finite_use+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34020 ac_ext=cc
34021 ac_cpp='$CXXCPP $CPPFLAGS'
34022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026 cat >conftest.$ac_ext <<_ACEOF
34027 /* confdefs.h. */
34028 _ACEOF
34029 cat confdefs.h >>conftest.$ac_ext
34030 cat >>conftest.$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34032 #include <math.h>
34033 #ifdef HAVE_IEEEFP_H
34034 #include <ieeefp.h>
34035 #endif
34038 main ()
34040 _finite(0);
34042 return 0;
34044 _ACEOF
34045 rm -f conftest.$ac_objext
34046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34047 (eval $ac_compile) 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } &&
34054 { ac_try='test -z "$ac_cxx_werror_flag"
34055 || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34058 ac_status=$?
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try='test -s conftest.$ac_objext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34064 ac_status=$?
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 glibcxx_cv_func__finite_use=yes
34068 else
34069 echo "$as_me: failed program was:" >&5
34070 sed 's/^/| /' conftest.$ac_ext >&5
34072 glibcxx_cv_func__finite_use=no
34074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34075 ac_ext=c
34076 ac_cpp='$CPP $CPPFLAGS'
34077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34085 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
34086 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
34088 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34090 for ac_func in _finite
34092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34093 echo "$as_me:$LINENO: checking for $ac_func" >&5
34094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34095 if eval "test \"\${$as_ac_var+set}\" = set"; then
34096 echo $ECHO_N "(cached) $ECHO_C" >&6
34097 else
34098 if test x$gcc_no_link = xyes; then
34099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34101 { (exit 1); exit 1; }; }
34103 cat >conftest.$ac_ext <<_ACEOF
34104 /* confdefs.h. */
34105 _ACEOF
34106 cat confdefs.h >>conftest.$ac_ext
34107 cat >>conftest.$ac_ext <<_ACEOF
34108 /* end confdefs.h. */
34109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34111 #define $ac_func innocuous_$ac_func
34113 /* System header to define __stub macros and hopefully few prototypes,
34114 which can conflict with char $ac_func (); below.
34115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34116 <limits.h> exists even on freestanding compilers. */
34118 #ifdef __STDC__
34119 # include <limits.h>
34120 #else
34121 # include <assert.h>
34122 #endif
34124 #undef $ac_func
34126 /* Override any gcc2 internal prototype to avoid an error. */
34127 #ifdef __cplusplus
34128 extern "C"
34130 #endif
34131 /* We use char because int might match the return type of a gcc2
34132 builtin and then its argument prototype would still apply. */
34133 char $ac_func ();
34134 /* The GNU C library defines this for functions which it implements
34135 to always fail with ENOSYS. Some functions are actually named
34136 something starting with __ and the normal name is an alias. */
34137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34138 choke me
34139 #else
34140 char (*f) () = $ac_func;
34141 #endif
34142 #ifdef __cplusplus
34144 #endif
34147 main ()
34149 return f != $ac_func;
34151 return 0;
34153 _ACEOF
34154 rm -f conftest.$ac_objext conftest$ac_exeext
34155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34156 (eval $ac_link) 2>conftest.er1
34157 ac_status=$?
34158 grep -v '^ *+' conftest.er1 >conftest.err
34159 rm -f conftest.er1
34160 cat conftest.err >&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); } &&
34163 { ac_try='test -z "$ac_c_werror_flag"
34164 || test ! -s conftest.err'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34167 ac_status=$?
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; } &&
34170 { ac_try='test -s conftest$ac_exeext'
34171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34172 (eval $ac_try) 2>&5
34173 ac_status=$?
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); }; }; then
34176 eval "$as_ac_var=yes"
34177 else
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34181 eval "$as_ac_var=no"
34183 rm -f conftest.err conftest.$ac_objext \
34184 conftest$ac_exeext conftest.$ac_ext
34186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34188 if test `eval echo '${'$as_ac_var'}'` = yes; then
34189 cat >>confdefs.h <<_ACEOF
34190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34191 _ACEOF
34194 done
34204 echo "$as_me:$LINENO: checking for copysign declaration" >&5
34205 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
34206 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
34207 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34213 ac_ext=cc
34214 ac_cpp='$CXXCPP $CPPFLAGS'
34215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34219 cat >conftest.$ac_ext <<_ACEOF
34220 /* confdefs.h. */
34221 _ACEOF
34222 cat confdefs.h >>conftest.$ac_ext
34223 cat >>conftest.$ac_ext <<_ACEOF
34224 /* end confdefs.h. */
34225 #include <math.h>
34227 main ()
34229 copysign(0, 0);
34231 return 0;
34233 _ACEOF
34234 rm -f conftest.$ac_objext
34235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34236 (eval $ac_compile) 2>conftest.er1
34237 ac_status=$?
34238 grep -v '^ *+' conftest.er1 >conftest.err
34239 rm -f conftest.er1
34240 cat conftest.err >&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); } &&
34243 { ac_try='test -z "$ac_cxx_werror_flag"
34244 || test ! -s conftest.err'
34245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34246 (eval $ac_try) 2>&5
34247 ac_status=$?
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); }; } &&
34250 { ac_try='test -s conftest.$ac_objext'
34251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34252 (eval $ac_try) 2>&5
34253 ac_status=$?
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); }; }; then
34256 glibcxx_cv_func_copysign_use=yes
34257 else
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.$ac_ext >&5
34261 glibcxx_cv_func_copysign_use=no
34263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34264 ac_ext=c
34265 ac_cpp='$CPP $CPPFLAGS'
34266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34275 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34277 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34279 for ac_func in copysign
34281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34284 if eval "test \"\${$as_ac_var+set}\" = set"; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34286 else
34287 if test x$gcc_no_link = xyes; then
34288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34290 { (exit 1); exit 1; }; }
34292 cat >conftest.$ac_ext <<_ACEOF
34293 /* confdefs.h. */
34294 _ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34300 #define $ac_func innocuous_$ac_func
34302 /* System header to define __stub macros and hopefully few prototypes,
34303 which can conflict with char $ac_func (); below.
34304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34305 <limits.h> exists even on freestanding compilers. */
34307 #ifdef __STDC__
34308 # include <limits.h>
34309 #else
34310 # include <assert.h>
34311 #endif
34313 #undef $ac_func
34315 /* Override any gcc2 internal prototype to avoid an error. */
34316 #ifdef __cplusplus
34317 extern "C"
34319 #endif
34320 /* We use char because int might match the return type of a gcc2
34321 builtin and then its argument prototype would still apply. */
34322 char $ac_func ();
34323 /* The GNU C library defines this for functions which it implements
34324 to always fail with ENOSYS. Some functions are actually named
34325 something starting with __ and the normal name is an alias. */
34326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34327 choke me
34328 #else
34329 char (*f) () = $ac_func;
34330 #endif
34331 #ifdef __cplusplus
34333 #endif
34336 main ()
34338 return f != $ac_func;
34340 return 0;
34342 _ACEOF
34343 rm -f conftest.$ac_objext conftest$ac_exeext
34344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34345 (eval $ac_link) 2>conftest.er1
34346 ac_status=$?
34347 grep -v '^ *+' conftest.er1 >conftest.err
34348 rm -f conftest.er1
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } &&
34352 { ac_try='test -z "$ac_c_werror_flag"
34353 || test ! -s conftest.err'
34354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34355 (eval $ac_try) 2>&5
34356 ac_status=$?
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); }; } &&
34359 { ac_try='test -s conftest$ac_exeext'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34362 ac_status=$?
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; }; then
34365 eval "$as_ac_var=yes"
34366 else
34367 echo "$as_me: failed program was:" >&5
34368 sed 's/^/| /' conftest.$ac_ext >&5
34370 eval "$as_ac_var=no"
34372 rm -f conftest.err conftest.$ac_objext \
34373 conftest$ac_exeext conftest.$ac_ext
34375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34377 if test `eval echo '${'$as_ac_var'}'` = yes; then
34378 cat >>confdefs.h <<_ACEOF
34379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34380 _ACEOF
34383 done
34385 else
34387 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34388 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34389 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34390 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34396 ac_ext=cc
34397 ac_cpp='$CXXCPP $CPPFLAGS'
34398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34402 cat >conftest.$ac_ext <<_ACEOF
34403 /* confdefs.h. */
34404 _ACEOF
34405 cat confdefs.h >>conftest.$ac_ext
34406 cat >>conftest.$ac_ext <<_ACEOF
34407 /* end confdefs.h. */
34408 #include <math.h>
34410 main ()
34412 _copysign(0, 0);
34414 return 0;
34416 _ACEOF
34417 rm -f conftest.$ac_objext
34418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34419 (eval $ac_compile) 2>conftest.er1
34420 ac_status=$?
34421 grep -v '^ *+' conftest.er1 >conftest.err
34422 rm -f conftest.er1
34423 cat conftest.err >&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); } &&
34426 { ac_try='test -z "$ac_cxx_werror_flag"
34427 || test ! -s conftest.err'
34428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34429 (eval $ac_try) 2>&5
34430 ac_status=$?
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); }; } &&
34433 { ac_try='test -s conftest.$ac_objext'
34434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34435 (eval $ac_try) 2>&5
34436 ac_status=$?
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); }; }; then
34439 glibcxx_cv_func__copysign_use=yes
34440 else
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.$ac_ext >&5
34444 glibcxx_cv_func__copysign_use=no
34446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34447 ac_ext=c
34448 ac_cpp='$CPP $CPPFLAGS'
34449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34458 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34460 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34462 for ac_func in _copysign
34464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34465 echo "$as_me:$LINENO: checking for $ac_func" >&5
34466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34467 if eval "test \"\${$as_ac_var+set}\" = set"; then
34468 echo $ECHO_N "(cached) $ECHO_C" >&6
34469 else
34470 if test x$gcc_no_link = xyes; then
34471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34473 { (exit 1); exit 1; }; }
34475 cat >conftest.$ac_ext <<_ACEOF
34476 /* confdefs.h. */
34477 _ACEOF
34478 cat confdefs.h >>conftest.$ac_ext
34479 cat >>conftest.$ac_ext <<_ACEOF
34480 /* end confdefs.h. */
34481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34483 #define $ac_func innocuous_$ac_func
34485 /* System header to define __stub macros and hopefully few prototypes,
34486 which can conflict with char $ac_func (); below.
34487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34488 <limits.h> exists even on freestanding compilers. */
34490 #ifdef __STDC__
34491 # include <limits.h>
34492 #else
34493 # include <assert.h>
34494 #endif
34496 #undef $ac_func
34498 /* Override any gcc2 internal prototype to avoid an error. */
34499 #ifdef __cplusplus
34500 extern "C"
34502 #endif
34503 /* We use char because int might match the return type of a gcc2
34504 builtin and then its argument prototype would still apply. */
34505 char $ac_func ();
34506 /* The GNU C library defines this for functions which it implements
34507 to always fail with ENOSYS. Some functions are actually named
34508 something starting with __ and the normal name is an alias. */
34509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34510 choke me
34511 #else
34512 char (*f) () = $ac_func;
34513 #endif
34514 #ifdef __cplusplus
34516 #endif
34519 main ()
34521 return f != $ac_func;
34523 return 0;
34525 _ACEOF
34526 rm -f conftest.$ac_objext conftest$ac_exeext
34527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34528 (eval $ac_link) 2>conftest.er1
34529 ac_status=$?
34530 grep -v '^ *+' conftest.er1 >conftest.err
34531 rm -f conftest.er1
34532 cat conftest.err >&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); } &&
34535 { ac_try='test -z "$ac_c_werror_flag"
34536 || test ! -s conftest.err'
34537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34538 (eval $ac_try) 2>&5
34539 ac_status=$?
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); }; } &&
34542 { ac_try='test -s conftest$ac_exeext'
34543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34544 (eval $ac_try) 2>&5
34545 ac_status=$?
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); }; }; then
34548 eval "$as_ac_var=yes"
34549 else
34550 echo "$as_me: failed program was:" >&5
34551 sed 's/^/| /' conftest.$ac_ext >&5
34553 eval "$as_ac_var=no"
34555 rm -f conftest.err conftest.$ac_objext \
34556 conftest$ac_exeext conftest.$ac_ext
34558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34560 if test `eval echo '${'$as_ac_var'}'` = yes; then
34561 cat >>confdefs.h <<_ACEOF
34562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34563 _ACEOF
34566 done
34576 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34577 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34578 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34579 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34580 echo $ECHO_N "(cached) $ECHO_C" >&6
34581 else
34585 ac_ext=cc
34586 ac_cpp='$CXXCPP $CPPFLAGS'
34587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34591 cat >conftest.$ac_ext <<_ACEOF
34592 /* confdefs.h. */
34593 _ACEOF
34594 cat confdefs.h >>conftest.$ac_ext
34595 cat >>conftest.$ac_ext <<_ACEOF
34596 /* end confdefs.h. */
34597 #include <math.h>
34599 main ()
34601 sincos(0, 0, 0);
34603 return 0;
34605 _ACEOF
34606 rm -f conftest.$ac_objext
34607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34608 (eval $ac_compile) 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } &&
34615 { ac_try='test -z "$ac_cxx_werror_flag"
34616 || test ! -s conftest.err'
34617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34618 (eval $ac_try) 2>&5
34619 ac_status=$?
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); }; } &&
34622 { ac_try='test -s conftest.$ac_objext'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34625 ac_status=$?
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; }; then
34628 glibcxx_cv_func_sincos_use=yes
34629 else
34630 echo "$as_me: failed program was:" >&5
34631 sed 's/^/| /' conftest.$ac_ext >&5
34633 glibcxx_cv_func_sincos_use=no
34635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34636 ac_ext=c
34637 ac_cpp='$CPP $CPPFLAGS'
34638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34647 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34649 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34651 for ac_func in sincos
34653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34654 echo "$as_me:$LINENO: checking for $ac_func" >&5
34655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34656 if eval "test \"\${$as_ac_var+set}\" = set"; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 else
34659 if test x$gcc_no_link = xyes; then
34660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34662 { (exit 1); exit 1; }; }
34664 cat >conftest.$ac_ext <<_ACEOF
34665 /* confdefs.h. */
34666 _ACEOF
34667 cat confdefs.h >>conftest.$ac_ext
34668 cat >>conftest.$ac_ext <<_ACEOF
34669 /* end confdefs.h. */
34670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34672 #define $ac_func innocuous_$ac_func
34674 /* System header to define __stub macros and hopefully few prototypes,
34675 which can conflict with char $ac_func (); below.
34676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34677 <limits.h> exists even on freestanding compilers. */
34679 #ifdef __STDC__
34680 # include <limits.h>
34681 #else
34682 # include <assert.h>
34683 #endif
34685 #undef $ac_func
34687 /* Override any gcc2 internal prototype to avoid an error. */
34688 #ifdef __cplusplus
34689 extern "C"
34691 #endif
34692 /* We use char because int might match the return type of a gcc2
34693 builtin and then its argument prototype would still apply. */
34694 char $ac_func ();
34695 /* The GNU C library defines this for functions which it implements
34696 to always fail with ENOSYS. Some functions are actually named
34697 something starting with __ and the normal name is an alias. */
34698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34699 choke me
34700 #else
34701 char (*f) () = $ac_func;
34702 #endif
34703 #ifdef __cplusplus
34705 #endif
34708 main ()
34710 return f != $ac_func;
34712 return 0;
34714 _ACEOF
34715 rm -f conftest.$ac_objext conftest$ac_exeext
34716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34717 (eval $ac_link) 2>conftest.er1
34718 ac_status=$?
34719 grep -v '^ *+' conftest.er1 >conftest.err
34720 rm -f conftest.er1
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } &&
34724 { ac_try='test -z "$ac_c_werror_flag"
34725 || test ! -s conftest.err'
34726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34727 (eval $ac_try) 2>&5
34728 ac_status=$?
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); }; } &&
34731 { ac_try='test -s conftest$ac_exeext'
34732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34733 (eval $ac_try) 2>&5
34734 ac_status=$?
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); }; }; then
34737 eval "$as_ac_var=yes"
34738 else
34739 echo "$as_me: failed program was:" >&5
34740 sed 's/^/| /' conftest.$ac_ext >&5
34742 eval "$as_ac_var=no"
34744 rm -f conftest.err conftest.$ac_objext \
34745 conftest$ac_exeext conftest.$ac_ext
34747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34749 if test `eval echo '${'$as_ac_var'}'` = yes; then
34750 cat >>confdefs.h <<_ACEOF
34751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34752 _ACEOF
34755 done
34757 else
34759 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34760 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34761 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34762 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34763 echo $ECHO_N "(cached) $ECHO_C" >&6
34764 else
34768 ac_ext=cc
34769 ac_cpp='$CXXCPP $CPPFLAGS'
34770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34774 cat >conftest.$ac_ext <<_ACEOF
34775 /* confdefs.h. */
34776 _ACEOF
34777 cat confdefs.h >>conftest.$ac_ext
34778 cat >>conftest.$ac_ext <<_ACEOF
34779 /* end confdefs.h. */
34780 #include <math.h>
34782 main ()
34784 _sincos(0, 0, 0);
34786 return 0;
34788 _ACEOF
34789 rm -f conftest.$ac_objext
34790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34791 (eval $ac_compile) 2>conftest.er1
34792 ac_status=$?
34793 grep -v '^ *+' conftest.er1 >conftest.err
34794 rm -f conftest.er1
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } &&
34798 { ac_try='test -z "$ac_cxx_werror_flag"
34799 || test ! -s conftest.err'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34802 ac_status=$?
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; } &&
34805 { ac_try='test -s conftest.$ac_objext'
34806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34807 (eval $ac_try) 2>&5
34808 ac_status=$?
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); }; }; then
34811 glibcxx_cv_func__sincos_use=yes
34812 else
34813 echo "$as_me: failed program was:" >&5
34814 sed 's/^/| /' conftest.$ac_ext >&5
34816 glibcxx_cv_func__sincos_use=no
34818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34819 ac_ext=c
34820 ac_cpp='$CPP $CPPFLAGS'
34821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34830 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34832 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34834 for ac_func in _sincos
34836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34837 echo "$as_me:$LINENO: checking for $ac_func" >&5
34838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34839 if eval "test \"\${$as_ac_var+set}\" = set"; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 else
34842 if test x$gcc_no_link = xyes; then
34843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34845 { (exit 1); exit 1; }; }
34847 cat >conftest.$ac_ext <<_ACEOF
34848 /* confdefs.h. */
34849 _ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34855 #define $ac_func innocuous_$ac_func
34857 /* System header to define __stub macros and hopefully few prototypes,
34858 which can conflict with char $ac_func (); below.
34859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34860 <limits.h> exists even on freestanding compilers. */
34862 #ifdef __STDC__
34863 # include <limits.h>
34864 #else
34865 # include <assert.h>
34866 #endif
34868 #undef $ac_func
34870 /* Override any gcc2 internal prototype to avoid an error. */
34871 #ifdef __cplusplus
34872 extern "C"
34874 #endif
34875 /* We use char because int might match the return type of a gcc2
34876 builtin and then its argument prototype would still apply. */
34877 char $ac_func ();
34878 /* The GNU C library defines this for functions which it implements
34879 to always fail with ENOSYS. Some functions are actually named
34880 something starting with __ and the normal name is an alias. */
34881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34882 choke me
34883 #else
34884 char (*f) () = $ac_func;
34885 #endif
34886 #ifdef __cplusplus
34888 #endif
34891 main ()
34893 return f != $ac_func;
34895 return 0;
34897 _ACEOF
34898 rm -f conftest.$ac_objext conftest$ac_exeext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34900 (eval $ac_link) 2>conftest.er1
34901 ac_status=$?
34902 grep -v '^ *+' conftest.er1 >conftest.err
34903 rm -f conftest.er1
34904 cat conftest.err >&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try='test -z "$ac_c_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34925 eval "$as_ac_var=no"
34927 rm -f conftest.err conftest.$ac_objext \
34928 conftest$ac_exeext conftest.$ac_ext
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h <<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34935 _ACEOF
34938 done
34948 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34949 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34950 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34951 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34952 echo $ECHO_N "(cached) $ECHO_C" >&6
34953 else
34957 ac_ext=cc
34958 ac_cpp='$CXXCPP $CPPFLAGS'
34959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34963 cat >conftest.$ac_ext <<_ACEOF
34964 /* confdefs.h. */
34965 _ACEOF
34966 cat confdefs.h >>conftest.$ac_ext
34967 cat >>conftest.$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34969 #include <math.h>
34970 #ifdef HAVE_IEEEFP_H
34971 #include <ieeefp.h>
34972 #endif
34975 main ()
34977 fpclass(0);
34979 return 0;
34981 _ACEOF
34982 rm -f conftest.$ac_objext
34983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34984 (eval $ac_compile) 2>conftest.er1
34985 ac_status=$?
34986 grep -v '^ *+' conftest.er1 >conftest.err
34987 rm -f conftest.er1
34988 cat conftest.err >&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); } &&
34991 { ac_try='test -z "$ac_cxx_werror_flag"
34992 || test ! -s conftest.err'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; } &&
34998 { ac_try='test -s conftest.$ac_objext'
34999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35000 (eval $ac_try) 2>&5
35001 ac_status=$?
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); }; }; then
35004 glibcxx_cv_func_fpclass_use=yes
35005 else
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35009 glibcxx_cv_func_fpclass_use=no
35011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35012 ac_ext=c
35013 ac_cpp='$CPP $CPPFLAGS'
35014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
35023 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
35025 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35027 for ac_func in fpclass
35029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35030 echo "$as_me:$LINENO: checking for $ac_func" >&5
35031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35032 if eval "test \"\${$as_ac_var+set}\" = set"; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035 if test x$gcc_no_link = xyes; then
35036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35038 { (exit 1); exit 1; }; }
35040 cat >conftest.$ac_ext <<_ACEOF
35041 /* confdefs.h. */
35042 _ACEOF
35043 cat confdefs.h >>conftest.$ac_ext
35044 cat >>conftest.$ac_ext <<_ACEOF
35045 /* end confdefs.h. */
35046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35048 #define $ac_func innocuous_$ac_func
35050 /* System header to define __stub macros and hopefully few prototypes,
35051 which can conflict with char $ac_func (); below.
35052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35053 <limits.h> exists even on freestanding compilers. */
35055 #ifdef __STDC__
35056 # include <limits.h>
35057 #else
35058 # include <assert.h>
35059 #endif
35061 #undef $ac_func
35063 /* Override any gcc2 internal prototype to avoid an error. */
35064 #ifdef __cplusplus
35065 extern "C"
35067 #endif
35068 /* We use char because int might match the return type of a gcc2
35069 builtin and then its argument prototype would still apply. */
35070 char $ac_func ();
35071 /* The GNU C library defines this for functions which it implements
35072 to always fail with ENOSYS. Some functions are actually named
35073 something starting with __ and the normal name is an alias. */
35074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35075 choke me
35076 #else
35077 char (*f) () = $ac_func;
35078 #endif
35079 #ifdef __cplusplus
35081 #endif
35084 main ()
35086 return f != $ac_func;
35088 return 0;
35090 _ACEOF
35091 rm -f conftest.$ac_objext conftest$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35094 ac_status=$?
35095 grep -v '^ *+' conftest.er1 >conftest.err
35096 rm -f conftest.er1
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try='test -z "$ac_c_werror_flag"
35101 || test ! -s conftest.err'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; } &&
35107 { ac_try='test -s conftest$ac_exeext'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35110 ac_status=$?
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; }; then
35113 eval "$as_ac_var=yes"
35114 else
35115 echo "$as_me: failed program was:" >&5
35116 sed 's/^/| /' conftest.$ac_ext >&5
35118 eval "$as_ac_var=no"
35120 rm -f conftest.err conftest.$ac_objext \
35121 conftest$ac_exeext conftest.$ac_ext
35123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35125 if test `eval echo '${'$as_ac_var'}'` = yes; then
35126 cat >>confdefs.h <<_ACEOF
35127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35128 _ACEOF
35131 done
35133 else
35135 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
35136 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
35137 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35138 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
35139 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 else
35144 ac_ext=cc
35145 ac_cpp='$CXXCPP $CPPFLAGS'
35146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35150 cat >conftest.$ac_ext <<_ACEOF
35151 /* confdefs.h. */
35152 _ACEOF
35153 cat confdefs.h >>conftest.$ac_ext
35154 cat >>conftest.$ac_ext <<_ACEOF
35155 /* end confdefs.h. */
35156 #include <math.h>
35157 #ifdef HAVE_IEEEFP_H
35158 #include <ieeefp.h>
35159 #endif
35162 main ()
35164 _fpclass(0);
35166 return 0;
35168 _ACEOF
35169 rm -f conftest.$ac_objext
35170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35171 (eval $ac_compile) 2>conftest.er1
35172 ac_status=$?
35173 grep -v '^ *+' conftest.er1 >conftest.err
35174 rm -f conftest.er1
35175 cat conftest.err >&5
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); } &&
35178 { ac_try='test -z "$ac_cxx_werror_flag"
35179 || test ! -s conftest.err'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35182 ac_status=$?
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; } &&
35185 { ac_try='test -s conftest.$ac_objext'
35186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35187 (eval $ac_try) 2>&5
35188 ac_status=$?
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); }; }; then
35191 glibcxx_cv_func__fpclass_use=yes
35192 else
35193 echo "$as_me: failed program was:" >&5
35194 sed 's/^/| /' conftest.$ac_ext >&5
35196 glibcxx_cv_func__fpclass_use=no
35198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35199 ac_ext=c
35200 ac_cpp='$CPP $CPPFLAGS'
35201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
35210 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
35212 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35214 for ac_func in _fpclass
35216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35217 echo "$as_me:$LINENO: checking for $ac_func" >&5
35218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35219 if eval "test \"\${$as_ac_var+set}\" = set"; then
35220 echo $ECHO_N "(cached) $ECHO_C" >&6
35221 else
35222 if test x$gcc_no_link = xyes; then
35223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35225 { (exit 1); exit 1; }; }
35227 cat >conftest.$ac_ext <<_ACEOF
35228 /* confdefs.h. */
35229 _ACEOF
35230 cat confdefs.h >>conftest.$ac_ext
35231 cat >>conftest.$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35235 #define $ac_func innocuous_$ac_func
35237 /* System header to define __stub macros and hopefully few prototypes,
35238 which can conflict with char $ac_func (); below.
35239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35240 <limits.h> exists even on freestanding compilers. */
35242 #ifdef __STDC__
35243 # include <limits.h>
35244 #else
35245 # include <assert.h>
35246 #endif
35248 #undef $ac_func
35250 /* Override any gcc2 internal prototype to avoid an error. */
35251 #ifdef __cplusplus
35252 extern "C"
35254 #endif
35255 /* We use char because int might match the return type of a gcc2
35256 builtin and then its argument prototype would still apply. */
35257 char $ac_func ();
35258 /* The GNU C library defines this for functions which it implements
35259 to always fail with ENOSYS. Some functions are actually named
35260 something starting with __ and the normal name is an alias. */
35261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35262 choke me
35263 #else
35264 char (*f) () = $ac_func;
35265 #endif
35266 #ifdef __cplusplus
35268 #endif
35271 main ()
35273 return f != $ac_func;
35275 return 0;
35277 _ACEOF
35278 rm -f conftest.$ac_objext conftest$ac_exeext
35279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35280 (eval $ac_link) 2>conftest.er1
35281 ac_status=$?
35282 grep -v '^ *+' conftest.er1 >conftest.err
35283 rm -f conftest.er1
35284 cat conftest.err >&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); } &&
35287 { ac_try='test -z "$ac_c_werror_flag"
35288 || test ! -s conftest.err'
35289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35290 (eval $ac_try) 2>&5
35291 ac_status=$?
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); }; } &&
35294 { ac_try='test -s conftest$ac_exeext'
35295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35296 (eval $ac_try) 2>&5
35297 ac_status=$?
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); }; }; then
35300 eval "$as_ac_var=yes"
35301 else
35302 echo "$as_me: failed program was:" >&5
35303 sed 's/^/| /' conftest.$ac_ext >&5
35305 eval "$as_ac_var=no"
35307 rm -f conftest.err conftest.$ac_objext \
35308 conftest$ac_exeext conftest.$ac_ext
35310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35312 if test `eval echo '${'$as_ac_var'}'` = yes; then
35313 cat >>confdefs.h <<_ACEOF
35314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35315 _ACEOF
35318 done
35328 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35329 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35330 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35331 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 else
35337 ac_ext=cc
35338 ac_cpp='$CXXCPP $CPPFLAGS'
35339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35343 cat >conftest.$ac_ext <<_ACEOF
35344 /* confdefs.h. */
35345 _ACEOF
35346 cat confdefs.h >>conftest.$ac_ext
35347 cat >>conftest.$ac_ext <<_ACEOF
35348 /* end confdefs.h. */
35349 #include <math.h>
35350 #ifdef HAVE_IEEEFP_H
35351 #include <ieeefp.h>
35352 #endif
35355 main ()
35357 qfpclass(0);
35359 return 0;
35361 _ACEOF
35362 rm -f conftest.$ac_objext
35363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35364 (eval $ac_compile) 2>conftest.er1
35365 ac_status=$?
35366 grep -v '^ *+' conftest.er1 >conftest.err
35367 rm -f conftest.er1
35368 cat conftest.err >&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } &&
35371 { ac_try='test -z "$ac_cxx_werror_flag"
35372 || test ! -s conftest.err'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35375 ac_status=$?
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; } &&
35378 { ac_try='test -s conftest.$ac_objext'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35381 ac_status=$?
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; }; then
35384 glibcxx_cv_func_qfpclass_use=yes
35385 else
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.$ac_ext >&5
35389 glibcxx_cv_func_qfpclass_use=no
35391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35392 ac_ext=c
35393 ac_cpp='$CPP $CPPFLAGS'
35394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35403 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35405 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35407 for ac_func in qfpclass
35409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35410 echo "$as_me:$LINENO: checking for $ac_func" >&5
35411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35412 if eval "test \"\${$as_ac_var+set}\" = set"; then
35413 echo $ECHO_N "(cached) $ECHO_C" >&6
35414 else
35415 if test x$gcc_no_link = xyes; then
35416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35418 { (exit 1); exit 1; }; }
35420 cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35428 #define $ac_func innocuous_$ac_func
35430 /* System header to define __stub macros and hopefully few prototypes,
35431 which can conflict with char $ac_func (); below.
35432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35433 <limits.h> exists even on freestanding compilers. */
35435 #ifdef __STDC__
35436 # include <limits.h>
35437 #else
35438 # include <assert.h>
35439 #endif
35441 #undef $ac_func
35443 /* Override any gcc2 internal prototype to avoid an error. */
35444 #ifdef __cplusplus
35445 extern "C"
35447 #endif
35448 /* We use char because int might match the return type of a gcc2
35449 builtin and then its argument prototype would still apply. */
35450 char $ac_func ();
35451 /* The GNU C library defines this for functions which it implements
35452 to always fail with ENOSYS. Some functions are actually named
35453 something starting with __ and the normal name is an alias. */
35454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35455 choke me
35456 #else
35457 char (*f) () = $ac_func;
35458 #endif
35459 #ifdef __cplusplus
35461 #endif
35464 main ()
35466 return f != $ac_func;
35468 return 0;
35470 _ACEOF
35471 rm -f conftest.$ac_objext conftest$ac_exeext
35472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35473 (eval $ac_link) 2>conftest.er1
35474 ac_status=$?
35475 grep -v '^ *+' conftest.er1 >conftest.err
35476 rm -f conftest.er1
35477 cat conftest.err >&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); } &&
35480 { ac_try='test -z "$ac_c_werror_flag"
35481 || test ! -s conftest.err'
35482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35483 (eval $ac_try) 2>&5
35484 ac_status=$?
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); }; } &&
35487 { ac_try='test -s conftest$ac_exeext'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; }; then
35493 eval "$as_ac_var=yes"
35494 else
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.$ac_ext >&5
35498 eval "$as_ac_var=no"
35500 rm -f conftest.err conftest.$ac_objext \
35501 conftest$ac_exeext conftest.$ac_ext
35503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35505 if test `eval echo '${'$as_ac_var'}'` = yes; then
35506 cat >>confdefs.h <<_ACEOF
35507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35508 _ACEOF
35511 done
35513 else
35515 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35516 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35517 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35518 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35519 echo $ECHO_N "(cached) $ECHO_C" >&6
35520 else
35524 ac_ext=cc
35525 ac_cpp='$CXXCPP $CPPFLAGS'
35526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35530 cat >conftest.$ac_ext <<_ACEOF
35531 /* confdefs.h. */
35532 _ACEOF
35533 cat confdefs.h >>conftest.$ac_ext
35534 cat >>conftest.$ac_ext <<_ACEOF
35535 /* end confdefs.h. */
35536 #include <math.h>
35537 #ifdef HAVE_IEEEFP_H
35538 #include <ieeefp.h>
35539 #endif
35542 main ()
35544 _qfpclass(0);
35546 return 0;
35548 _ACEOF
35549 rm -f conftest.$ac_objext
35550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35551 (eval $ac_compile) 2>conftest.er1
35552 ac_status=$?
35553 grep -v '^ *+' conftest.er1 >conftest.err
35554 rm -f conftest.er1
35555 cat conftest.err >&5
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); } &&
35558 { ac_try='test -z "$ac_cxx_werror_flag"
35559 || test ! -s conftest.err'
35560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561 (eval $ac_try) 2>&5
35562 ac_status=$?
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; } &&
35565 { ac_try='test -s conftest.$ac_objext'
35566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567 (eval $ac_try) 2>&5
35568 ac_status=$?
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); }; }; then
35571 glibcxx_cv_func__qfpclass_use=yes
35572 else
35573 echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.$ac_ext >&5
35576 glibcxx_cv_func__qfpclass_use=no
35578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35579 ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35590 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35592 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35594 for ac_func in _qfpclass
35596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35597 echo "$as_me:$LINENO: checking for $ac_func" >&5
35598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35599 if eval "test \"\${$as_ac_var+set}\" = set"; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 else
35602 if test x$gcc_no_link = xyes; then
35603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35605 { (exit 1); exit 1; }; }
35607 cat >conftest.$ac_ext <<_ACEOF
35608 /* confdefs.h. */
35609 _ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35615 #define $ac_func innocuous_$ac_func
35617 /* System header to define __stub macros and hopefully few prototypes,
35618 which can conflict with char $ac_func (); below.
35619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35620 <limits.h> exists even on freestanding compilers. */
35622 #ifdef __STDC__
35623 # include <limits.h>
35624 #else
35625 # include <assert.h>
35626 #endif
35628 #undef $ac_func
35630 /* Override any gcc2 internal prototype to avoid an error. */
35631 #ifdef __cplusplus
35632 extern "C"
35634 #endif
35635 /* We use char because int might match the return type of a gcc2
35636 builtin and then its argument prototype would still apply. */
35637 char $ac_func ();
35638 /* The GNU C library defines this for functions which it implements
35639 to always fail with ENOSYS. Some functions are actually named
35640 something starting with __ and the normal name is an alias. */
35641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35642 choke me
35643 #else
35644 char (*f) () = $ac_func;
35645 #endif
35646 #ifdef __cplusplus
35648 #endif
35651 main ()
35653 return f != $ac_func;
35655 return 0;
35657 _ACEOF
35658 rm -f conftest.$ac_objext conftest$ac_exeext
35659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35660 (eval $ac_link) 2>conftest.er1
35661 ac_status=$?
35662 grep -v '^ *+' conftest.er1 >conftest.err
35663 rm -f conftest.er1
35664 cat conftest.err >&5
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); } &&
35667 { ac_try='test -z "$ac_c_werror_flag"
35668 || test ! -s conftest.err'
35669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35670 (eval $ac_try) 2>&5
35671 ac_status=$?
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); }; } &&
35674 { ac_try='test -s conftest$ac_exeext'
35675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35676 (eval $ac_try) 2>&5
35677 ac_status=$?
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); }; }; then
35680 eval "$as_ac_var=yes"
35681 else
35682 echo "$as_me: failed program was:" >&5
35683 sed 's/^/| /' conftest.$ac_ext >&5
35685 eval "$as_ac_var=no"
35687 rm -f conftest.err conftest.$ac_objext \
35688 conftest$ac_exeext conftest.$ac_ext
35690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35692 if test `eval echo '${'$as_ac_var'}'` = yes; then
35693 cat >>confdefs.h <<_ACEOF
35694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35695 _ACEOF
35698 done
35708 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35709 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35710 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35711 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35712 echo $ECHO_N "(cached) $ECHO_C" >&6
35713 else
35717 ac_ext=cc
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723 cat >conftest.$ac_ext <<_ACEOF
35724 /* confdefs.h. */
35725 _ACEOF
35726 cat confdefs.h >>conftest.$ac_ext
35727 cat >>conftest.$ac_ext <<_ACEOF
35728 /* end confdefs.h. */
35729 #include <math.h>
35731 main ()
35733 hypot(0, 0);
35735 return 0;
35737 _ACEOF
35738 rm -f conftest.$ac_objext
35739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35740 (eval $ac_compile) 2>conftest.er1
35741 ac_status=$?
35742 grep -v '^ *+' conftest.er1 >conftest.err
35743 rm -f conftest.er1
35744 cat conftest.err >&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); } &&
35747 { ac_try='test -z "$ac_cxx_werror_flag"
35748 || test ! -s conftest.err'
35749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35750 (eval $ac_try) 2>&5
35751 ac_status=$?
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); }; } &&
35754 { ac_try='test -s conftest.$ac_objext'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35757 ac_status=$?
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; }; then
35760 glibcxx_cv_func_hypot_use=yes
35761 else
35762 echo "$as_me: failed program was:" >&5
35763 sed 's/^/| /' conftest.$ac_ext >&5
35765 glibcxx_cv_func_hypot_use=no
35767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35779 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35781 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35783 for ac_func in hypot
35785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35786 echo "$as_me:$LINENO: checking for $ac_func" >&5
35787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35788 if eval "test \"\${$as_ac_var+set}\" = set"; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 else
35791 if test x$gcc_no_link = xyes; then
35792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35794 { (exit 1); exit 1; }; }
35796 cat >conftest.$ac_ext <<_ACEOF
35797 /* confdefs.h. */
35798 _ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35804 #define $ac_func innocuous_$ac_func
35806 /* System header to define __stub macros and hopefully few prototypes,
35807 which can conflict with char $ac_func (); below.
35808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35809 <limits.h> exists even on freestanding compilers. */
35811 #ifdef __STDC__
35812 # include <limits.h>
35813 #else
35814 # include <assert.h>
35815 #endif
35817 #undef $ac_func
35819 /* Override any gcc2 internal prototype to avoid an error. */
35820 #ifdef __cplusplus
35821 extern "C"
35823 #endif
35824 /* We use char because int might match the return type of a gcc2
35825 builtin and then its argument prototype would still apply. */
35826 char $ac_func ();
35827 /* The GNU C library defines this for functions which it implements
35828 to always fail with ENOSYS. Some functions are actually named
35829 something starting with __ and the normal name is an alias. */
35830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35831 choke me
35832 #else
35833 char (*f) () = $ac_func;
35834 #endif
35835 #ifdef __cplusplus
35837 #endif
35840 main ()
35842 return f != $ac_func;
35844 return 0;
35846 _ACEOF
35847 rm -f conftest.$ac_objext conftest$ac_exeext
35848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35849 (eval $ac_link) 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } &&
35856 { ac_try='test -z "$ac_c_werror_flag"
35857 || test ! -s conftest.err'
35858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35859 (eval $ac_try) 2>&5
35860 ac_status=$?
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); }; } &&
35863 { ac_try='test -s conftest$ac_exeext'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; }; then
35869 eval "$as_ac_var=yes"
35870 else
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.$ac_ext >&5
35874 eval "$as_ac_var=no"
35876 rm -f conftest.err conftest.$ac_objext \
35877 conftest$ac_exeext conftest.$ac_ext
35879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35881 if test `eval echo '${'$as_ac_var'}'` = yes; then
35882 cat >>confdefs.h <<_ACEOF
35883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35884 _ACEOF
35887 done
35889 else
35891 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35892 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35893 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35894 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 else
35900 ac_ext=cc
35901 ac_cpp='$CXXCPP $CPPFLAGS'
35902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906 cat >conftest.$ac_ext <<_ACEOF
35907 /* confdefs.h. */
35908 _ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35912 #include <math.h>
35914 main ()
35916 _hypot(0, 0);
35918 return 0;
35920 _ACEOF
35921 rm -f conftest.$ac_objext
35922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35923 (eval $ac_compile) 2>conftest.er1
35924 ac_status=$?
35925 grep -v '^ *+' conftest.er1 >conftest.err
35926 rm -f conftest.er1
35927 cat conftest.err >&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } &&
35930 { ac_try='test -z "$ac_cxx_werror_flag"
35931 || test ! -s conftest.err'
35932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35933 (eval $ac_try) 2>&5
35934 ac_status=$?
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); }; } &&
35937 { ac_try='test -s conftest.$ac_objext'
35938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35939 (eval $ac_try) 2>&5
35940 ac_status=$?
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); }; }; then
35943 glibcxx_cv_func__hypot_use=yes
35944 else
35945 echo "$as_me: failed program was:" >&5
35946 sed 's/^/| /' conftest.$ac_ext >&5
35948 glibcxx_cv_func__hypot_use=no
35950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35962 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35964 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35966 for ac_func in _hypot
35968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 echo "$as_me:$LINENO: checking for $ac_func" >&5
35970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35971 if eval "test \"\${$as_ac_var+set}\" = set"; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35973 else
35974 if test x$gcc_no_link = xyes; then
35975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35977 { (exit 1); exit 1; }; }
35979 cat >conftest.$ac_ext <<_ACEOF
35980 /* confdefs.h. */
35981 _ACEOF
35982 cat confdefs.h >>conftest.$ac_ext
35983 cat >>conftest.$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35987 #define $ac_func innocuous_$ac_func
35989 /* System header to define __stub macros and hopefully few prototypes,
35990 which can conflict with char $ac_func (); below.
35991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35992 <limits.h> exists even on freestanding compilers. */
35994 #ifdef __STDC__
35995 # include <limits.h>
35996 #else
35997 # include <assert.h>
35998 #endif
36000 #undef $ac_func
36002 /* Override any gcc2 internal prototype to avoid an error. */
36003 #ifdef __cplusplus
36004 extern "C"
36006 #endif
36007 /* We use char because int might match the return type of a gcc2
36008 builtin and then its argument prototype would still apply. */
36009 char $ac_func ();
36010 /* The GNU C library defines this for functions which it implements
36011 to always fail with ENOSYS. Some functions are actually named
36012 something starting with __ and the normal name is an alias. */
36013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36014 choke me
36015 #else
36016 char (*f) () = $ac_func;
36017 #endif
36018 #ifdef __cplusplus
36020 #endif
36023 main ()
36025 return f != $ac_func;
36027 return 0;
36029 _ACEOF
36030 rm -f conftest.$ac_objext conftest$ac_exeext
36031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36032 (eval $ac_link) 2>conftest.er1
36033 ac_status=$?
36034 grep -v '^ *+' conftest.er1 >conftest.err
36035 rm -f conftest.er1
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } &&
36039 { ac_try='test -z "$ac_c_werror_flag"
36040 || test ! -s conftest.err'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36043 ac_status=$?
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; } &&
36046 { ac_try='test -s conftest$ac_exeext'
36047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36048 (eval $ac_try) 2>&5
36049 ac_status=$?
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); }; }; then
36052 eval "$as_ac_var=yes"
36053 else
36054 echo "$as_me: failed program was:" >&5
36055 sed 's/^/| /' conftest.$ac_ext >&5
36057 eval "$as_ac_var=no"
36059 rm -f conftest.err conftest.$ac_objext \
36060 conftest$ac_exeext conftest.$ac_ext
36062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36064 if test `eval echo '${'$as_ac_var'}'` = yes; then
36065 cat >>confdefs.h <<_ACEOF
36066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36067 _ACEOF
36070 done
36080 echo "$as_me:$LINENO: checking for float trig functions" >&5
36081 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
36082 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 else
36088 ac_ext=cc
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094 cat >conftest.$ac_ext <<_ACEOF
36095 /* confdefs.h. */
36096 _ACEOF
36097 cat confdefs.h >>conftest.$ac_ext
36098 cat >>conftest.$ac_ext <<_ACEOF
36099 /* end confdefs.h. */
36100 #include <math.h>
36102 main ()
36104 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36106 return 0;
36108 _ACEOF
36109 rm -f conftest.$ac_objext
36110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36111 (eval $ac_compile) 2>conftest.er1
36112 ac_status=$?
36113 grep -v '^ *+' conftest.er1 >conftest.err
36114 rm -f conftest.er1
36115 cat conftest.err >&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } &&
36118 { ac_try='test -z "$ac_cxx_werror_flag"
36119 || test ! -s conftest.err'
36120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36121 (eval $ac_try) 2>&5
36122 ac_status=$?
36123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 (exit $ac_status); }; } &&
36125 { ac_try='test -s conftest.$ac_objext'
36126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36127 (eval $ac_try) 2>&5
36128 ac_status=$?
36129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 (exit $ac_status); }; }; then
36131 glibcxx_cv_func_float_trig_use=yes
36132 else
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.$ac_ext >&5
36136 glibcxx_cv_func_float_trig_use=no
36138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
36148 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
36149 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36159 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36162 echo "$as_me:$LINENO: checking for $ac_func" >&5
36163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36164 if eval "test \"\${$as_ac_var+set}\" = set"; then
36165 echo $ECHO_N "(cached) $ECHO_C" >&6
36166 else
36167 if test x$gcc_no_link = xyes; then
36168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36170 { (exit 1); exit 1; }; }
36172 cat >conftest.$ac_ext <<_ACEOF
36173 /* confdefs.h. */
36174 _ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36180 #define $ac_func innocuous_$ac_func
36182 /* System header to define __stub macros and hopefully few prototypes,
36183 which can conflict with char $ac_func (); below.
36184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36185 <limits.h> exists even on freestanding compilers. */
36187 #ifdef __STDC__
36188 # include <limits.h>
36189 #else
36190 # include <assert.h>
36191 #endif
36193 #undef $ac_func
36195 /* Override any gcc2 internal prototype to avoid an error. */
36196 #ifdef __cplusplus
36197 extern "C"
36199 #endif
36200 /* We use char because int might match the return type of a gcc2
36201 builtin and then its argument prototype would still apply. */
36202 char $ac_func ();
36203 /* The GNU C library defines this for functions which it implements
36204 to always fail with ENOSYS. Some functions are actually named
36205 something starting with __ and the normal name is an alias. */
36206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36207 choke me
36208 #else
36209 char (*f) () = $ac_func;
36210 #endif
36211 #ifdef __cplusplus
36213 #endif
36216 main ()
36218 return f != $ac_func;
36220 return 0;
36222 _ACEOF
36223 rm -f conftest.$ac_objext conftest$ac_exeext
36224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36225 (eval $ac_link) 2>conftest.er1
36226 ac_status=$?
36227 grep -v '^ *+' conftest.er1 >conftest.err
36228 rm -f conftest.er1
36229 cat conftest.err >&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); } &&
36232 { ac_try='test -z "$ac_c_werror_flag"
36233 || test ! -s conftest.err'
36234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36235 (eval $ac_try) 2>&5
36236 ac_status=$?
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); }; } &&
36239 { ac_try='test -s conftest$ac_exeext'
36240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36241 (eval $ac_try) 2>&5
36242 ac_status=$?
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; }; then
36245 eval "$as_ac_var=yes"
36246 else
36247 echo "$as_me: failed program was:" >&5
36248 sed 's/^/| /' conftest.$ac_ext >&5
36250 eval "$as_ac_var=no"
36252 rm -f conftest.err conftest.$ac_objext \
36253 conftest$ac_exeext conftest.$ac_ext
36255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36257 if test `eval echo '${'$as_ac_var'}'` = yes; then
36258 cat >>confdefs.h <<_ACEOF
36259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36260 _ACEOF
36263 done
36265 else
36266 echo "$as_me:$LINENO: checking for _float trig functions" >&5
36267 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
36268 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
36269 echo $ECHO_N "(cached) $ECHO_C" >&6
36270 else
36274 ac_ext=cc
36275 ac_cpp='$CXXCPP $CPPFLAGS'
36276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 #include <math.h>
36288 main ()
36290 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36292 return 0;
36294 _ACEOF
36295 rm -f conftest.$ac_objext
36296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36297 (eval $ac_compile) 2>conftest.er1
36298 ac_status=$?
36299 grep -v '^ *+' conftest.er1 >conftest.err
36300 rm -f conftest.er1
36301 cat conftest.err >&5
36302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36303 (exit $ac_status); } &&
36304 { ac_try='test -z "$ac_cxx_werror_flag"
36305 || test ! -s conftest.err'
36306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36307 (eval $ac_try) 2>&5
36308 ac_status=$?
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); }; } &&
36311 { ac_try='test -s conftest.$ac_objext'
36312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313 (eval $ac_try) 2>&5
36314 ac_status=$?
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; }; then
36317 glibcxx_cv_func__float_trig_use=yes
36318 else
36319 echo "$as_me: failed program was:" >&5
36320 sed 's/^/| /' conftest.$ac_ext >&5
36322 glibcxx_cv_func__float_trig_use=no
36324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36325 ac_ext=c
36326 ac_cpp='$CPP $CPPFLAGS'
36327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
36334 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
36335 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36345 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36348 echo "$as_me:$LINENO: checking for $ac_func" >&5
36349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36350 if eval "test \"\${$as_ac_var+set}\" = set"; then
36351 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 else
36353 if test x$gcc_no_link = xyes; then
36354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36356 { (exit 1); exit 1; }; }
36358 cat >conftest.$ac_ext <<_ACEOF
36359 /* confdefs.h. */
36360 _ACEOF
36361 cat confdefs.h >>conftest.$ac_ext
36362 cat >>conftest.$ac_ext <<_ACEOF
36363 /* end confdefs.h. */
36364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36366 #define $ac_func innocuous_$ac_func
36368 /* System header to define __stub macros and hopefully few prototypes,
36369 which can conflict with char $ac_func (); below.
36370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36371 <limits.h> exists even on freestanding compilers. */
36373 #ifdef __STDC__
36374 # include <limits.h>
36375 #else
36376 # include <assert.h>
36377 #endif
36379 #undef $ac_func
36381 /* Override any gcc2 internal prototype to avoid an error. */
36382 #ifdef __cplusplus
36383 extern "C"
36385 #endif
36386 /* We use char because int might match the return type of a gcc2
36387 builtin and then its argument prototype would still apply. */
36388 char $ac_func ();
36389 /* The GNU C library defines this for functions which it implements
36390 to always fail with ENOSYS. Some functions are actually named
36391 something starting with __ and the normal name is an alias. */
36392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36393 choke me
36394 #else
36395 char (*f) () = $ac_func;
36396 #endif
36397 #ifdef __cplusplus
36399 #endif
36402 main ()
36404 return f != $ac_func;
36406 return 0;
36408 _ACEOF
36409 rm -f conftest.$ac_objext conftest$ac_exeext
36410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36411 (eval $ac_link) 2>conftest.er1
36412 ac_status=$?
36413 grep -v '^ *+' conftest.er1 >conftest.err
36414 rm -f conftest.er1
36415 cat conftest.err >&5
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); } &&
36418 { ac_try='test -z "$ac_c_werror_flag"
36419 || test ! -s conftest.err'
36420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36421 (eval $ac_try) 2>&5
36422 ac_status=$?
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); }; } &&
36425 { ac_try='test -s conftest$ac_exeext'
36426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36427 (eval $ac_try) 2>&5
36428 ac_status=$?
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); }; }; then
36431 eval "$as_ac_var=yes"
36432 else
36433 echo "$as_me: failed program was:" >&5
36434 sed 's/^/| /' conftest.$ac_ext >&5
36436 eval "$as_ac_var=no"
36438 rm -f conftest.err conftest.$ac_objext \
36439 conftest$ac_exeext conftest.$ac_ext
36441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36443 if test `eval echo '${'$as_ac_var'}'` = yes; then
36444 cat >>confdefs.h <<_ACEOF
36445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36446 _ACEOF
36449 done
36467 echo "$as_me:$LINENO: checking for float round functions" >&5
36468 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36469 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36470 echo $ECHO_N "(cached) $ECHO_C" >&6
36471 else
36475 ac_ext=cc
36476 ac_cpp='$CXXCPP $CPPFLAGS'
36477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36481 cat >conftest.$ac_ext <<_ACEOF
36482 /* confdefs.h. */
36483 _ACEOF
36484 cat confdefs.h >>conftest.$ac_ext
36485 cat >>conftest.$ac_ext <<_ACEOF
36486 /* end confdefs.h. */
36487 #include <math.h>
36489 main ()
36491 ceilf (0); floorf (0);
36493 return 0;
36495 _ACEOF
36496 rm -f conftest.$ac_objext
36497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36498 (eval $ac_compile) 2>conftest.er1
36499 ac_status=$?
36500 grep -v '^ *+' conftest.er1 >conftest.err
36501 rm -f conftest.er1
36502 cat conftest.err >&5
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); } &&
36505 { ac_try='test -z "$ac_cxx_werror_flag"
36506 || test ! -s conftest.err'
36507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36508 (eval $ac_try) 2>&5
36509 ac_status=$?
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); }; } &&
36512 { ac_try='test -s conftest.$ac_objext'
36513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36514 (eval $ac_try) 2>&5
36515 ac_status=$?
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); }; }; then
36518 glibcxx_cv_func_float_round_use=yes
36519 else
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36523 glibcxx_cv_func_float_round_use=no
36525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36526 ac_ext=c
36527 ac_cpp='$CPP $CPPFLAGS'
36528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36535 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36536 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36539 for ac_func in ceilf floorf
36541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36542 echo "$as_me:$LINENO: checking for $ac_func" >&5
36543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36544 if eval "test \"\${$as_ac_var+set}\" = set"; then
36545 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 else
36547 if test x$gcc_no_link = xyes; then
36548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36550 { (exit 1); exit 1; }; }
36552 cat >conftest.$ac_ext <<_ACEOF
36553 /* confdefs.h. */
36554 _ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36560 #define $ac_func innocuous_$ac_func
36562 /* System header to define __stub macros and hopefully few prototypes,
36563 which can conflict with char $ac_func (); below.
36564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36565 <limits.h> exists even on freestanding compilers. */
36567 #ifdef __STDC__
36568 # include <limits.h>
36569 #else
36570 # include <assert.h>
36571 #endif
36573 #undef $ac_func
36575 /* Override any gcc2 internal prototype to avoid an error. */
36576 #ifdef __cplusplus
36577 extern "C"
36579 #endif
36580 /* We use char because int might match the return type of a gcc2
36581 builtin and then its argument prototype would still apply. */
36582 char $ac_func ();
36583 /* The GNU C library defines this for functions which it implements
36584 to always fail with ENOSYS. Some functions are actually named
36585 something starting with __ and the normal name is an alias. */
36586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36587 choke me
36588 #else
36589 char (*f) () = $ac_func;
36590 #endif
36591 #ifdef __cplusplus
36593 #endif
36596 main ()
36598 return f != $ac_func;
36600 return 0;
36602 _ACEOF
36603 rm -f conftest.$ac_objext conftest$ac_exeext
36604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36605 (eval $ac_link) 2>conftest.er1
36606 ac_status=$?
36607 grep -v '^ *+' conftest.er1 >conftest.err
36608 rm -f conftest.er1
36609 cat conftest.err >&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } &&
36612 { ac_try='test -z "$ac_c_werror_flag"
36613 || test ! -s conftest.err'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36616 ac_status=$?
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; } &&
36619 { ac_try='test -s conftest$ac_exeext'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36622 ac_status=$?
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; }; then
36625 eval "$as_ac_var=yes"
36626 else
36627 echo "$as_me: failed program was:" >&5
36628 sed 's/^/| /' conftest.$ac_ext >&5
36630 eval "$as_ac_var=no"
36632 rm -f conftest.err conftest.$ac_objext \
36633 conftest$ac_exeext conftest.$ac_ext
36635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36637 if test `eval echo '${'$as_ac_var'}'` = yes; then
36638 cat >>confdefs.h <<_ACEOF
36639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36640 _ACEOF
36643 done
36645 else
36646 echo "$as_me:$LINENO: checking for _float round functions" >&5
36647 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36648 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 else
36654 ac_ext=cc
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36660 cat >conftest.$ac_ext <<_ACEOF
36661 /* confdefs.h. */
36662 _ACEOF
36663 cat confdefs.h >>conftest.$ac_ext
36664 cat >>conftest.$ac_ext <<_ACEOF
36665 /* end confdefs.h. */
36666 #include <math.h>
36668 main ()
36670 _ceilf (0); _floorf (0);
36672 return 0;
36674 _ACEOF
36675 rm -f conftest.$ac_objext
36676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36677 (eval $ac_compile) 2>conftest.er1
36678 ac_status=$?
36679 grep -v '^ *+' conftest.er1 >conftest.err
36680 rm -f conftest.er1
36681 cat conftest.err >&5
36682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683 (exit $ac_status); } &&
36684 { ac_try='test -z "$ac_cxx_werror_flag"
36685 || test ! -s conftest.err'
36686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36687 (eval $ac_try) 2>&5
36688 ac_status=$?
36689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690 (exit $ac_status); }; } &&
36691 { ac_try='test -s conftest.$ac_objext'
36692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36693 (eval $ac_try) 2>&5
36694 ac_status=$?
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); }; }; then
36697 glibcxx_cv_func__float_round_use=yes
36698 else
36699 echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36702 glibcxx_cv_func__float_round_use=no
36704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36705 ac_ext=c
36706 ac_cpp='$CPP $CPPFLAGS'
36707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36714 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36715 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36718 for ac_func in _ceilf _floorf
36720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36721 echo "$as_me:$LINENO: checking for $ac_func" >&5
36722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36723 if eval "test \"\${$as_ac_var+set}\" = set"; then
36724 echo $ECHO_N "(cached) $ECHO_C" >&6
36725 else
36726 if test x$gcc_no_link = xyes; then
36727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36729 { (exit 1); exit 1; }; }
36731 cat >conftest.$ac_ext <<_ACEOF
36732 /* confdefs.h. */
36733 _ACEOF
36734 cat confdefs.h >>conftest.$ac_ext
36735 cat >>conftest.$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36739 #define $ac_func innocuous_$ac_func
36741 /* System header to define __stub macros and hopefully few prototypes,
36742 which can conflict with char $ac_func (); below.
36743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36744 <limits.h> exists even on freestanding compilers. */
36746 #ifdef __STDC__
36747 # include <limits.h>
36748 #else
36749 # include <assert.h>
36750 #endif
36752 #undef $ac_func
36754 /* Override any gcc2 internal prototype to avoid an error. */
36755 #ifdef __cplusplus
36756 extern "C"
36758 #endif
36759 /* We use char because int might match the return type of a gcc2
36760 builtin and then its argument prototype would still apply. */
36761 char $ac_func ();
36762 /* The GNU C library defines this for functions which it implements
36763 to always fail with ENOSYS. Some functions are actually named
36764 something starting with __ and the normal name is an alias. */
36765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36766 choke me
36767 #else
36768 char (*f) () = $ac_func;
36769 #endif
36770 #ifdef __cplusplus
36772 #endif
36775 main ()
36777 return f != $ac_func;
36779 return 0;
36781 _ACEOF
36782 rm -f conftest.$ac_objext conftest$ac_exeext
36783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36784 (eval $ac_link) 2>conftest.er1
36785 ac_status=$?
36786 grep -v '^ *+' conftest.er1 >conftest.err
36787 rm -f conftest.er1
36788 cat conftest.err >&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } &&
36791 { ac_try='test -z "$ac_c_werror_flag"
36792 || test ! -s conftest.err'
36793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36794 (eval $ac_try) 2>&5
36795 ac_status=$?
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 (exit $ac_status); }; } &&
36798 { ac_try='test -s conftest$ac_exeext'
36799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36800 (eval $ac_try) 2>&5
36801 ac_status=$?
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); }; }; then
36804 eval "$as_ac_var=yes"
36805 else
36806 echo "$as_me: failed program was:" >&5
36807 sed 's/^/| /' conftest.$ac_ext >&5
36809 eval "$as_ac_var=no"
36811 rm -f conftest.err conftest.$ac_objext \
36812 conftest$ac_exeext conftest.$ac_ext
36814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36816 if test `eval echo '${'$as_ac_var'}'` = yes; then
36817 cat >>confdefs.h <<_ACEOF
36818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36819 _ACEOF
36822 done
36834 echo "$as_me:$LINENO: checking for expf declaration" >&5
36835 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36836 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36837 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36839 else
36843 ac_ext=cc
36844 ac_cpp='$CXXCPP $CPPFLAGS'
36845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36849 cat >conftest.$ac_ext <<_ACEOF
36850 /* confdefs.h. */
36851 _ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855 #include <math.h>
36856 #ifdef HAVE_IEEEFP_H
36857 #include <ieeefp.h>
36858 #endif
36861 main ()
36863 expf(0);
36865 return 0;
36867 _ACEOF
36868 rm -f conftest.$ac_objext
36869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36870 (eval $ac_compile) 2>conftest.er1
36871 ac_status=$?
36872 grep -v '^ *+' conftest.er1 >conftest.err
36873 rm -f conftest.er1
36874 cat conftest.err >&5
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); } &&
36877 { ac_try='test -z "$ac_cxx_werror_flag"
36878 || test ! -s conftest.err'
36879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36880 (eval $ac_try) 2>&5
36881 ac_status=$?
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); }; } &&
36884 { ac_try='test -s conftest.$ac_objext'
36885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36886 (eval $ac_try) 2>&5
36887 ac_status=$?
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); }; }; then
36890 glibcxx_cv_func_expf_use=yes
36891 else
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36895 glibcxx_cv_func_expf_use=no
36897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36898 ac_ext=c
36899 ac_cpp='$CPP $CPPFLAGS'
36900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36909 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36911 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36913 for ac_func in expf
36915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36916 echo "$as_me:$LINENO: checking for $ac_func" >&5
36917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36918 if eval "test \"\${$as_ac_var+set}\" = set"; then
36919 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 else
36921 if test x$gcc_no_link = xyes; then
36922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36924 { (exit 1); exit 1; }; }
36926 cat >conftest.$ac_ext <<_ACEOF
36927 /* confdefs.h. */
36928 _ACEOF
36929 cat confdefs.h >>conftest.$ac_ext
36930 cat >>conftest.$ac_ext <<_ACEOF
36931 /* end confdefs.h. */
36932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36934 #define $ac_func innocuous_$ac_func
36936 /* System header to define __stub macros and hopefully few prototypes,
36937 which can conflict with char $ac_func (); below.
36938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36939 <limits.h> exists even on freestanding compilers. */
36941 #ifdef __STDC__
36942 # include <limits.h>
36943 #else
36944 # include <assert.h>
36945 #endif
36947 #undef $ac_func
36949 /* Override any gcc2 internal prototype to avoid an error. */
36950 #ifdef __cplusplus
36951 extern "C"
36953 #endif
36954 /* We use char because int might match the return type of a gcc2
36955 builtin and then its argument prototype would still apply. */
36956 char $ac_func ();
36957 /* The GNU C library defines this for functions which it implements
36958 to always fail with ENOSYS. Some functions are actually named
36959 something starting with __ and the normal name is an alias. */
36960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36961 choke me
36962 #else
36963 char (*f) () = $ac_func;
36964 #endif
36965 #ifdef __cplusplus
36967 #endif
36970 main ()
36972 return f != $ac_func;
36974 return 0;
36976 _ACEOF
36977 rm -f conftest.$ac_objext conftest$ac_exeext
36978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36979 (eval $ac_link) 2>conftest.er1
36980 ac_status=$?
36981 grep -v '^ *+' conftest.er1 >conftest.err
36982 rm -f conftest.er1
36983 cat conftest.err >&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } &&
36986 { ac_try='test -z "$ac_c_werror_flag"
36987 || test ! -s conftest.err'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36990 ac_status=$?
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; } &&
36993 { ac_try='test -s conftest$ac_exeext'
36994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36995 (eval $ac_try) 2>&5
36996 ac_status=$?
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); }; }; then
36999 eval "$as_ac_var=yes"
37000 else
37001 echo "$as_me: failed program was:" >&5
37002 sed 's/^/| /' conftest.$ac_ext >&5
37004 eval "$as_ac_var=no"
37006 rm -f conftest.err conftest.$ac_objext \
37007 conftest$ac_exeext conftest.$ac_ext
37009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37011 if test `eval echo '${'$as_ac_var'}'` = yes; then
37012 cat >>confdefs.h <<_ACEOF
37013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37014 _ACEOF
37017 done
37019 else
37021 echo "$as_me:$LINENO: checking for _expf declaration" >&5
37022 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
37023 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37024 if test "${glibcxx_cv_func__expf_use+set}" = set; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 else
37030 ac_ext=cc
37031 ac_cpp='$CXXCPP $CPPFLAGS'
37032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37036 cat >conftest.$ac_ext <<_ACEOF
37037 /* confdefs.h. */
37038 _ACEOF
37039 cat confdefs.h >>conftest.$ac_ext
37040 cat >>conftest.$ac_ext <<_ACEOF
37041 /* end confdefs.h. */
37042 #include <math.h>
37043 #ifdef HAVE_IEEEFP_H
37044 #include <ieeefp.h>
37045 #endif
37048 main ()
37050 _expf(0);
37052 return 0;
37054 _ACEOF
37055 rm -f conftest.$ac_objext
37056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37057 (eval $ac_compile) 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } &&
37064 { ac_try='test -z "$ac_cxx_werror_flag"
37065 || test ! -s conftest.err'
37066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37067 (eval $ac_try) 2>&5
37068 ac_status=$?
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); }; } &&
37071 { ac_try='test -s conftest.$ac_objext'
37072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37073 (eval $ac_try) 2>&5
37074 ac_status=$?
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); }; }; then
37077 glibcxx_cv_func__expf_use=yes
37078 else
37079 echo "$as_me: failed program was:" >&5
37080 sed 's/^/| /' conftest.$ac_ext >&5
37082 glibcxx_cv_func__expf_use=no
37084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37085 ac_ext=c
37086 ac_cpp='$CPP $CPPFLAGS'
37087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
37096 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
37098 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37100 for ac_func in _expf
37102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37103 echo "$as_me:$LINENO: checking for $ac_func" >&5
37104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37105 if eval "test \"\${$as_ac_var+set}\" = set"; then
37106 echo $ECHO_N "(cached) $ECHO_C" >&6
37107 else
37108 if test x$gcc_no_link = xyes; then
37109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37111 { (exit 1); exit 1; }; }
37113 cat >conftest.$ac_ext <<_ACEOF
37114 /* confdefs.h. */
37115 _ACEOF
37116 cat confdefs.h >>conftest.$ac_ext
37117 cat >>conftest.$ac_ext <<_ACEOF
37118 /* end confdefs.h. */
37119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37121 #define $ac_func innocuous_$ac_func
37123 /* System header to define __stub macros and hopefully few prototypes,
37124 which can conflict with char $ac_func (); below.
37125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37126 <limits.h> exists even on freestanding compilers. */
37128 #ifdef __STDC__
37129 # include <limits.h>
37130 #else
37131 # include <assert.h>
37132 #endif
37134 #undef $ac_func
37136 /* Override any gcc2 internal prototype to avoid an error. */
37137 #ifdef __cplusplus
37138 extern "C"
37140 #endif
37141 /* We use char because int might match the return type of a gcc2
37142 builtin and then its argument prototype would still apply. */
37143 char $ac_func ();
37144 /* The GNU C library defines this for functions which it implements
37145 to always fail with ENOSYS. Some functions are actually named
37146 something starting with __ and the normal name is an alias. */
37147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37148 choke me
37149 #else
37150 char (*f) () = $ac_func;
37151 #endif
37152 #ifdef __cplusplus
37154 #endif
37157 main ()
37159 return f != $ac_func;
37161 return 0;
37163 _ACEOF
37164 rm -f conftest.$ac_objext conftest$ac_exeext
37165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37166 (eval $ac_link) 2>conftest.er1
37167 ac_status=$?
37168 grep -v '^ *+' conftest.er1 >conftest.err
37169 rm -f conftest.er1
37170 cat conftest.err >&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); } &&
37173 { ac_try='test -z "$ac_c_werror_flag"
37174 || test ! -s conftest.err'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37177 ac_status=$?
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; } &&
37180 { ac_try='test -s conftest$ac_exeext'
37181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37182 (eval $ac_try) 2>&5
37183 ac_status=$?
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); }; }; then
37186 eval "$as_ac_var=yes"
37187 else
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.$ac_ext >&5
37191 eval "$as_ac_var=no"
37193 rm -f conftest.err conftest.$ac_objext \
37194 conftest$ac_exeext conftest.$ac_ext
37196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37198 if test `eval echo '${'$as_ac_var'}'` = yes; then
37199 cat >>confdefs.h <<_ACEOF
37200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37201 _ACEOF
37204 done
37214 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
37215 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
37216 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37217 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37223 ac_ext=cc
37224 ac_cpp='$CXXCPP $CPPFLAGS'
37225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37229 cat >conftest.$ac_ext <<_ACEOF
37230 /* confdefs.h. */
37231 _ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 #include <math.h>
37236 #ifdef HAVE_IEEEFP_H
37237 #include <ieeefp.h>
37238 #endif
37241 main ()
37243 isnanf(0);
37245 return 0;
37247 _ACEOF
37248 rm -f conftest.$ac_objext
37249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37250 (eval $ac_compile) 2>conftest.er1
37251 ac_status=$?
37252 grep -v '^ *+' conftest.er1 >conftest.err
37253 rm -f conftest.er1
37254 cat conftest.err >&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } &&
37257 { ac_try='test -z "$ac_cxx_werror_flag"
37258 || test ! -s conftest.err'
37259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37260 (eval $ac_try) 2>&5
37261 ac_status=$?
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); }; } &&
37264 { ac_try='test -s conftest.$ac_objext'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37267 ac_status=$?
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; }; then
37270 glibcxx_cv_func_isnanf_use=yes
37271 else
37272 echo "$as_me: failed program was:" >&5
37273 sed 's/^/| /' conftest.$ac_ext >&5
37275 glibcxx_cv_func_isnanf_use=no
37277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37278 ac_ext=c
37279 ac_cpp='$CPP $CPPFLAGS'
37280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
37289 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
37291 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37293 for ac_func in isnanf
37295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37296 echo "$as_me:$LINENO: checking for $ac_func" >&5
37297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37298 if eval "test \"\${$as_ac_var+set}\" = set"; then
37299 echo $ECHO_N "(cached) $ECHO_C" >&6
37300 else
37301 if test x$gcc_no_link = xyes; then
37302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37304 { (exit 1); exit 1; }; }
37306 cat >conftest.$ac_ext <<_ACEOF
37307 /* confdefs.h. */
37308 _ACEOF
37309 cat confdefs.h >>conftest.$ac_ext
37310 cat >>conftest.$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37314 #define $ac_func innocuous_$ac_func
37316 /* System header to define __stub macros and hopefully few prototypes,
37317 which can conflict with char $ac_func (); below.
37318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37319 <limits.h> exists even on freestanding compilers. */
37321 #ifdef __STDC__
37322 # include <limits.h>
37323 #else
37324 # include <assert.h>
37325 #endif
37327 #undef $ac_func
37329 /* Override any gcc2 internal prototype to avoid an error. */
37330 #ifdef __cplusplus
37331 extern "C"
37333 #endif
37334 /* We use char because int might match the return type of a gcc2
37335 builtin and then its argument prototype would still apply. */
37336 char $ac_func ();
37337 /* The GNU C library defines this for functions which it implements
37338 to always fail with ENOSYS. Some functions are actually named
37339 something starting with __ and the normal name is an alias. */
37340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37341 choke me
37342 #else
37343 char (*f) () = $ac_func;
37344 #endif
37345 #ifdef __cplusplus
37347 #endif
37350 main ()
37352 return f != $ac_func;
37354 return 0;
37356 _ACEOF
37357 rm -f conftest.$ac_objext conftest$ac_exeext
37358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37359 (eval $ac_link) 2>conftest.er1
37360 ac_status=$?
37361 grep -v '^ *+' conftest.er1 >conftest.err
37362 rm -f conftest.er1
37363 cat conftest.err >&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } &&
37366 { ac_try='test -z "$ac_c_werror_flag"
37367 || test ! -s conftest.err'
37368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369 (eval $ac_try) 2>&5
37370 ac_status=$?
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); }; } &&
37373 { ac_try='test -s conftest$ac_exeext'
37374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37375 (eval $ac_try) 2>&5
37376 ac_status=$?
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); }; }; then
37379 eval "$as_ac_var=yes"
37380 else
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37384 eval "$as_ac_var=no"
37386 rm -f conftest.err conftest.$ac_objext \
37387 conftest$ac_exeext conftest.$ac_ext
37389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37391 if test `eval echo '${'$as_ac_var'}'` = yes; then
37392 cat >>confdefs.h <<_ACEOF
37393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37394 _ACEOF
37397 done
37399 else
37401 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37402 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37403 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37404 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37405 echo $ECHO_N "(cached) $ECHO_C" >&6
37406 else
37410 ac_ext=cc
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416 cat >conftest.$ac_ext <<_ACEOF
37417 /* confdefs.h. */
37418 _ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 #include <math.h>
37423 #ifdef HAVE_IEEEFP_H
37424 #include <ieeefp.h>
37425 #endif
37428 main ()
37430 _isnanf(0);
37432 return 0;
37434 _ACEOF
37435 rm -f conftest.$ac_objext
37436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37437 (eval $ac_compile) 2>conftest.er1
37438 ac_status=$?
37439 grep -v '^ *+' conftest.er1 >conftest.err
37440 rm -f conftest.er1
37441 cat conftest.err >&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); } &&
37444 { ac_try='test -z "$ac_cxx_werror_flag"
37445 || test ! -s conftest.err'
37446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37447 (eval $ac_try) 2>&5
37448 ac_status=$?
37449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450 (exit $ac_status); }; } &&
37451 { ac_try='test -s conftest.$ac_objext'
37452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37453 (eval $ac_try) 2>&5
37454 ac_status=$?
37455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37456 (exit $ac_status); }; }; then
37457 glibcxx_cv_func__isnanf_use=yes
37458 else
37459 echo "$as_me: failed program was:" >&5
37460 sed 's/^/| /' conftest.$ac_ext >&5
37462 glibcxx_cv_func__isnanf_use=no
37464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37465 ac_ext=c
37466 ac_cpp='$CPP $CPPFLAGS'
37467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37476 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37478 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37480 for ac_func in _isnanf
37482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37483 echo "$as_me:$LINENO: checking for $ac_func" >&5
37484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37485 if eval "test \"\${$as_ac_var+set}\" = set"; then
37486 echo $ECHO_N "(cached) $ECHO_C" >&6
37487 else
37488 if test x$gcc_no_link = xyes; then
37489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37491 { (exit 1); exit 1; }; }
37493 cat >conftest.$ac_ext <<_ACEOF
37494 /* confdefs.h. */
37495 _ACEOF
37496 cat confdefs.h >>conftest.$ac_ext
37497 cat >>conftest.$ac_ext <<_ACEOF
37498 /* end confdefs.h. */
37499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37501 #define $ac_func innocuous_$ac_func
37503 /* System header to define __stub macros and hopefully few prototypes,
37504 which can conflict with char $ac_func (); below.
37505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37506 <limits.h> exists even on freestanding compilers. */
37508 #ifdef __STDC__
37509 # include <limits.h>
37510 #else
37511 # include <assert.h>
37512 #endif
37514 #undef $ac_func
37516 /* Override any gcc2 internal prototype to avoid an error. */
37517 #ifdef __cplusplus
37518 extern "C"
37520 #endif
37521 /* We use char because int might match the return type of a gcc2
37522 builtin and then its argument prototype would still apply. */
37523 char $ac_func ();
37524 /* The GNU C library defines this for functions which it implements
37525 to always fail with ENOSYS. Some functions are actually named
37526 something starting with __ and the normal name is an alias. */
37527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37528 choke me
37529 #else
37530 char (*f) () = $ac_func;
37531 #endif
37532 #ifdef __cplusplus
37534 #endif
37537 main ()
37539 return f != $ac_func;
37541 return 0;
37543 _ACEOF
37544 rm -f conftest.$ac_objext conftest$ac_exeext
37545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37546 (eval $ac_link) 2>conftest.er1
37547 ac_status=$?
37548 grep -v '^ *+' conftest.er1 >conftest.err
37549 rm -f conftest.er1
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } &&
37553 { ac_try='test -z "$ac_c_werror_flag"
37554 || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try='test -s conftest$ac_exeext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37563 ac_status=$?
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 eval "$as_ac_var=yes"
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37571 eval "$as_ac_var=no"
37573 rm -f conftest.err conftest.$ac_objext \
37574 conftest$ac_exeext conftest.$ac_ext
37576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37578 if test `eval echo '${'$as_ac_var'}'` = yes; then
37579 cat >>confdefs.h <<_ACEOF
37580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37581 _ACEOF
37584 done
37594 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37595 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37596 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37597 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37598 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 else
37603 ac_ext=cc
37604 ac_cpp='$CXXCPP $CPPFLAGS'
37605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37609 cat >conftest.$ac_ext <<_ACEOF
37610 /* confdefs.h. */
37611 _ACEOF
37612 cat confdefs.h >>conftest.$ac_ext
37613 cat >>conftest.$ac_ext <<_ACEOF
37614 /* end confdefs.h. */
37615 #include <math.h>
37616 #ifdef HAVE_IEEEFP_H
37617 #include <ieeefp.h>
37618 #endif
37621 main ()
37623 isinff(0);
37625 return 0;
37627 _ACEOF
37628 rm -f conftest.$ac_objext
37629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37630 (eval $ac_compile) 2>conftest.er1
37631 ac_status=$?
37632 grep -v '^ *+' conftest.er1 >conftest.err
37633 rm -f conftest.er1
37634 cat conftest.err >&5
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); } &&
37637 { ac_try='test -z "$ac_cxx_werror_flag"
37638 || test ! -s conftest.err'
37639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37640 (eval $ac_try) 2>&5
37641 ac_status=$?
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); }; } &&
37644 { ac_try='test -s conftest.$ac_objext'
37645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646 (eval $ac_try) 2>&5
37647 ac_status=$?
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; }; then
37650 glibcxx_cv_func_isinff_use=yes
37651 else
37652 echo "$as_me: failed program was:" >&5
37653 sed 's/^/| /' conftest.$ac_ext >&5
37655 glibcxx_cv_func_isinff_use=no
37657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37658 ac_ext=c
37659 ac_cpp='$CPP $CPPFLAGS'
37660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37669 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37671 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37673 for ac_func in isinff
37675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37676 echo "$as_me:$LINENO: checking for $ac_func" >&5
37677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37678 if eval "test \"\${$as_ac_var+set}\" = set"; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37680 else
37681 if test x$gcc_no_link = xyes; then
37682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37684 { (exit 1); exit 1; }; }
37686 cat >conftest.$ac_ext <<_ACEOF
37687 /* confdefs.h. */
37688 _ACEOF
37689 cat confdefs.h >>conftest.$ac_ext
37690 cat >>conftest.$ac_ext <<_ACEOF
37691 /* end confdefs.h. */
37692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37694 #define $ac_func innocuous_$ac_func
37696 /* System header to define __stub macros and hopefully few prototypes,
37697 which can conflict with char $ac_func (); below.
37698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37699 <limits.h> exists even on freestanding compilers. */
37701 #ifdef __STDC__
37702 # include <limits.h>
37703 #else
37704 # include <assert.h>
37705 #endif
37707 #undef $ac_func
37709 /* Override any gcc2 internal prototype to avoid an error. */
37710 #ifdef __cplusplus
37711 extern "C"
37713 #endif
37714 /* We use char because int might match the return type of a gcc2
37715 builtin and then its argument prototype would still apply. */
37716 char $ac_func ();
37717 /* The GNU C library defines this for functions which it implements
37718 to always fail with ENOSYS. Some functions are actually named
37719 something starting with __ and the normal name is an alias. */
37720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37721 choke me
37722 #else
37723 char (*f) () = $ac_func;
37724 #endif
37725 #ifdef __cplusplus
37727 #endif
37730 main ()
37732 return f != $ac_func;
37734 return 0;
37736 _ACEOF
37737 rm -f conftest.$ac_objext conftest$ac_exeext
37738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37739 (eval $ac_link) 2>conftest.er1
37740 ac_status=$?
37741 grep -v '^ *+' conftest.er1 >conftest.err
37742 rm -f conftest.er1
37743 cat conftest.err >&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); } &&
37746 { ac_try='test -z "$ac_c_werror_flag"
37747 || test ! -s conftest.err'
37748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37749 (eval $ac_try) 2>&5
37750 ac_status=$?
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); }; } &&
37753 { ac_try='test -s conftest$ac_exeext'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37756 ac_status=$?
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; }; then
37759 eval "$as_ac_var=yes"
37760 else
37761 echo "$as_me: failed program was:" >&5
37762 sed 's/^/| /' conftest.$ac_ext >&5
37764 eval "$as_ac_var=no"
37766 rm -f conftest.err conftest.$ac_objext \
37767 conftest$ac_exeext conftest.$ac_ext
37769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37771 if test `eval echo '${'$as_ac_var'}'` = yes; then
37772 cat >>confdefs.h <<_ACEOF
37773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37774 _ACEOF
37777 done
37779 else
37781 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37782 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37783 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37784 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37786 else
37790 ac_ext=cc
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat >conftest.$ac_ext <<_ACEOF
37797 /* confdefs.h. */
37798 _ACEOF
37799 cat confdefs.h >>conftest.$ac_ext
37800 cat >>conftest.$ac_ext <<_ACEOF
37801 /* end confdefs.h. */
37802 #include <math.h>
37803 #ifdef HAVE_IEEEFP_H
37804 #include <ieeefp.h>
37805 #endif
37808 main ()
37810 _isinff(0);
37812 return 0;
37814 _ACEOF
37815 rm -f conftest.$ac_objext
37816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37817 (eval $ac_compile) 2>conftest.er1
37818 ac_status=$?
37819 grep -v '^ *+' conftest.er1 >conftest.err
37820 rm -f conftest.er1
37821 cat conftest.err >&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } &&
37824 { ac_try='test -z "$ac_cxx_werror_flag"
37825 || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37828 ac_status=$?
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try='test -s conftest.$ac_objext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37834 ac_status=$?
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 glibcxx_cv_func__isinff_use=yes
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37842 glibcxx_cv_func__isinff_use=no
37844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37856 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37858 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37860 for ac_func in _isinff
37862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37863 echo "$as_me:$LINENO: checking for $ac_func" >&5
37864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37865 if eval "test \"\${$as_ac_var+set}\" = set"; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 else
37868 if test x$gcc_no_link = xyes; then
37869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37871 { (exit 1); exit 1; }; }
37873 cat >conftest.$ac_ext <<_ACEOF
37874 /* confdefs.h. */
37875 _ACEOF
37876 cat confdefs.h >>conftest.$ac_ext
37877 cat >>conftest.$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37881 #define $ac_func innocuous_$ac_func
37883 /* System header to define __stub macros and hopefully few prototypes,
37884 which can conflict with char $ac_func (); below.
37885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37886 <limits.h> exists even on freestanding compilers. */
37888 #ifdef __STDC__
37889 # include <limits.h>
37890 #else
37891 # include <assert.h>
37892 #endif
37894 #undef $ac_func
37896 /* Override any gcc2 internal prototype to avoid an error. */
37897 #ifdef __cplusplus
37898 extern "C"
37900 #endif
37901 /* We use char because int might match the return type of a gcc2
37902 builtin and then its argument prototype would still apply. */
37903 char $ac_func ();
37904 /* The GNU C library defines this for functions which it implements
37905 to always fail with ENOSYS. Some functions are actually named
37906 something starting with __ and the normal name is an alias. */
37907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37908 choke me
37909 #else
37910 char (*f) () = $ac_func;
37911 #endif
37912 #ifdef __cplusplus
37914 #endif
37917 main ()
37919 return f != $ac_func;
37921 return 0;
37923 _ACEOF
37924 rm -f conftest.$ac_objext conftest$ac_exeext
37925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37926 (eval $ac_link) 2>conftest.er1
37927 ac_status=$?
37928 grep -v '^ *+' conftest.er1 >conftest.err
37929 rm -f conftest.er1
37930 cat conftest.err >&5
37931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37932 (exit $ac_status); } &&
37933 { ac_try='test -z "$ac_c_werror_flag"
37934 || test ! -s conftest.err'
37935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37936 (eval $ac_try) 2>&5
37937 ac_status=$?
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); }; } &&
37940 { ac_try='test -s conftest$ac_exeext'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37943 ac_status=$?
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; }; then
37946 eval "$as_ac_var=yes"
37947 else
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.$ac_ext >&5
37951 eval "$as_ac_var=no"
37953 rm -f conftest.err conftest.$ac_objext \
37954 conftest$ac_exeext conftest.$ac_ext
37956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37958 if test `eval echo '${'$as_ac_var'}'` = yes; then
37959 cat >>confdefs.h <<_ACEOF
37960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37961 _ACEOF
37964 done
37974 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37975 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37976 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37977 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37978 echo $ECHO_N "(cached) $ECHO_C" >&6
37979 else
37983 ac_ext=cc
37984 ac_cpp='$CXXCPP $CPPFLAGS'
37985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37989 cat >conftest.$ac_ext <<_ACEOF
37990 /* confdefs.h. */
37991 _ACEOF
37992 cat confdefs.h >>conftest.$ac_ext
37993 cat >>conftest.$ac_ext <<_ACEOF
37994 /* end confdefs.h. */
37995 #include <math.h>
37997 main ()
37999 atan2f(0, 0);
38001 return 0;
38003 _ACEOF
38004 rm -f conftest.$ac_objext
38005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38006 (eval $ac_compile) 2>conftest.er1
38007 ac_status=$?
38008 grep -v '^ *+' conftest.er1 >conftest.err
38009 rm -f conftest.er1
38010 cat conftest.err >&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); } &&
38013 { ac_try='test -z "$ac_cxx_werror_flag"
38014 || test ! -s conftest.err'
38015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38016 (eval $ac_try) 2>&5
38017 ac_status=$?
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); }; } &&
38020 { ac_try='test -s conftest.$ac_objext'
38021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38022 (eval $ac_try) 2>&5
38023 ac_status=$?
38024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025 (exit $ac_status); }; }; then
38026 glibcxx_cv_func_atan2f_use=yes
38027 else
38028 echo "$as_me: failed program was:" >&5
38029 sed 's/^/| /' conftest.$ac_ext >&5
38031 glibcxx_cv_func_atan2f_use=no
38033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38034 ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
38045 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
38047 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
38049 for ac_func in atan2f
38051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38052 echo "$as_me:$LINENO: checking for $ac_func" >&5
38053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38054 if eval "test \"\${$as_ac_var+set}\" = set"; then
38055 echo $ECHO_N "(cached) $ECHO_C" >&6
38056 else
38057 if test x$gcc_no_link = xyes; then
38058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38060 { (exit 1); exit 1; }; }
38062 cat >conftest.$ac_ext <<_ACEOF
38063 /* confdefs.h. */
38064 _ACEOF
38065 cat confdefs.h >>conftest.$ac_ext
38066 cat >>conftest.$ac_ext <<_ACEOF
38067 /* end confdefs.h. */
38068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38070 #define $ac_func innocuous_$ac_func
38072 /* System header to define __stub macros and hopefully few prototypes,
38073 which can conflict with char $ac_func (); below.
38074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38075 <limits.h> exists even on freestanding compilers. */
38077 #ifdef __STDC__
38078 # include <limits.h>
38079 #else
38080 # include <assert.h>
38081 #endif
38083 #undef $ac_func
38085 /* Override any gcc2 internal prototype to avoid an error. */
38086 #ifdef __cplusplus
38087 extern "C"
38089 #endif
38090 /* We use char because int might match the return type of a gcc2
38091 builtin and then its argument prototype would still apply. */
38092 char $ac_func ();
38093 /* The GNU C library defines this for functions which it implements
38094 to always fail with ENOSYS. Some functions are actually named
38095 something starting with __ and the normal name is an alias. */
38096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38097 choke me
38098 #else
38099 char (*f) () = $ac_func;
38100 #endif
38101 #ifdef __cplusplus
38103 #endif
38106 main ()
38108 return f != $ac_func;
38110 return 0;
38112 _ACEOF
38113 rm -f conftest.$ac_objext conftest$ac_exeext
38114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38115 (eval $ac_link) 2>conftest.er1
38116 ac_status=$?
38117 grep -v '^ *+' conftest.er1 >conftest.err
38118 rm -f conftest.er1
38119 cat conftest.err >&5
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); } &&
38122 { ac_try='test -z "$ac_c_werror_flag"
38123 || test ! -s conftest.err'
38124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38125 (eval $ac_try) 2>&5
38126 ac_status=$?
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); }; } &&
38129 { ac_try='test -s conftest$ac_exeext'
38130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38131 (eval $ac_try) 2>&5
38132 ac_status=$?
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); }; }; then
38135 eval "$as_ac_var=yes"
38136 else
38137 echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.$ac_ext >&5
38140 eval "$as_ac_var=no"
38142 rm -f conftest.err conftest.$ac_objext \
38143 conftest$ac_exeext conftest.$ac_ext
38145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38147 if test `eval echo '${'$as_ac_var'}'` = yes; then
38148 cat >>confdefs.h <<_ACEOF
38149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38150 _ACEOF
38153 done
38155 else
38157 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
38158 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
38159 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38160 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
38161 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 else
38166 ac_ext=cc
38167 ac_cpp='$CXXCPP $CPPFLAGS'
38168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38172 cat >conftest.$ac_ext <<_ACEOF
38173 /* confdefs.h. */
38174 _ACEOF
38175 cat confdefs.h >>conftest.$ac_ext
38176 cat >>conftest.$ac_ext <<_ACEOF
38177 /* end confdefs.h. */
38178 #include <math.h>
38180 main ()
38182 _atan2f(0, 0);
38184 return 0;
38186 _ACEOF
38187 rm -f conftest.$ac_objext
38188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38189 (eval $ac_compile) 2>conftest.er1
38190 ac_status=$?
38191 grep -v '^ *+' conftest.er1 >conftest.err
38192 rm -f conftest.er1
38193 cat conftest.err >&5
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); } &&
38196 { ac_try='test -z "$ac_cxx_werror_flag"
38197 || test ! -s conftest.err'
38198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199 (eval $ac_try) 2>&5
38200 ac_status=$?
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); }; } &&
38203 { ac_try='test -s conftest.$ac_objext'
38204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205 (eval $ac_try) 2>&5
38206 ac_status=$?
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); }; }; then
38209 glibcxx_cv_func__atan2f_use=yes
38210 else
38211 echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.$ac_ext >&5
38214 glibcxx_cv_func__atan2f_use=no
38216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38217 ac_ext=c
38218 ac_cpp='$CPP $CPPFLAGS'
38219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
38228 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
38230 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38232 for ac_func in _atan2f
38234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38235 echo "$as_me:$LINENO: checking for $ac_func" >&5
38236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38237 if eval "test \"\${$as_ac_var+set}\" = set"; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 else
38240 if test x$gcc_no_link = xyes; then
38241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38243 { (exit 1); exit 1; }; }
38245 cat >conftest.$ac_ext <<_ACEOF
38246 /* confdefs.h. */
38247 _ACEOF
38248 cat confdefs.h >>conftest.$ac_ext
38249 cat >>conftest.$ac_ext <<_ACEOF
38250 /* end confdefs.h. */
38251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38253 #define $ac_func innocuous_$ac_func
38255 /* System header to define __stub macros and hopefully few prototypes,
38256 which can conflict with char $ac_func (); below.
38257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38258 <limits.h> exists even on freestanding compilers. */
38260 #ifdef __STDC__
38261 # include <limits.h>
38262 #else
38263 # include <assert.h>
38264 #endif
38266 #undef $ac_func
38268 /* Override any gcc2 internal prototype to avoid an error. */
38269 #ifdef __cplusplus
38270 extern "C"
38272 #endif
38273 /* We use char because int might match the return type of a gcc2
38274 builtin and then its argument prototype would still apply. */
38275 char $ac_func ();
38276 /* The GNU C library defines this for functions which it implements
38277 to always fail with ENOSYS. Some functions are actually named
38278 something starting with __ and the normal name is an alias. */
38279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38280 choke me
38281 #else
38282 char (*f) () = $ac_func;
38283 #endif
38284 #ifdef __cplusplus
38286 #endif
38289 main ()
38291 return f != $ac_func;
38293 return 0;
38295 _ACEOF
38296 rm -f conftest.$ac_objext conftest$ac_exeext
38297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38298 (eval $ac_link) 2>conftest.er1
38299 ac_status=$?
38300 grep -v '^ *+' conftest.er1 >conftest.err
38301 rm -f conftest.er1
38302 cat conftest.err >&5
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); } &&
38305 { ac_try='test -z "$ac_c_werror_flag"
38306 || test ! -s conftest.err'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; } &&
38312 { ac_try='test -s conftest$ac_exeext'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38315 ac_status=$?
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; }; then
38318 eval "$as_ac_var=yes"
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38323 eval "$as_ac_var=no"
38325 rm -f conftest.err conftest.$ac_objext \
38326 conftest$ac_exeext conftest.$ac_ext
38328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38330 if test `eval echo '${'$as_ac_var'}'` = yes; then
38331 cat >>confdefs.h <<_ACEOF
38332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38333 _ACEOF
38336 done
38346 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38347 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38348 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38349 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 else
38355 ac_ext=cc
38356 ac_cpp='$CXXCPP $CPPFLAGS'
38357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38361 cat >conftest.$ac_ext <<_ACEOF
38362 /* confdefs.h. */
38363 _ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38367 #include <math.h>
38368 #ifdef HAVE_IEEEFP_H
38369 #include <ieeefp.h>
38370 #endif
38373 main ()
38375 fabsf(0);
38377 return 0;
38379 _ACEOF
38380 rm -f conftest.$ac_objext
38381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38382 (eval $ac_compile) 2>conftest.er1
38383 ac_status=$?
38384 grep -v '^ *+' conftest.er1 >conftest.err
38385 rm -f conftest.er1
38386 cat conftest.err >&5
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); } &&
38389 { ac_try='test -z "$ac_cxx_werror_flag"
38390 || test ! -s conftest.err'
38391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38392 (eval $ac_try) 2>&5
38393 ac_status=$?
38394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38395 (exit $ac_status); }; } &&
38396 { ac_try='test -s conftest.$ac_objext'
38397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38398 (eval $ac_try) 2>&5
38399 ac_status=$?
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); }; }; then
38402 glibcxx_cv_func_fabsf_use=yes
38403 else
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.$ac_ext >&5
38407 glibcxx_cv_func_fabsf_use=no
38409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38410 ac_ext=c
38411 ac_cpp='$CPP $CPPFLAGS'
38412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38421 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38423 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38425 for ac_func in fabsf
38427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38428 echo "$as_me:$LINENO: checking for $ac_func" >&5
38429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38430 if eval "test \"\${$as_ac_var+set}\" = set"; then
38431 echo $ECHO_N "(cached) $ECHO_C" >&6
38432 else
38433 if test x$gcc_no_link = xyes; then
38434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38436 { (exit 1); exit 1; }; }
38438 cat >conftest.$ac_ext <<_ACEOF
38439 /* confdefs.h. */
38440 _ACEOF
38441 cat confdefs.h >>conftest.$ac_ext
38442 cat >>conftest.$ac_ext <<_ACEOF
38443 /* end confdefs.h. */
38444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38446 #define $ac_func innocuous_$ac_func
38448 /* System header to define __stub macros and hopefully few prototypes,
38449 which can conflict with char $ac_func (); below.
38450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38451 <limits.h> exists even on freestanding compilers. */
38453 #ifdef __STDC__
38454 # include <limits.h>
38455 #else
38456 # include <assert.h>
38457 #endif
38459 #undef $ac_func
38461 /* Override any gcc2 internal prototype to avoid an error. */
38462 #ifdef __cplusplus
38463 extern "C"
38465 #endif
38466 /* We use char because int might match the return type of a gcc2
38467 builtin and then its argument prototype would still apply. */
38468 char $ac_func ();
38469 /* The GNU C library defines this for functions which it implements
38470 to always fail with ENOSYS. Some functions are actually named
38471 something starting with __ and the normal name is an alias. */
38472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38473 choke me
38474 #else
38475 char (*f) () = $ac_func;
38476 #endif
38477 #ifdef __cplusplus
38479 #endif
38482 main ()
38484 return f != $ac_func;
38486 return 0;
38488 _ACEOF
38489 rm -f conftest.$ac_objext conftest$ac_exeext
38490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38491 (eval $ac_link) 2>conftest.er1
38492 ac_status=$?
38493 grep -v '^ *+' conftest.er1 >conftest.err
38494 rm -f conftest.er1
38495 cat conftest.err >&5
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); } &&
38498 { ac_try='test -z "$ac_c_werror_flag"
38499 || test ! -s conftest.err'
38500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38501 (eval $ac_try) 2>&5
38502 ac_status=$?
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); }; } &&
38505 { ac_try='test -s conftest$ac_exeext'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38508 ac_status=$?
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; }; then
38511 eval "$as_ac_var=yes"
38512 else
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38516 eval "$as_ac_var=no"
38518 rm -f conftest.err conftest.$ac_objext \
38519 conftest$ac_exeext conftest.$ac_ext
38521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38523 if test `eval echo '${'$as_ac_var'}'` = yes; then
38524 cat >>confdefs.h <<_ACEOF
38525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38526 _ACEOF
38529 done
38531 else
38533 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38534 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38535 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38536 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 else
38542 ac_ext=cc
38543 ac_cpp='$CXXCPP $CPPFLAGS'
38544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38548 cat >conftest.$ac_ext <<_ACEOF
38549 /* confdefs.h. */
38550 _ACEOF
38551 cat confdefs.h >>conftest.$ac_ext
38552 cat >>conftest.$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38554 #include <math.h>
38555 #ifdef HAVE_IEEEFP_H
38556 #include <ieeefp.h>
38557 #endif
38560 main ()
38562 _fabsf(0);
38564 return 0;
38566 _ACEOF
38567 rm -f conftest.$ac_objext
38568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38569 (eval $ac_compile) 2>conftest.er1
38570 ac_status=$?
38571 grep -v '^ *+' conftest.er1 >conftest.err
38572 rm -f conftest.er1
38573 cat conftest.err >&5
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); } &&
38576 { ac_try='test -z "$ac_cxx_werror_flag"
38577 || test ! -s conftest.err'
38578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38579 (eval $ac_try) 2>&5
38580 ac_status=$?
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); }; } &&
38583 { ac_try='test -s conftest.$ac_objext'
38584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38585 (eval $ac_try) 2>&5
38586 ac_status=$?
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); }; }; then
38589 glibcxx_cv_func__fabsf_use=yes
38590 else
38591 echo "$as_me: failed program was:" >&5
38592 sed 's/^/| /' conftest.$ac_ext >&5
38594 glibcxx_cv_func__fabsf_use=no
38596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38597 ac_ext=c
38598 ac_cpp='$CPP $CPPFLAGS'
38599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38608 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38610 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38612 for ac_func in _fabsf
38614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38615 echo "$as_me:$LINENO: checking for $ac_func" >&5
38616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38617 if eval "test \"\${$as_ac_var+set}\" = set"; then
38618 echo $ECHO_N "(cached) $ECHO_C" >&6
38619 else
38620 if test x$gcc_no_link = xyes; then
38621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38623 { (exit 1); exit 1; }; }
38625 cat >conftest.$ac_ext <<_ACEOF
38626 /* confdefs.h. */
38627 _ACEOF
38628 cat confdefs.h >>conftest.$ac_ext
38629 cat >>conftest.$ac_ext <<_ACEOF
38630 /* end confdefs.h. */
38631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38633 #define $ac_func innocuous_$ac_func
38635 /* System header to define __stub macros and hopefully few prototypes,
38636 which can conflict with char $ac_func (); below.
38637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38638 <limits.h> exists even on freestanding compilers. */
38640 #ifdef __STDC__
38641 # include <limits.h>
38642 #else
38643 # include <assert.h>
38644 #endif
38646 #undef $ac_func
38648 /* Override any gcc2 internal prototype to avoid an error. */
38649 #ifdef __cplusplus
38650 extern "C"
38652 #endif
38653 /* We use char because int might match the return type of a gcc2
38654 builtin and then its argument prototype would still apply. */
38655 char $ac_func ();
38656 /* The GNU C library defines this for functions which it implements
38657 to always fail with ENOSYS. Some functions are actually named
38658 something starting with __ and the normal name is an alias. */
38659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38660 choke me
38661 #else
38662 char (*f) () = $ac_func;
38663 #endif
38664 #ifdef __cplusplus
38666 #endif
38669 main ()
38671 return f != $ac_func;
38673 return 0;
38675 _ACEOF
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38678 (eval $ac_link) 2>conftest.er1
38679 ac_status=$?
38680 grep -v '^ *+' conftest.er1 >conftest.err
38681 rm -f conftest.er1
38682 cat conftest.err >&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); } &&
38685 { ac_try='test -z "$ac_c_werror_flag"
38686 || test ! -s conftest.err'
38687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38688 (eval $ac_try) 2>&5
38689 ac_status=$?
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); }; } &&
38692 { ac_try='test -s conftest$ac_exeext'
38693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38694 (eval $ac_try) 2>&5
38695 ac_status=$?
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); }; }; then
38698 eval "$as_ac_var=yes"
38699 else
38700 echo "$as_me: failed program was:" >&5
38701 sed 's/^/| /' conftest.$ac_ext >&5
38703 eval "$as_ac_var=no"
38705 rm -f conftest.err conftest.$ac_objext \
38706 conftest$ac_exeext conftest.$ac_ext
38708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38710 if test `eval echo '${'$as_ac_var'}'` = yes; then
38711 cat >>confdefs.h <<_ACEOF
38712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38713 _ACEOF
38716 done
38726 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38727 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38728 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38729 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38730 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 else
38735 ac_ext=cc
38736 ac_cpp='$CXXCPP $CPPFLAGS'
38737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38741 cat >conftest.$ac_ext <<_ACEOF
38742 /* confdefs.h. */
38743 _ACEOF
38744 cat confdefs.h >>conftest.$ac_ext
38745 cat >>conftest.$ac_ext <<_ACEOF
38746 /* end confdefs.h. */
38747 #include <math.h>
38749 main ()
38751 fmodf(0, 0);
38753 return 0;
38755 _ACEOF
38756 rm -f conftest.$ac_objext
38757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38758 (eval $ac_compile) 2>conftest.er1
38759 ac_status=$?
38760 grep -v '^ *+' conftest.er1 >conftest.err
38761 rm -f conftest.er1
38762 cat conftest.err >&5
38763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764 (exit $ac_status); } &&
38765 { ac_try='test -z "$ac_cxx_werror_flag"
38766 || test ! -s conftest.err'
38767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38768 (eval $ac_try) 2>&5
38769 ac_status=$?
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); }; } &&
38772 { ac_try='test -s conftest.$ac_objext'
38773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38774 (eval $ac_try) 2>&5
38775 ac_status=$?
38776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38777 (exit $ac_status); }; }; then
38778 glibcxx_cv_func_fmodf_use=yes
38779 else
38780 echo "$as_me: failed program was:" >&5
38781 sed 's/^/| /' conftest.$ac_ext >&5
38783 glibcxx_cv_func_fmodf_use=no
38785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38786 ac_ext=c
38787 ac_cpp='$CPP $CPPFLAGS'
38788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38797 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38799 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38801 for ac_func in fmodf
38803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38804 echo "$as_me:$LINENO: checking for $ac_func" >&5
38805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38806 if eval "test \"\${$as_ac_var+set}\" = set"; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 else
38809 if test x$gcc_no_link = xyes; then
38810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38812 { (exit 1); exit 1; }; }
38814 cat >conftest.$ac_ext <<_ACEOF
38815 /* confdefs.h. */
38816 _ACEOF
38817 cat confdefs.h >>conftest.$ac_ext
38818 cat >>conftest.$ac_ext <<_ACEOF
38819 /* end confdefs.h. */
38820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38822 #define $ac_func innocuous_$ac_func
38824 /* System header to define __stub macros and hopefully few prototypes,
38825 which can conflict with char $ac_func (); below.
38826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38827 <limits.h> exists even on freestanding compilers. */
38829 #ifdef __STDC__
38830 # include <limits.h>
38831 #else
38832 # include <assert.h>
38833 #endif
38835 #undef $ac_func
38837 /* Override any gcc2 internal prototype to avoid an error. */
38838 #ifdef __cplusplus
38839 extern "C"
38841 #endif
38842 /* We use char because int might match the return type of a gcc2
38843 builtin and then its argument prototype would still apply. */
38844 char $ac_func ();
38845 /* The GNU C library defines this for functions which it implements
38846 to always fail with ENOSYS. Some functions are actually named
38847 something starting with __ and the normal name is an alias. */
38848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38849 choke me
38850 #else
38851 char (*f) () = $ac_func;
38852 #endif
38853 #ifdef __cplusplus
38855 #endif
38858 main ()
38860 return f != $ac_func;
38862 return 0;
38864 _ACEOF
38865 rm -f conftest.$ac_objext conftest$ac_exeext
38866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38867 (eval $ac_link) 2>conftest.er1
38868 ac_status=$?
38869 grep -v '^ *+' conftest.er1 >conftest.err
38870 rm -f conftest.er1
38871 cat conftest.err >&5
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); } &&
38874 { ac_try='test -z "$ac_c_werror_flag"
38875 || test ! -s conftest.err'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38878 ac_status=$?
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; } &&
38881 { ac_try='test -s conftest$ac_exeext'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38884 ac_status=$?
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; }; then
38887 eval "$as_ac_var=yes"
38888 else
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38892 eval "$as_ac_var=no"
38894 rm -f conftest.err conftest.$ac_objext \
38895 conftest$ac_exeext conftest.$ac_ext
38897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38899 if test `eval echo '${'$as_ac_var'}'` = yes; then
38900 cat >>confdefs.h <<_ACEOF
38901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38902 _ACEOF
38905 done
38907 else
38909 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38910 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38911 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38912 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38914 else
38918 ac_ext=cc
38919 ac_cpp='$CXXCPP $CPPFLAGS'
38920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38924 cat >conftest.$ac_ext <<_ACEOF
38925 /* confdefs.h. */
38926 _ACEOF
38927 cat confdefs.h >>conftest.$ac_ext
38928 cat >>conftest.$ac_ext <<_ACEOF
38929 /* end confdefs.h. */
38930 #include <math.h>
38932 main ()
38934 _fmodf(0, 0);
38936 return 0;
38938 _ACEOF
38939 rm -f conftest.$ac_objext
38940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38941 (eval $ac_compile) 2>conftest.er1
38942 ac_status=$?
38943 grep -v '^ *+' conftest.er1 >conftest.err
38944 rm -f conftest.er1
38945 cat conftest.err >&5
38946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38947 (exit $ac_status); } &&
38948 { ac_try='test -z "$ac_cxx_werror_flag"
38949 || test ! -s conftest.err'
38950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38951 (eval $ac_try) 2>&5
38952 ac_status=$?
38953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38954 (exit $ac_status); }; } &&
38955 { ac_try='test -s conftest.$ac_objext'
38956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38957 (eval $ac_try) 2>&5
38958 ac_status=$?
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); }; }; then
38961 glibcxx_cv_func__fmodf_use=yes
38962 else
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.$ac_ext >&5
38966 glibcxx_cv_func__fmodf_use=no
38968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38969 ac_ext=c
38970 ac_cpp='$CPP $CPPFLAGS'
38971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38979 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38980 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38982 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38984 for ac_func in _fmodf
38986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38987 echo "$as_me:$LINENO: checking for $ac_func" >&5
38988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38989 if eval "test \"\${$as_ac_var+set}\" = set"; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 else
38992 if test x$gcc_no_link = xyes; then
38993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38995 { (exit 1); exit 1; }; }
38997 cat >conftest.$ac_ext <<_ACEOF
38998 /* confdefs.h. */
38999 _ACEOF
39000 cat confdefs.h >>conftest.$ac_ext
39001 cat >>conftest.$ac_ext <<_ACEOF
39002 /* end confdefs.h. */
39003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39005 #define $ac_func innocuous_$ac_func
39007 /* System header to define __stub macros and hopefully few prototypes,
39008 which can conflict with char $ac_func (); below.
39009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39010 <limits.h> exists even on freestanding compilers. */
39012 #ifdef __STDC__
39013 # include <limits.h>
39014 #else
39015 # include <assert.h>
39016 #endif
39018 #undef $ac_func
39020 /* Override any gcc2 internal prototype to avoid an error. */
39021 #ifdef __cplusplus
39022 extern "C"
39024 #endif
39025 /* We use char because int might match the return type of a gcc2
39026 builtin and then its argument prototype would still apply. */
39027 char $ac_func ();
39028 /* The GNU C library defines this for functions which it implements
39029 to always fail with ENOSYS. Some functions are actually named
39030 something starting with __ and the normal name is an alias. */
39031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39032 choke me
39033 #else
39034 char (*f) () = $ac_func;
39035 #endif
39036 #ifdef __cplusplus
39038 #endif
39041 main ()
39043 return f != $ac_func;
39045 return 0;
39047 _ACEOF
39048 rm -f conftest.$ac_objext conftest$ac_exeext
39049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39050 (eval $ac_link) 2>conftest.er1
39051 ac_status=$?
39052 grep -v '^ *+' conftest.er1 >conftest.err
39053 rm -f conftest.er1
39054 cat conftest.err >&5
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); } &&
39057 { ac_try='test -z "$ac_c_werror_flag"
39058 || test ! -s conftest.err'
39059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39060 (eval $ac_try) 2>&5
39061 ac_status=$?
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); }; } &&
39064 { ac_try='test -s conftest$ac_exeext'
39065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39066 (eval $ac_try) 2>&5
39067 ac_status=$?
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); }; }; then
39070 eval "$as_ac_var=yes"
39071 else
39072 echo "$as_me: failed program was:" >&5
39073 sed 's/^/| /' conftest.$ac_ext >&5
39075 eval "$as_ac_var=no"
39077 rm -f conftest.err conftest.$ac_objext \
39078 conftest$ac_exeext conftest.$ac_ext
39080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39082 if test `eval echo '${'$as_ac_var'}'` = yes; then
39083 cat >>confdefs.h <<_ACEOF
39084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39085 _ACEOF
39088 done
39098 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
39099 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
39100 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39101 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 else
39107 ac_ext=cc
39108 ac_cpp='$CXXCPP $CPPFLAGS'
39109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39113 cat >conftest.$ac_ext <<_ACEOF
39114 /* confdefs.h. */
39115 _ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 #include <math.h>
39121 main ()
39123 frexpf(0, 0);
39125 return 0;
39127 _ACEOF
39128 rm -f conftest.$ac_objext
39129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39130 (eval $ac_compile) 2>conftest.er1
39131 ac_status=$?
39132 grep -v '^ *+' conftest.er1 >conftest.err
39133 rm -f conftest.er1
39134 cat conftest.err >&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } &&
39137 { ac_try='test -z "$ac_cxx_werror_flag"
39138 || test ! -s conftest.err'
39139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39140 (eval $ac_try) 2>&5
39141 ac_status=$?
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); }; } &&
39144 { ac_try='test -s conftest.$ac_objext'
39145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39146 (eval $ac_try) 2>&5
39147 ac_status=$?
39148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39149 (exit $ac_status); }; }; then
39150 glibcxx_cv_func_frexpf_use=yes
39151 else
39152 echo "$as_me: failed program was:" >&5
39153 sed 's/^/| /' conftest.$ac_ext >&5
39155 glibcxx_cv_func_frexpf_use=no
39157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39158 ac_ext=c
39159 ac_cpp='$CPP $CPPFLAGS'
39160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39168 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
39169 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
39171 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39173 for ac_func in frexpf
39175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39176 echo "$as_me:$LINENO: checking for $ac_func" >&5
39177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39178 if eval "test \"\${$as_ac_var+set}\" = set"; then
39179 echo $ECHO_N "(cached) $ECHO_C" >&6
39180 else
39181 if test x$gcc_no_link = xyes; then
39182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39184 { (exit 1); exit 1; }; }
39186 cat >conftest.$ac_ext <<_ACEOF
39187 /* confdefs.h. */
39188 _ACEOF
39189 cat confdefs.h >>conftest.$ac_ext
39190 cat >>conftest.$ac_ext <<_ACEOF
39191 /* end confdefs.h. */
39192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39194 #define $ac_func innocuous_$ac_func
39196 /* System header to define __stub macros and hopefully few prototypes,
39197 which can conflict with char $ac_func (); below.
39198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39199 <limits.h> exists even on freestanding compilers. */
39201 #ifdef __STDC__
39202 # include <limits.h>
39203 #else
39204 # include <assert.h>
39205 #endif
39207 #undef $ac_func
39209 /* Override any gcc2 internal prototype to avoid an error. */
39210 #ifdef __cplusplus
39211 extern "C"
39213 #endif
39214 /* We use char because int might match the return type of a gcc2
39215 builtin and then its argument prototype would still apply. */
39216 char $ac_func ();
39217 /* The GNU C library defines this for functions which it implements
39218 to always fail with ENOSYS. Some functions are actually named
39219 something starting with __ and the normal name is an alias. */
39220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39221 choke me
39222 #else
39223 char (*f) () = $ac_func;
39224 #endif
39225 #ifdef __cplusplus
39227 #endif
39230 main ()
39232 return f != $ac_func;
39234 return 0;
39236 _ACEOF
39237 rm -f conftest.$ac_objext conftest$ac_exeext
39238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39239 (eval $ac_link) 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } &&
39246 { ac_try='test -z "$ac_c_werror_flag"
39247 || test ! -s conftest.err'
39248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39249 (eval $ac_try) 2>&5
39250 ac_status=$?
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); }; } &&
39253 { ac_try='test -s conftest$ac_exeext'
39254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39255 (eval $ac_try) 2>&5
39256 ac_status=$?
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); }; }; then
39259 eval "$as_ac_var=yes"
39260 else
39261 echo "$as_me: failed program was:" >&5
39262 sed 's/^/| /' conftest.$ac_ext >&5
39264 eval "$as_ac_var=no"
39266 rm -f conftest.err conftest.$ac_objext \
39267 conftest$ac_exeext conftest.$ac_ext
39269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39271 if test `eval echo '${'$as_ac_var'}'` = yes; then
39272 cat >>confdefs.h <<_ACEOF
39273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39274 _ACEOF
39277 done
39279 else
39281 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
39282 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
39283 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39284 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
39285 echo $ECHO_N "(cached) $ECHO_C" >&6
39286 else
39290 ac_ext=cc
39291 ac_cpp='$CXXCPP $CPPFLAGS'
39292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39296 cat >conftest.$ac_ext <<_ACEOF
39297 /* confdefs.h. */
39298 _ACEOF
39299 cat confdefs.h >>conftest.$ac_ext
39300 cat >>conftest.$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39302 #include <math.h>
39304 main ()
39306 _frexpf(0, 0);
39308 return 0;
39310 _ACEOF
39311 rm -f conftest.$ac_objext
39312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39313 (eval $ac_compile) 2>conftest.er1
39314 ac_status=$?
39315 grep -v '^ *+' conftest.er1 >conftest.err
39316 rm -f conftest.er1
39317 cat conftest.err >&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } &&
39320 { ac_try='test -z "$ac_cxx_werror_flag"
39321 || test ! -s conftest.err'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39324 ac_status=$?
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; } &&
39327 { ac_try='test -s conftest.$ac_objext'
39328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39329 (eval $ac_try) 2>&5
39330 ac_status=$?
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); }; }; then
39333 glibcxx_cv_func__frexpf_use=yes
39334 else
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.$ac_ext >&5
39338 glibcxx_cv_func__frexpf_use=no
39340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39341 ac_ext=c
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39352 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39354 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39356 for ac_func in _frexpf
39358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39359 echo "$as_me:$LINENO: checking for $ac_func" >&5
39360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39361 if eval "test \"\${$as_ac_var+set}\" = set"; then
39362 echo $ECHO_N "(cached) $ECHO_C" >&6
39363 else
39364 if test x$gcc_no_link = xyes; then
39365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39367 { (exit 1); exit 1; }; }
39369 cat >conftest.$ac_ext <<_ACEOF
39370 /* confdefs.h. */
39371 _ACEOF
39372 cat confdefs.h >>conftest.$ac_ext
39373 cat >>conftest.$ac_ext <<_ACEOF
39374 /* end confdefs.h. */
39375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39377 #define $ac_func innocuous_$ac_func
39379 /* System header to define __stub macros and hopefully few prototypes,
39380 which can conflict with char $ac_func (); below.
39381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39382 <limits.h> exists even on freestanding compilers. */
39384 #ifdef __STDC__
39385 # include <limits.h>
39386 #else
39387 # include <assert.h>
39388 #endif
39390 #undef $ac_func
39392 /* Override any gcc2 internal prototype to avoid an error. */
39393 #ifdef __cplusplus
39394 extern "C"
39396 #endif
39397 /* We use char because int might match the return type of a gcc2
39398 builtin and then its argument prototype would still apply. */
39399 char $ac_func ();
39400 /* The GNU C library defines this for functions which it implements
39401 to always fail with ENOSYS. Some functions are actually named
39402 something starting with __ and the normal name is an alias. */
39403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39404 choke me
39405 #else
39406 char (*f) () = $ac_func;
39407 #endif
39408 #ifdef __cplusplus
39410 #endif
39413 main ()
39415 return f != $ac_func;
39417 return 0;
39419 _ACEOF
39420 rm -f conftest.$ac_objext conftest$ac_exeext
39421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39422 (eval $ac_link) 2>conftest.er1
39423 ac_status=$?
39424 grep -v '^ *+' conftest.er1 >conftest.err
39425 rm -f conftest.er1
39426 cat conftest.err >&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); } &&
39429 { ac_try='test -z "$ac_c_werror_flag"
39430 || test ! -s conftest.err'
39431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39432 (eval $ac_try) 2>&5
39433 ac_status=$?
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); }; } &&
39436 { ac_try='test -s conftest$ac_exeext'
39437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39438 (eval $ac_try) 2>&5
39439 ac_status=$?
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); }; }; then
39442 eval "$as_ac_var=yes"
39443 else
39444 echo "$as_me: failed program was:" >&5
39445 sed 's/^/| /' conftest.$ac_ext >&5
39447 eval "$as_ac_var=no"
39449 rm -f conftest.err conftest.$ac_objext \
39450 conftest$ac_exeext conftest.$ac_ext
39452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39454 if test `eval echo '${'$as_ac_var'}'` = yes; then
39455 cat >>confdefs.h <<_ACEOF
39456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39457 _ACEOF
39460 done
39470 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39471 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39472 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39473 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39474 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 else
39479 ac_ext=cc
39480 ac_cpp='$CXXCPP $CPPFLAGS'
39481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39485 cat >conftest.$ac_ext <<_ACEOF
39486 /* confdefs.h. */
39487 _ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 #include <math.h>
39493 main ()
39495 hypotf(0, 0);
39497 return 0;
39499 _ACEOF
39500 rm -f conftest.$ac_objext
39501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39502 (eval $ac_compile) 2>conftest.er1
39503 ac_status=$?
39504 grep -v '^ *+' conftest.er1 >conftest.err
39505 rm -f conftest.er1
39506 cat conftest.err >&5
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); } &&
39509 { ac_try='test -z "$ac_cxx_werror_flag"
39510 || test ! -s conftest.err'
39511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39512 (eval $ac_try) 2>&5
39513 ac_status=$?
39514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39515 (exit $ac_status); }; } &&
39516 { ac_try='test -s conftest.$ac_objext'
39517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39518 (eval $ac_try) 2>&5
39519 ac_status=$?
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); }; }; then
39522 glibcxx_cv_func_hypotf_use=yes
39523 else
39524 echo "$as_me: failed program was:" >&5
39525 sed 's/^/| /' conftest.$ac_ext >&5
39527 glibcxx_cv_func_hypotf_use=no
39529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39530 ac_ext=c
39531 ac_cpp='$CPP $CPPFLAGS'
39532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39541 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39543 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39545 for ac_func in hypotf
39547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39548 echo "$as_me:$LINENO: checking for $ac_func" >&5
39549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39550 if eval "test \"\${$as_ac_var+set}\" = set"; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 else
39553 if test x$gcc_no_link = xyes; then
39554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39556 { (exit 1); exit 1; }; }
39558 cat >conftest.$ac_ext <<_ACEOF
39559 /* confdefs.h. */
39560 _ACEOF
39561 cat confdefs.h >>conftest.$ac_ext
39562 cat >>conftest.$ac_ext <<_ACEOF
39563 /* end confdefs.h. */
39564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39566 #define $ac_func innocuous_$ac_func
39568 /* System header to define __stub macros and hopefully few prototypes,
39569 which can conflict with char $ac_func (); below.
39570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39571 <limits.h> exists even on freestanding compilers. */
39573 #ifdef __STDC__
39574 # include <limits.h>
39575 #else
39576 # include <assert.h>
39577 #endif
39579 #undef $ac_func
39581 /* Override any gcc2 internal prototype to avoid an error. */
39582 #ifdef __cplusplus
39583 extern "C"
39585 #endif
39586 /* We use char because int might match the return type of a gcc2
39587 builtin and then its argument prototype would still apply. */
39588 char $ac_func ();
39589 /* The GNU C library defines this for functions which it implements
39590 to always fail with ENOSYS. Some functions are actually named
39591 something starting with __ and the normal name is an alias. */
39592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39593 choke me
39594 #else
39595 char (*f) () = $ac_func;
39596 #endif
39597 #ifdef __cplusplus
39599 #endif
39602 main ()
39604 return f != $ac_func;
39606 return 0;
39608 _ACEOF
39609 rm -f conftest.$ac_objext conftest$ac_exeext
39610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39611 (eval $ac_link) 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } &&
39618 { ac_try='test -z "$ac_c_werror_flag"
39619 || test ! -s conftest.err'
39620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39621 (eval $ac_try) 2>&5
39622 ac_status=$?
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); }; } &&
39625 { ac_try='test -s conftest$ac_exeext'
39626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39627 (eval $ac_try) 2>&5
39628 ac_status=$?
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); }; }; then
39631 eval "$as_ac_var=yes"
39632 else
39633 echo "$as_me: failed program was:" >&5
39634 sed 's/^/| /' conftest.$ac_ext >&5
39636 eval "$as_ac_var=no"
39638 rm -f conftest.err conftest.$ac_objext \
39639 conftest$ac_exeext conftest.$ac_ext
39641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39643 if test `eval echo '${'$as_ac_var'}'` = yes; then
39644 cat >>confdefs.h <<_ACEOF
39645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39646 _ACEOF
39649 done
39651 else
39653 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39654 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39655 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39656 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39658 else
39662 ac_ext=cc
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674 #include <math.h>
39676 main ()
39678 _hypotf(0, 0);
39680 return 0;
39682 _ACEOF
39683 rm -f conftest.$ac_objext
39684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39685 (eval $ac_compile) 2>conftest.er1
39686 ac_status=$?
39687 grep -v '^ *+' conftest.er1 >conftest.err
39688 rm -f conftest.er1
39689 cat conftest.err >&5
39690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39691 (exit $ac_status); } &&
39692 { ac_try='test -z "$ac_cxx_werror_flag"
39693 || test ! -s conftest.err'
39694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39695 (eval $ac_try) 2>&5
39696 ac_status=$?
39697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39698 (exit $ac_status); }; } &&
39699 { ac_try='test -s conftest.$ac_objext'
39700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39701 (eval $ac_try) 2>&5
39702 ac_status=$?
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); }; }; then
39705 glibcxx_cv_func__hypotf_use=yes
39706 else
39707 echo "$as_me: failed program was:" >&5
39708 sed 's/^/| /' conftest.$ac_ext >&5
39710 glibcxx_cv_func__hypotf_use=no
39712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39713 ac_ext=c
39714 ac_cpp='$CPP $CPPFLAGS'
39715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39724 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39726 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39728 for ac_func in _hypotf
39730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39731 echo "$as_me:$LINENO: checking for $ac_func" >&5
39732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39733 if eval "test \"\${$as_ac_var+set}\" = set"; then
39734 echo $ECHO_N "(cached) $ECHO_C" >&6
39735 else
39736 if test x$gcc_no_link = xyes; then
39737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39739 { (exit 1); exit 1; }; }
39741 cat >conftest.$ac_ext <<_ACEOF
39742 /* confdefs.h. */
39743 _ACEOF
39744 cat confdefs.h >>conftest.$ac_ext
39745 cat >>conftest.$ac_ext <<_ACEOF
39746 /* end confdefs.h. */
39747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39749 #define $ac_func innocuous_$ac_func
39751 /* System header to define __stub macros and hopefully few prototypes,
39752 which can conflict with char $ac_func (); below.
39753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39754 <limits.h> exists even on freestanding compilers. */
39756 #ifdef __STDC__
39757 # include <limits.h>
39758 #else
39759 # include <assert.h>
39760 #endif
39762 #undef $ac_func
39764 /* Override any gcc2 internal prototype to avoid an error. */
39765 #ifdef __cplusplus
39766 extern "C"
39768 #endif
39769 /* We use char because int might match the return type of a gcc2
39770 builtin and then its argument prototype would still apply. */
39771 char $ac_func ();
39772 /* The GNU C library defines this for functions which it implements
39773 to always fail with ENOSYS. Some functions are actually named
39774 something starting with __ and the normal name is an alias. */
39775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39776 choke me
39777 #else
39778 char (*f) () = $ac_func;
39779 #endif
39780 #ifdef __cplusplus
39782 #endif
39785 main ()
39787 return f != $ac_func;
39789 return 0;
39791 _ACEOF
39792 rm -f conftest.$ac_objext conftest$ac_exeext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39794 (eval $ac_link) 2>conftest.er1
39795 ac_status=$?
39796 grep -v '^ *+' conftest.er1 >conftest.err
39797 rm -f conftest.er1
39798 cat conftest.err >&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } &&
39801 { ac_try='test -z "$ac_c_werror_flag"
39802 || test ! -s conftest.err'
39803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39804 (eval $ac_try) 2>&5
39805 ac_status=$?
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); }; } &&
39808 { ac_try='test -s conftest$ac_exeext'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39811 ac_status=$?
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; }; then
39814 eval "$as_ac_var=yes"
39815 else
39816 echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.$ac_ext >&5
39819 eval "$as_ac_var=no"
39821 rm -f conftest.err conftest.$ac_objext \
39822 conftest$ac_exeext conftest.$ac_ext
39824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39826 if test `eval echo '${'$as_ac_var'}'` = yes; then
39827 cat >>confdefs.h <<_ACEOF
39828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39829 _ACEOF
39832 done
39842 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39843 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39844 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39845 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 else
39851 ac_ext=cc
39852 ac_cpp='$CXXCPP $CPPFLAGS'
39853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39857 cat >conftest.$ac_ext <<_ACEOF
39858 /* confdefs.h. */
39859 _ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 #include <math.h>
39865 main ()
39867 ldexpf(0, 0);
39869 return 0;
39871 _ACEOF
39872 rm -f conftest.$ac_objext
39873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39874 (eval $ac_compile) 2>conftest.er1
39875 ac_status=$?
39876 grep -v '^ *+' conftest.er1 >conftest.err
39877 rm -f conftest.er1
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } &&
39881 { ac_try='test -z "$ac_cxx_werror_flag"
39882 || test ! -s conftest.err'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39885 ac_status=$?
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; } &&
39888 { ac_try='test -s conftest.$ac_objext'
39889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39890 (eval $ac_try) 2>&5
39891 ac_status=$?
39892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39893 (exit $ac_status); }; }; then
39894 glibcxx_cv_func_ldexpf_use=yes
39895 else
39896 echo "$as_me: failed program was:" >&5
39897 sed 's/^/| /' conftest.$ac_ext >&5
39899 glibcxx_cv_func_ldexpf_use=no
39901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39902 ac_ext=c
39903 ac_cpp='$CPP $CPPFLAGS'
39904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39913 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39915 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39917 for ac_func in ldexpf
39919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39920 echo "$as_me:$LINENO: checking for $ac_func" >&5
39921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39922 if eval "test \"\${$as_ac_var+set}\" = set"; then
39923 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 else
39925 if test x$gcc_no_link = xyes; then
39926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39928 { (exit 1); exit 1; }; }
39930 cat >conftest.$ac_ext <<_ACEOF
39931 /* confdefs.h. */
39932 _ACEOF
39933 cat confdefs.h >>conftest.$ac_ext
39934 cat >>conftest.$ac_ext <<_ACEOF
39935 /* end confdefs.h. */
39936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39938 #define $ac_func innocuous_$ac_func
39940 /* System header to define __stub macros and hopefully few prototypes,
39941 which can conflict with char $ac_func (); below.
39942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39943 <limits.h> exists even on freestanding compilers. */
39945 #ifdef __STDC__
39946 # include <limits.h>
39947 #else
39948 # include <assert.h>
39949 #endif
39951 #undef $ac_func
39953 /* Override any gcc2 internal prototype to avoid an error. */
39954 #ifdef __cplusplus
39955 extern "C"
39957 #endif
39958 /* We use char because int might match the return type of a gcc2
39959 builtin and then its argument prototype would still apply. */
39960 char $ac_func ();
39961 /* The GNU C library defines this for functions which it implements
39962 to always fail with ENOSYS. Some functions are actually named
39963 something starting with __ and the normal name is an alias. */
39964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39965 choke me
39966 #else
39967 char (*f) () = $ac_func;
39968 #endif
39969 #ifdef __cplusplus
39971 #endif
39974 main ()
39976 return f != $ac_func;
39978 return 0;
39980 _ACEOF
39981 rm -f conftest.$ac_objext conftest$ac_exeext
39982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39983 (eval $ac_link) 2>conftest.er1
39984 ac_status=$?
39985 grep -v '^ *+' conftest.er1 >conftest.err
39986 rm -f conftest.er1
39987 cat conftest.err >&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); } &&
39990 { ac_try='test -z "$ac_c_werror_flag"
39991 || test ! -s conftest.err'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39994 ac_status=$?
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; } &&
39997 { ac_try='test -s conftest$ac_exeext'
39998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39999 (eval $ac_try) 2>&5
40000 ac_status=$?
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); }; }; then
40003 eval "$as_ac_var=yes"
40004 else
40005 echo "$as_me: failed program was:" >&5
40006 sed 's/^/| /' conftest.$ac_ext >&5
40008 eval "$as_ac_var=no"
40010 rm -f conftest.err conftest.$ac_objext \
40011 conftest$ac_exeext conftest.$ac_ext
40013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40015 if test `eval echo '${'$as_ac_var'}'` = yes; then
40016 cat >>confdefs.h <<_ACEOF
40017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40018 _ACEOF
40021 done
40023 else
40025 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
40026 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
40027 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40028 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
40029 echo $ECHO_N "(cached) $ECHO_C" >&6
40030 else
40034 ac_ext=cc
40035 ac_cpp='$CXXCPP $CPPFLAGS'
40036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40040 cat >conftest.$ac_ext <<_ACEOF
40041 /* confdefs.h. */
40042 _ACEOF
40043 cat confdefs.h >>conftest.$ac_ext
40044 cat >>conftest.$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40046 #include <math.h>
40048 main ()
40050 _ldexpf(0, 0);
40052 return 0;
40054 _ACEOF
40055 rm -f conftest.$ac_objext
40056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40057 (eval $ac_compile) 2>conftest.er1
40058 ac_status=$?
40059 grep -v '^ *+' conftest.er1 >conftest.err
40060 rm -f conftest.er1
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } &&
40064 { ac_try='test -z "$ac_cxx_werror_flag"
40065 || test ! -s conftest.err'
40066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40067 (eval $ac_try) 2>&5
40068 ac_status=$?
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); }; } &&
40071 { ac_try='test -s conftest.$ac_objext'
40072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40073 (eval $ac_try) 2>&5
40074 ac_status=$?
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); }; }; then
40077 glibcxx_cv_func__ldexpf_use=yes
40078 else
40079 echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.$ac_ext >&5
40082 glibcxx_cv_func__ldexpf_use=no
40084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40085 ac_ext=c
40086 ac_cpp='$CPP $CPPFLAGS'
40087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
40096 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
40098 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40100 for ac_func in _ldexpf
40102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40103 echo "$as_me:$LINENO: checking for $ac_func" >&5
40104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40105 if eval "test \"\${$as_ac_var+set}\" = set"; then
40106 echo $ECHO_N "(cached) $ECHO_C" >&6
40107 else
40108 if test x$gcc_no_link = xyes; then
40109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40111 { (exit 1); exit 1; }; }
40113 cat >conftest.$ac_ext <<_ACEOF
40114 /* confdefs.h. */
40115 _ACEOF
40116 cat confdefs.h >>conftest.$ac_ext
40117 cat >>conftest.$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40121 #define $ac_func innocuous_$ac_func
40123 /* System header to define __stub macros and hopefully few prototypes,
40124 which can conflict with char $ac_func (); below.
40125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40126 <limits.h> exists even on freestanding compilers. */
40128 #ifdef __STDC__
40129 # include <limits.h>
40130 #else
40131 # include <assert.h>
40132 #endif
40134 #undef $ac_func
40136 /* Override any gcc2 internal prototype to avoid an error. */
40137 #ifdef __cplusplus
40138 extern "C"
40140 #endif
40141 /* We use char because int might match the return type of a gcc2
40142 builtin and then its argument prototype would still apply. */
40143 char $ac_func ();
40144 /* The GNU C library defines this for functions which it implements
40145 to always fail with ENOSYS. Some functions are actually named
40146 something starting with __ and the normal name is an alias. */
40147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40148 choke me
40149 #else
40150 char (*f) () = $ac_func;
40151 #endif
40152 #ifdef __cplusplus
40154 #endif
40157 main ()
40159 return f != $ac_func;
40161 return 0;
40163 _ACEOF
40164 rm -f conftest.$ac_objext conftest$ac_exeext
40165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40166 (eval $ac_link) 2>conftest.er1
40167 ac_status=$?
40168 grep -v '^ *+' conftest.er1 >conftest.err
40169 rm -f conftest.er1
40170 cat conftest.err >&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); } &&
40173 { ac_try='test -z "$ac_c_werror_flag"
40174 || test ! -s conftest.err'
40175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40176 (eval $ac_try) 2>&5
40177 ac_status=$?
40178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179 (exit $ac_status); }; } &&
40180 { ac_try='test -s conftest$ac_exeext'
40181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182 (eval $ac_try) 2>&5
40183 ac_status=$?
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); }; }; then
40186 eval "$as_ac_var=yes"
40187 else
40188 echo "$as_me: failed program was:" >&5
40189 sed 's/^/| /' conftest.$ac_ext >&5
40191 eval "$as_ac_var=no"
40193 rm -f conftest.err conftest.$ac_objext \
40194 conftest$ac_exeext conftest.$ac_ext
40196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40198 if test `eval echo '${'$as_ac_var'}'` = yes; then
40199 cat >>confdefs.h <<_ACEOF
40200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40201 _ACEOF
40204 done
40214 echo "$as_me:$LINENO: checking for logf declaration" >&5
40215 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
40216 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40217 if test "${glibcxx_cv_func_logf_use+set}" = set; then
40218 echo $ECHO_N "(cached) $ECHO_C" >&6
40219 else
40223 ac_ext=cc
40224 ac_cpp='$CXXCPP $CPPFLAGS'
40225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40229 cat >conftest.$ac_ext <<_ACEOF
40230 /* confdefs.h. */
40231 _ACEOF
40232 cat confdefs.h >>conftest.$ac_ext
40233 cat >>conftest.$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 #include <math.h>
40236 #ifdef HAVE_IEEEFP_H
40237 #include <ieeefp.h>
40238 #endif
40241 main ()
40243 logf(0);
40245 return 0;
40247 _ACEOF
40248 rm -f conftest.$ac_objext
40249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40250 (eval $ac_compile) 2>conftest.er1
40251 ac_status=$?
40252 grep -v '^ *+' conftest.er1 >conftest.err
40253 rm -f conftest.er1
40254 cat conftest.err >&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); } &&
40257 { ac_try='test -z "$ac_cxx_werror_flag"
40258 || test ! -s conftest.err'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40261 ac_status=$?
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; } &&
40264 { ac_try='test -s conftest.$ac_objext'
40265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40266 (eval $ac_try) 2>&5
40267 ac_status=$?
40268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269 (exit $ac_status); }; }; then
40270 glibcxx_cv_func_logf_use=yes
40271 else
40272 echo "$as_me: failed program was:" >&5
40273 sed 's/^/| /' conftest.$ac_ext >&5
40275 glibcxx_cv_func_logf_use=no
40277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40278 ac_ext=c
40279 ac_cpp='$CPP $CPPFLAGS'
40280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
40289 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
40291 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40293 for ac_func in logf
40295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40296 echo "$as_me:$LINENO: checking for $ac_func" >&5
40297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40298 if eval "test \"\${$as_ac_var+set}\" = set"; then
40299 echo $ECHO_N "(cached) $ECHO_C" >&6
40300 else
40301 if test x$gcc_no_link = xyes; then
40302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40304 { (exit 1); exit 1; }; }
40306 cat >conftest.$ac_ext <<_ACEOF
40307 /* confdefs.h. */
40308 _ACEOF
40309 cat confdefs.h >>conftest.$ac_ext
40310 cat >>conftest.$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40314 #define $ac_func innocuous_$ac_func
40316 /* System header to define __stub macros and hopefully few prototypes,
40317 which can conflict with char $ac_func (); below.
40318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40319 <limits.h> exists even on freestanding compilers. */
40321 #ifdef __STDC__
40322 # include <limits.h>
40323 #else
40324 # include <assert.h>
40325 #endif
40327 #undef $ac_func
40329 /* Override any gcc2 internal prototype to avoid an error. */
40330 #ifdef __cplusplus
40331 extern "C"
40333 #endif
40334 /* We use char because int might match the return type of a gcc2
40335 builtin and then its argument prototype would still apply. */
40336 char $ac_func ();
40337 /* The GNU C library defines this for functions which it implements
40338 to always fail with ENOSYS. Some functions are actually named
40339 something starting with __ and the normal name is an alias. */
40340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40341 choke me
40342 #else
40343 char (*f) () = $ac_func;
40344 #endif
40345 #ifdef __cplusplus
40347 #endif
40350 main ()
40352 return f != $ac_func;
40354 return 0;
40356 _ACEOF
40357 rm -f conftest.$ac_objext conftest$ac_exeext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40359 (eval $ac_link) 2>conftest.er1
40360 ac_status=$?
40361 grep -v '^ *+' conftest.er1 >conftest.err
40362 rm -f conftest.er1
40363 cat conftest.err >&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } &&
40366 { ac_try='test -z "$ac_c_werror_flag"
40367 || test ! -s conftest.err'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40370 ac_status=$?
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; } &&
40373 { ac_try='test -s conftest$ac_exeext'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40376 ac_status=$?
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; }; then
40379 eval "$as_ac_var=yes"
40380 else
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40384 eval "$as_ac_var=no"
40386 rm -f conftest.err conftest.$ac_objext \
40387 conftest$ac_exeext conftest.$ac_ext
40389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40391 if test `eval echo '${'$as_ac_var'}'` = yes; then
40392 cat >>confdefs.h <<_ACEOF
40393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40394 _ACEOF
40397 done
40399 else
40401 echo "$as_me:$LINENO: checking for _logf declaration" >&5
40402 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40403 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40404 if test "${glibcxx_cv_func__logf_use+set}" = set; then
40405 echo $ECHO_N "(cached) $ECHO_C" >&6
40406 else
40410 ac_ext=cc
40411 ac_cpp='$CXXCPP $CPPFLAGS'
40412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40416 cat >conftest.$ac_ext <<_ACEOF
40417 /* confdefs.h. */
40418 _ACEOF
40419 cat confdefs.h >>conftest.$ac_ext
40420 cat >>conftest.$ac_ext <<_ACEOF
40421 /* end confdefs.h. */
40422 #include <math.h>
40423 #ifdef HAVE_IEEEFP_H
40424 #include <ieeefp.h>
40425 #endif
40428 main ()
40430 _logf(0);
40432 return 0;
40434 _ACEOF
40435 rm -f conftest.$ac_objext
40436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40437 (eval $ac_compile) 2>conftest.er1
40438 ac_status=$?
40439 grep -v '^ *+' conftest.er1 >conftest.err
40440 rm -f conftest.er1
40441 cat conftest.err >&5
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); } &&
40444 { ac_try='test -z "$ac_cxx_werror_flag"
40445 || test ! -s conftest.err'
40446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40447 (eval $ac_try) 2>&5
40448 ac_status=$?
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); }; } &&
40451 { ac_try='test -s conftest.$ac_objext'
40452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40453 (eval $ac_try) 2>&5
40454 ac_status=$?
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); }; }; then
40457 glibcxx_cv_func__logf_use=yes
40458 else
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40462 glibcxx_cv_func__logf_use=no
40464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40465 ac_ext=c
40466 ac_cpp='$CPP $CPPFLAGS'
40467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40476 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40478 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40480 for ac_func in _logf
40482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40483 echo "$as_me:$LINENO: checking for $ac_func" >&5
40484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40485 if eval "test \"\${$as_ac_var+set}\" = set"; then
40486 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 else
40488 if test x$gcc_no_link = xyes; then
40489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40491 { (exit 1); exit 1; }; }
40493 cat >conftest.$ac_ext <<_ACEOF
40494 /* confdefs.h. */
40495 _ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40501 #define $ac_func innocuous_$ac_func
40503 /* System header to define __stub macros and hopefully few prototypes,
40504 which can conflict with char $ac_func (); below.
40505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40506 <limits.h> exists even on freestanding compilers. */
40508 #ifdef __STDC__
40509 # include <limits.h>
40510 #else
40511 # include <assert.h>
40512 #endif
40514 #undef $ac_func
40516 /* Override any gcc2 internal prototype to avoid an error. */
40517 #ifdef __cplusplus
40518 extern "C"
40520 #endif
40521 /* We use char because int might match the return type of a gcc2
40522 builtin and then its argument prototype would still apply. */
40523 char $ac_func ();
40524 /* The GNU C library defines this for functions which it implements
40525 to always fail with ENOSYS. Some functions are actually named
40526 something starting with __ and the normal name is an alias. */
40527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40528 choke me
40529 #else
40530 char (*f) () = $ac_func;
40531 #endif
40532 #ifdef __cplusplus
40534 #endif
40537 main ()
40539 return f != $ac_func;
40541 return 0;
40543 _ACEOF
40544 rm -f conftest.$ac_objext conftest$ac_exeext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40546 (eval $ac_link) 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try='test -z "$ac_c_werror_flag"
40554 || test ! -s conftest.err'
40555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40556 (eval $ac_try) 2>&5
40557 ac_status=$?
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); }; } &&
40560 { ac_try='test -s conftest$ac_exeext'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40563 ac_status=$?
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; }; then
40566 eval "$as_ac_var=yes"
40567 else
40568 echo "$as_me: failed program was:" >&5
40569 sed 's/^/| /' conftest.$ac_ext >&5
40571 eval "$as_ac_var=no"
40573 rm -f conftest.err conftest.$ac_objext \
40574 conftest$ac_exeext conftest.$ac_ext
40576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40578 if test `eval echo '${'$as_ac_var'}'` = yes; then
40579 cat >>confdefs.h <<_ACEOF
40580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40581 _ACEOF
40584 done
40594 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40595 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40596 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40597 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40598 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 else
40603 ac_ext=cc
40604 ac_cpp='$CXXCPP $CPPFLAGS'
40605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40609 cat >conftest.$ac_ext <<_ACEOF
40610 /* confdefs.h. */
40611 _ACEOF
40612 cat confdefs.h >>conftest.$ac_ext
40613 cat >>conftest.$ac_ext <<_ACEOF
40614 /* end confdefs.h. */
40615 #include <math.h>
40616 #ifdef HAVE_IEEEFP_H
40617 #include <ieeefp.h>
40618 #endif
40621 main ()
40623 log10f(0);
40625 return 0;
40627 _ACEOF
40628 rm -f conftest.$ac_objext
40629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40630 (eval $ac_compile) 2>conftest.er1
40631 ac_status=$?
40632 grep -v '^ *+' conftest.er1 >conftest.err
40633 rm -f conftest.er1
40634 cat conftest.err >&5
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); } &&
40637 { ac_try='test -z "$ac_cxx_werror_flag"
40638 || test ! -s conftest.err'
40639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40640 (eval $ac_try) 2>&5
40641 ac_status=$?
40642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40643 (exit $ac_status); }; } &&
40644 { ac_try='test -s conftest.$ac_objext'
40645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40646 (eval $ac_try) 2>&5
40647 ac_status=$?
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); }; }; then
40650 glibcxx_cv_func_log10f_use=yes
40651 else
40652 echo "$as_me: failed program was:" >&5
40653 sed 's/^/| /' conftest.$ac_ext >&5
40655 glibcxx_cv_func_log10f_use=no
40657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40658 ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40669 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40671 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40673 for ac_func in log10f
40675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40676 echo "$as_me:$LINENO: checking for $ac_func" >&5
40677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40678 if eval "test \"\${$as_ac_var+set}\" = set"; then
40679 echo $ECHO_N "(cached) $ECHO_C" >&6
40680 else
40681 if test x$gcc_no_link = xyes; then
40682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40684 { (exit 1); exit 1; }; }
40686 cat >conftest.$ac_ext <<_ACEOF
40687 /* confdefs.h. */
40688 _ACEOF
40689 cat confdefs.h >>conftest.$ac_ext
40690 cat >>conftest.$ac_ext <<_ACEOF
40691 /* end confdefs.h. */
40692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40694 #define $ac_func innocuous_$ac_func
40696 /* System header to define __stub macros and hopefully few prototypes,
40697 which can conflict with char $ac_func (); below.
40698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40699 <limits.h> exists even on freestanding compilers. */
40701 #ifdef __STDC__
40702 # include <limits.h>
40703 #else
40704 # include <assert.h>
40705 #endif
40707 #undef $ac_func
40709 /* Override any gcc2 internal prototype to avoid an error. */
40710 #ifdef __cplusplus
40711 extern "C"
40713 #endif
40714 /* We use char because int might match the return type of a gcc2
40715 builtin and then its argument prototype would still apply. */
40716 char $ac_func ();
40717 /* The GNU C library defines this for functions which it implements
40718 to always fail with ENOSYS. Some functions are actually named
40719 something starting with __ and the normal name is an alias. */
40720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40721 choke me
40722 #else
40723 char (*f) () = $ac_func;
40724 #endif
40725 #ifdef __cplusplus
40727 #endif
40730 main ()
40732 return f != $ac_func;
40734 return 0;
40736 _ACEOF
40737 rm -f conftest.$ac_objext conftest$ac_exeext
40738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40739 (eval $ac_link) 2>conftest.er1
40740 ac_status=$?
40741 grep -v '^ *+' conftest.er1 >conftest.err
40742 rm -f conftest.er1
40743 cat conftest.err >&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); } &&
40746 { ac_try='test -z "$ac_c_werror_flag"
40747 || test ! -s conftest.err'
40748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40749 (eval $ac_try) 2>&5
40750 ac_status=$?
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); }; } &&
40753 { ac_try='test -s conftest$ac_exeext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 eval "$as_ac_var=yes"
40760 else
40761 echo "$as_me: failed program was:" >&5
40762 sed 's/^/| /' conftest.$ac_ext >&5
40764 eval "$as_ac_var=no"
40766 rm -f conftest.err conftest.$ac_objext \
40767 conftest$ac_exeext conftest.$ac_ext
40769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40771 if test `eval echo '${'$as_ac_var'}'` = yes; then
40772 cat >>confdefs.h <<_ACEOF
40773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40774 _ACEOF
40777 done
40779 else
40781 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40782 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40783 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40784 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40785 echo $ECHO_N "(cached) $ECHO_C" >&6
40786 else
40790 ac_ext=cc
40791 ac_cpp='$CXXCPP $CPPFLAGS'
40792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40796 cat >conftest.$ac_ext <<_ACEOF
40797 /* confdefs.h. */
40798 _ACEOF
40799 cat confdefs.h >>conftest.$ac_ext
40800 cat >>conftest.$ac_ext <<_ACEOF
40801 /* end confdefs.h. */
40802 #include <math.h>
40803 #ifdef HAVE_IEEEFP_H
40804 #include <ieeefp.h>
40805 #endif
40808 main ()
40810 _log10f(0);
40812 return 0;
40814 _ACEOF
40815 rm -f conftest.$ac_objext
40816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40817 (eval $ac_compile) 2>conftest.er1
40818 ac_status=$?
40819 grep -v '^ *+' conftest.er1 >conftest.err
40820 rm -f conftest.er1
40821 cat conftest.err >&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); } &&
40824 { ac_try='test -z "$ac_cxx_werror_flag"
40825 || test ! -s conftest.err'
40826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827 (eval $ac_try) 2>&5
40828 ac_status=$?
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); }; } &&
40831 { ac_try='test -s conftest.$ac_objext'
40832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40833 (eval $ac_try) 2>&5
40834 ac_status=$?
40835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836 (exit $ac_status); }; }; then
40837 glibcxx_cv_func__log10f_use=yes
40838 else
40839 echo "$as_me: failed program was:" >&5
40840 sed 's/^/| /' conftest.$ac_ext >&5
40842 glibcxx_cv_func__log10f_use=no
40844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40845 ac_ext=c
40846 ac_cpp='$CPP $CPPFLAGS'
40847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40856 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40858 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40860 for ac_func in _log10f
40862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40863 echo "$as_me:$LINENO: checking for $ac_func" >&5
40864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40865 if eval "test \"\${$as_ac_var+set}\" = set"; then
40866 echo $ECHO_N "(cached) $ECHO_C" >&6
40867 else
40868 if test x$gcc_no_link = xyes; then
40869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40871 { (exit 1); exit 1; }; }
40873 cat >conftest.$ac_ext <<_ACEOF
40874 /* confdefs.h. */
40875 _ACEOF
40876 cat confdefs.h >>conftest.$ac_ext
40877 cat >>conftest.$ac_ext <<_ACEOF
40878 /* end confdefs.h. */
40879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40881 #define $ac_func innocuous_$ac_func
40883 /* System header to define __stub macros and hopefully few prototypes,
40884 which can conflict with char $ac_func (); below.
40885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40886 <limits.h> exists even on freestanding compilers. */
40888 #ifdef __STDC__
40889 # include <limits.h>
40890 #else
40891 # include <assert.h>
40892 #endif
40894 #undef $ac_func
40896 /* Override any gcc2 internal prototype to avoid an error. */
40897 #ifdef __cplusplus
40898 extern "C"
40900 #endif
40901 /* We use char because int might match the return type of a gcc2
40902 builtin and then its argument prototype would still apply. */
40903 char $ac_func ();
40904 /* The GNU C library defines this for functions which it implements
40905 to always fail with ENOSYS. Some functions are actually named
40906 something starting with __ and the normal name is an alias. */
40907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40908 choke me
40909 #else
40910 char (*f) () = $ac_func;
40911 #endif
40912 #ifdef __cplusplus
40914 #endif
40917 main ()
40919 return f != $ac_func;
40921 return 0;
40923 _ACEOF
40924 rm -f conftest.$ac_objext conftest$ac_exeext
40925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40926 (eval $ac_link) 2>conftest.er1
40927 ac_status=$?
40928 grep -v '^ *+' conftest.er1 >conftest.err
40929 rm -f conftest.er1
40930 cat conftest.err >&5
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); } &&
40933 { ac_try='test -z "$ac_c_werror_flag"
40934 || test ! -s conftest.err'
40935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40936 (eval $ac_try) 2>&5
40937 ac_status=$?
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); }; } &&
40940 { ac_try='test -s conftest$ac_exeext'
40941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40942 (eval $ac_try) 2>&5
40943 ac_status=$?
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); }; }; then
40946 eval "$as_ac_var=yes"
40947 else
40948 echo "$as_me: failed program was:" >&5
40949 sed 's/^/| /' conftest.$ac_ext >&5
40951 eval "$as_ac_var=no"
40953 rm -f conftest.err conftest.$ac_objext \
40954 conftest$ac_exeext conftest.$ac_ext
40956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40958 if test `eval echo '${'$as_ac_var'}'` = yes; then
40959 cat >>confdefs.h <<_ACEOF
40960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40961 _ACEOF
40964 done
40974 echo "$as_me:$LINENO: checking for modff declaration" >&5
40975 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40976 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40977 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40979 else
40983 ac_ext=cc
40984 ac_cpp='$CXXCPP $CPPFLAGS'
40985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40989 cat >conftest.$ac_ext <<_ACEOF
40990 /* confdefs.h. */
40991 _ACEOF
40992 cat confdefs.h >>conftest.$ac_ext
40993 cat >>conftest.$ac_ext <<_ACEOF
40994 /* end confdefs.h. */
40995 #include <math.h>
40997 main ()
40999 modff(0, 0);
41001 return 0;
41003 _ACEOF
41004 rm -f conftest.$ac_objext
41005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41006 (eval $ac_compile) 2>conftest.er1
41007 ac_status=$?
41008 grep -v '^ *+' conftest.er1 >conftest.err
41009 rm -f conftest.er1
41010 cat conftest.err >&5
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); } &&
41013 { ac_try='test -z "$ac_cxx_werror_flag"
41014 || test ! -s conftest.err'
41015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41016 (eval $ac_try) 2>&5
41017 ac_status=$?
41018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41019 (exit $ac_status); }; } &&
41020 { ac_try='test -s conftest.$ac_objext'
41021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41022 (eval $ac_try) 2>&5
41023 ac_status=$?
41024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41025 (exit $ac_status); }; }; then
41026 glibcxx_cv_func_modff_use=yes
41027 else
41028 echo "$as_me: failed program was:" >&5
41029 sed 's/^/| /' conftest.$ac_ext >&5
41031 glibcxx_cv_func_modff_use=no
41033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41034 ac_ext=c
41035 ac_cpp='$CPP $CPPFLAGS'
41036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
41045 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
41047 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41049 for ac_func in modff
41051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41052 echo "$as_me:$LINENO: checking for $ac_func" >&5
41053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41054 if eval "test \"\${$as_ac_var+set}\" = set"; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41056 else
41057 if test x$gcc_no_link = xyes; then
41058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41060 { (exit 1); exit 1; }; }
41062 cat >conftest.$ac_ext <<_ACEOF
41063 /* confdefs.h. */
41064 _ACEOF
41065 cat confdefs.h >>conftest.$ac_ext
41066 cat >>conftest.$ac_ext <<_ACEOF
41067 /* end confdefs.h. */
41068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41070 #define $ac_func innocuous_$ac_func
41072 /* System header to define __stub macros and hopefully few prototypes,
41073 which can conflict with char $ac_func (); below.
41074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41075 <limits.h> exists even on freestanding compilers. */
41077 #ifdef __STDC__
41078 # include <limits.h>
41079 #else
41080 # include <assert.h>
41081 #endif
41083 #undef $ac_func
41085 /* Override any gcc2 internal prototype to avoid an error. */
41086 #ifdef __cplusplus
41087 extern "C"
41089 #endif
41090 /* We use char because int might match the return type of a gcc2
41091 builtin and then its argument prototype would still apply. */
41092 char $ac_func ();
41093 /* The GNU C library defines this for functions which it implements
41094 to always fail with ENOSYS. Some functions are actually named
41095 something starting with __ and the normal name is an alias. */
41096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41097 choke me
41098 #else
41099 char (*f) () = $ac_func;
41100 #endif
41101 #ifdef __cplusplus
41103 #endif
41106 main ()
41108 return f != $ac_func;
41110 return 0;
41112 _ACEOF
41113 rm -f conftest.$ac_objext conftest$ac_exeext
41114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41115 (eval $ac_link) 2>conftest.er1
41116 ac_status=$?
41117 grep -v '^ *+' conftest.er1 >conftest.err
41118 rm -f conftest.er1
41119 cat conftest.err >&5
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } &&
41122 { ac_try='test -z "$ac_c_werror_flag"
41123 || test ! -s conftest.err'
41124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41125 (eval $ac_try) 2>&5
41126 ac_status=$?
41127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128 (exit $ac_status); }; } &&
41129 { ac_try='test -s conftest$ac_exeext'
41130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41131 (eval $ac_try) 2>&5
41132 ac_status=$?
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); }; }; then
41135 eval "$as_ac_var=yes"
41136 else
41137 echo "$as_me: failed program was:" >&5
41138 sed 's/^/| /' conftest.$ac_ext >&5
41140 eval "$as_ac_var=no"
41142 rm -f conftest.err conftest.$ac_objext \
41143 conftest$ac_exeext conftest.$ac_ext
41145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41147 if test `eval echo '${'$as_ac_var'}'` = yes; then
41148 cat >>confdefs.h <<_ACEOF
41149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41150 _ACEOF
41153 done
41155 else
41157 echo "$as_me:$LINENO: checking for _modff declaration" >&5
41158 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
41159 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41160 if test "${glibcxx_cv_func__modff_use+set}" = set; then
41161 echo $ECHO_N "(cached) $ECHO_C" >&6
41162 else
41166 ac_ext=cc
41167 ac_cpp='$CXXCPP $CPPFLAGS'
41168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41172 cat >conftest.$ac_ext <<_ACEOF
41173 /* confdefs.h. */
41174 _ACEOF
41175 cat confdefs.h >>conftest.$ac_ext
41176 cat >>conftest.$ac_ext <<_ACEOF
41177 /* end confdefs.h. */
41178 #include <math.h>
41180 main ()
41182 _modff(0, 0);
41184 return 0;
41186 _ACEOF
41187 rm -f conftest.$ac_objext
41188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41189 (eval $ac_compile) 2>conftest.er1
41190 ac_status=$?
41191 grep -v '^ *+' conftest.er1 >conftest.err
41192 rm -f conftest.er1
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } &&
41196 { ac_try='test -z "$ac_cxx_werror_flag"
41197 || test ! -s conftest.err'
41198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199 (eval $ac_try) 2>&5
41200 ac_status=$?
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); }; } &&
41203 { ac_try='test -s conftest.$ac_objext'
41204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41205 (eval $ac_try) 2>&5
41206 ac_status=$?
41207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41208 (exit $ac_status); }; }; then
41209 glibcxx_cv_func__modff_use=yes
41210 else
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41214 glibcxx_cv_func__modff_use=no
41216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41217 ac_ext=c
41218 ac_cpp='$CPP $CPPFLAGS'
41219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
41228 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
41230 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41232 for ac_func in _modff
41234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41235 echo "$as_me:$LINENO: checking for $ac_func" >&5
41236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41237 if eval "test \"\${$as_ac_var+set}\" = set"; then
41238 echo $ECHO_N "(cached) $ECHO_C" >&6
41239 else
41240 if test x$gcc_no_link = xyes; then
41241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41243 { (exit 1); exit 1; }; }
41245 cat >conftest.$ac_ext <<_ACEOF
41246 /* confdefs.h. */
41247 _ACEOF
41248 cat confdefs.h >>conftest.$ac_ext
41249 cat >>conftest.$ac_ext <<_ACEOF
41250 /* end confdefs.h. */
41251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41253 #define $ac_func innocuous_$ac_func
41255 /* System header to define __stub macros and hopefully few prototypes,
41256 which can conflict with char $ac_func (); below.
41257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41258 <limits.h> exists even on freestanding compilers. */
41260 #ifdef __STDC__
41261 # include <limits.h>
41262 #else
41263 # include <assert.h>
41264 #endif
41266 #undef $ac_func
41268 /* Override any gcc2 internal prototype to avoid an error. */
41269 #ifdef __cplusplus
41270 extern "C"
41272 #endif
41273 /* We use char because int might match the return type of a gcc2
41274 builtin and then its argument prototype would still apply. */
41275 char $ac_func ();
41276 /* The GNU C library defines this for functions which it implements
41277 to always fail with ENOSYS. Some functions are actually named
41278 something starting with __ and the normal name is an alias. */
41279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41280 choke me
41281 #else
41282 char (*f) () = $ac_func;
41283 #endif
41284 #ifdef __cplusplus
41286 #endif
41289 main ()
41291 return f != $ac_func;
41293 return 0;
41295 _ACEOF
41296 rm -f conftest.$ac_objext conftest$ac_exeext
41297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41298 (eval $ac_link) 2>conftest.er1
41299 ac_status=$?
41300 grep -v '^ *+' conftest.er1 >conftest.err
41301 rm -f conftest.er1
41302 cat conftest.err >&5
41303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41304 (exit $ac_status); } &&
41305 { ac_try='test -z "$ac_c_werror_flag"
41306 || test ! -s conftest.err'
41307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41308 (eval $ac_try) 2>&5
41309 ac_status=$?
41310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41311 (exit $ac_status); }; } &&
41312 { ac_try='test -s conftest$ac_exeext'
41313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41314 (eval $ac_try) 2>&5
41315 ac_status=$?
41316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41317 (exit $ac_status); }; }; then
41318 eval "$as_ac_var=yes"
41319 else
41320 echo "$as_me: failed program was:" >&5
41321 sed 's/^/| /' conftest.$ac_ext >&5
41323 eval "$as_ac_var=no"
41325 rm -f conftest.err conftest.$ac_objext \
41326 conftest$ac_exeext conftest.$ac_ext
41328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41330 if test `eval echo '${'$as_ac_var'}'` = yes; then
41331 cat >>confdefs.h <<_ACEOF
41332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41333 _ACEOF
41336 done
41346 echo "$as_me:$LINENO: checking for modf declaration" >&5
41347 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
41348 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41349 if test "${glibcxx_cv_func_modf_use+set}" = set; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41355 ac_ext=cc
41356 ac_cpp='$CXXCPP $CPPFLAGS'
41357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41361 cat >conftest.$ac_ext <<_ACEOF
41362 /* confdefs.h. */
41363 _ACEOF
41364 cat confdefs.h >>conftest.$ac_ext
41365 cat >>conftest.$ac_ext <<_ACEOF
41366 /* end confdefs.h. */
41367 #include <math.h>
41369 main ()
41371 modf(0, 0);
41373 return 0;
41375 _ACEOF
41376 rm -f conftest.$ac_objext
41377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41378 (eval $ac_compile) 2>conftest.er1
41379 ac_status=$?
41380 grep -v '^ *+' conftest.er1 >conftest.err
41381 rm -f conftest.er1
41382 cat conftest.err >&5
41383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41384 (exit $ac_status); } &&
41385 { ac_try='test -z "$ac_cxx_werror_flag"
41386 || test ! -s conftest.err'
41387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41388 (eval $ac_try) 2>&5
41389 ac_status=$?
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); }; } &&
41392 { ac_try='test -s conftest.$ac_objext'
41393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41394 (eval $ac_try) 2>&5
41395 ac_status=$?
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); }; }; then
41398 glibcxx_cv_func_modf_use=yes
41399 else
41400 echo "$as_me: failed program was:" >&5
41401 sed 's/^/| /' conftest.$ac_ext >&5
41403 glibcxx_cv_func_modf_use=no
41405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41406 ac_ext=c
41407 ac_cpp='$CPP $CPPFLAGS'
41408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41417 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41419 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41421 for ac_func in modf
41423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41424 echo "$as_me:$LINENO: checking for $ac_func" >&5
41425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41426 if eval "test \"\${$as_ac_var+set}\" = set"; then
41427 echo $ECHO_N "(cached) $ECHO_C" >&6
41428 else
41429 if test x$gcc_no_link = xyes; then
41430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41432 { (exit 1); exit 1; }; }
41434 cat >conftest.$ac_ext <<_ACEOF
41435 /* confdefs.h. */
41436 _ACEOF
41437 cat confdefs.h >>conftest.$ac_ext
41438 cat >>conftest.$ac_ext <<_ACEOF
41439 /* end confdefs.h. */
41440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41442 #define $ac_func innocuous_$ac_func
41444 /* System header to define __stub macros and hopefully few prototypes,
41445 which can conflict with char $ac_func (); below.
41446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41447 <limits.h> exists even on freestanding compilers. */
41449 #ifdef __STDC__
41450 # include <limits.h>
41451 #else
41452 # include <assert.h>
41453 #endif
41455 #undef $ac_func
41457 /* Override any gcc2 internal prototype to avoid an error. */
41458 #ifdef __cplusplus
41459 extern "C"
41461 #endif
41462 /* We use char because int might match the return type of a gcc2
41463 builtin and then its argument prototype would still apply. */
41464 char $ac_func ();
41465 /* The GNU C library defines this for functions which it implements
41466 to always fail with ENOSYS. Some functions are actually named
41467 something starting with __ and the normal name is an alias. */
41468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41469 choke me
41470 #else
41471 char (*f) () = $ac_func;
41472 #endif
41473 #ifdef __cplusplus
41475 #endif
41478 main ()
41480 return f != $ac_func;
41482 return 0;
41484 _ACEOF
41485 rm -f conftest.$ac_objext conftest$ac_exeext
41486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41487 (eval $ac_link) 2>conftest.er1
41488 ac_status=$?
41489 grep -v '^ *+' conftest.er1 >conftest.err
41490 rm -f conftest.er1
41491 cat conftest.err >&5
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); } &&
41494 { ac_try='test -z "$ac_c_werror_flag"
41495 || test ! -s conftest.err'
41496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41497 (eval $ac_try) 2>&5
41498 ac_status=$?
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); }; } &&
41501 { ac_try='test -s conftest$ac_exeext'
41502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41503 (eval $ac_try) 2>&5
41504 ac_status=$?
41505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506 (exit $ac_status); }; }; then
41507 eval "$as_ac_var=yes"
41508 else
41509 echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41512 eval "$as_ac_var=no"
41514 rm -f conftest.err conftest.$ac_objext \
41515 conftest$ac_exeext conftest.$ac_ext
41517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41519 if test `eval echo '${'$as_ac_var'}'` = yes; then
41520 cat >>confdefs.h <<_ACEOF
41521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41522 _ACEOF
41525 done
41527 else
41529 echo "$as_me:$LINENO: checking for _modf declaration" >&5
41530 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41531 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41532 if test "${glibcxx_cv_func__modf_use+set}" = set; then
41533 echo $ECHO_N "(cached) $ECHO_C" >&6
41534 else
41538 ac_ext=cc
41539 ac_cpp='$CXXCPP $CPPFLAGS'
41540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41544 cat >conftest.$ac_ext <<_ACEOF
41545 /* confdefs.h. */
41546 _ACEOF
41547 cat confdefs.h >>conftest.$ac_ext
41548 cat >>conftest.$ac_ext <<_ACEOF
41549 /* end confdefs.h. */
41550 #include <math.h>
41552 main ()
41554 _modf(0, 0);
41556 return 0;
41558 _ACEOF
41559 rm -f conftest.$ac_objext
41560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41561 (eval $ac_compile) 2>conftest.er1
41562 ac_status=$?
41563 grep -v '^ *+' conftest.er1 >conftest.err
41564 rm -f conftest.er1
41565 cat conftest.err >&5
41566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41567 (exit $ac_status); } &&
41568 { ac_try='test -z "$ac_cxx_werror_flag"
41569 || test ! -s conftest.err'
41570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571 (eval $ac_try) 2>&5
41572 ac_status=$?
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; } &&
41575 { ac_try='test -s conftest.$ac_objext'
41576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41577 (eval $ac_try) 2>&5
41578 ac_status=$?
41579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41580 (exit $ac_status); }; }; then
41581 glibcxx_cv_func__modf_use=yes
41582 else
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.$ac_ext >&5
41586 glibcxx_cv_func__modf_use=no
41588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41589 ac_ext=c
41590 ac_cpp='$CPP $CPPFLAGS'
41591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41600 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41602 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41604 for ac_func in _modf
41606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41607 echo "$as_me:$LINENO: checking for $ac_func" >&5
41608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41609 if eval "test \"\${$as_ac_var+set}\" = set"; then
41610 echo $ECHO_N "(cached) $ECHO_C" >&6
41611 else
41612 if test x$gcc_no_link = xyes; then
41613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41615 { (exit 1); exit 1; }; }
41617 cat >conftest.$ac_ext <<_ACEOF
41618 /* confdefs.h. */
41619 _ACEOF
41620 cat confdefs.h >>conftest.$ac_ext
41621 cat >>conftest.$ac_ext <<_ACEOF
41622 /* end confdefs.h. */
41623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41625 #define $ac_func innocuous_$ac_func
41627 /* System header to define __stub macros and hopefully few prototypes,
41628 which can conflict with char $ac_func (); below.
41629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41630 <limits.h> exists even on freestanding compilers. */
41632 #ifdef __STDC__
41633 # include <limits.h>
41634 #else
41635 # include <assert.h>
41636 #endif
41638 #undef $ac_func
41640 /* Override any gcc2 internal prototype to avoid an error. */
41641 #ifdef __cplusplus
41642 extern "C"
41644 #endif
41645 /* We use char because int might match the return type of a gcc2
41646 builtin and then its argument prototype would still apply. */
41647 char $ac_func ();
41648 /* The GNU C library defines this for functions which it implements
41649 to always fail with ENOSYS. Some functions are actually named
41650 something starting with __ and the normal name is an alias. */
41651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41652 choke me
41653 #else
41654 char (*f) () = $ac_func;
41655 #endif
41656 #ifdef __cplusplus
41658 #endif
41661 main ()
41663 return f != $ac_func;
41665 return 0;
41667 _ACEOF
41668 rm -f conftest.$ac_objext conftest$ac_exeext
41669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41670 (eval $ac_link) 2>conftest.er1
41671 ac_status=$?
41672 grep -v '^ *+' conftest.er1 >conftest.err
41673 rm -f conftest.er1
41674 cat conftest.err >&5
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); } &&
41677 { ac_try='test -z "$ac_c_werror_flag"
41678 || test ! -s conftest.err'
41679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41680 (eval $ac_try) 2>&5
41681 ac_status=$?
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); }; } &&
41684 { ac_try='test -s conftest$ac_exeext'
41685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41686 (eval $ac_try) 2>&5
41687 ac_status=$?
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); }; }; then
41690 eval "$as_ac_var=yes"
41691 else
41692 echo "$as_me: failed program was:" >&5
41693 sed 's/^/| /' conftest.$ac_ext >&5
41695 eval "$as_ac_var=no"
41697 rm -f conftest.err conftest.$ac_objext \
41698 conftest$ac_exeext conftest.$ac_ext
41700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41702 if test `eval echo '${'$as_ac_var'}'` = yes; then
41703 cat >>confdefs.h <<_ACEOF
41704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41705 _ACEOF
41708 done
41718 echo "$as_me:$LINENO: checking for powf declaration" >&5
41719 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41720 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41721 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41722 echo $ECHO_N "(cached) $ECHO_C" >&6
41723 else
41727 ac_ext=cc
41728 ac_cpp='$CXXCPP $CPPFLAGS'
41729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739 #include <math.h>
41741 main ()
41743 powf(0, 0);
41745 return 0;
41747 _ACEOF
41748 rm -f conftest.$ac_objext
41749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41750 (eval $ac_compile) 2>conftest.er1
41751 ac_status=$?
41752 grep -v '^ *+' conftest.er1 >conftest.err
41753 rm -f conftest.er1
41754 cat conftest.err >&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } &&
41757 { ac_try='test -z "$ac_cxx_werror_flag"
41758 || test ! -s conftest.err'
41759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41760 (eval $ac_try) 2>&5
41761 ac_status=$?
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; } &&
41764 { ac_try='test -s conftest.$ac_objext'
41765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41766 (eval $ac_try) 2>&5
41767 ac_status=$?
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); }; }; then
41770 glibcxx_cv_func_powf_use=yes
41771 else
41772 echo "$as_me: failed program was:" >&5
41773 sed 's/^/| /' conftest.$ac_ext >&5
41775 glibcxx_cv_func_powf_use=no
41777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41778 ac_ext=c
41779 ac_cpp='$CPP $CPPFLAGS'
41780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41789 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41791 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41793 for ac_func in powf
41795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41796 echo "$as_me:$LINENO: checking for $ac_func" >&5
41797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41798 if eval "test \"\${$as_ac_var+set}\" = set"; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801 if test x$gcc_no_link = xyes; then
41802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41804 { (exit 1); exit 1; }; }
41806 cat >conftest.$ac_ext <<_ACEOF
41807 /* confdefs.h. */
41808 _ACEOF
41809 cat confdefs.h >>conftest.$ac_ext
41810 cat >>conftest.$ac_ext <<_ACEOF
41811 /* end confdefs.h. */
41812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41814 #define $ac_func innocuous_$ac_func
41816 /* System header to define __stub macros and hopefully few prototypes,
41817 which can conflict with char $ac_func (); below.
41818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41819 <limits.h> exists even on freestanding compilers. */
41821 #ifdef __STDC__
41822 # include <limits.h>
41823 #else
41824 # include <assert.h>
41825 #endif
41827 #undef $ac_func
41829 /* Override any gcc2 internal prototype to avoid an error. */
41830 #ifdef __cplusplus
41831 extern "C"
41833 #endif
41834 /* We use char because int might match the return type of a gcc2
41835 builtin and then its argument prototype would still apply. */
41836 char $ac_func ();
41837 /* The GNU C library defines this for functions which it implements
41838 to always fail with ENOSYS. Some functions are actually named
41839 something starting with __ and the normal name is an alias. */
41840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41841 choke me
41842 #else
41843 char (*f) () = $ac_func;
41844 #endif
41845 #ifdef __cplusplus
41847 #endif
41850 main ()
41852 return f != $ac_func;
41854 return 0;
41856 _ACEOF
41857 rm -f conftest.$ac_objext conftest$ac_exeext
41858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41859 (eval $ac_link) 2>conftest.er1
41860 ac_status=$?
41861 grep -v '^ *+' conftest.er1 >conftest.err
41862 rm -f conftest.er1
41863 cat conftest.err >&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); } &&
41866 { ac_try='test -z "$ac_c_werror_flag"
41867 || test ! -s conftest.err'
41868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41869 (eval $ac_try) 2>&5
41870 ac_status=$?
41871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41872 (exit $ac_status); }; } &&
41873 { ac_try='test -s conftest$ac_exeext'
41874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41875 (eval $ac_try) 2>&5
41876 ac_status=$?
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); }; }; then
41879 eval "$as_ac_var=yes"
41880 else
41881 echo "$as_me: failed program was:" >&5
41882 sed 's/^/| /' conftest.$ac_ext >&5
41884 eval "$as_ac_var=no"
41886 rm -f conftest.err conftest.$ac_objext \
41887 conftest$ac_exeext conftest.$ac_ext
41889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41891 if test `eval echo '${'$as_ac_var'}'` = yes; then
41892 cat >>confdefs.h <<_ACEOF
41893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41894 _ACEOF
41897 done
41899 else
41901 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41902 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41903 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41904 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41905 echo $ECHO_N "(cached) $ECHO_C" >&6
41906 else
41910 ac_ext=cc
41911 ac_cpp='$CXXCPP $CPPFLAGS'
41912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41916 cat >conftest.$ac_ext <<_ACEOF
41917 /* confdefs.h. */
41918 _ACEOF
41919 cat confdefs.h >>conftest.$ac_ext
41920 cat >>conftest.$ac_ext <<_ACEOF
41921 /* end confdefs.h. */
41922 #include <math.h>
41924 main ()
41926 _powf(0, 0);
41928 return 0;
41930 _ACEOF
41931 rm -f conftest.$ac_objext
41932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41933 (eval $ac_compile) 2>conftest.er1
41934 ac_status=$?
41935 grep -v '^ *+' conftest.er1 >conftest.err
41936 rm -f conftest.er1
41937 cat conftest.err >&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } &&
41940 { ac_try='test -z "$ac_cxx_werror_flag"
41941 || test ! -s conftest.err'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41944 ac_status=$?
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; } &&
41947 { ac_try='test -s conftest.$ac_objext'
41948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41949 (eval $ac_try) 2>&5
41950 ac_status=$?
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); }; }; then
41953 glibcxx_cv_func__powf_use=yes
41954 else
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.$ac_ext >&5
41958 glibcxx_cv_func__powf_use=no
41960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41961 ac_ext=c
41962 ac_cpp='$CPP $CPPFLAGS'
41963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41972 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41974 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41976 for ac_func in _powf
41978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41979 echo "$as_me:$LINENO: checking for $ac_func" >&5
41980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41981 if eval "test \"\${$as_ac_var+set}\" = set"; then
41982 echo $ECHO_N "(cached) $ECHO_C" >&6
41983 else
41984 if test x$gcc_no_link = xyes; then
41985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41987 { (exit 1); exit 1; }; }
41989 cat >conftest.$ac_ext <<_ACEOF
41990 /* confdefs.h. */
41991 _ACEOF
41992 cat confdefs.h >>conftest.$ac_ext
41993 cat >>conftest.$ac_ext <<_ACEOF
41994 /* end confdefs.h. */
41995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41997 #define $ac_func innocuous_$ac_func
41999 /* System header to define __stub macros and hopefully few prototypes,
42000 which can conflict with char $ac_func (); below.
42001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42002 <limits.h> exists even on freestanding compilers. */
42004 #ifdef __STDC__
42005 # include <limits.h>
42006 #else
42007 # include <assert.h>
42008 #endif
42010 #undef $ac_func
42012 /* Override any gcc2 internal prototype to avoid an error. */
42013 #ifdef __cplusplus
42014 extern "C"
42016 #endif
42017 /* We use char because int might match the return type of a gcc2
42018 builtin and then its argument prototype would still apply. */
42019 char $ac_func ();
42020 /* The GNU C library defines this for functions which it implements
42021 to always fail with ENOSYS. Some functions are actually named
42022 something starting with __ and the normal name is an alias. */
42023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42024 choke me
42025 #else
42026 char (*f) () = $ac_func;
42027 #endif
42028 #ifdef __cplusplus
42030 #endif
42033 main ()
42035 return f != $ac_func;
42037 return 0;
42039 _ACEOF
42040 rm -f conftest.$ac_objext conftest$ac_exeext
42041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42042 (eval $ac_link) 2>conftest.er1
42043 ac_status=$?
42044 grep -v '^ *+' conftest.er1 >conftest.err
42045 rm -f conftest.er1
42046 cat conftest.err >&5
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); } &&
42049 { ac_try='test -z "$ac_c_werror_flag"
42050 || test ! -s conftest.err'
42051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42052 (eval $ac_try) 2>&5
42053 ac_status=$?
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); }; } &&
42056 { ac_try='test -s conftest$ac_exeext'
42057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42058 (eval $ac_try) 2>&5
42059 ac_status=$?
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); }; }; then
42062 eval "$as_ac_var=yes"
42063 else
42064 echo "$as_me: failed program was:" >&5
42065 sed 's/^/| /' conftest.$ac_ext >&5
42067 eval "$as_ac_var=no"
42069 rm -f conftest.err conftest.$ac_objext \
42070 conftest$ac_exeext conftest.$ac_ext
42072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42074 if test `eval echo '${'$as_ac_var'}'` = yes; then
42075 cat >>confdefs.h <<_ACEOF
42076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42077 _ACEOF
42080 done
42090 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
42091 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
42092 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42093 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
42094 echo $ECHO_N "(cached) $ECHO_C" >&6
42095 else
42099 ac_ext=cc
42100 ac_cpp='$CXXCPP $CPPFLAGS'
42101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42105 cat >conftest.$ac_ext <<_ACEOF
42106 /* confdefs.h. */
42107 _ACEOF
42108 cat confdefs.h >>conftest.$ac_ext
42109 cat >>conftest.$ac_ext <<_ACEOF
42110 /* end confdefs.h. */
42111 #include <math.h>
42112 #ifdef HAVE_IEEEFP_H
42113 #include <ieeefp.h>
42114 #endif
42117 main ()
42119 sqrtf(0);
42121 return 0;
42123 _ACEOF
42124 rm -f conftest.$ac_objext
42125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42126 (eval $ac_compile) 2>conftest.er1
42127 ac_status=$?
42128 grep -v '^ *+' conftest.er1 >conftest.err
42129 rm -f conftest.er1
42130 cat conftest.err >&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); } &&
42133 { ac_try='test -z "$ac_cxx_werror_flag"
42134 || test ! -s conftest.err'
42135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42136 (eval $ac_try) 2>&5
42137 ac_status=$?
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); }; } &&
42140 { ac_try='test -s conftest.$ac_objext'
42141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42142 (eval $ac_try) 2>&5
42143 ac_status=$?
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); }; }; then
42146 glibcxx_cv_func_sqrtf_use=yes
42147 else
42148 echo "$as_me: failed program was:" >&5
42149 sed 's/^/| /' conftest.$ac_ext >&5
42151 glibcxx_cv_func_sqrtf_use=no
42153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42154 ac_ext=c
42155 ac_cpp='$CPP $CPPFLAGS'
42156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
42165 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
42167 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42169 for ac_func in sqrtf
42171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42172 echo "$as_me:$LINENO: checking for $ac_func" >&5
42173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42174 if eval "test \"\${$as_ac_var+set}\" = set"; then
42175 echo $ECHO_N "(cached) $ECHO_C" >&6
42176 else
42177 if test x$gcc_no_link = xyes; then
42178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42180 { (exit 1); exit 1; }; }
42182 cat >conftest.$ac_ext <<_ACEOF
42183 /* confdefs.h. */
42184 _ACEOF
42185 cat confdefs.h >>conftest.$ac_ext
42186 cat >>conftest.$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42190 #define $ac_func innocuous_$ac_func
42192 /* System header to define __stub macros and hopefully few prototypes,
42193 which can conflict with char $ac_func (); below.
42194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42195 <limits.h> exists even on freestanding compilers. */
42197 #ifdef __STDC__
42198 # include <limits.h>
42199 #else
42200 # include <assert.h>
42201 #endif
42203 #undef $ac_func
42205 /* Override any gcc2 internal prototype to avoid an error. */
42206 #ifdef __cplusplus
42207 extern "C"
42209 #endif
42210 /* We use char because int might match the return type of a gcc2
42211 builtin and then its argument prototype would still apply. */
42212 char $ac_func ();
42213 /* The GNU C library defines this for functions which it implements
42214 to always fail with ENOSYS. Some functions are actually named
42215 something starting with __ and the normal name is an alias. */
42216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42217 choke me
42218 #else
42219 char (*f) () = $ac_func;
42220 #endif
42221 #ifdef __cplusplus
42223 #endif
42226 main ()
42228 return f != $ac_func;
42230 return 0;
42232 _ACEOF
42233 rm -f conftest.$ac_objext conftest$ac_exeext
42234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42235 (eval $ac_link) 2>conftest.er1
42236 ac_status=$?
42237 grep -v '^ *+' conftest.er1 >conftest.err
42238 rm -f conftest.er1
42239 cat conftest.err >&5
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); } &&
42242 { ac_try='test -z "$ac_c_werror_flag"
42243 || test ! -s conftest.err'
42244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42245 (eval $ac_try) 2>&5
42246 ac_status=$?
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; } &&
42249 { ac_try='test -s conftest$ac_exeext'
42250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42251 (eval $ac_try) 2>&5
42252 ac_status=$?
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); }; }; then
42255 eval "$as_ac_var=yes"
42256 else
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42260 eval "$as_ac_var=no"
42262 rm -f conftest.err conftest.$ac_objext \
42263 conftest$ac_exeext conftest.$ac_ext
42265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42267 if test `eval echo '${'$as_ac_var'}'` = yes; then
42268 cat >>confdefs.h <<_ACEOF
42269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42270 _ACEOF
42273 done
42275 else
42277 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
42278 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
42279 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42280 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
42281 echo $ECHO_N "(cached) $ECHO_C" >&6
42282 else
42286 ac_ext=cc
42287 ac_cpp='$CXXCPP $CPPFLAGS'
42288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42292 cat >conftest.$ac_ext <<_ACEOF
42293 /* confdefs.h. */
42294 _ACEOF
42295 cat confdefs.h >>conftest.$ac_ext
42296 cat >>conftest.$ac_ext <<_ACEOF
42297 /* end confdefs.h. */
42298 #include <math.h>
42299 #ifdef HAVE_IEEEFP_H
42300 #include <ieeefp.h>
42301 #endif
42304 main ()
42306 _sqrtf(0);
42308 return 0;
42310 _ACEOF
42311 rm -f conftest.$ac_objext
42312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42313 (eval $ac_compile) 2>conftest.er1
42314 ac_status=$?
42315 grep -v '^ *+' conftest.er1 >conftest.err
42316 rm -f conftest.er1
42317 cat conftest.err >&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try='test -z "$ac_cxx_werror_flag"
42321 || test ! -s conftest.err'
42322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42323 (eval $ac_try) 2>&5
42324 ac_status=$?
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); }; } &&
42327 { ac_try='test -s conftest.$ac_objext'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42330 ac_status=$?
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; }; then
42333 glibcxx_cv_func__sqrtf_use=yes
42334 else
42335 echo "$as_me: failed program was:" >&5
42336 sed 's/^/| /' conftest.$ac_ext >&5
42338 glibcxx_cv_func__sqrtf_use=no
42340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42341 ac_ext=c
42342 ac_cpp='$CPP $CPPFLAGS'
42343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
42352 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
42354 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42356 for ac_func in _sqrtf
42358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42359 echo "$as_me:$LINENO: checking for $ac_func" >&5
42360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42361 if eval "test \"\${$as_ac_var+set}\" = set"; then
42362 echo $ECHO_N "(cached) $ECHO_C" >&6
42363 else
42364 if test x$gcc_no_link = xyes; then
42365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42367 { (exit 1); exit 1; }; }
42369 cat >conftest.$ac_ext <<_ACEOF
42370 /* confdefs.h. */
42371 _ACEOF
42372 cat confdefs.h >>conftest.$ac_ext
42373 cat >>conftest.$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42377 #define $ac_func innocuous_$ac_func
42379 /* System header to define __stub macros and hopefully few prototypes,
42380 which can conflict with char $ac_func (); below.
42381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42382 <limits.h> exists even on freestanding compilers. */
42384 #ifdef __STDC__
42385 # include <limits.h>
42386 #else
42387 # include <assert.h>
42388 #endif
42390 #undef $ac_func
42392 /* Override any gcc2 internal prototype to avoid an error. */
42393 #ifdef __cplusplus
42394 extern "C"
42396 #endif
42397 /* We use char because int might match the return type of a gcc2
42398 builtin and then its argument prototype would still apply. */
42399 char $ac_func ();
42400 /* The GNU C library defines this for functions which it implements
42401 to always fail with ENOSYS. Some functions are actually named
42402 something starting with __ and the normal name is an alias. */
42403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42404 choke me
42405 #else
42406 char (*f) () = $ac_func;
42407 #endif
42408 #ifdef __cplusplus
42410 #endif
42413 main ()
42415 return f != $ac_func;
42417 return 0;
42419 _ACEOF
42420 rm -f conftest.$ac_objext conftest$ac_exeext
42421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42422 (eval $ac_link) 2>conftest.er1
42423 ac_status=$?
42424 grep -v '^ *+' conftest.er1 >conftest.err
42425 rm -f conftest.er1
42426 cat conftest.err >&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); } &&
42429 { ac_try='test -z "$ac_c_werror_flag"
42430 || test ! -s conftest.err'
42431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42432 (eval $ac_try) 2>&5
42433 ac_status=$?
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); }; } &&
42436 { ac_try='test -s conftest$ac_exeext'
42437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438 (eval $ac_try) 2>&5
42439 ac_status=$?
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); }; }; then
42442 eval "$as_ac_var=yes"
42443 else
42444 echo "$as_me: failed program was:" >&5
42445 sed 's/^/| /' conftest.$ac_ext >&5
42447 eval "$as_ac_var=no"
42449 rm -f conftest.err conftest.$ac_objext \
42450 conftest$ac_exeext conftest.$ac_ext
42452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42454 if test `eval echo '${'$as_ac_var'}'` = yes; then
42455 cat >>confdefs.h <<_ACEOF
42456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42457 _ACEOF
42460 done
42470 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42471 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42472 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42473 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42474 echo $ECHO_N "(cached) $ECHO_C" >&6
42475 else
42479 ac_ext=cc
42480 ac_cpp='$CXXCPP $CPPFLAGS'
42481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42485 cat >conftest.$ac_ext <<_ACEOF
42486 /* confdefs.h. */
42487 _ACEOF
42488 cat confdefs.h >>conftest.$ac_ext
42489 cat >>conftest.$ac_ext <<_ACEOF
42490 /* end confdefs.h. */
42491 #include <math.h>
42493 main ()
42495 sincosf(0, 0, 0);
42497 return 0;
42499 _ACEOF
42500 rm -f conftest.$ac_objext
42501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42502 (eval $ac_compile) 2>conftest.er1
42503 ac_status=$?
42504 grep -v '^ *+' conftest.er1 >conftest.err
42505 rm -f conftest.er1
42506 cat conftest.err >&5
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); } &&
42509 { ac_try='test -z "$ac_cxx_werror_flag"
42510 || test ! -s conftest.err'
42511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42512 (eval $ac_try) 2>&5
42513 ac_status=$?
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); }; } &&
42516 { ac_try='test -s conftest.$ac_objext'
42517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42518 (eval $ac_try) 2>&5
42519 ac_status=$?
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; }; then
42522 glibcxx_cv_func_sincosf_use=yes
42523 else
42524 echo "$as_me: failed program was:" >&5
42525 sed 's/^/| /' conftest.$ac_ext >&5
42527 glibcxx_cv_func_sincosf_use=no
42529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42530 ac_ext=c
42531 ac_cpp='$CPP $CPPFLAGS'
42532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42541 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42543 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42545 for ac_func in sincosf
42547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42548 echo "$as_me:$LINENO: checking for $ac_func" >&5
42549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42550 if eval "test \"\${$as_ac_var+set}\" = set"; then
42551 echo $ECHO_N "(cached) $ECHO_C" >&6
42552 else
42553 if test x$gcc_no_link = xyes; then
42554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42556 { (exit 1); exit 1; }; }
42558 cat >conftest.$ac_ext <<_ACEOF
42559 /* confdefs.h. */
42560 _ACEOF
42561 cat confdefs.h >>conftest.$ac_ext
42562 cat >>conftest.$ac_ext <<_ACEOF
42563 /* end confdefs.h. */
42564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42566 #define $ac_func innocuous_$ac_func
42568 /* System header to define __stub macros and hopefully few prototypes,
42569 which can conflict with char $ac_func (); below.
42570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42571 <limits.h> exists even on freestanding compilers. */
42573 #ifdef __STDC__
42574 # include <limits.h>
42575 #else
42576 # include <assert.h>
42577 #endif
42579 #undef $ac_func
42581 /* Override any gcc2 internal prototype to avoid an error. */
42582 #ifdef __cplusplus
42583 extern "C"
42585 #endif
42586 /* We use char because int might match the return type of a gcc2
42587 builtin and then its argument prototype would still apply. */
42588 char $ac_func ();
42589 /* The GNU C library defines this for functions which it implements
42590 to always fail with ENOSYS. Some functions are actually named
42591 something starting with __ and the normal name is an alias. */
42592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42593 choke me
42594 #else
42595 char (*f) () = $ac_func;
42596 #endif
42597 #ifdef __cplusplus
42599 #endif
42602 main ()
42604 return f != $ac_func;
42606 return 0;
42608 _ACEOF
42609 rm -f conftest.$ac_objext conftest$ac_exeext
42610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42611 (eval $ac_link) 2>conftest.er1
42612 ac_status=$?
42613 grep -v '^ *+' conftest.er1 >conftest.err
42614 rm -f conftest.er1
42615 cat conftest.err >&5
42616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42617 (exit $ac_status); } &&
42618 { ac_try='test -z "$ac_c_werror_flag"
42619 || test ! -s conftest.err'
42620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42621 (eval $ac_try) 2>&5
42622 ac_status=$?
42623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42624 (exit $ac_status); }; } &&
42625 { ac_try='test -s conftest$ac_exeext'
42626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42627 (eval $ac_try) 2>&5
42628 ac_status=$?
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); }; }; then
42631 eval "$as_ac_var=yes"
42632 else
42633 echo "$as_me: failed program was:" >&5
42634 sed 's/^/| /' conftest.$ac_ext >&5
42636 eval "$as_ac_var=no"
42638 rm -f conftest.err conftest.$ac_objext \
42639 conftest$ac_exeext conftest.$ac_ext
42641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42643 if test `eval echo '${'$as_ac_var'}'` = yes; then
42644 cat >>confdefs.h <<_ACEOF
42645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42646 _ACEOF
42649 done
42651 else
42653 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42654 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42655 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42656 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42657 echo $ECHO_N "(cached) $ECHO_C" >&6
42658 else
42662 ac_ext=cc
42663 ac_cpp='$CXXCPP $CPPFLAGS'
42664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42668 cat >conftest.$ac_ext <<_ACEOF
42669 /* confdefs.h. */
42670 _ACEOF
42671 cat confdefs.h >>conftest.$ac_ext
42672 cat >>conftest.$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42674 #include <math.h>
42676 main ()
42678 _sincosf(0, 0, 0);
42680 return 0;
42682 _ACEOF
42683 rm -f conftest.$ac_objext
42684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42685 (eval $ac_compile) 2>conftest.er1
42686 ac_status=$?
42687 grep -v '^ *+' conftest.er1 >conftest.err
42688 rm -f conftest.er1
42689 cat conftest.err >&5
42690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691 (exit $ac_status); } &&
42692 { ac_try='test -z "$ac_cxx_werror_flag"
42693 || test ! -s conftest.err'
42694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42695 (eval $ac_try) 2>&5
42696 ac_status=$?
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); }; } &&
42699 { ac_try='test -s conftest.$ac_objext'
42700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42701 (eval $ac_try) 2>&5
42702 ac_status=$?
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); }; }; then
42705 glibcxx_cv_func__sincosf_use=yes
42706 else
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.$ac_ext >&5
42710 glibcxx_cv_func__sincosf_use=no
42712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42713 ac_ext=c
42714 ac_cpp='$CPP $CPPFLAGS'
42715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42724 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42726 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42728 for ac_func in _sincosf
42730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42731 echo "$as_me:$LINENO: checking for $ac_func" >&5
42732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42733 if eval "test \"\${$as_ac_var+set}\" = set"; then
42734 echo $ECHO_N "(cached) $ECHO_C" >&6
42735 else
42736 if test x$gcc_no_link = xyes; then
42737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42739 { (exit 1); exit 1; }; }
42741 cat >conftest.$ac_ext <<_ACEOF
42742 /* confdefs.h. */
42743 _ACEOF
42744 cat confdefs.h >>conftest.$ac_ext
42745 cat >>conftest.$ac_ext <<_ACEOF
42746 /* end confdefs.h. */
42747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42749 #define $ac_func innocuous_$ac_func
42751 /* System header to define __stub macros and hopefully few prototypes,
42752 which can conflict with char $ac_func (); below.
42753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42754 <limits.h> exists even on freestanding compilers. */
42756 #ifdef __STDC__
42757 # include <limits.h>
42758 #else
42759 # include <assert.h>
42760 #endif
42762 #undef $ac_func
42764 /* Override any gcc2 internal prototype to avoid an error. */
42765 #ifdef __cplusplus
42766 extern "C"
42768 #endif
42769 /* We use char because int might match the return type of a gcc2
42770 builtin and then its argument prototype would still apply. */
42771 char $ac_func ();
42772 /* The GNU C library defines this for functions which it implements
42773 to always fail with ENOSYS. Some functions are actually named
42774 something starting with __ and the normal name is an alias. */
42775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42776 choke me
42777 #else
42778 char (*f) () = $ac_func;
42779 #endif
42780 #ifdef __cplusplus
42782 #endif
42785 main ()
42787 return f != $ac_func;
42789 return 0;
42791 _ACEOF
42792 rm -f conftest.$ac_objext conftest$ac_exeext
42793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42794 (eval $ac_link) 2>conftest.er1
42795 ac_status=$?
42796 grep -v '^ *+' conftest.er1 >conftest.err
42797 rm -f conftest.er1
42798 cat conftest.err >&5
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); } &&
42801 { ac_try='test -z "$ac_c_werror_flag"
42802 || test ! -s conftest.err'
42803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42804 (eval $ac_try) 2>&5
42805 ac_status=$?
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); }; } &&
42808 { ac_try='test -s conftest$ac_exeext'
42809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42810 (eval $ac_try) 2>&5
42811 ac_status=$?
42812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42813 (exit $ac_status); }; }; then
42814 eval "$as_ac_var=yes"
42815 else
42816 echo "$as_me: failed program was:" >&5
42817 sed 's/^/| /' conftest.$ac_ext >&5
42819 eval "$as_ac_var=no"
42821 rm -f conftest.err conftest.$ac_objext \
42822 conftest$ac_exeext conftest.$ac_ext
42824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42826 if test `eval echo '${'$as_ac_var'}'` = yes; then
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42829 _ACEOF
42832 done
42842 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42843 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42844 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42845 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42846 echo $ECHO_N "(cached) $ECHO_C" >&6
42847 else
42851 ac_ext=cc
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857 cat >conftest.$ac_ext <<_ACEOF
42858 /* confdefs.h. */
42859 _ACEOF
42860 cat confdefs.h >>conftest.$ac_ext
42861 cat >>conftest.$ac_ext <<_ACEOF
42862 /* end confdefs.h. */
42863 #include <math.h>
42864 #ifdef HAVE_IEEEFP_H
42865 #include <ieeefp.h>
42866 #endif
42869 main ()
42871 finitef(0);
42873 return 0;
42875 _ACEOF
42876 rm -f conftest.$ac_objext
42877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42878 (eval $ac_compile) 2>conftest.er1
42879 ac_status=$?
42880 grep -v '^ *+' conftest.er1 >conftest.err
42881 rm -f conftest.er1
42882 cat conftest.err >&5
42883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42884 (exit $ac_status); } &&
42885 { ac_try='test -z "$ac_cxx_werror_flag"
42886 || test ! -s conftest.err'
42887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42888 (eval $ac_try) 2>&5
42889 ac_status=$?
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; } &&
42892 { ac_try='test -s conftest.$ac_objext'
42893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42894 (eval $ac_try) 2>&5
42895 ac_status=$?
42896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42897 (exit $ac_status); }; }; then
42898 glibcxx_cv_func_finitef_use=yes
42899 else
42900 echo "$as_me: failed program was:" >&5
42901 sed 's/^/| /' conftest.$ac_ext >&5
42903 glibcxx_cv_func_finitef_use=no
42905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42906 ac_ext=c
42907 ac_cpp='$CPP $CPPFLAGS'
42908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42917 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42919 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42921 for ac_func in finitef
42923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42924 echo "$as_me:$LINENO: checking for $ac_func" >&5
42925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42926 if eval "test \"\${$as_ac_var+set}\" = set"; then
42927 echo $ECHO_N "(cached) $ECHO_C" >&6
42928 else
42929 if test x$gcc_no_link = xyes; then
42930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42932 { (exit 1); exit 1; }; }
42934 cat >conftest.$ac_ext <<_ACEOF
42935 /* confdefs.h. */
42936 _ACEOF
42937 cat confdefs.h >>conftest.$ac_ext
42938 cat >>conftest.$ac_ext <<_ACEOF
42939 /* end confdefs.h. */
42940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42942 #define $ac_func innocuous_$ac_func
42944 /* System header to define __stub macros and hopefully few prototypes,
42945 which can conflict with char $ac_func (); below.
42946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42947 <limits.h> exists even on freestanding compilers. */
42949 #ifdef __STDC__
42950 # include <limits.h>
42951 #else
42952 # include <assert.h>
42953 #endif
42955 #undef $ac_func
42957 /* Override any gcc2 internal prototype to avoid an error. */
42958 #ifdef __cplusplus
42959 extern "C"
42961 #endif
42962 /* We use char because int might match the return type of a gcc2
42963 builtin and then its argument prototype would still apply. */
42964 char $ac_func ();
42965 /* The GNU C library defines this for functions which it implements
42966 to always fail with ENOSYS. Some functions are actually named
42967 something starting with __ and the normal name is an alias. */
42968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42969 choke me
42970 #else
42971 char (*f) () = $ac_func;
42972 #endif
42973 #ifdef __cplusplus
42975 #endif
42978 main ()
42980 return f != $ac_func;
42982 return 0;
42984 _ACEOF
42985 rm -f conftest.$ac_objext conftest$ac_exeext
42986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42987 (eval $ac_link) 2>conftest.er1
42988 ac_status=$?
42989 grep -v '^ *+' conftest.er1 >conftest.err
42990 rm -f conftest.er1
42991 cat conftest.err >&5
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); } &&
42994 { ac_try='test -z "$ac_c_werror_flag"
42995 || test ! -s conftest.err'
42996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42997 (eval $ac_try) 2>&5
42998 ac_status=$?
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); }; } &&
43001 { ac_try='test -s conftest$ac_exeext'
43002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43003 (eval $ac_try) 2>&5
43004 ac_status=$?
43005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43006 (exit $ac_status); }; }; then
43007 eval "$as_ac_var=yes"
43008 else
43009 echo "$as_me: failed program was:" >&5
43010 sed 's/^/| /' conftest.$ac_ext >&5
43012 eval "$as_ac_var=no"
43014 rm -f conftest.err conftest.$ac_objext \
43015 conftest$ac_exeext conftest.$ac_ext
43017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43019 if test `eval echo '${'$as_ac_var'}'` = yes; then
43020 cat >>confdefs.h <<_ACEOF
43021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43022 _ACEOF
43025 done
43027 else
43029 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
43030 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
43031 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43032 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
43033 echo $ECHO_N "(cached) $ECHO_C" >&6
43034 else
43038 ac_ext=cc
43039 ac_cpp='$CXXCPP $CPPFLAGS'
43040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044 cat >conftest.$ac_ext <<_ACEOF
43045 /* confdefs.h. */
43046 _ACEOF
43047 cat confdefs.h >>conftest.$ac_ext
43048 cat >>conftest.$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43050 #include <math.h>
43051 #ifdef HAVE_IEEEFP_H
43052 #include <ieeefp.h>
43053 #endif
43056 main ()
43058 _finitef(0);
43060 return 0;
43062 _ACEOF
43063 rm -f conftest.$ac_objext
43064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43065 (eval $ac_compile) 2>conftest.er1
43066 ac_status=$?
43067 grep -v '^ *+' conftest.er1 >conftest.err
43068 rm -f conftest.er1
43069 cat conftest.err >&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); } &&
43072 { ac_try='test -z "$ac_cxx_werror_flag"
43073 || test ! -s conftest.err'
43074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43075 (eval $ac_try) 2>&5
43076 ac_status=$?
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); }; } &&
43079 { ac_try='test -s conftest.$ac_objext'
43080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43081 (eval $ac_try) 2>&5
43082 ac_status=$?
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); }; }; then
43085 glibcxx_cv_func__finitef_use=yes
43086 else
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.$ac_ext >&5
43090 glibcxx_cv_func__finitef_use=no
43092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43093 ac_ext=c
43094 ac_cpp='$CPP $CPPFLAGS'
43095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
43104 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
43106 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43108 for ac_func in _finitef
43110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43111 echo "$as_me:$LINENO: checking for $ac_func" >&5
43112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43113 if eval "test \"\${$as_ac_var+set}\" = set"; then
43114 echo $ECHO_N "(cached) $ECHO_C" >&6
43115 else
43116 if test x$gcc_no_link = xyes; then
43117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43119 { (exit 1); exit 1; }; }
43121 cat >conftest.$ac_ext <<_ACEOF
43122 /* confdefs.h. */
43123 _ACEOF
43124 cat confdefs.h >>conftest.$ac_ext
43125 cat >>conftest.$ac_ext <<_ACEOF
43126 /* end confdefs.h. */
43127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43129 #define $ac_func innocuous_$ac_func
43131 /* System header to define __stub macros and hopefully few prototypes,
43132 which can conflict with char $ac_func (); below.
43133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43134 <limits.h> exists even on freestanding compilers. */
43136 #ifdef __STDC__
43137 # include <limits.h>
43138 #else
43139 # include <assert.h>
43140 #endif
43142 #undef $ac_func
43144 /* Override any gcc2 internal prototype to avoid an error. */
43145 #ifdef __cplusplus
43146 extern "C"
43148 #endif
43149 /* We use char because int might match the return type of a gcc2
43150 builtin and then its argument prototype would still apply. */
43151 char $ac_func ();
43152 /* The GNU C library defines this for functions which it implements
43153 to always fail with ENOSYS. Some functions are actually named
43154 something starting with __ and the normal name is an alias. */
43155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43156 choke me
43157 #else
43158 char (*f) () = $ac_func;
43159 #endif
43160 #ifdef __cplusplus
43162 #endif
43165 main ()
43167 return f != $ac_func;
43169 return 0;
43171 _ACEOF
43172 rm -f conftest.$ac_objext conftest$ac_exeext
43173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43174 (eval $ac_link) 2>conftest.er1
43175 ac_status=$?
43176 grep -v '^ *+' conftest.er1 >conftest.err
43177 rm -f conftest.er1
43178 cat conftest.err >&5
43179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180 (exit $ac_status); } &&
43181 { ac_try='test -z "$ac_c_werror_flag"
43182 || test ! -s conftest.err'
43183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43184 (eval $ac_try) 2>&5
43185 ac_status=$?
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); }; } &&
43188 { ac_try='test -s conftest$ac_exeext'
43189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43190 (eval $ac_try) 2>&5
43191 ac_status=$?
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); }; }; then
43194 eval "$as_ac_var=yes"
43195 else
43196 echo "$as_me: failed program was:" >&5
43197 sed 's/^/| /' conftest.$ac_ext >&5
43199 eval "$as_ac_var=no"
43201 rm -f conftest.err conftest.$ac_objext \
43202 conftest$ac_exeext conftest.$ac_ext
43204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43206 if test `eval echo '${'$as_ac_var'}'` = yes; then
43207 cat >>confdefs.h <<_ACEOF
43208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43209 _ACEOF
43212 done
43222 echo "$as_me:$LINENO: checking for long double trig functions" >&5
43223 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
43224 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
43225 echo $ECHO_N "(cached) $ECHO_C" >&6
43226 else
43230 ac_ext=cc
43231 ac_cpp='$CXXCPP $CPPFLAGS'
43232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43236 cat >conftest.$ac_ext <<_ACEOF
43237 /* confdefs.h. */
43238 _ACEOF
43239 cat confdefs.h >>conftest.$ac_ext
43240 cat >>conftest.$ac_ext <<_ACEOF
43241 /* end confdefs.h. */
43242 #include <math.h>
43244 main ()
43246 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43248 return 0;
43250 _ACEOF
43251 rm -f conftest.$ac_objext
43252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43253 (eval $ac_compile) 2>conftest.er1
43254 ac_status=$?
43255 grep -v '^ *+' conftest.er1 >conftest.err
43256 rm -f conftest.er1
43257 cat conftest.err >&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); } &&
43260 { ac_try='test -z "$ac_cxx_werror_flag"
43261 || test ! -s conftest.err'
43262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43263 (eval $ac_try) 2>&5
43264 ac_status=$?
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; } &&
43267 { ac_try='test -s conftest.$ac_objext'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43270 ac_status=$?
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; }; then
43273 glibcxx_cv_func_long_double_trig_use=yes
43274 else
43275 echo "$as_me: failed program was:" >&5
43276 sed 's/^/| /' conftest.$ac_ext >&5
43278 glibcxx_cv_func_long_double_trig_use=no
43280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43281 ac_ext=c
43282 ac_cpp='$CPP $CPPFLAGS'
43283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
43290 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
43291 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43301 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43304 echo "$as_me:$LINENO: checking for $ac_func" >&5
43305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43306 if eval "test \"\${$as_ac_var+set}\" = set"; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43308 else
43309 if test x$gcc_no_link = xyes; then
43310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43312 { (exit 1); exit 1; }; }
43314 cat >conftest.$ac_ext <<_ACEOF
43315 /* confdefs.h. */
43316 _ACEOF
43317 cat confdefs.h >>conftest.$ac_ext
43318 cat >>conftest.$ac_ext <<_ACEOF
43319 /* end confdefs.h. */
43320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43322 #define $ac_func innocuous_$ac_func
43324 /* System header to define __stub macros and hopefully few prototypes,
43325 which can conflict with char $ac_func (); below.
43326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43327 <limits.h> exists even on freestanding compilers. */
43329 #ifdef __STDC__
43330 # include <limits.h>
43331 #else
43332 # include <assert.h>
43333 #endif
43335 #undef $ac_func
43337 /* Override any gcc2 internal prototype to avoid an error. */
43338 #ifdef __cplusplus
43339 extern "C"
43341 #endif
43342 /* We use char because int might match the return type of a gcc2
43343 builtin and then its argument prototype would still apply. */
43344 char $ac_func ();
43345 /* The GNU C library defines this for functions which it implements
43346 to always fail with ENOSYS. Some functions are actually named
43347 something starting with __ and the normal name is an alias. */
43348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43349 choke me
43350 #else
43351 char (*f) () = $ac_func;
43352 #endif
43353 #ifdef __cplusplus
43355 #endif
43358 main ()
43360 return f != $ac_func;
43362 return 0;
43364 _ACEOF
43365 rm -f conftest.$ac_objext conftest$ac_exeext
43366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43367 (eval $ac_link) 2>conftest.er1
43368 ac_status=$?
43369 grep -v '^ *+' conftest.er1 >conftest.err
43370 rm -f conftest.er1
43371 cat conftest.err >&5
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); } &&
43374 { ac_try='test -z "$ac_c_werror_flag"
43375 || test ! -s conftest.err'
43376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43377 (eval $ac_try) 2>&5
43378 ac_status=$?
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); }; } &&
43381 { ac_try='test -s conftest$ac_exeext'
43382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43383 (eval $ac_try) 2>&5
43384 ac_status=$?
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; }; then
43387 eval "$as_ac_var=yes"
43388 else
43389 echo "$as_me: failed program was:" >&5
43390 sed 's/^/| /' conftest.$ac_ext >&5
43392 eval "$as_ac_var=no"
43394 rm -f conftest.err conftest.$ac_objext \
43395 conftest$ac_exeext conftest.$ac_ext
43397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43399 if test `eval echo '${'$as_ac_var'}'` = yes; then
43400 cat >>confdefs.h <<_ACEOF
43401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43402 _ACEOF
43405 done
43407 else
43408 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43409 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43410 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43411 echo $ECHO_N "(cached) $ECHO_C" >&6
43412 else
43416 ac_ext=cc
43417 ac_cpp='$CXXCPP $CPPFLAGS'
43418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43422 cat >conftest.$ac_ext <<_ACEOF
43423 /* confdefs.h. */
43424 _ACEOF
43425 cat confdefs.h >>conftest.$ac_ext
43426 cat >>conftest.$ac_ext <<_ACEOF
43427 /* end confdefs.h. */
43428 #include <math.h>
43430 main ()
43432 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43434 return 0;
43436 _ACEOF
43437 rm -f conftest.$ac_objext
43438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43439 (eval $ac_compile) 2>conftest.er1
43440 ac_status=$?
43441 grep -v '^ *+' conftest.er1 >conftest.err
43442 rm -f conftest.er1
43443 cat conftest.err >&5
43444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43445 (exit $ac_status); } &&
43446 { ac_try='test -z "$ac_cxx_werror_flag"
43447 || test ! -s conftest.err'
43448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43449 (eval $ac_try) 2>&5
43450 ac_status=$?
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); }; } &&
43453 { ac_try='test -s conftest.$ac_objext'
43454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43455 (eval $ac_try) 2>&5
43456 ac_status=$?
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); }; }; then
43459 glibcxx_cv_func__long_double_trig_use=yes
43460 else
43461 echo "$as_me: failed program was:" >&5
43462 sed 's/^/| /' conftest.$ac_ext >&5
43464 glibcxx_cv_func__long_double_trig_use=no
43466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43467 ac_ext=c
43468 ac_cpp='$CPP $CPPFLAGS'
43469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43476 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43477 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43487 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43490 echo "$as_me:$LINENO: checking for $ac_func" >&5
43491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43492 if eval "test \"\${$as_ac_var+set}\" = set"; then
43493 echo $ECHO_N "(cached) $ECHO_C" >&6
43494 else
43495 if test x$gcc_no_link = xyes; then
43496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43498 { (exit 1); exit 1; }; }
43500 cat >conftest.$ac_ext <<_ACEOF
43501 /* confdefs.h. */
43502 _ACEOF
43503 cat confdefs.h >>conftest.$ac_ext
43504 cat >>conftest.$ac_ext <<_ACEOF
43505 /* end confdefs.h. */
43506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43508 #define $ac_func innocuous_$ac_func
43510 /* System header to define __stub macros and hopefully few prototypes,
43511 which can conflict with char $ac_func (); below.
43512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43513 <limits.h> exists even on freestanding compilers. */
43515 #ifdef __STDC__
43516 # include <limits.h>
43517 #else
43518 # include <assert.h>
43519 #endif
43521 #undef $ac_func
43523 /* Override any gcc2 internal prototype to avoid an error. */
43524 #ifdef __cplusplus
43525 extern "C"
43527 #endif
43528 /* We use char because int might match the return type of a gcc2
43529 builtin and then its argument prototype would still apply. */
43530 char $ac_func ();
43531 /* The GNU C library defines this for functions which it implements
43532 to always fail with ENOSYS. Some functions are actually named
43533 something starting with __ and the normal name is an alias. */
43534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43535 choke me
43536 #else
43537 char (*f) () = $ac_func;
43538 #endif
43539 #ifdef __cplusplus
43541 #endif
43544 main ()
43546 return f != $ac_func;
43548 return 0;
43550 _ACEOF
43551 rm -f conftest.$ac_objext conftest$ac_exeext
43552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43553 (eval $ac_link) 2>conftest.er1
43554 ac_status=$?
43555 grep -v '^ *+' conftest.er1 >conftest.err
43556 rm -f conftest.er1
43557 cat conftest.err >&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } &&
43560 { ac_try='test -z "$ac_c_werror_flag"
43561 || test ! -s conftest.err'
43562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43563 (eval $ac_try) 2>&5
43564 ac_status=$?
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); }; } &&
43567 { ac_try='test -s conftest$ac_exeext'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; }; then
43573 eval "$as_ac_var=yes"
43574 else
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43578 eval "$as_ac_var=no"
43580 rm -f conftest.err conftest.$ac_objext \
43581 conftest$ac_exeext conftest.$ac_ext
43583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43585 if test `eval echo '${'$as_ac_var'}'` = yes; then
43586 cat >>confdefs.h <<_ACEOF
43587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43588 _ACEOF
43591 done
43609 echo "$as_me:$LINENO: checking for long double round functions" >&5
43610 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43611 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43612 echo $ECHO_N "(cached) $ECHO_C" >&6
43613 else
43617 ac_ext=cc
43618 ac_cpp='$CXXCPP $CPPFLAGS'
43619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43623 cat >conftest.$ac_ext <<_ACEOF
43624 /* confdefs.h. */
43625 _ACEOF
43626 cat confdefs.h >>conftest.$ac_ext
43627 cat >>conftest.$ac_ext <<_ACEOF
43628 /* end confdefs.h. */
43629 #include <math.h>
43631 main ()
43633 ceill (0); floorl (0);
43635 return 0;
43637 _ACEOF
43638 rm -f conftest.$ac_objext
43639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43640 (eval $ac_compile) 2>conftest.er1
43641 ac_status=$?
43642 grep -v '^ *+' conftest.er1 >conftest.err
43643 rm -f conftest.er1
43644 cat conftest.err >&5
43645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43646 (exit $ac_status); } &&
43647 { ac_try='test -z "$ac_cxx_werror_flag"
43648 || test ! -s conftest.err'
43649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43650 (eval $ac_try) 2>&5
43651 ac_status=$?
43652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43653 (exit $ac_status); }; } &&
43654 { ac_try='test -s conftest.$ac_objext'
43655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43656 (eval $ac_try) 2>&5
43657 ac_status=$?
43658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659 (exit $ac_status); }; }; then
43660 glibcxx_cv_func_long_double_round_use=yes
43661 else
43662 echo "$as_me: failed program was:" >&5
43663 sed 's/^/| /' conftest.$ac_ext >&5
43665 glibcxx_cv_func_long_double_round_use=no
43667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43668 ac_ext=c
43669 ac_cpp='$CPP $CPPFLAGS'
43670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43677 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43678 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43681 for ac_func in ceill floorl
43683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43684 echo "$as_me:$LINENO: checking for $ac_func" >&5
43685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43686 if eval "test \"\${$as_ac_var+set}\" = set"; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43688 else
43689 if test x$gcc_no_link = xyes; then
43690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43692 { (exit 1); exit 1; }; }
43694 cat >conftest.$ac_ext <<_ACEOF
43695 /* confdefs.h. */
43696 _ACEOF
43697 cat confdefs.h >>conftest.$ac_ext
43698 cat >>conftest.$ac_ext <<_ACEOF
43699 /* end confdefs.h. */
43700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43702 #define $ac_func innocuous_$ac_func
43704 /* System header to define __stub macros and hopefully few prototypes,
43705 which can conflict with char $ac_func (); below.
43706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43707 <limits.h> exists even on freestanding compilers. */
43709 #ifdef __STDC__
43710 # include <limits.h>
43711 #else
43712 # include <assert.h>
43713 #endif
43715 #undef $ac_func
43717 /* Override any gcc2 internal prototype to avoid an error. */
43718 #ifdef __cplusplus
43719 extern "C"
43721 #endif
43722 /* We use char because int might match the return type of a gcc2
43723 builtin and then its argument prototype would still apply. */
43724 char $ac_func ();
43725 /* The GNU C library defines this for functions which it implements
43726 to always fail with ENOSYS. Some functions are actually named
43727 something starting with __ and the normal name is an alias. */
43728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43729 choke me
43730 #else
43731 char (*f) () = $ac_func;
43732 #endif
43733 #ifdef __cplusplus
43735 #endif
43738 main ()
43740 return f != $ac_func;
43742 return 0;
43744 _ACEOF
43745 rm -f conftest.$ac_objext conftest$ac_exeext
43746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43747 (eval $ac_link) 2>conftest.er1
43748 ac_status=$?
43749 grep -v '^ *+' conftest.er1 >conftest.err
43750 rm -f conftest.er1
43751 cat conftest.err >&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } &&
43754 { ac_try='test -z "$ac_c_werror_flag"
43755 || test ! -s conftest.err'
43756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43757 (eval $ac_try) 2>&5
43758 ac_status=$?
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); }; } &&
43761 { ac_try='test -s conftest$ac_exeext'
43762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43763 (eval $ac_try) 2>&5
43764 ac_status=$?
43765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766 (exit $ac_status); }; }; then
43767 eval "$as_ac_var=yes"
43768 else
43769 echo "$as_me: failed program was:" >&5
43770 sed 's/^/| /' conftest.$ac_ext >&5
43772 eval "$as_ac_var=no"
43774 rm -f conftest.err conftest.$ac_objext \
43775 conftest$ac_exeext conftest.$ac_ext
43777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43779 if test `eval echo '${'$as_ac_var'}'` = yes; then
43780 cat >>confdefs.h <<_ACEOF
43781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43782 _ACEOF
43785 done
43787 else
43788 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43789 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43790 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43791 echo $ECHO_N "(cached) $ECHO_C" >&6
43792 else
43796 ac_ext=cc
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43802 cat >conftest.$ac_ext <<_ACEOF
43803 /* confdefs.h. */
43804 _ACEOF
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43808 #include <math.h>
43810 main ()
43812 _ceill (0); _floorl (0);
43814 return 0;
43816 _ACEOF
43817 rm -f conftest.$ac_objext
43818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43819 (eval $ac_compile) 2>conftest.er1
43820 ac_status=$?
43821 grep -v '^ *+' conftest.er1 >conftest.err
43822 rm -f conftest.er1
43823 cat conftest.err >&5
43824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43825 (exit $ac_status); } &&
43826 { ac_try='test -z "$ac_cxx_werror_flag"
43827 || test ! -s conftest.err'
43828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43829 (eval $ac_try) 2>&5
43830 ac_status=$?
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; } &&
43833 { ac_try='test -s conftest.$ac_objext'
43834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43835 (eval $ac_try) 2>&5
43836 ac_status=$?
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); }; }; then
43839 glibcxx_cv_func__long_double_round_use=yes
43840 else
43841 echo "$as_me: failed program was:" >&5
43842 sed 's/^/| /' conftest.$ac_ext >&5
43844 glibcxx_cv_func__long_double_round_use=no
43846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43847 ac_ext=c
43848 ac_cpp='$CPP $CPPFLAGS'
43849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43856 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43857 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43860 for ac_func in _ceill _floorl
43862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43863 echo "$as_me:$LINENO: checking for $ac_func" >&5
43864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43865 if eval "test \"\${$as_ac_var+set}\" = set"; then
43866 echo $ECHO_N "(cached) $ECHO_C" >&6
43867 else
43868 if test x$gcc_no_link = xyes; then
43869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43871 { (exit 1); exit 1; }; }
43873 cat >conftest.$ac_ext <<_ACEOF
43874 /* confdefs.h. */
43875 _ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43881 #define $ac_func innocuous_$ac_func
43883 /* System header to define __stub macros and hopefully few prototypes,
43884 which can conflict with char $ac_func (); below.
43885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43886 <limits.h> exists even on freestanding compilers. */
43888 #ifdef __STDC__
43889 # include <limits.h>
43890 #else
43891 # include <assert.h>
43892 #endif
43894 #undef $ac_func
43896 /* Override any gcc2 internal prototype to avoid an error. */
43897 #ifdef __cplusplus
43898 extern "C"
43900 #endif
43901 /* We use char because int might match the return type of a gcc2
43902 builtin and then its argument prototype would still apply. */
43903 char $ac_func ();
43904 /* The GNU C library defines this for functions which it implements
43905 to always fail with ENOSYS. Some functions are actually named
43906 something starting with __ and the normal name is an alias. */
43907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43908 choke me
43909 #else
43910 char (*f) () = $ac_func;
43911 #endif
43912 #ifdef __cplusplus
43914 #endif
43917 main ()
43919 return f != $ac_func;
43921 return 0;
43923 _ACEOF
43924 rm -f conftest.$ac_objext conftest$ac_exeext
43925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43926 (eval $ac_link) 2>conftest.er1
43927 ac_status=$?
43928 grep -v '^ *+' conftest.er1 >conftest.err
43929 rm -f conftest.er1
43930 cat conftest.err >&5
43931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43932 (exit $ac_status); } &&
43933 { ac_try='test -z "$ac_c_werror_flag"
43934 || test ! -s conftest.err'
43935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43936 (eval $ac_try) 2>&5
43937 ac_status=$?
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); }; } &&
43940 { ac_try='test -s conftest$ac_exeext'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43943 ac_status=$?
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; }; then
43946 eval "$as_ac_var=yes"
43947 else
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43951 eval "$as_ac_var=no"
43953 rm -f conftest.err conftest.$ac_objext \
43954 conftest$ac_exeext conftest.$ac_ext
43956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43958 if test `eval echo '${'$as_ac_var'}'` = yes; then
43959 cat >>confdefs.h <<_ACEOF
43960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43961 _ACEOF
43964 done
43976 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43977 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43978 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43979 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43980 echo $ECHO_N "(cached) $ECHO_C" >&6
43981 else
43985 ac_ext=cc
43986 ac_cpp='$CXXCPP $CPPFLAGS'
43987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43991 cat >conftest.$ac_ext <<_ACEOF
43992 /* confdefs.h. */
43993 _ACEOF
43994 cat confdefs.h >>conftest.$ac_ext
43995 cat >>conftest.$ac_ext <<_ACEOF
43996 /* end confdefs.h. */
43997 #include <math.h>
43998 #ifdef HAVE_IEEEFP_H
43999 #include <ieeefp.h>
44000 #endif
44003 main ()
44005 isnanl(0);
44007 return 0;
44009 _ACEOF
44010 rm -f conftest.$ac_objext
44011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44012 (eval $ac_compile) 2>conftest.er1
44013 ac_status=$?
44014 grep -v '^ *+' conftest.er1 >conftest.err
44015 rm -f conftest.er1
44016 cat conftest.err >&5
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); } &&
44019 { ac_try='test -z "$ac_cxx_werror_flag"
44020 || test ! -s conftest.err'
44021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44022 (eval $ac_try) 2>&5
44023 ac_status=$?
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); }; } &&
44026 { ac_try='test -s conftest.$ac_objext'
44027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44028 (eval $ac_try) 2>&5
44029 ac_status=$?
44030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031 (exit $ac_status); }; }; then
44032 glibcxx_cv_func_isnanl_use=yes
44033 else
44034 echo "$as_me: failed program was:" >&5
44035 sed 's/^/| /' conftest.$ac_ext >&5
44037 glibcxx_cv_func_isnanl_use=no
44039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44040 ac_ext=c
44041 ac_cpp='$CPP $CPPFLAGS'
44042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
44051 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
44053 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44055 for ac_func in isnanl
44057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44058 echo "$as_me:$LINENO: checking for $ac_func" >&5
44059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44060 if eval "test \"\${$as_ac_var+set}\" = set"; then
44061 echo $ECHO_N "(cached) $ECHO_C" >&6
44062 else
44063 if test x$gcc_no_link = xyes; then
44064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44066 { (exit 1); exit 1; }; }
44068 cat >conftest.$ac_ext <<_ACEOF
44069 /* confdefs.h. */
44070 _ACEOF
44071 cat confdefs.h >>conftest.$ac_ext
44072 cat >>conftest.$ac_ext <<_ACEOF
44073 /* end confdefs.h. */
44074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44076 #define $ac_func innocuous_$ac_func
44078 /* System header to define __stub macros and hopefully few prototypes,
44079 which can conflict with char $ac_func (); below.
44080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44081 <limits.h> exists even on freestanding compilers. */
44083 #ifdef __STDC__
44084 # include <limits.h>
44085 #else
44086 # include <assert.h>
44087 #endif
44089 #undef $ac_func
44091 /* Override any gcc2 internal prototype to avoid an error. */
44092 #ifdef __cplusplus
44093 extern "C"
44095 #endif
44096 /* We use char because int might match the return type of a gcc2
44097 builtin and then its argument prototype would still apply. */
44098 char $ac_func ();
44099 /* The GNU C library defines this for functions which it implements
44100 to always fail with ENOSYS. Some functions are actually named
44101 something starting with __ and the normal name is an alias. */
44102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44103 choke me
44104 #else
44105 char (*f) () = $ac_func;
44106 #endif
44107 #ifdef __cplusplus
44109 #endif
44112 main ()
44114 return f != $ac_func;
44116 return 0;
44118 _ACEOF
44119 rm -f conftest.$ac_objext conftest$ac_exeext
44120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44121 (eval $ac_link) 2>conftest.er1
44122 ac_status=$?
44123 grep -v '^ *+' conftest.er1 >conftest.err
44124 rm -f conftest.er1
44125 cat conftest.err >&5
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); } &&
44128 { ac_try='test -z "$ac_c_werror_flag"
44129 || test ! -s conftest.err'
44130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44131 (eval $ac_try) 2>&5
44132 ac_status=$?
44133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134 (exit $ac_status); }; } &&
44135 { ac_try='test -s conftest$ac_exeext'
44136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44137 (eval $ac_try) 2>&5
44138 ac_status=$?
44139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44140 (exit $ac_status); }; }; then
44141 eval "$as_ac_var=yes"
44142 else
44143 echo "$as_me: failed program was:" >&5
44144 sed 's/^/| /' conftest.$ac_ext >&5
44146 eval "$as_ac_var=no"
44148 rm -f conftest.err conftest.$ac_objext \
44149 conftest$ac_exeext conftest.$ac_ext
44151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44153 if test `eval echo '${'$as_ac_var'}'` = yes; then
44154 cat >>confdefs.h <<_ACEOF
44155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44156 _ACEOF
44159 done
44161 else
44163 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
44164 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
44165 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44166 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
44167 echo $ECHO_N "(cached) $ECHO_C" >&6
44168 else
44172 ac_ext=cc
44173 ac_cpp='$CXXCPP $CPPFLAGS'
44174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44178 cat >conftest.$ac_ext <<_ACEOF
44179 /* confdefs.h. */
44180 _ACEOF
44181 cat confdefs.h >>conftest.$ac_ext
44182 cat >>conftest.$ac_ext <<_ACEOF
44183 /* end confdefs.h. */
44184 #include <math.h>
44185 #ifdef HAVE_IEEEFP_H
44186 #include <ieeefp.h>
44187 #endif
44190 main ()
44192 _isnanl(0);
44194 return 0;
44196 _ACEOF
44197 rm -f conftest.$ac_objext
44198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44199 (eval $ac_compile) 2>conftest.er1
44200 ac_status=$?
44201 grep -v '^ *+' conftest.er1 >conftest.err
44202 rm -f conftest.er1
44203 cat conftest.err >&5
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); } &&
44206 { ac_try='test -z "$ac_cxx_werror_flag"
44207 || test ! -s conftest.err'
44208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209 (eval $ac_try) 2>&5
44210 ac_status=$?
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; } &&
44213 { ac_try='test -s conftest.$ac_objext'
44214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44215 (eval $ac_try) 2>&5
44216 ac_status=$?
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); }; }; then
44219 glibcxx_cv_func__isnanl_use=yes
44220 else
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44224 glibcxx_cv_func__isnanl_use=no
44226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44227 ac_ext=c
44228 ac_cpp='$CPP $CPPFLAGS'
44229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
44238 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
44240 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44242 for ac_func in _isnanl
44244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44245 echo "$as_me:$LINENO: checking for $ac_func" >&5
44246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44247 if eval "test \"\${$as_ac_var+set}\" = set"; then
44248 echo $ECHO_N "(cached) $ECHO_C" >&6
44249 else
44250 if test x$gcc_no_link = xyes; then
44251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44253 { (exit 1); exit 1; }; }
44255 cat >conftest.$ac_ext <<_ACEOF
44256 /* confdefs.h. */
44257 _ACEOF
44258 cat confdefs.h >>conftest.$ac_ext
44259 cat >>conftest.$ac_ext <<_ACEOF
44260 /* end confdefs.h. */
44261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44263 #define $ac_func innocuous_$ac_func
44265 /* System header to define __stub macros and hopefully few prototypes,
44266 which can conflict with char $ac_func (); below.
44267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44268 <limits.h> exists even on freestanding compilers. */
44270 #ifdef __STDC__
44271 # include <limits.h>
44272 #else
44273 # include <assert.h>
44274 #endif
44276 #undef $ac_func
44278 /* Override any gcc2 internal prototype to avoid an error. */
44279 #ifdef __cplusplus
44280 extern "C"
44282 #endif
44283 /* We use char because int might match the return type of a gcc2
44284 builtin and then its argument prototype would still apply. */
44285 char $ac_func ();
44286 /* The GNU C library defines this for functions which it implements
44287 to always fail with ENOSYS. Some functions are actually named
44288 something starting with __ and the normal name is an alias. */
44289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44290 choke me
44291 #else
44292 char (*f) () = $ac_func;
44293 #endif
44294 #ifdef __cplusplus
44296 #endif
44299 main ()
44301 return f != $ac_func;
44303 return 0;
44305 _ACEOF
44306 rm -f conftest.$ac_objext conftest$ac_exeext
44307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44308 (eval $ac_link) 2>conftest.er1
44309 ac_status=$?
44310 grep -v '^ *+' conftest.er1 >conftest.err
44311 rm -f conftest.er1
44312 cat conftest.err >&5
44313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314 (exit $ac_status); } &&
44315 { ac_try='test -z "$ac_c_werror_flag"
44316 || test ! -s conftest.err'
44317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318 (eval $ac_try) 2>&5
44319 ac_status=$?
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); }; } &&
44322 { ac_try='test -s conftest$ac_exeext'
44323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44324 (eval $ac_try) 2>&5
44325 ac_status=$?
44326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327 (exit $ac_status); }; }; then
44328 eval "$as_ac_var=yes"
44329 else
44330 echo "$as_me: failed program was:" >&5
44331 sed 's/^/| /' conftest.$ac_ext >&5
44333 eval "$as_ac_var=no"
44335 rm -f conftest.err conftest.$ac_objext \
44336 conftest$ac_exeext conftest.$ac_ext
44338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44340 if test `eval echo '${'$as_ac_var'}'` = yes; then
44341 cat >>confdefs.h <<_ACEOF
44342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44343 _ACEOF
44346 done
44356 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
44357 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
44358 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44359 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
44360 echo $ECHO_N "(cached) $ECHO_C" >&6
44361 else
44365 ac_ext=cc
44366 ac_cpp='$CXXCPP $CPPFLAGS'
44367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44371 cat >conftest.$ac_ext <<_ACEOF
44372 /* confdefs.h. */
44373 _ACEOF
44374 cat confdefs.h >>conftest.$ac_ext
44375 cat >>conftest.$ac_ext <<_ACEOF
44376 /* end confdefs.h. */
44377 #include <math.h>
44378 #ifdef HAVE_IEEEFP_H
44379 #include <ieeefp.h>
44380 #endif
44383 main ()
44385 isinfl(0);
44387 return 0;
44389 _ACEOF
44390 rm -f conftest.$ac_objext
44391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44392 (eval $ac_compile) 2>conftest.er1
44393 ac_status=$?
44394 grep -v '^ *+' conftest.er1 >conftest.err
44395 rm -f conftest.er1
44396 cat conftest.err >&5
44397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44398 (exit $ac_status); } &&
44399 { ac_try='test -z "$ac_cxx_werror_flag"
44400 || test ! -s conftest.err'
44401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44402 (eval $ac_try) 2>&5
44403 ac_status=$?
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); }; } &&
44406 { ac_try='test -s conftest.$ac_objext'
44407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44408 (eval $ac_try) 2>&5
44409 ac_status=$?
44410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44411 (exit $ac_status); }; }; then
44412 glibcxx_cv_func_isinfl_use=yes
44413 else
44414 echo "$as_me: failed program was:" >&5
44415 sed 's/^/| /' conftest.$ac_ext >&5
44417 glibcxx_cv_func_isinfl_use=no
44419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44420 ac_ext=c
44421 ac_cpp='$CPP $CPPFLAGS'
44422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44431 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44433 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44435 for ac_func in isinfl
44437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44438 echo "$as_me:$LINENO: checking for $ac_func" >&5
44439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44440 if eval "test \"\${$as_ac_var+set}\" = set"; then
44441 echo $ECHO_N "(cached) $ECHO_C" >&6
44442 else
44443 if test x$gcc_no_link = xyes; then
44444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44446 { (exit 1); exit 1; }; }
44448 cat >conftest.$ac_ext <<_ACEOF
44449 /* confdefs.h. */
44450 _ACEOF
44451 cat confdefs.h >>conftest.$ac_ext
44452 cat >>conftest.$ac_ext <<_ACEOF
44453 /* end confdefs.h. */
44454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44456 #define $ac_func innocuous_$ac_func
44458 /* System header to define __stub macros and hopefully few prototypes,
44459 which can conflict with char $ac_func (); below.
44460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44461 <limits.h> exists even on freestanding compilers. */
44463 #ifdef __STDC__
44464 # include <limits.h>
44465 #else
44466 # include <assert.h>
44467 #endif
44469 #undef $ac_func
44471 /* Override any gcc2 internal prototype to avoid an error. */
44472 #ifdef __cplusplus
44473 extern "C"
44475 #endif
44476 /* We use char because int might match the return type of a gcc2
44477 builtin and then its argument prototype would still apply. */
44478 char $ac_func ();
44479 /* The GNU C library defines this for functions which it implements
44480 to always fail with ENOSYS. Some functions are actually named
44481 something starting with __ and the normal name is an alias. */
44482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44483 choke me
44484 #else
44485 char (*f) () = $ac_func;
44486 #endif
44487 #ifdef __cplusplus
44489 #endif
44492 main ()
44494 return f != $ac_func;
44496 return 0;
44498 _ACEOF
44499 rm -f conftest.$ac_objext conftest$ac_exeext
44500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44501 (eval $ac_link) 2>conftest.er1
44502 ac_status=$?
44503 grep -v '^ *+' conftest.er1 >conftest.err
44504 rm -f conftest.er1
44505 cat conftest.err >&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } &&
44508 { ac_try='test -z "$ac_c_werror_flag"
44509 || test ! -s conftest.err'
44510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511 (eval $ac_try) 2>&5
44512 ac_status=$?
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); }; } &&
44515 { ac_try='test -s conftest$ac_exeext'
44516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44517 (eval $ac_try) 2>&5
44518 ac_status=$?
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); }; }; then
44521 eval "$as_ac_var=yes"
44522 else
44523 echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.$ac_ext >&5
44526 eval "$as_ac_var=no"
44528 rm -f conftest.err conftest.$ac_objext \
44529 conftest$ac_exeext conftest.$ac_ext
44531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44533 if test `eval echo '${'$as_ac_var'}'` = yes; then
44534 cat >>confdefs.h <<_ACEOF
44535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44536 _ACEOF
44539 done
44541 else
44543 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44544 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44545 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44546 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44547 echo $ECHO_N "(cached) $ECHO_C" >&6
44548 else
44552 ac_ext=cc
44553 ac_cpp='$CXXCPP $CPPFLAGS'
44554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558 cat >conftest.$ac_ext <<_ACEOF
44559 /* confdefs.h. */
44560 _ACEOF
44561 cat confdefs.h >>conftest.$ac_ext
44562 cat >>conftest.$ac_ext <<_ACEOF
44563 /* end confdefs.h. */
44564 #include <math.h>
44565 #ifdef HAVE_IEEEFP_H
44566 #include <ieeefp.h>
44567 #endif
44570 main ()
44572 _isinfl(0);
44574 return 0;
44576 _ACEOF
44577 rm -f conftest.$ac_objext
44578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44579 (eval $ac_compile) 2>conftest.er1
44580 ac_status=$?
44581 grep -v '^ *+' conftest.er1 >conftest.err
44582 rm -f conftest.er1
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } &&
44586 { ac_try='test -z "$ac_cxx_werror_flag"
44587 || test ! -s conftest.err'
44588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44589 (eval $ac_try) 2>&5
44590 ac_status=$?
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); }; } &&
44593 { ac_try='test -s conftest.$ac_objext'
44594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44595 (eval $ac_try) 2>&5
44596 ac_status=$?
44597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44598 (exit $ac_status); }; }; then
44599 glibcxx_cv_func__isinfl_use=yes
44600 else
44601 echo "$as_me: failed program was:" >&5
44602 sed 's/^/| /' conftest.$ac_ext >&5
44604 glibcxx_cv_func__isinfl_use=no
44606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44607 ac_ext=c
44608 ac_cpp='$CPP $CPPFLAGS'
44609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44618 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44620 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44622 for ac_func in _isinfl
44624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44625 echo "$as_me:$LINENO: checking for $ac_func" >&5
44626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44627 if eval "test \"\${$as_ac_var+set}\" = set"; then
44628 echo $ECHO_N "(cached) $ECHO_C" >&6
44629 else
44630 if test x$gcc_no_link = xyes; then
44631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44633 { (exit 1); exit 1; }; }
44635 cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h. */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h. */
44641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44643 #define $ac_func innocuous_$ac_func
44645 /* System header to define __stub macros and hopefully few prototypes,
44646 which can conflict with char $ac_func (); below.
44647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44648 <limits.h> exists even on freestanding compilers. */
44650 #ifdef __STDC__
44651 # include <limits.h>
44652 #else
44653 # include <assert.h>
44654 #endif
44656 #undef $ac_func
44658 /* Override any gcc2 internal prototype to avoid an error. */
44659 #ifdef __cplusplus
44660 extern "C"
44662 #endif
44663 /* We use char because int might match the return type of a gcc2
44664 builtin and then its argument prototype would still apply. */
44665 char $ac_func ();
44666 /* The GNU C library defines this for functions which it implements
44667 to always fail with ENOSYS. Some functions are actually named
44668 something starting with __ and the normal name is an alias. */
44669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44670 choke me
44671 #else
44672 char (*f) () = $ac_func;
44673 #endif
44674 #ifdef __cplusplus
44676 #endif
44679 main ()
44681 return f != $ac_func;
44683 return 0;
44685 _ACEOF
44686 rm -f conftest.$ac_objext conftest$ac_exeext
44687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44688 (eval $ac_link) 2>conftest.er1
44689 ac_status=$?
44690 grep -v '^ *+' conftest.er1 >conftest.err
44691 rm -f conftest.er1
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); } &&
44695 { ac_try='test -z "$ac_c_werror_flag"
44696 || test ! -s conftest.err'
44697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44698 (eval $ac_try) 2>&5
44699 ac_status=$?
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); }; } &&
44702 { ac_try='test -s conftest$ac_exeext'
44703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44704 (eval $ac_try) 2>&5
44705 ac_status=$?
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; }; then
44708 eval "$as_ac_var=yes"
44709 else
44710 echo "$as_me: failed program was:" >&5
44711 sed 's/^/| /' conftest.$ac_ext >&5
44713 eval "$as_ac_var=no"
44715 rm -f conftest.err conftest.$ac_objext \
44716 conftest$ac_exeext conftest.$ac_ext
44718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44720 if test `eval echo '${'$as_ac_var'}'` = yes; then
44721 cat >>confdefs.h <<_ACEOF
44722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44723 _ACEOF
44726 done
44736 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44737 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44738 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44739 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44740 echo $ECHO_N "(cached) $ECHO_C" >&6
44741 else
44745 ac_ext=cc
44746 ac_cpp='$CXXCPP $CPPFLAGS'
44747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44751 cat >conftest.$ac_ext <<_ACEOF
44752 /* confdefs.h. */
44753 _ACEOF
44754 cat confdefs.h >>conftest.$ac_ext
44755 cat >>conftest.$ac_ext <<_ACEOF
44756 /* end confdefs.h. */
44757 #include <math.h>
44759 main ()
44761 copysignl(0, 0);
44763 return 0;
44765 _ACEOF
44766 rm -f conftest.$ac_objext
44767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44768 (eval $ac_compile) 2>conftest.er1
44769 ac_status=$?
44770 grep -v '^ *+' conftest.er1 >conftest.err
44771 rm -f conftest.er1
44772 cat conftest.err >&5
44773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44774 (exit $ac_status); } &&
44775 { ac_try='test -z "$ac_cxx_werror_flag"
44776 || test ! -s conftest.err'
44777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44778 (eval $ac_try) 2>&5
44779 ac_status=$?
44780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781 (exit $ac_status); }; } &&
44782 { ac_try='test -s conftest.$ac_objext'
44783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44784 (eval $ac_try) 2>&5
44785 ac_status=$?
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); }; }; then
44788 glibcxx_cv_func_copysignl_use=yes
44789 else
44790 echo "$as_me: failed program was:" >&5
44791 sed 's/^/| /' conftest.$ac_ext >&5
44793 glibcxx_cv_func_copysignl_use=no
44795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44796 ac_ext=c
44797 ac_cpp='$CPP $CPPFLAGS'
44798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44807 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44809 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44811 for ac_func in copysignl
44813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44814 echo "$as_me:$LINENO: checking for $ac_func" >&5
44815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44816 if eval "test \"\${$as_ac_var+set}\" = set"; then
44817 echo $ECHO_N "(cached) $ECHO_C" >&6
44818 else
44819 if test x$gcc_no_link = xyes; then
44820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44822 { (exit 1); exit 1; }; }
44824 cat >conftest.$ac_ext <<_ACEOF
44825 /* confdefs.h. */
44826 _ACEOF
44827 cat confdefs.h >>conftest.$ac_ext
44828 cat >>conftest.$ac_ext <<_ACEOF
44829 /* end confdefs.h. */
44830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44832 #define $ac_func innocuous_$ac_func
44834 /* System header to define __stub macros and hopefully few prototypes,
44835 which can conflict with char $ac_func (); below.
44836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44837 <limits.h> exists even on freestanding compilers. */
44839 #ifdef __STDC__
44840 # include <limits.h>
44841 #else
44842 # include <assert.h>
44843 #endif
44845 #undef $ac_func
44847 /* Override any gcc2 internal prototype to avoid an error. */
44848 #ifdef __cplusplus
44849 extern "C"
44851 #endif
44852 /* We use char because int might match the return type of a gcc2
44853 builtin and then its argument prototype would still apply. */
44854 char $ac_func ();
44855 /* The GNU C library defines this for functions which it implements
44856 to always fail with ENOSYS. Some functions are actually named
44857 something starting with __ and the normal name is an alias. */
44858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44859 choke me
44860 #else
44861 char (*f) () = $ac_func;
44862 #endif
44863 #ifdef __cplusplus
44865 #endif
44868 main ()
44870 return f != $ac_func;
44872 return 0;
44874 _ACEOF
44875 rm -f conftest.$ac_objext conftest$ac_exeext
44876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44877 (eval $ac_link) 2>conftest.er1
44878 ac_status=$?
44879 grep -v '^ *+' conftest.er1 >conftest.err
44880 rm -f conftest.er1
44881 cat conftest.err >&5
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); } &&
44884 { ac_try='test -z "$ac_c_werror_flag"
44885 || test ! -s conftest.err'
44886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44887 (eval $ac_try) 2>&5
44888 ac_status=$?
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); }; } &&
44891 { ac_try='test -s conftest$ac_exeext'
44892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44893 (eval $ac_try) 2>&5
44894 ac_status=$?
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); }; }; then
44897 eval "$as_ac_var=yes"
44898 else
44899 echo "$as_me: failed program was:" >&5
44900 sed 's/^/| /' conftest.$ac_ext >&5
44902 eval "$as_ac_var=no"
44904 rm -f conftest.err conftest.$ac_objext \
44905 conftest$ac_exeext conftest.$ac_ext
44907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44909 if test `eval echo '${'$as_ac_var'}'` = yes; then
44910 cat >>confdefs.h <<_ACEOF
44911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44912 _ACEOF
44915 done
44917 else
44919 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44920 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44921 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44922 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44923 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 else
44928 ac_ext=cc
44929 ac_cpp='$CXXCPP $CPPFLAGS'
44930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44934 cat >conftest.$ac_ext <<_ACEOF
44935 /* confdefs.h. */
44936 _ACEOF
44937 cat confdefs.h >>conftest.$ac_ext
44938 cat >>conftest.$ac_ext <<_ACEOF
44939 /* end confdefs.h. */
44940 #include <math.h>
44942 main ()
44944 _copysignl(0, 0);
44946 return 0;
44948 _ACEOF
44949 rm -f conftest.$ac_objext
44950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44951 (eval $ac_compile) 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } &&
44958 { ac_try='test -z "$ac_cxx_werror_flag"
44959 || test ! -s conftest.err'
44960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44961 (eval $ac_try) 2>&5
44962 ac_status=$?
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); }; } &&
44965 { ac_try='test -s conftest.$ac_objext'
44966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44967 (eval $ac_try) 2>&5
44968 ac_status=$?
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; }; then
44971 glibcxx_cv_func__copysignl_use=yes
44972 else
44973 echo "$as_me: failed program was:" >&5
44974 sed 's/^/| /' conftest.$ac_ext >&5
44976 glibcxx_cv_func__copysignl_use=no
44978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44979 ac_ext=c
44980 ac_cpp='$CPP $CPPFLAGS'
44981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44990 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44992 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44994 for ac_func in _copysignl
44996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44997 echo "$as_me:$LINENO: checking for $ac_func" >&5
44998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44999 if eval "test \"\${$as_ac_var+set}\" = set"; then
45000 echo $ECHO_N "(cached) $ECHO_C" >&6
45001 else
45002 if test x$gcc_no_link = xyes; then
45003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45005 { (exit 1); exit 1; }; }
45007 cat >conftest.$ac_ext <<_ACEOF
45008 /* confdefs.h. */
45009 _ACEOF
45010 cat confdefs.h >>conftest.$ac_ext
45011 cat >>conftest.$ac_ext <<_ACEOF
45012 /* end confdefs.h. */
45013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45015 #define $ac_func innocuous_$ac_func
45017 /* System header to define __stub macros and hopefully few prototypes,
45018 which can conflict with char $ac_func (); below.
45019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45020 <limits.h> exists even on freestanding compilers. */
45022 #ifdef __STDC__
45023 # include <limits.h>
45024 #else
45025 # include <assert.h>
45026 #endif
45028 #undef $ac_func
45030 /* Override any gcc2 internal prototype to avoid an error. */
45031 #ifdef __cplusplus
45032 extern "C"
45034 #endif
45035 /* We use char because int might match the return type of a gcc2
45036 builtin and then its argument prototype would still apply. */
45037 char $ac_func ();
45038 /* The GNU C library defines this for functions which it implements
45039 to always fail with ENOSYS. Some functions are actually named
45040 something starting with __ and the normal name is an alias. */
45041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45042 choke me
45043 #else
45044 char (*f) () = $ac_func;
45045 #endif
45046 #ifdef __cplusplus
45048 #endif
45051 main ()
45053 return f != $ac_func;
45055 return 0;
45057 _ACEOF
45058 rm -f conftest.$ac_objext conftest$ac_exeext
45059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45060 (eval $ac_link) 2>conftest.er1
45061 ac_status=$?
45062 grep -v '^ *+' conftest.er1 >conftest.err
45063 rm -f conftest.er1
45064 cat conftest.err >&5
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); } &&
45067 { ac_try='test -z "$ac_c_werror_flag"
45068 || test ! -s conftest.err'
45069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45070 (eval $ac_try) 2>&5
45071 ac_status=$?
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; } &&
45074 { ac_try='test -s conftest$ac_exeext'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45077 ac_status=$?
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; }; then
45080 eval "$as_ac_var=yes"
45081 else
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.$ac_ext >&5
45085 eval "$as_ac_var=no"
45087 rm -f conftest.err conftest.$ac_objext \
45088 conftest$ac_exeext conftest.$ac_ext
45090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45092 if test `eval echo '${'$as_ac_var'}'` = yes; then
45093 cat >>confdefs.h <<_ACEOF
45094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45095 _ACEOF
45098 done
45108 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
45109 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
45110 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45111 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
45112 echo $ECHO_N "(cached) $ECHO_C" >&6
45113 else
45117 ac_ext=cc
45118 ac_cpp='$CXXCPP $CPPFLAGS'
45119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45123 cat >conftest.$ac_ext <<_ACEOF
45124 /* confdefs.h. */
45125 _ACEOF
45126 cat confdefs.h >>conftest.$ac_ext
45127 cat >>conftest.$ac_ext <<_ACEOF
45128 /* end confdefs.h. */
45129 #include <math.h>
45131 main ()
45133 atan2l(0, 0);
45135 return 0;
45137 _ACEOF
45138 rm -f conftest.$ac_objext
45139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45140 (eval $ac_compile) 2>conftest.er1
45141 ac_status=$?
45142 grep -v '^ *+' conftest.er1 >conftest.err
45143 rm -f conftest.er1
45144 cat conftest.err >&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } &&
45147 { ac_try='test -z "$ac_cxx_werror_flag"
45148 || test ! -s conftest.err'
45149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45150 (eval $ac_try) 2>&5
45151 ac_status=$?
45152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45153 (exit $ac_status); }; } &&
45154 { ac_try='test -s conftest.$ac_objext'
45155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45156 (eval $ac_try) 2>&5
45157 ac_status=$?
45158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159 (exit $ac_status); }; }; then
45160 glibcxx_cv_func_atan2l_use=yes
45161 else
45162 echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.$ac_ext >&5
45165 glibcxx_cv_func_atan2l_use=no
45167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45168 ac_ext=c
45169 ac_cpp='$CPP $CPPFLAGS'
45170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
45179 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
45181 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45183 for ac_func in atan2l
45185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45186 echo "$as_me:$LINENO: checking for $ac_func" >&5
45187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45188 if eval "test \"\${$as_ac_var+set}\" = set"; then
45189 echo $ECHO_N "(cached) $ECHO_C" >&6
45190 else
45191 if test x$gcc_no_link = xyes; then
45192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45194 { (exit 1); exit 1; }; }
45196 cat >conftest.$ac_ext <<_ACEOF
45197 /* confdefs.h. */
45198 _ACEOF
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45204 #define $ac_func innocuous_$ac_func
45206 /* System header to define __stub macros and hopefully few prototypes,
45207 which can conflict with char $ac_func (); below.
45208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45209 <limits.h> exists even on freestanding compilers. */
45211 #ifdef __STDC__
45212 # include <limits.h>
45213 #else
45214 # include <assert.h>
45215 #endif
45217 #undef $ac_func
45219 /* Override any gcc2 internal prototype to avoid an error. */
45220 #ifdef __cplusplus
45221 extern "C"
45223 #endif
45224 /* We use char because int might match the return type of a gcc2
45225 builtin and then its argument prototype would still apply. */
45226 char $ac_func ();
45227 /* The GNU C library defines this for functions which it implements
45228 to always fail with ENOSYS. Some functions are actually named
45229 something starting with __ and the normal name is an alias. */
45230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45231 choke me
45232 #else
45233 char (*f) () = $ac_func;
45234 #endif
45235 #ifdef __cplusplus
45237 #endif
45240 main ()
45242 return f != $ac_func;
45244 return 0;
45246 _ACEOF
45247 rm -f conftest.$ac_objext conftest$ac_exeext
45248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45249 (eval $ac_link) 2>conftest.er1
45250 ac_status=$?
45251 grep -v '^ *+' conftest.er1 >conftest.err
45252 rm -f conftest.er1
45253 cat conftest.err >&5
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); } &&
45256 { ac_try='test -z "$ac_c_werror_flag"
45257 || test ! -s conftest.err'
45258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45259 (eval $ac_try) 2>&5
45260 ac_status=$?
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); }; } &&
45263 { ac_try='test -s conftest$ac_exeext'
45264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45265 (eval $ac_try) 2>&5
45266 ac_status=$?
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); }; }; then
45269 eval "$as_ac_var=yes"
45270 else
45271 echo "$as_me: failed program was:" >&5
45272 sed 's/^/| /' conftest.$ac_ext >&5
45274 eval "$as_ac_var=no"
45276 rm -f conftest.err conftest.$ac_objext \
45277 conftest$ac_exeext conftest.$ac_ext
45279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45281 if test `eval echo '${'$as_ac_var'}'` = yes; then
45282 cat >>confdefs.h <<_ACEOF
45283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45284 _ACEOF
45287 done
45289 else
45291 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
45292 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
45293 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45294 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
45295 echo $ECHO_N "(cached) $ECHO_C" >&6
45296 else
45300 ac_ext=cc
45301 ac_cpp='$CXXCPP $CPPFLAGS'
45302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45306 cat >conftest.$ac_ext <<_ACEOF
45307 /* confdefs.h. */
45308 _ACEOF
45309 cat confdefs.h >>conftest.$ac_ext
45310 cat >>conftest.$ac_ext <<_ACEOF
45311 /* end confdefs.h. */
45312 #include <math.h>
45314 main ()
45316 _atan2l(0, 0);
45318 return 0;
45320 _ACEOF
45321 rm -f conftest.$ac_objext
45322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45323 (eval $ac_compile) 2>conftest.er1
45324 ac_status=$?
45325 grep -v '^ *+' conftest.er1 >conftest.err
45326 rm -f conftest.er1
45327 cat conftest.err >&5
45328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45329 (exit $ac_status); } &&
45330 { ac_try='test -z "$ac_cxx_werror_flag"
45331 || test ! -s conftest.err'
45332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45333 (eval $ac_try) 2>&5
45334 ac_status=$?
45335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45336 (exit $ac_status); }; } &&
45337 { ac_try='test -s conftest.$ac_objext'
45338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45339 (eval $ac_try) 2>&5
45340 ac_status=$?
45341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342 (exit $ac_status); }; }; then
45343 glibcxx_cv_func__atan2l_use=yes
45344 else
45345 echo "$as_me: failed program was:" >&5
45346 sed 's/^/| /' conftest.$ac_ext >&5
45348 glibcxx_cv_func__atan2l_use=no
45350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45351 ac_ext=c
45352 ac_cpp='$CPP $CPPFLAGS'
45353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
45362 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
45364 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45366 for ac_func in _atan2l
45368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45369 echo "$as_me:$LINENO: checking for $ac_func" >&5
45370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45371 if eval "test \"\${$as_ac_var+set}\" = set"; then
45372 echo $ECHO_N "(cached) $ECHO_C" >&6
45373 else
45374 if test x$gcc_no_link = xyes; then
45375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45377 { (exit 1); exit 1; }; }
45379 cat >conftest.$ac_ext <<_ACEOF
45380 /* confdefs.h. */
45381 _ACEOF
45382 cat confdefs.h >>conftest.$ac_ext
45383 cat >>conftest.$ac_ext <<_ACEOF
45384 /* end confdefs.h. */
45385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45387 #define $ac_func innocuous_$ac_func
45389 /* System header to define __stub macros and hopefully few prototypes,
45390 which can conflict with char $ac_func (); below.
45391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45392 <limits.h> exists even on freestanding compilers. */
45394 #ifdef __STDC__
45395 # include <limits.h>
45396 #else
45397 # include <assert.h>
45398 #endif
45400 #undef $ac_func
45402 /* Override any gcc2 internal prototype to avoid an error. */
45403 #ifdef __cplusplus
45404 extern "C"
45406 #endif
45407 /* We use char because int might match the return type of a gcc2
45408 builtin and then its argument prototype would still apply. */
45409 char $ac_func ();
45410 /* The GNU C library defines this for functions which it implements
45411 to always fail with ENOSYS. Some functions are actually named
45412 something starting with __ and the normal name is an alias. */
45413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45414 choke me
45415 #else
45416 char (*f) () = $ac_func;
45417 #endif
45418 #ifdef __cplusplus
45420 #endif
45423 main ()
45425 return f != $ac_func;
45427 return 0;
45429 _ACEOF
45430 rm -f conftest.$ac_objext conftest$ac_exeext
45431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45432 (eval $ac_link) 2>conftest.er1
45433 ac_status=$?
45434 grep -v '^ *+' conftest.er1 >conftest.err
45435 rm -f conftest.er1
45436 cat conftest.err >&5
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); } &&
45439 { ac_try='test -z "$ac_c_werror_flag"
45440 || test ! -s conftest.err'
45441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442 (eval $ac_try) 2>&5
45443 ac_status=$?
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); }; } &&
45446 { ac_try='test -s conftest$ac_exeext'
45447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448 (eval $ac_try) 2>&5
45449 ac_status=$?
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); }; }; then
45452 eval "$as_ac_var=yes"
45453 else
45454 echo "$as_me: failed program was:" >&5
45455 sed 's/^/| /' conftest.$ac_ext >&5
45457 eval "$as_ac_var=no"
45459 rm -f conftest.err conftest.$ac_objext \
45460 conftest$ac_exeext conftest.$ac_ext
45462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45464 if test `eval echo '${'$as_ac_var'}'` = yes; then
45465 cat >>confdefs.h <<_ACEOF
45466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45467 _ACEOF
45470 done
45480 echo "$as_me:$LINENO: checking for expl declaration" >&5
45481 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45482 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45483 if test "${glibcxx_cv_func_expl_use+set}" = set; then
45484 echo $ECHO_N "(cached) $ECHO_C" >&6
45485 else
45489 ac_ext=cc
45490 ac_cpp='$CXXCPP $CPPFLAGS'
45491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45495 cat >conftest.$ac_ext <<_ACEOF
45496 /* confdefs.h. */
45497 _ACEOF
45498 cat confdefs.h >>conftest.$ac_ext
45499 cat >>conftest.$ac_ext <<_ACEOF
45500 /* end confdefs.h. */
45501 #include <math.h>
45502 #ifdef HAVE_IEEEFP_H
45503 #include <ieeefp.h>
45504 #endif
45507 main ()
45509 expl(0);
45511 return 0;
45513 _ACEOF
45514 rm -f conftest.$ac_objext
45515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45516 (eval $ac_compile) 2>conftest.er1
45517 ac_status=$?
45518 grep -v '^ *+' conftest.er1 >conftest.err
45519 rm -f conftest.er1
45520 cat conftest.err >&5
45521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522 (exit $ac_status); } &&
45523 { ac_try='test -z "$ac_cxx_werror_flag"
45524 || test ! -s conftest.err'
45525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526 (eval $ac_try) 2>&5
45527 ac_status=$?
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; } &&
45530 { ac_try='test -s conftest.$ac_objext'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45533 ac_status=$?
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; }; then
45536 glibcxx_cv_func_expl_use=yes
45537 else
45538 echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45541 glibcxx_cv_func_expl_use=no
45543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45544 ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45555 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45557 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45559 for ac_func in expl
45561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45562 echo "$as_me:$LINENO: checking for $ac_func" >&5
45563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45564 if eval "test \"\${$as_ac_var+set}\" = set"; then
45565 echo $ECHO_N "(cached) $ECHO_C" >&6
45566 else
45567 if test x$gcc_no_link = xyes; then
45568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45570 { (exit 1); exit 1; }; }
45572 cat >conftest.$ac_ext <<_ACEOF
45573 /* confdefs.h. */
45574 _ACEOF
45575 cat confdefs.h >>conftest.$ac_ext
45576 cat >>conftest.$ac_ext <<_ACEOF
45577 /* end confdefs.h. */
45578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45580 #define $ac_func innocuous_$ac_func
45582 /* System header to define __stub macros and hopefully few prototypes,
45583 which can conflict with char $ac_func (); below.
45584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45585 <limits.h> exists even on freestanding compilers. */
45587 #ifdef __STDC__
45588 # include <limits.h>
45589 #else
45590 # include <assert.h>
45591 #endif
45593 #undef $ac_func
45595 /* Override any gcc2 internal prototype to avoid an error. */
45596 #ifdef __cplusplus
45597 extern "C"
45599 #endif
45600 /* We use char because int might match the return type of a gcc2
45601 builtin and then its argument prototype would still apply. */
45602 char $ac_func ();
45603 /* The GNU C library defines this for functions which it implements
45604 to always fail with ENOSYS. Some functions are actually named
45605 something starting with __ and the normal name is an alias. */
45606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45607 choke me
45608 #else
45609 char (*f) () = $ac_func;
45610 #endif
45611 #ifdef __cplusplus
45613 #endif
45616 main ()
45618 return f != $ac_func;
45620 return 0;
45622 _ACEOF
45623 rm -f conftest.$ac_objext conftest$ac_exeext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45625 (eval $ac_link) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_c_werror_flag"
45633 || test ! -s conftest.err'
45634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635 (eval $ac_try) 2>&5
45636 ac_status=$?
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); }; } &&
45639 { ac_try='test -s conftest$ac_exeext'
45640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641 (eval $ac_try) 2>&5
45642 ac_status=$?
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; }; then
45645 eval "$as_ac_var=yes"
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45650 eval "$as_ac_var=no"
45652 rm -f conftest.err conftest.$ac_objext \
45653 conftest$ac_exeext conftest.$ac_ext
45655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45657 if test `eval echo '${'$as_ac_var'}'` = yes; then
45658 cat >>confdefs.h <<_ACEOF
45659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45660 _ACEOF
45663 done
45665 else
45667 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45668 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45669 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45670 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45672 else
45676 ac_ext=cc
45677 ac_cpp='$CXXCPP $CPPFLAGS'
45678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45682 cat >conftest.$ac_ext <<_ACEOF
45683 /* confdefs.h. */
45684 _ACEOF
45685 cat confdefs.h >>conftest.$ac_ext
45686 cat >>conftest.$ac_ext <<_ACEOF
45687 /* end confdefs.h. */
45688 #include <math.h>
45689 #ifdef HAVE_IEEEFP_H
45690 #include <ieeefp.h>
45691 #endif
45694 main ()
45696 _expl(0);
45698 return 0;
45700 _ACEOF
45701 rm -f conftest.$ac_objext
45702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45703 (eval $ac_compile) 2>conftest.er1
45704 ac_status=$?
45705 grep -v '^ *+' conftest.er1 >conftest.err
45706 rm -f conftest.er1
45707 cat conftest.err >&5
45708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45709 (exit $ac_status); } &&
45710 { ac_try='test -z "$ac_cxx_werror_flag"
45711 || test ! -s conftest.err'
45712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45713 (eval $ac_try) 2>&5
45714 ac_status=$?
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); }; } &&
45717 { ac_try='test -s conftest.$ac_objext'
45718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45719 (eval $ac_try) 2>&5
45720 ac_status=$?
45721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45722 (exit $ac_status); }; }; then
45723 glibcxx_cv_func__expl_use=yes
45724 else
45725 echo "$as_me: failed program was:" >&5
45726 sed 's/^/| /' conftest.$ac_ext >&5
45728 glibcxx_cv_func__expl_use=no
45730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45731 ac_ext=c
45732 ac_cpp='$CPP $CPPFLAGS'
45733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45742 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45744 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45746 for ac_func in _expl
45748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45749 echo "$as_me:$LINENO: checking for $ac_func" >&5
45750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45751 if eval "test \"\${$as_ac_var+set}\" = set"; then
45752 echo $ECHO_N "(cached) $ECHO_C" >&6
45753 else
45754 if test x$gcc_no_link = xyes; then
45755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45757 { (exit 1); exit 1; }; }
45759 cat >conftest.$ac_ext <<_ACEOF
45760 /* confdefs.h. */
45761 _ACEOF
45762 cat confdefs.h >>conftest.$ac_ext
45763 cat >>conftest.$ac_ext <<_ACEOF
45764 /* end confdefs.h. */
45765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45767 #define $ac_func innocuous_$ac_func
45769 /* System header to define __stub macros and hopefully few prototypes,
45770 which can conflict with char $ac_func (); below.
45771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45772 <limits.h> exists even on freestanding compilers. */
45774 #ifdef __STDC__
45775 # include <limits.h>
45776 #else
45777 # include <assert.h>
45778 #endif
45780 #undef $ac_func
45782 /* Override any gcc2 internal prototype to avoid an error. */
45783 #ifdef __cplusplus
45784 extern "C"
45786 #endif
45787 /* We use char because int might match the return type of a gcc2
45788 builtin and then its argument prototype would still apply. */
45789 char $ac_func ();
45790 /* The GNU C library defines this for functions which it implements
45791 to always fail with ENOSYS. Some functions are actually named
45792 something starting with __ and the normal name is an alias. */
45793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45794 choke me
45795 #else
45796 char (*f) () = $ac_func;
45797 #endif
45798 #ifdef __cplusplus
45800 #endif
45803 main ()
45805 return f != $ac_func;
45807 return 0;
45809 _ACEOF
45810 rm -f conftest.$ac_objext conftest$ac_exeext
45811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45812 (eval $ac_link) 2>conftest.er1
45813 ac_status=$?
45814 grep -v '^ *+' conftest.er1 >conftest.err
45815 rm -f conftest.er1
45816 cat conftest.err >&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } &&
45819 { ac_try='test -z "$ac_c_werror_flag"
45820 || test ! -s conftest.err'
45821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45822 (eval $ac_try) 2>&5
45823 ac_status=$?
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); }; } &&
45826 { ac_try='test -s conftest$ac_exeext'
45827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45828 (eval $ac_try) 2>&5
45829 ac_status=$?
45830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831 (exit $ac_status); }; }; then
45832 eval "$as_ac_var=yes"
45833 else
45834 echo "$as_me: failed program was:" >&5
45835 sed 's/^/| /' conftest.$ac_ext >&5
45837 eval "$as_ac_var=no"
45839 rm -f conftest.err conftest.$ac_objext \
45840 conftest$ac_exeext conftest.$ac_ext
45842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45844 if test `eval echo '${'$as_ac_var'}'` = yes; then
45845 cat >>confdefs.h <<_ACEOF
45846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45847 _ACEOF
45850 done
45860 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45861 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45862 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45863 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45864 echo $ECHO_N "(cached) $ECHO_C" >&6
45865 else
45869 ac_ext=cc
45870 ac_cpp='$CXXCPP $CPPFLAGS'
45871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45875 cat >conftest.$ac_ext <<_ACEOF
45876 /* confdefs.h. */
45877 _ACEOF
45878 cat confdefs.h >>conftest.$ac_ext
45879 cat >>conftest.$ac_ext <<_ACEOF
45880 /* end confdefs.h. */
45881 #include <math.h>
45882 #ifdef HAVE_IEEEFP_H
45883 #include <ieeefp.h>
45884 #endif
45887 main ()
45889 fabsl(0);
45891 return 0;
45893 _ACEOF
45894 rm -f conftest.$ac_objext
45895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45896 (eval $ac_compile) 2>conftest.er1
45897 ac_status=$?
45898 grep -v '^ *+' conftest.er1 >conftest.err
45899 rm -f conftest.er1
45900 cat conftest.err >&5
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); } &&
45903 { ac_try='test -z "$ac_cxx_werror_flag"
45904 || test ! -s conftest.err'
45905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45906 (eval $ac_try) 2>&5
45907 ac_status=$?
45908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45909 (exit $ac_status); }; } &&
45910 { ac_try='test -s conftest.$ac_objext'
45911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45912 (eval $ac_try) 2>&5
45913 ac_status=$?
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); }; }; then
45916 glibcxx_cv_func_fabsl_use=yes
45917 else
45918 echo "$as_me: failed program was:" >&5
45919 sed 's/^/| /' conftest.$ac_ext >&5
45921 glibcxx_cv_func_fabsl_use=no
45923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45924 ac_ext=c
45925 ac_cpp='$CPP $CPPFLAGS'
45926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45935 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45937 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45939 for ac_func in fabsl
45941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45942 echo "$as_me:$LINENO: checking for $ac_func" >&5
45943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45944 if eval "test \"\${$as_ac_var+set}\" = set"; then
45945 echo $ECHO_N "(cached) $ECHO_C" >&6
45946 else
45947 if test x$gcc_no_link = xyes; then
45948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45950 { (exit 1); exit 1; }; }
45952 cat >conftest.$ac_ext <<_ACEOF
45953 /* confdefs.h. */
45954 _ACEOF
45955 cat confdefs.h >>conftest.$ac_ext
45956 cat >>conftest.$ac_ext <<_ACEOF
45957 /* end confdefs.h. */
45958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45960 #define $ac_func innocuous_$ac_func
45962 /* System header to define __stub macros and hopefully few prototypes,
45963 which can conflict with char $ac_func (); below.
45964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45965 <limits.h> exists even on freestanding compilers. */
45967 #ifdef __STDC__
45968 # include <limits.h>
45969 #else
45970 # include <assert.h>
45971 #endif
45973 #undef $ac_func
45975 /* Override any gcc2 internal prototype to avoid an error. */
45976 #ifdef __cplusplus
45977 extern "C"
45979 #endif
45980 /* We use char because int might match the return type of a gcc2
45981 builtin and then its argument prototype would still apply. */
45982 char $ac_func ();
45983 /* The GNU C library defines this for functions which it implements
45984 to always fail with ENOSYS. Some functions are actually named
45985 something starting with __ and the normal name is an alias. */
45986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45987 choke me
45988 #else
45989 char (*f) () = $ac_func;
45990 #endif
45991 #ifdef __cplusplus
45993 #endif
45996 main ()
45998 return f != $ac_func;
46000 return 0;
46002 _ACEOF
46003 rm -f conftest.$ac_objext conftest$ac_exeext
46004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46005 (eval $ac_link) 2>conftest.er1
46006 ac_status=$?
46007 grep -v '^ *+' conftest.er1 >conftest.err
46008 rm -f conftest.er1
46009 cat conftest.err >&5
46010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46011 (exit $ac_status); } &&
46012 { ac_try='test -z "$ac_c_werror_flag"
46013 || test ! -s conftest.err'
46014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46015 (eval $ac_try) 2>&5
46016 ac_status=$?
46017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018 (exit $ac_status); }; } &&
46019 { ac_try='test -s conftest$ac_exeext'
46020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46021 (eval $ac_try) 2>&5
46022 ac_status=$?
46023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024 (exit $ac_status); }; }; then
46025 eval "$as_ac_var=yes"
46026 else
46027 echo "$as_me: failed program was:" >&5
46028 sed 's/^/| /' conftest.$ac_ext >&5
46030 eval "$as_ac_var=no"
46032 rm -f conftest.err conftest.$ac_objext \
46033 conftest$ac_exeext conftest.$ac_ext
46035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46037 if test `eval echo '${'$as_ac_var'}'` = yes; then
46038 cat >>confdefs.h <<_ACEOF
46039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46040 _ACEOF
46043 done
46045 else
46047 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
46048 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
46049 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46050 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
46051 echo $ECHO_N "(cached) $ECHO_C" >&6
46052 else
46056 ac_ext=cc
46057 ac_cpp='$CXXCPP $CPPFLAGS'
46058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46062 cat >conftest.$ac_ext <<_ACEOF
46063 /* confdefs.h. */
46064 _ACEOF
46065 cat confdefs.h >>conftest.$ac_ext
46066 cat >>conftest.$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46068 #include <math.h>
46069 #ifdef HAVE_IEEEFP_H
46070 #include <ieeefp.h>
46071 #endif
46074 main ()
46076 _fabsl(0);
46078 return 0;
46080 _ACEOF
46081 rm -f conftest.$ac_objext
46082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46083 (eval $ac_compile) 2>conftest.er1
46084 ac_status=$?
46085 grep -v '^ *+' conftest.er1 >conftest.err
46086 rm -f conftest.er1
46087 cat conftest.err >&5
46088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46089 (exit $ac_status); } &&
46090 { ac_try='test -z "$ac_cxx_werror_flag"
46091 || test ! -s conftest.err'
46092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46093 (eval $ac_try) 2>&5
46094 ac_status=$?
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); }; } &&
46097 { ac_try='test -s conftest.$ac_objext'
46098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46099 (eval $ac_try) 2>&5
46100 ac_status=$?
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); }; }; then
46103 glibcxx_cv_func__fabsl_use=yes
46104 else
46105 echo "$as_me: failed program was:" >&5
46106 sed 's/^/| /' conftest.$ac_ext >&5
46108 glibcxx_cv_func__fabsl_use=no
46110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46111 ac_ext=c
46112 ac_cpp='$CPP $CPPFLAGS'
46113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
46122 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
46124 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46126 for ac_func in _fabsl
46128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46129 echo "$as_me:$LINENO: checking for $ac_func" >&5
46130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46131 if eval "test \"\${$as_ac_var+set}\" = set"; then
46132 echo $ECHO_N "(cached) $ECHO_C" >&6
46133 else
46134 if test x$gcc_no_link = xyes; then
46135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46137 { (exit 1); exit 1; }; }
46139 cat >conftest.$ac_ext <<_ACEOF
46140 /* confdefs.h. */
46141 _ACEOF
46142 cat confdefs.h >>conftest.$ac_ext
46143 cat >>conftest.$ac_ext <<_ACEOF
46144 /* end confdefs.h. */
46145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46147 #define $ac_func innocuous_$ac_func
46149 /* System header to define __stub macros and hopefully few prototypes,
46150 which can conflict with char $ac_func (); below.
46151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46152 <limits.h> exists even on freestanding compilers. */
46154 #ifdef __STDC__
46155 # include <limits.h>
46156 #else
46157 # include <assert.h>
46158 #endif
46160 #undef $ac_func
46162 /* Override any gcc2 internal prototype to avoid an error. */
46163 #ifdef __cplusplus
46164 extern "C"
46166 #endif
46167 /* We use char because int might match the return type of a gcc2
46168 builtin and then its argument prototype would still apply. */
46169 char $ac_func ();
46170 /* The GNU C library defines this for functions which it implements
46171 to always fail with ENOSYS. Some functions are actually named
46172 something starting with __ and the normal name is an alias. */
46173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46174 choke me
46175 #else
46176 char (*f) () = $ac_func;
46177 #endif
46178 #ifdef __cplusplus
46180 #endif
46183 main ()
46185 return f != $ac_func;
46187 return 0;
46189 _ACEOF
46190 rm -f conftest.$ac_objext conftest$ac_exeext
46191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46192 (eval $ac_link) 2>conftest.er1
46193 ac_status=$?
46194 grep -v '^ *+' conftest.er1 >conftest.err
46195 rm -f conftest.er1
46196 cat conftest.err >&5
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); } &&
46199 { ac_try='test -z "$ac_c_werror_flag"
46200 || test ! -s conftest.err'
46201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46202 (eval $ac_try) 2>&5
46203 ac_status=$?
46204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46205 (exit $ac_status); }; } &&
46206 { ac_try='test -s conftest$ac_exeext'
46207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46208 (eval $ac_try) 2>&5
46209 ac_status=$?
46210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46211 (exit $ac_status); }; }; then
46212 eval "$as_ac_var=yes"
46213 else
46214 echo "$as_me: failed program was:" >&5
46215 sed 's/^/| /' conftest.$ac_ext >&5
46217 eval "$as_ac_var=no"
46219 rm -f conftest.err conftest.$ac_objext \
46220 conftest$ac_exeext conftest.$ac_ext
46222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46224 if test `eval echo '${'$as_ac_var'}'` = yes; then
46225 cat >>confdefs.h <<_ACEOF
46226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46227 _ACEOF
46230 done
46240 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
46241 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
46242 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46243 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
46244 echo $ECHO_N "(cached) $ECHO_C" >&6
46245 else
46249 ac_ext=cc
46250 ac_cpp='$CXXCPP $CPPFLAGS'
46251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46255 cat >conftest.$ac_ext <<_ACEOF
46256 /* confdefs.h. */
46257 _ACEOF
46258 cat confdefs.h >>conftest.$ac_ext
46259 cat >>conftest.$ac_ext <<_ACEOF
46260 /* end confdefs.h. */
46261 #include <math.h>
46263 main ()
46265 fmodl(0, 0);
46267 return 0;
46269 _ACEOF
46270 rm -f conftest.$ac_objext
46271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46272 (eval $ac_compile) 2>conftest.er1
46273 ac_status=$?
46274 grep -v '^ *+' conftest.er1 >conftest.err
46275 rm -f conftest.er1
46276 cat conftest.err >&5
46277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46278 (exit $ac_status); } &&
46279 { ac_try='test -z "$ac_cxx_werror_flag"
46280 || test ! -s conftest.err'
46281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46282 (eval $ac_try) 2>&5
46283 ac_status=$?
46284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46285 (exit $ac_status); }; } &&
46286 { ac_try='test -s conftest.$ac_objext'
46287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46288 (eval $ac_try) 2>&5
46289 ac_status=$?
46290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46291 (exit $ac_status); }; }; then
46292 glibcxx_cv_func_fmodl_use=yes
46293 else
46294 echo "$as_me: failed program was:" >&5
46295 sed 's/^/| /' conftest.$ac_ext >&5
46297 glibcxx_cv_func_fmodl_use=no
46299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46300 ac_ext=c
46301 ac_cpp='$CPP $CPPFLAGS'
46302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
46311 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
46313 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46315 for ac_func in fmodl
46317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46318 echo "$as_me:$LINENO: checking for $ac_func" >&5
46319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46320 if eval "test \"\${$as_ac_var+set}\" = set"; then
46321 echo $ECHO_N "(cached) $ECHO_C" >&6
46322 else
46323 if test x$gcc_no_link = xyes; then
46324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46326 { (exit 1); exit 1; }; }
46328 cat >conftest.$ac_ext <<_ACEOF
46329 /* confdefs.h. */
46330 _ACEOF
46331 cat confdefs.h >>conftest.$ac_ext
46332 cat >>conftest.$ac_ext <<_ACEOF
46333 /* end confdefs.h. */
46334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46336 #define $ac_func innocuous_$ac_func
46338 /* System header to define __stub macros and hopefully few prototypes,
46339 which can conflict with char $ac_func (); below.
46340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46341 <limits.h> exists even on freestanding compilers. */
46343 #ifdef __STDC__
46344 # include <limits.h>
46345 #else
46346 # include <assert.h>
46347 #endif
46349 #undef $ac_func
46351 /* Override any gcc2 internal prototype to avoid an error. */
46352 #ifdef __cplusplus
46353 extern "C"
46355 #endif
46356 /* We use char because int might match the return type of a gcc2
46357 builtin and then its argument prototype would still apply. */
46358 char $ac_func ();
46359 /* The GNU C library defines this for functions which it implements
46360 to always fail with ENOSYS. Some functions are actually named
46361 something starting with __ and the normal name is an alias. */
46362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46363 choke me
46364 #else
46365 char (*f) () = $ac_func;
46366 #endif
46367 #ifdef __cplusplus
46369 #endif
46372 main ()
46374 return f != $ac_func;
46376 return 0;
46378 _ACEOF
46379 rm -f conftest.$ac_objext conftest$ac_exeext
46380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46381 (eval $ac_link) 2>conftest.er1
46382 ac_status=$?
46383 grep -v '^ *+' conftest.er1 >conftest.err
46384 rm -f conftest.er1
46385 cat conftest.err >&5
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); } &&
46388 { ac_try='test -z "$ac_c_werror_flag"
46389 || test ! -s conftest.err'
46390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46391 (eval $ac_try) 2>&5
46392 ac_status=$?
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); }; } &&
46395 { ac_try='test -s conftest$ac_exeext'
46396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46397 (eval $ac_try) 2>&5
46398 ac_status=$?
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); }; }; then
46401 eval "$as_ac_var=yes"
46402 else
46403 echo "$as_me: failed program was:" >&5
46404 sed 's/^/| /' conftest.$ac_ext >&5
46406 eval "$as_ac_var=no"
46408 rm -f conftest.err conftest.$ac_objext \
46409 conftest$ac_exeext conftest.$ac_ext
46411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46413 if test `eval echo '${'$as_ac_var'}'` = yes; then
46414 cat >>confdefs.h <<_ACEOF
46415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46416 _ACEOF
46419 done
46421 else
46423 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46424 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46425 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46426 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46427 echo $ECHO_N "(cached) $ECHO_C" >&6
46428 else
46432 ac_ext=cc
46433 ac_cpp='$CXXCPP $CPPFLAGS'
46434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46438 cat >conftest.$ac_ext <<_ACEOF
46439 /* confdefs.h. */
46440 _ACEOF
46441 cat confdefs.h >>conftest.$ac_ext
46442 cat >>conftest.$ac_ext <<_ACEOF
46443 /* end confdefs.h. */
46444 #include <math.h>
46446 main ()
46448 _fmodl(0, 0);
46450 return 0;
46452 _ACEOF
46453 rm -f conftest.$ac_objext
46454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46455 (eval $ac_compile) 2>conftest.er1
46456 ac_status=$?
46457 grep -v '^ *+' conftest.er1 >conftest.err
46458 rm -f conftest.er1
46459 cat conftest.err >&5
46460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46461 (exit $ac_status); } &&
46462 { ac_try='test -z "$ac_cxx_werror_flag"
46463 || test ! -s conftest.err'
46464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46465 (eval $ac_try) 2>&5
46466 ac_status=$?
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); }; } &&
46469 { ac_try='test -s conftest.$ac_objext'
46470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46471 (eval $ac_try) 2>&5
46472 ac_status=$?
46473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46474 (exit $ac_status); }; }; then
46475 glibcxx_cv_func__fmodl_use=yes
46476 else
46477 echo "$as_me: failed program was:" >&5
46478 sed 's/^/| /' conftest.$ac_ext >&5
46480 glibcxx_cv_func__fmodl_use=no
46482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46483 ac_ext=c
46484 ac_cpp='$CPP $CPPFLAGS'
46485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46493 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46494 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46496 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46498 for ac_func in _fmodl
46500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46501 echo "$as_me:$LINENO: checking for $ac_func" >&5
46502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46503 if eval "test \"\${$as_ac_var+set}\" = set"; then
46504 echo $ECHO_N "(cached) $ECHO_C" >&6
46505 else
46506 if test x$gcc_no_link = xyes; then
46507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46509 { (exit 1); exit 1; }; }
46511 cat >conftest.$ac_ext <<_ACEOF
46512 /* confdefs.h. */
46513 _ACEOF
46514 cat confdefs.h >>conftest.$ac_ext
46515 cat >>conftest.$ac_ext <<_ACEOF
46516 /* end confdefs.h. */
46517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46519 #define $ac_func innocuous_$ac_func
46521 /* System header to define __stub macros and hopefully few prototypes,
46522 which can conflict with char $ac_func (); below.
46523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46524 <limits.h> exists even on freestanding compilers. */
46526 #ifdef __STDC__
46527 # include <limits.h>
46528 #else
46529 # include <assert.h>
46530 #endif
46532 #undef $ac_func
46534 /* Override any gcc2 internal prototype to avoid an error. */
46535 #ifdef __cplusplus
46536 extern "C"
46538 #endif
46539 /* We use char because int might match the return type of a gcc2
46540 builtin and then its argument prototype would still apply. */
46541 char $ac_func ();
46542 /* The GNU C library defines this for functions which it implements
46543 to always fail with ENOSYS. Some functions are actually named
46544 something starting with __ and the normal name is an alias. */
46545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46546 choke me
46547 #else
46548 char (*f) () = $ac_func;
46549 #endif
46550 #ifdef __cplusplus
46552 #endif
46555 main ()
46557 return f != $ac_func;
46559 return 0;
46561 _ACEOF
46562 rm -f conftest.$ac_objext conftest$ac_exeext
46563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46564 (eval $ac_link) 2>conftest.er1
46565 ac_status=$?
46566 grep -v '^ *+' conftest.er1 >conftest.err
46567 rm -f conftest.er1
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } &&
46571 { ac_try='test -z "$ac_c_werror_flag"
46572 || test ! -s conftest.err'
46573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46574 (eval $ac_try) 2>&5
46575 ac_status=$?
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); }; } &&
46578 { ac_try='test -s conftest$ac_exeext'
46579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46580 (eval $ac_try) 2>&5
46581 ac_status=$?
46582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46583 (exit $ac_status); }; }; then
46584 eval "$as_ac_var=yes"
46585 else
46586 echo "$as_me: failed program was:" >&5
46587 sed 's/^/| /' conftest.$ac_ext >&5
46589 eval "$as_ac_var=no"
46591 rm -f conftest.err conftest.$ac_objext \
46592 conftest$ac_exeext conftest.$ac_ext
46594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46596 if test `eval echo '${'$as_ac_var'}'` = yes; then
46597 cat >>confdefs.h <<_ACEOF
46598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46599 _ACEOF
46602 done
46612 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46613 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46614 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46615 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46616 echo $ECHO_N "(cached) $ECHO_C" >&6
46617 else
46621 ac_ext=cc
46622 ac_cpp='$CXXCPP $CPPFLAGS'
46623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46627 cat >conftest.$ac_ext <<_ACEOF
46628 /* confdefs.h. */
46629 _ACEOF
46630 cat confdefs.h >>conftest.$ac_ext
46631 cat >>conftest.$ac_ext <<_ACEOF
46632 /* end confdefs.h. */
46633 #include <math.h>
46635 main ()
46637 frexpl(0, 0);
46639 return 0;
46641 _ACEOF
46642 rm -f conftest.$ac_objext
46643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46644 (eval $ac_compile) 2>conftest.er1
46645 ac_status=$?
46646 grep -v '^ *+' conftest.er1 >conftest.err
46647 rm -f conftest.er1
46648 cat conftest.err >&5
46649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650 (exit $ac_status); } &&
46651 { ac_try='test -z "$ac_cxx_werror_flag"
46652 || test ! -s conftest.err'
46653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46654 (eval $ac_try) 2>&5
46655 ac_status=$?
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); }; } &&
46658 { ac_try='test -s conftest.$ac_objext'
46659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46660 (eval $ac_try) 2>&5
46661 ac_status=$?
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); }; }; then
46664 glibcxx_cv_func_frexpl_use=yes
46665 else
46666 echo "$as_me: failed program was:" >&5
46667 sed 's/^/| /' conftest.$ac_ext >&5
46669 glibcxx_cv_func_frexpl_use=no
46671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46672 ac_ext=c
46673 ac_cpp='$CPP $CPPFLAGS'
46674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46683 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46685 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46687 for ac_func in frexpl
46689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46690 echo "$as_me:$LINENO: checking for $ac_func" >&5
46691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46692 if eval "test \"\${$as_ac_var+set}\" = set"; then
46693 echo $ECHO_N "(cached) $ECHO_C" >&6
46694 else
46695 if test x$gcc_no_link = xyes; then
46696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46698 { (exit 1); exit 1; }; }
46700 cat >conftest.$ac_ext <<_ACEOF
46701 /* confdefs.h. */
46702 _ACEOF
46703 cat confdefs.h >>conftest.$ac_ext
46704 cat >>conftest.$ac_ext <<_ACEOF
46705 /* end confdefs.h. */
46706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46708 #define $ac_func innocuous_$ac_func
46710 /* System header to define __stub macros and hopefully few prototypes,
46711 which can conflict with char $ac_func (); below.
46712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46713 <limits.h> exists even on freestanding compilers. */
46715 #ifdef __STDC__
46716 # include <limits.h>
46717 #else
46718 # include <assert.h>
46719 #endif
46721 #undef $ac_func
46723 /* Override any gcc2 internal prototype to avoid an error. */
46724 #ifdef __cplusplus
46725 extern "C"
46727 #endif
46728 /* We use char because int might match the return type of a gcc2
46729 builtin and then its argument prototype would still apply. */
46730 char $ac_func ();
46731 /* The GNU C library defines this for functions which it implements
46732 to always fail with ENOSYS. Some functions are actually named
46733 something starting with __ and the normal name is an alias. */
46734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46735 choke me
46736 #else
46737 char (*f) () = $ac_func;
46738 #endif
46739 #ifdef __cplusplus
46741 #endif
46744 main ()
46746 return f != $ac_func;
46748 return 0;
46750 _ACEOF
46751 rm -f conftest.$ac_objext conftest$ac_exeext
46752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46753 (eval $ac_link) 2>conftest.er1
46754 ac_status=$?
46755 grep -v '^ *+' conftest.er1 >conftest.err
46756 rm -f conftest.er1
46757 cat conftest.err >&5
46758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759 (exit $ac_status); } &&
46760 { ac_try='test -z "$ac_c_werror_flag"
46761 || test ! -s conftest.err'
46762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46763 (eval $ac_try) 2>&5
46764 ac_status=$?
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); }; } &&
46767 { ac_try='test -s conftest$ac_exeext'
46768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46769 (eval $ac_try) 2>&5
46770 ac_status=$?
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); }; }; then
46773 eval "$as_ac_var=yes"
46774 else
46775 echo "$as_me: failed program was:" >&5
46776 sed 's/^/| /' conftest.$ac_ext >&5
46778 eval "$as_ac_var=no"
46780 rm -f conftest.err conftest.$ac_objext \
46781 conftest$ac_exeext conftest.$ac_ext
46783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46785 if test `eval echo '${'$as_ac_var'}'` = yes; then
46786 cat >>confdefs.h <<_ACEOF
46787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46788 _ACEOF
46791 done
46793 else
46795 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46796 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46797 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46798 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46799 echo $ECHO_N "(cached) $ECHO_C" >&6
46800 else
46804 ac_ext=cc
46805 ac_cpp='$CXXCPP $CPPFLAGS'
46806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46810 cat >conftest.$ac_ext <<_ACEOF
46811 /* confdefs.h. */
46812 _ACEOF
46813 cat confdefs.h >>conftest.$ac_ext
46814 cat >>conftest.$ac_ext <<_ACEOF
46815 /* end confdefs.h. */
46816 #include <math.h>
46818 main ()
46820 _frexpl(0, 0);
46822 return 0;
46824 _ACEOF
46825 rm -f conftest.$ac_objext
46826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46827 (eval $ac_compile) 2>conftest.er1
46828 ac_status=$?
46829 grep -v '^ *+' conftest.er1 >conftest.err
46830 rm -f conftest.er1
46831 cat conftest.err >&5
46832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833 (exit $ac_status); } &&
46834 { ac_try='test -z "$ac_cxx_werror_flag"
46835 || test ! -s conftest.err'
46836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46837 (eval $ac_try) 2>&5
46838 ac_status=$?
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); }; } &&
46841 { ac_try='test -s conftest.$ac_objext'
46842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46843 (eval $ac_try) 2>&5
46844 ac_status=$?
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); }; }; then
46847 glibcxx_cv_func__frexpl_use=yes
46848 else
46849 echo "$as_me: failed program was:" >&5
46850 sed 's/^/| /' conftest.$ac_ext >&5
46852 glibcxx_cv_func__frexpl_use=no
46854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46855 ac_ext=c
46856 ac_cpp='$CPP $CPPFLAGS'
46857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46866 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46868 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46870 for ac_func in _frexpl
46872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46873 echo "$as_me:$LINENO: checking for $ac_func" >&5
46874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46875 if eval "test \"\${$as_ac_var+set}\" = set"; then
46876 echo $ECHO_N "(cached) $ECHO_C" >&6
46877 else
46878 if test x$gcc_no_link = xyes; then
46879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46881 { (exit 1); exit 1; }; }
46883 cat >conftest.$ac_ext <<_ACEOF
46884 /* confdefs.h. */
46885 _ACEOF
46886 cat confdefs.h >>conftest.$ac_ext
46887 cat >>conftest.$ac_ext <<_ACEOF
46888 /* end confdefs.h. */
46889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46891 #define $ac_func innocuous_$ac_func
46893 /* System header to define __stub macros and hopefully few prototypes,
46894 which can conflict with char $ac_func (); below.
46895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46896 <limits.h> exists even on freestanding compilers. */
46898 #ifdef __STDC__
46899 # include <limits.h>
46900 #else
46901 # include <assert.h>
46902 #endif
46904 #undef $ac_func
46906 /* Override any gcc2 internal prototype to avoid an error. */
46907 #ifdef __cplusplus
46908 extern "C"
46910 #endif
46911 /* We use char because int might match the return type of a gcc2
46912 builtin and then its argument prototype would still apply. */
46913 char $ac_func ();
46914 /* The GNU C library defines this for functions which it implements
46915 to always fail with ENOSYS. Some functions are actually named
46916 something starting with __ and the normal name is an alias. */
46917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46918 choke me
46919 #else
46920 char (*f) () = $ac_func;
46921 #endif
46922 #ifdef __cplusplus
46924 #endif
46927 main ()
46929 return f != $ac_func;
46931 return 0;
46933 _ACEOF
46934 rm -f conftest.$ac_objext conftest$ac_exeext
46935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46936 (eval $ac_link) 2>conftest.er1
46937 ac_status=$?
46938 grep -v '^ *+' conftest.er1 >conftest.err
46939 rm -f conftest.er1
46940 cat conftest.err >&5
46941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942 (exit $ac_status); } &&
46943 { ac_try='test -z "$ac_c_werror_flag"
46944 || test ! -s conftest.err'
46945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46946 (eval $ac_try) 2>&5
46947 ac_status=$?
46948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46949 (exit $ac_status); }; } &&
46950 { ac_try='test -s conftest$ac_exeext'
46951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46952 (eval $ac_try) 2>&5
46953 ac_status=$?
46954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46955 (exit $ac_status); }; }; then
46956 eval "$as_ac_var=yes"
46957 else
46958 echo "$as_me: failed program was:" >&5
46959 sed 's/^/| /' conftest.$ac_ext >&5
46961 eval "$as_ac_var=no"
46963 rm -f conftest.err conftest.$ac_objext \
46964 conftest$ac_exeext conftest.$ac_ext
46966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46968 if test `eval echo '${'$as_ac_var'}'` = yes; then
46969 cat >>confdefs.h <<_ACEOF
46970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46971 _ACEOF
46974 done
46984 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46985 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46986 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46987 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46988 echo $ECHO_N "(cached) $ECHO_C" >&6
46989 else
46993 ac_ext=cc
46994 ac_cpp='$CXXCPP $CPPFLAGS'
46995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46999 cat >conftest.$ac_ext <<_ACEOF
47000 /* confdefs.h. */
47001 _ACEOF
47002 cat confdefs.h >>conftest.$ac_ext
47003 cat >>conftest.$ac_ext <<_ACEOF
47004 /* end confdefs.h. */
47005 #include <math.h>
47007 main ()
47009 hypotl(0, 0);
47011 return 0;
47013 _ACEOF
47014 rm -f conftest.$ac_objext
47015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47016 (eval $ac_compile) 2>conftest.er1
47017 ac_status=$?
47018 grep -v '^ *+' conftest.er1 >conftest.err
47019 rm -f conftest.er1
47020 cat conftest.err >&5
47021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47022 (exit $ac_status); } &&
47023 { ac_try='test -z "$ac_cxx_werror_flag"
47024 || test ! -s conftest.err'
47025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47026 (eval $ac_try) 2>&5
47027 ac_status=$?
47028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47029 (exit $ac_status); }; } &&
47030 { ac_try='test -s conftest.$ac_objext'
47031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47032 (eval $ac_try) 2>&5
47033 ac_status=$?
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); }; }; then
47036 glibcxx_cv_func_hypotl_use=yes
47037 else
47038 echo "$as_me: failed program was:" >&5
47039 sed 's/^/| /' conftest.$ac_ext >&5
47041 glibcxx_cv_func_hypotl_use=no
47043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47044 ac_ext=c
47045 ac_cpp='$CPP $CPPFLAGS'
47046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
47055 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
47057 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47059 for ac_func in hypotl
47061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47062 echo "$as_me:$LINENO: checking for $ac_func" >&5
47063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47064 if eval "test \"\${$as_ac_var+set}\" = set"; then
47065 echo $ECHO_N "(cached) $ECHO_C" >&6
47066 else
47067 if test x$gcc_no_link = xyes; then
47068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47070 { (exit 1); exit 1; }; }
47072 cat >conftest.$ac_ext <<_ACEOF
47073 /* confdefs.h. */
47074 _ACEOF
47075 cat confdefs.h >>conftest.$ac_ext
47076 cat >>conftest.$ac_ext <<_ACEOF
47077 /* end confdefs.h. */
47078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47080 #define $ac_func innocuous_$ac_func
47082 /* System header to define __stub macros and hopefully few prototypes,
47083 which can conflict with char $ac_func (); below.
47084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47085 <limits.h> exists even on freestanding compilers. */
47087 #ifdef __STDC__
47088 # include <limits.h>
47089 #else
47090 # include <assert.h>
47091 #endif
47093 #undef $ac_func
47095 /* Override any gcc2 internal prototype to avoid an error. */
47096 #ifdef __cplusplus
47097 extern "C"
47099 #endif
47100 /* We use char because int might match the return type of a gcc2
47101 builtin and then its argument prototype would still apply. */
47102 char $ac_func ();
47103 /* The GNU C library defines this for functions which it implements
47104 to always fail with ENOSYS. Some functions are actually named
47105 something starting with __ and the normal name is an alias. */
47106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47107 choke me
47108 #else
47109 char (*f) () = $ac_func;
47110 #endif
47111 #ifdef __cplusplus
47113 #endif
47116 main ()
47118 return f != $ac_func;
47120 return 0;
47122 _ACEOF
47123 rm -f conftest.$ac_objext conftest$ac_exeext
47124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47125 (eval $ac_link) 2>conftest.er1
47126 ac_status=$?
47127 grep -v '^ *+' conftest.er1 >conftest.err
47128 rm -f conftest.er1
47129 cat conftest.err >&5
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); } &&
47132 { ac_try='test -z "$ac_c_werror_flag"
47133 || test ! -s conftest.err'
47134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47135 (eval $ac_try) 2>&5
47136 ac_status=$?
47137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47138 (exit $ac_status); }; } &&
47139 { ac_try='test -s conftest$ac_exeext'
47140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47141 (eval $ac_try) 2>&5
47142 ac_status=$?
47143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144 (exit $ac_status); }; }; then
47145 eval "$as_ac_var=yes"
47146 else
47147 echo "$as_me: failed program was:" >&5
47148 sed 's/^/| /' conftest.$ac_ext >&5
47150 eval "$as_ac_var=no"
47152 rm -f conftest.err conftest.$ac_objext \
47153 conftest$ac_exeext conftest.$ac_ext
47155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47157 if test `eval echo '${'$as_ac_var'}'` = yes; then
47158 cat >>confdefs.h <<_ACEOF
47159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47160 _ACEOF
47163 done
47165 else
47167 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
47168 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
47169 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47170 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
47171 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 else
47176 ac_ext=cc
47177 ac_cpp='$CXXCPP $CPPFLAGS'
47178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47182 cat >conftest.$ac_ext <<_ACEOF
47183 /* confdefs.h. */
47184 _ACEOF
47185 cat confdefs.h >>conftest.$ac_ext
47186 cat >>conftest.$ac_ext <<_ACEOF
47187 /* end confdefs.h. */
47188 #include <math.h>
47190 main ()
47192 _hypotl(0, 0);
47194 return 0;
47196 _ACEOF
47197 rm -f conftest.$ac_objext
47198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47199 (eval $ac_compile) 2>conftest.er1
47200 ac_status=$?
47201 grep -v '^ *+' conftest.er1 >conftest.err
47202 rm -f conftest.er1
47203 cat conftest.err >&5
47204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47205 (exit $ac_status); } &&
47206 { ac_try='test -z "$ac_cxx_werror_flag"
47207 || test ! -s conftest.err'
47208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47209 (eval $ac_try) 2>&5
47210 ac_status=$?
47211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47212 (exit $ac_status); }; } &&
47213 { ac_try='test -s conftest.$ac_objext'
47214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47215 (eval $ac_try) 2>&5
47216 ac_status=$?
47217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47218 (exit $ac_status); }; }; then
47219 glibcxx_cv_func__hypotl_use=yes
47220 else
47221 echo "$as_me: failed program was:" >&5
47222 sed 's/^/| /' conftest.$ac_ext >&5
47224 glibcxx_cv_func__hypotl_use=no
47226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47227 ac_ext=c
47228 ac_cpp='$CPP $CPPFLAGS'
47229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
47238 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
47240 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47242 for ac_func in _hypotl
47244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47245 echo "$as_me:$LINENO: checking for $ac_func" >&5
47246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47247 if eval "test \"\${$as_ac_var+set}\" = set"; then
47248 echo $ECHO_N "(cached) $ECHO_C" >&6
47249 else
47250 if test x$gcc_no_link = xyes; then
47251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47253 { (exit 1); exit 1; }; }
47255 cat >conftest.$ac_ext <<_ACEOF
47256 /* confdefs.h. */
47257 _ACEOF
47258 cat confdefs.h >>conftest.$ac_ext
47259 cat >>conftest.$ac_ext <<_ACEOF
47260 /* end confdefs.h. */
47261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47263 #define $ac_func innocuous_$ac_func
47265 /* System header to define __stub macros and hopefully few prototypes,
47266 which can conflict with char $ac_func (); below.
47267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47268 <limits.h> exists even on freestanding compilers. */
47270 #ifdef __STDC__
47271 # include <limits.h>
47272 #else
47273 # include <assert.h>
47274 #endif
47276 #undef $ac_func
47278 /* Override any gcc2 internal prototype to avoid an error. */
47279 #ifdef __cplusplus
47280 extern "C"
47282 #endif
47283 /* We use char because int might match the return type of a gcc2
47284 builtin and then its argument prototype would still apply. */
47285 char $ac_func ();
47286 /* The GNU C library defines this for functions which it implements
47287 to always fail with ENOSYS. Some functions are actually named
47288 something starting with __ and the normal name is an alias. */
47289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47290 choke me
47291 #else
47292 char (*f) () = $ac_func;
47293 #endif
47294 #ifdef __cplusplus
47296 #endif
47299 main ()
47301 return f != $ac_func;
47303 return 0;
47305 _ACEOF
47306 rm -f conftest.$ac_objext conftest$ac_exeext
47307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47308 (eval $ac_link) 2>conftest.er1
47309 ac_status=$?
47310 grep -v '^ *+' conftest.er1 >conftest.err
47311 rm -f conftest.er1
47312 cat conftest.err >&5
47313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47314 (exit $ac_status); } &&
47315 { ac_try='test -z "$ac_c_werror_flag"
47316 || test ! -s conftest.err'
47317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47318 (eval $ac_try) 2>&5
47319 ac_status=$?
47320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47321 (exit $ac_status); }; } &&
47322 { ac_try='test -s conftest$ac_exeext'
47323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47324 (eval $ac_try) 2>&5
47325 ac_status=$?
47326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327 (exit $ac_status); }; }; then
47328 eval "$as_ac_var=yes"
47329 else
47330 echo "$as_me: failed program was:" >&5
47331 sed 's/^/| /' conftest.$ac_ext >&5
47333 eval "$as_ac_var=no"
47335 rm -f conftest.err conftest.$ac_objext \
47336 conftest$ac_exeext conftest.$ac_ext
47338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47340 if test `eval echo '${'$as_ac_var'}'` = yes; then
47341 cat >>confdefs.h <<_ACEOF
47342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47343 _ACEOF
47346 done
47356 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
47357 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
47358 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47359 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 else
47365 ac_ext=cc
47366 ac_cpp='$CXXCPP $CPPFLAGS'
47367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47371 cat >conftest.$ac_ext <<_ACEOF
47372 /* confdefs.h. */
47373 _ACEOF
47374 cat confdefs.h >>conftest.$ac_ext
47375 cat >>conftest.$ac_ext <<_ACEOF
47376 /* end confdefs.h. */
47377 #include <math.h>
47379 main ()
47381 ldexpl(0, 0);
47383 return 0;
47385 _ACEOF
47386 rm -f conftest.$ac_objext
47387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47388 (eval $ac_compile) 2>conftest.er1
47389 ac_status=$?
47390 grep -v '^ *+' conftest.er1 >conftest.err
47391 rm -f conftest.er1
47392 cat conftest.err >&5
47393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394 (exit $ac_status); } &&
47395 { ac_try='test -z "$ac_cxx_werror_flag"
47396 || test ! -s conftest.err'
47397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47398 (eval $ac_try) 2>&5
47399 ac_status=$?
47400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47401 (exit $ac_status); }; } &&
47402 { ac_try='test -s conftest.$ac_objext'
47403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47404 (eval $ac_try) 2>&5
47405 ac_status=$?
47406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47407 (exit $ac_status); }; }; then
47408 glibcxx_cv_func_ldexpl_use=yes
47409 else
47410 echo "$as_me: failed program was:" >&5
47411 sed 's/^/| /' conftest.$ac_ext >&5
47413 glibcxx_cv_func_ldexpl_use=no
47415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47416 ac_ext=c
47417 ac_cpp='$CPP $CPPFLAGS'
47418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47427 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47429 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47431 for ac_func in ldexpl
47433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47434 echo "$as_me:$LINENO: checking for $ac_func" >&5
47435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47436 if eval "test \"\${$as_ac_var+set}\" = set"; then
47437 echo $ECHO_N "(cached) $ECHO_C" >&6
47438 else
47439 if test x$gcc_no_link = xyes; then
47440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47442 { (exit 1); exit 1; }; }
47444 cat >conftest.$ac_ext <<_ACEOF
47445 /* confdefs.h. */
47446 _ACEOF
47447 cat confdefs.h >>conftest.$ac_ext
47448 cat >>conftest.$ac_ext <<_ACEOF
47449 /* end confdefs.h. */
47450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47452 #define $ac_func innocuous_$ac_func
47454 /* System header to define __stub macros and hopefully few prototypes,
47455 which can conflict with char $ac_func (); below.
47456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47457 <limits.h> exists even on freestanding compilers. */
47459 #ifdef __STDC__
47460 # include <limits.h>
47461 #else
47462 # include <assert.h>
47463 #endif
47465 #undef $ac_func
47467 /* Override any gcc2 internal prototype to avoid an error. */
47468 #ifdef __cplusplus
47469 extern "C"
47471 #endif
47472 /* We use char because int might match the return type of a gcc2
47473 builtin and then its argument prototype would still apply. */
47474 char $ac_func ();
47475 /* The GNU C library defines this for functions which it implements
47476 to always fail with ENOSYS. Some functions are actually named
47477 something starting with __ and the normal name is an alias. */
47478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47479 choke me
47480 #else
47481 char (*f) () = $ac_func;
47482 #endif
47483 #ifdef __cplusplus
47485 #endif
47488 main ()
47490 return f != $ac_func;
47492 return 0;
47494 _ACEOF
47495 rm -f conftest.$ac_objext conftest$ac_exeext
47496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47497 (eval $ac_link) 2>conftest.er1
47498 ac_status=$?
47499 grep -v '^ *+' conftest.er1 >conftest.err
47500 rm -f conftest.er1
47501 cat conftest.err >&5
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); } &&
47504 { ac_try='test -z "$ac_c_werror_flag"
47505 || test ! -s conftest.err'
47506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47507 (eval $ac_try) 2>&5
47508 ac_status=$?
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); }; } &&
47511 { ac_try='test -s conftest$ac_exeext'
47512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47513 (eval $ac_try) 2>&5
47514 ac_status=$?
47515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47516 (exit $ac_status); }; }; then
47517 eval "$as_ac_var=yes"
47518 else
47519 echo "$as_me: failed program was:" >&5
47520 sed 's/^/| /' conftest.$ac_ext >&5
47522 eval "$as_ac_var=no"
47524 rm -f conftest.err conftest.$ac_objext \
47525 conftest$ac_exeext conftest.$ac_ext
47527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47529 if test `eval echo '${'$as_ac_var'}'` = yes; then
47530 cat >>confdefs.h <<_ACEOF
47531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47532 _ACEOF
47535 done
47537 else
47539 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47540 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47541 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47542 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47543 echo $ECHO_N "(cached) $ECHO_C" >&6
47544 else
47548 ac_ext=cc
47549 ac_cpp='$CXXCPP $CPPFLAGS'
47550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47554 cat >conftest.$ac_ext <<_ACEOF
47555 /* confdefs.h. */
47556 _ACEOF
47557 cat confdefs.h >>conftest.$ac_ext
47558 cat >>conftest.$ac_ext <<_ACEOF
47559 /* end confdefs.h. */
47560 #include <math.h>
47562 main ()
47564 _ldexpl(0, 0);
47566 return 0;
47568 _ACEOF
47569 rm -f conftest.$ac_objext
47570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47571 (eval $ac_compile) 2>conftest.er1
47572 ac_status=$?
47573 grep -v '^ *+' conftest.er1 >conftest.err
47574 rm -f conftest.er1
47575 cat conftest.err >&5
47576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47577 (exit $ac_status); } &&
47578 { ac_try='test -z "$ac_cxx_werror_flag"
47579 || test ! -s conftest.err'
47580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47581 (eval $ac_try) 2>&5
47582 ac_status=$?
47583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584 (exit $ac_status); }; } &&
47585 { ac_try='test -s conftest.$ac_objext'
47586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47587 (eval $ac_try) 2>&5
47588 ac_status=$?
47589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47590 (exit $ac_status); }; }; then
47591 glibcxx_cv_func__ldexpl_use=yes
47592 else
47593 echo "$as_me: failed program was:" >&5
47594 sed 's/^/| /' conftest.$ac_ext >&5
47596 glibcxx_cv_func__ldexpl_use=no
47598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47599 ac_ext=c
47600 ac_cpp='$CPP $CPPFLAGS'
47601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47610 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47612 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47614 for ac_func in _ldexpl
47616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47617 echo "$as_me:$LINENO: checking for $ac_func" >&5
47618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47619 if eval "test \"\${$as_ac_var+set}\" = set"; then
47620 echo $ECHO_N "(cached) $ECHO_C" >&6
47621 else
47622 if test x$gcc_no_link = xyes; then
47623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47625 { (exit 1); exit 1; }; }
47627 cat >conftest.$ac_ext <<_ACEOF
47628 /* confdefs.h. */
47629 _ACEOF
47630 cat confdefs.h >>conftest.$ac_ext
47631 cat >>conftest.$ac_ext <<_ACEOF
47632 /* end confdefs.h. */
47633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47635 #define $ac_func innocuous_$ac_func
47637 /* System header to define __stub macros and hopefully few prototypes,
47638 which can conflict with char $ac_func (); below.
47639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47640 <limits.h> exists even on freestanding compilers. */
47642 #ifdef __STDC__
47643 # include <limits.h>
47644 #else
47645 # include <assert.h>
47646 #endif
47648 #undef $ac_func
47650 /* Override any gcc2 internal prototype to avoid an error. */
47651 #ifdef __cplusplus
47652 extern "C"
47654 #endif
47655 /* We use char because int might match the return type of a gcc2
47656 builtin and then its argument prototype would still apply. */
47657 char $ac_func ();
47658 /* The GNU C library defines this for functions which it implements
47659 to always fail with ENOSYS. Some functions are actually named
47660 something starting with __ and the normal name is an alias. */
47661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47662 choke me
47663 #else
47664 char (*f) () = $ac_func;
47665 #endif
47666 #ifdef __cplusplus
47668 #endif
47671 main ()
47673 return f != $ac_func;
47675 return 0;
47677 _ACEOF
47678 rm -f conftest.$ac_objext conftest$ac_exeext
47679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47680 (eval $ac_link) 2>conftest.er1
47681 ac_status=$?
47682 grep -v '^ *+' conftest.er1 >conftest.err
47683 rm -f conftest.er1
47684 cat conftest.err >&5
47685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686 (exit $ac_status); } &&
47687 { ac_try='test -z "$ac_c_werror_flag"
47688 || test ! -s conftest.err'
47689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47690 (eval $ac_try) 2>&5
47691 ac_status=$?
47692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693 (exit $ac_status); }; } &&
47694 { ac_try='test -s conftest$ac_exeext'
47695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47696 (eval $ac_try) 2>&5
47697 ac_status=$?
47698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47699 (exit $ac_status); }; }; then
47700 eval "$as_ac_var=yes"
47701 else
47702 echo "$as_me: failed program was:" >&5
47703 sed 's/^/| /' conftest.$ac_ext >&5
47705 eval "$as_ac_var=no"
47707 rm -f conftest.err conftest.$ac_objext \
47708 conftest$ac_exeext conftest.$ac_ext
47710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47712 if test `eval echo '${'$as_ac_var'}'` = yes; then
47713 cat >>confdefs.h <<_ACEOF
47714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47715 _ACEOF
47718 done
47728 echo "$as_me:$LINENO: checking for logl declaration" >&5
47729 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47730 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47731 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47732 echo $ECHO_N "(cached) $ECHO_C" >&6
47733 else
47737 ac_ext=cc
47738 ac_cpp='$CXXCPP $CPPFLAGS'
47739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47743 cat >conftest.$ac_ext <<_ACEOF
47744 /* confdefs.h. */
47745 _ACEOF
47746 cat confdefs.h >>conftest.$ac_ext
47747 cat >>conftest.$ac_ext <<_ACEOF
47748 /* end confdefs.h. */
47749 #include <math.h>
47750 #ifdef HAVE_IEEEFP_H
47751 #include <ieeefp.h>
47752 #endif
47755 main ()
47757 logl(0);
47759 return 0;
47761 _ACEOF
47762 rm -f conftest.$ac_objext
47763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47764 (eval $ac_compile) 2>conftest.er1
47765 ac_status=$?
47766 grep -v '^ *+' conftest.er1 >conftest.err
47767 rm -f conftest.er1
47768 cat conftest.err >&5
47769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47770 (exit $ac_status); } &&
47771 { ac_try='test -z "$ac_cxx_werror_flag"
47772 || test ! -s conftest.err'
47773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47774 (eval $ac_try) 2>&5
47775 ac_status=$?
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); }; } &&
47778 { ac_try='test -s conftest.$ac_objext'
47779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47780 (eval $ac_try) 2>&5
47781 ac_status=$?
47782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47783 (exit $ac_status); }; }; then
47784 glibcxx_cv_func_logl_use=yes
47785 else
47786 echo "$as_me: failed program was:" >&5
47787 sed 's/^/| /' conftest.$ac_ext >&5
47789 glibcxx_cv_func_logl_use=no
47791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47792 ac_ext=c
47793 ac_cpp='$CPP $CPPFLAGS'
47794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47803 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47805 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47807 for ac_func in logl
47809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47810 echo "$as_me:$LINENO: checking for $ac_func" >&5
47811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47812 if eval "test \"\${$as_ac_var+set}\" = set"; then
47813 echo $ECHO_N "(cached) $ECHO_C" >&6
47814 else
47815 if test x$gcc_no_link = xyes; then
47816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47818 { (exit 1); exit 1; }; }
47820 cat >conftest.$ac_ext <<_ACEOF
47821 /* confdefs.h. */
47822 _ACEOF
47823 cat confdefs.h >>conftest.$ac_ext
47824 cat >>conftest.$ac_ext <<_ACEOF
47825 /* end confdefs.h. */
47826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47828 #define $ac_func innocuous_$ac_func
47830 /* System header to define __stub macros and hopefully few prototypes,
47831 which can conflict with char $ac_func (); below.
47832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47833 <limits.h> exists even on freestanding compilers. */
47835 #ifdef __STDC__
47836 # include <limits.h>
47837 #else
47838 # include <assert.h>
47839 #endif
47841 #undef $ac_func
47843 /* Override any gcc2 internal prototype to avoid an error. */
47844 #ifdef __cplusplus
47845 extern "C"
47847 #endif
47848 /* We use char because int might match the return type of a gcc2
47849 builtin and then its argument prototype would still apply. */
47850 char $ac_func ();
47851 /* The GNU C library defines this for functions which it implements
47852 to always fail with ENOSYS. Some functions are actually named
47853 something starting with __ and the normal name is an alias. */
47854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47855 choke me
47856 #else
47857 char (*f) () = $ac_func;
47858 #endif
47859 #ifdef __cplusplus
47861 #endif
47864 main ()
47866 return f != $ac_func;
47868 return 0;
47870 _ACEOF
47871 rm -f conftest.$ac_objext conftest$ac_exeext
47872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47873 (eval $ac_link) 2>conftest.er1
47874 ac_status=$?
47875 grep -v '^ *+' conftest.er1 >conftest.err
47876 rm -f conftest.er1
47877 cat conftest.err >&5
47878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47879 (exit $ac_status); } &&
47880 { ac_try='test -z "$ac_c_werror_flag"
47881 || test ! -s conftest.err'
47882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47883 (eval $ac_try) 2>&5
47884 ac_status=$?
47885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47886 (exit $ac_status); }; } &&
47887 { ac_try='test -s conftest$ac_exeext'
47888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47889 (eval $ac_try) 2>&5
47890 ac_status=$?
47891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47892 (exit $ac_status); }; }; then
47893 eval "$as_ac_var=yes"
47894 else
47895 echo "$as_me: failed program was:" >&5
47896 sed 's/^/| /' conftest.$ac_ext >&5
47898 eval "$as_ac_var=no"
47900 rm -f conftest.err conftest.$ac_objext \
47901 conftest$ac_exeext conftest.$ac_ext
47903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47905 if test `eval echo '${'$as_ac_var'}'` = yes; then
47906 cat >>confdefs.h <<_ACEOF
47907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47908 _ACEOF
47911 done
47913 else
47915 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47916 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47917 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47918 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47919 echo $ECHO_N "(cached) $ECHO_C" >&6
47920 else
47924 ac_ext=cc
47925 ac_cpp='$CXXCPP $CPPFLAGS'
47926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47930 cat >conftest.$ac_ext <<_ACEOF
47931 /* confdefs.h. */
47932 _ACEOF
47933 cat confdefs.h >>conftest.$ac_ext
47934 cat >>conftest.$ac_ext <<_ACEOF
47935 /* end confdefs.h. */
47936 #include <math.h>
47937 #ifdef HAVE_IEEEFP_H
47938 #include <ieeefp.h>
47939 #endif
47942 main ()
47944 _logl(0);
47946 return 0;
47948 _ACEOF
47949 rm -f conftest.$ac_objext
47950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47951 (eval $ac_compile) 2>conftest.er1
47952 ac_status=$?
47953 grep -v '^ *+' conftest.er1 >conftest.err
47954 rm -f conftest.er1
47955 cat conftest.err >&5
47956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47957 (exit $ac_status); } &&
47958 { ac_try='test -z "$ac_cxx_werror_flag"
47959 || test ! -s conftest.err'
47960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47961 (eval $ac_try) 2>&5
47962 ac_status=$?
47963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47964 (exit $ac_status); }; } &&
47965 { ac_try='test -s conftest.$ac_objext'
47966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47967 (eval $ac_try) 2>&5
47968 ac_status=$?
47969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47970 (exit $ac_status); }; }; then
47971 glibcxx_cv_func__logl_use=yes
47972 else
47973 echo "$as_me: failed program was:" >&5
47974 sed 's/^/| /' conftest.$ac_ext >&5
47976 glibcxx_cv_func__logl_use=no
47978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47979 ac_ext=c
47980 ac_cpp='$CPP $CPPFLAGS'
47981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47990 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47992 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47994 for ac_func in _logl
47996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47997 echo "$as_me:$LINENO: checking for $ac_func" >&5
47998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47999 if eval "test \"\${$as_ac_var+set}\" = set"; then
48000 echo $ECHO_N "(cached) $ECHO_C" >&6
48001 else
48002 if test x$gcc_no_link = xyes; then
48003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48005 { (exit 1); exit 1; }; }
48007 cat >conftest.$ac_ext <<_ACEOF
48008 /* confdefs.h. */
48009 _ACEOF
48010 cat confdefs.h >>conftest.$ac_ext
48011 cat >>conftest.$ac_ext <<_ACEOF
48012 /* end confdefs.h. */
48013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48015 #define $ac_func innocuous_$ac_func
48017 /* System header to define __stub macros and hopefully few prototypes,
48018 which can conflict with char $ac_func (); below.
48019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48020 <limits.h> exists even on freestanding compilers. */
48022 #ifdef __STDC__
48023 # include <limits.h>
48024 #else
48025 # include <assert.h>
48026 #endif
48028 #undef $ac_func
48030 /* Override any gcc2 internal prototype to avoid an error. */
48031 #ifdef __cplusplus
48032 extern "C"
48034 #endif
48035 /* We use char because int might match the return type of a gcc2
48036 builtin and then its argument prototype would still apply. */
48037 char $ac_func ();
48038 /* The GNU C library defines this for functions which it implements
48039 to always fail with ENOSYS. Some functions are actually named
48040 something starting with __ and the normal name is an alias. */
48041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48042 choke me
48043 #else
48044 char (*f) () = $ac_func;
48045 #endif
48046 #ifdef __cplusplus
48048 #endif
48051 main ()
48053 return f != $ac_func;
48055 return 0;
48057 _ACEOF
48058 rm -f conftest.$ac_objext conftest$ac_exeext
48059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48060 (eval $ac_link) 2>conftest.er1
48061 ac_status=$?
48062 grep -v '^ *+' conftest.er1 >conftest.err
48063 rm -f conftest.er1
48064 cat conftest.err >&5
48065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48066 (exit $ac_status); } &&
48067 { ac_try='test -z "$ac_c_werror_flag"
48068 || test ! -s conftest.err'
48069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48070 (eval $ac_try) 2>&5
48071 ac_status=$?
48072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48073 (exit $ac_status); }; } &&
48074 { ac_try='test -s conftest$ac_exeext'
48075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48076 (eval $ac_try) 2>&5
48077 ac_status=$?
48078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48079 (exit $ac_status); }; }; then
48080 eval "$as_ac_var=yes"
48081 else
48082 echo "$as_me: failed program was:" >&5
48083 sed 's/^/| /' conftest.$ac_ext >&5
48085 eval "$as_ac_var=no"
48087 rm -f conftest.err conftest.$ac_objext \
48088 conftest$ac_exeext conftest.$ac_ext
48090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48092 if test `eval echo '${'$as_ac_var'}'` = yes; then
48093 cat >>confdefs.h <<_ACEOF
48094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48095 _ACEOF
48098 done
48108 echo "$as_me:$LINENO: checking for log10l declaration" >&5
48109 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
48110 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
48111 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
48112 echo $ECHO_N "(cached) $ECHO_C" >&6
48113 else
48117 ac_ext=cc
48118 ac_cpp='$CXXCPP $CPPFLAGS'
48119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48123 cat >conftest.$ac_ext <<_ACEOF
48124 /* confdefs.h. */
48125 _ACEOF
48126 cat confdefs.h >>conftest.$ac_ext
48127 cat >>conftest.$ac_ext <<_ACEOF
48128 /* end confdefs.h. */
48129 #include <math.h>
48130 #ifdef HAVE_IEEEFP_H
48131 #include <ieeefp.h>
48132 #endif
48135 main ()
48137 log10l(0);
48139 return 0;
48141 _ACEOF
48142 rm -f conftest.$ac_objext
48143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48144 (eval $ac_compile) 2>conftest.er1
48145 ac_status=$?
48146 grep -v '^ *+' conftest.er1 >conftest.err
48147 rm -f conftest.er1
48148 cat conftest.err >&5
48149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48150 (exit $ac_status); } &&
48151 { ac_try='test -z "$ac_cxx_werror_flag"
48152 || test ! -s conftest.err'
48153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48154 (eval $ac_try) 2>&5
48155 ac_status=$?
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; } &&
48158 { ac_try='test -s conftest.$ac_objext'
48159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48160 (eval $ac_try) 2>&5
48161 ac_status=$?
48162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163 (exit $ac_status); }; }; then
48164 glibcxx_cv_func_log10l_use=yes
48165 else
48166 echo "$as_me: failed program was:" >&5
48167 sed 's/^/| /' conftest.$ac_ext >&5
48169 glibcxx_cv_func_log10l_use=no
48171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48172 ac_ext=c
48173 ac_cpp='$CPP $CPPFLAGS'
48174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
48183 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
48185 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48187 for ac_func in log10l
48189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48190 echo "$as_me:$LINENO: checking for $ac_func" >&5
48191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48192 if eval "test \"\${$as_ac_var+set}\" = set"; then
48193 echo $ECHO_N "(cached) $ECHO_C" >&6
48194 else
48195 if test x$gcc_no_link = xyes; then
48196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48198 { (exit 1); exit 1; }; }
48200 cat >conftest.$ac_ext <<_ACEOF
48201 /* confdefs.h. */
48202 _ACEOF
48203 cat confdefs.h >>conftest.$ac_ext
48204 cat >>conftest.$ac_ext <<_ACEOF
48205 /* end confdefs.h. */
48206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48208 #define $ac_func innocuous_$ac_func
48210 /* System header to define __stub macros and hopefully few prototypes,
48211 which can conflict with char $ac_func (); below.
48212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48213 <limits.h> exists even on freestanding compilers. */
48215 #ifdef __STDC__
48216 # include <limits.h>
48217 #else
48218 # include <assert.h>
48219 #endif
48221 #undef $ac_func
48223 /* Override any gcc2 internal prototype to avoid an error. */
48224 #ifdef __cplusplus
48225 extern "C"
48227 #endif
48228 /* We use char because int might match the return type of a gcc2
48229 builtin and then its argument prototype would still apply. */
48230 char $ac_func ();
48231 /* The GNU C library defines this for functions which it implements
48232 to always fail with ENOSYS. Some functions are actually named
48233 something starting with __ and the normal name is an alias. */
48234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48235 choke me
48236 #else
48237 char (*f) () = $ac_func;
48238 #endif
48239 #ifdef __cplusplus
48241 #endif
48244 main ()
48246 return f != $ac_func;
48248 return 0;
48250 _ACEOF
48251 rm -f conftest.$ac_objext conftest$ac_exeext
48252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48253 (eval $ac_link) 2>conftest.er1
48254 ac_status=$?
48255 grep -v '^ *+' conftest.er1 >conftest.err
48256 rm -f conftest.er1
48257 cat conftest.err >&5
48258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48259 (exit $ac_status); } &&
48260 { ac_try='test -z "$ac_c_werror_flag"
48261 || test ! -s conftest.err'
48262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48263 (eval $ac_try) 2>&5
48264 ac_status=$?
48265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48266 (exit $ac_status); }; } &&
48267 { ac_try='test -s conftest$ac_exeext'
48268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48269 (eval $ac_try) 2>&5
48270 ac_status=$?
48271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48272 (exit $ac_status); }; }; then
48273 eval "$as_ac_var=yes"
48274 else
48275 echo "$as_me: failed program was:" >&5
48276 sed 's/^/| /' conftest.$ac_ext >&5
48278 eval "$as_ac_var=no"
48280 rm -f conftest.err conftest.$ac_objext \
48281 conftest$ac_exeext conftest.$ac_ext
48283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48285 if test `eval echo '${'$as_ac_var'}'` = yes; then
48286 cat >>confdefs.h <<_ACEOF
48287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48288 _ACEOF
48291 done
48293 else
48295 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
48296 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
48297 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48298 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
48299 echo $ECHO_N "(cached) $ECHO_C" >&6
48300 else
48304 ac_ext=cc
48305 ac_cpp='$CXXCPP $CPPFLAGS'
48306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48310 cat >conftest.$ac_ext <<_ACEOF
48311 /* confdefs.h. */
48312 _ACEOF
48313 cat confdefs.h >>conftest.$ac_ext
48314 cat >>conftest.$ac_ext <<_ACEOF
48315 /* end confdefs.h. */
48316 #include <math.h>
48317 #ifdef HAVE_IEEEFP_H
48318 #include <ieeefp.h>
48319 #endif
48322 main ()
48324 _log10l(0);
48326 return 0;
48328 _ACEOF
48329 rm -f conftest.$ac_objext
48330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48331 (eval $ac_compile) 2>conftest.er1
48332 ac_status=$?
48333 grep -v '^ *+' conftest.er1 >conftest.err
48334 rm -f conftest.er1
48335 cat conftest.err >&5
48336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48337 (exit $ac_status); } &&
48338 { ac_try='test -z "$ac_cxx_werror_flag"
48339 || test ! -s conftest.err'
48340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48341 (eval $ac_try) 2>&5
48342 ac_status=$?
48343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48344 (exit $ac_status); }; } &&
48345 { ac_try='test -s conftest.$ac_objext'
48346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48347 (eval $ac_try) 2>&5
48348 ac_status=$?
48349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48350 (exit $ac_status); }; }; then
48351 glibcxx_cv_func__log10l_use=yes
48352 else
48353 echo "$as_me: failed program was:" >&5
48354 sed 's/^/| /' conftest.$ac_ext >&5
48356 glibcxx_cv_func__log10l_use=no
48358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48359 ac_ext=c
48360 ac_cpp='$CPP $CPPFLAGS'
48361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
48370 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
48372 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48374 for ac_func in _log10l
48376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48377 echo "$as_me:$LINENO: checking for $ac_func" >&5
48378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48379 if eval "test \"\${$as_ac_var+set}\" = set"; then
48380 echo $ECHO_N "(cached) $ECHO_C" >&6
48381 else
48382 if test x$gcc_no_link = xyes; then
48383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48385 { (exit 1); exit 1; }; }
48387 cat >conftest.$ac_ext <<_ACEOF
48388 /* confdefs.h. */
48389 _ACEOF
48390 cat confdefs.h >>conftest.$ac_ext
48391 cat >>conftest.$ac_ext <<_ACEOF
48392 /* end confdefs.h. */
48393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48395 #define $ac_func innocuous_$ac_func
48397 /* System header to define __stub macros and hopefully few prototypes,
48398 which can conflict with char $ac_func (); below.
48399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48400 <limits.h> exists even on freestanding compilers. */
48402 #ifdef __STDC__
48403 # include <limits.h>
48404 #else
48405 # include <assert.h>
48406 #endif
48408 #undef $ac_func
48410 /* Override any gcc2 internal prototype to avoid an error. */
48411 #ifdef __cplusplus
48412 extern "C"
48414 #endif
48415 /* We use char because int might match the return type of a gcc2
48416 builtin and then its argument prototype would still apply. */
48417 char $ac_func ();
48418 /* The GNU C library defines this for functions which it implements
48419 to always fail with ENOSYS. Some functions are actually named
48420 something starting with __ and the normal name is an alias. */
48421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48422 choke me
48423 #else
48424 char (*f) () = $ac_func;
48425 #endif
48426 #ifdef __cplusplus
48428 #endif
48431 main ()
48433 return f != $ac_func;
48435 return 0;
48437 _ACEOF
48438 rm -f conftest.$ac_objext conftest$ac_exeext
48439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48440 (eval $ac_link) 2>conftest.er1
48441 ac_status=$?
48442 grep -v '^ *+' conftest.er1 >conftest.err
48443 rm -f conftest.er1
48444 cat conftest.err >&5
48445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48446 (exit $ac_status); } &&
48447 { ac_try='test -z "$ac_c_werror_flag"
48448 || test ! -s conftest.err'
48449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48450 (eval $ac_try) 2>&5
48451 ac_status=$?
48452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453 (exit $ac_status); }; } &&
48454 { ac_try='test -s conftest$ac_exeext'
48455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48456 (eval $ac_try) 2>&5
48457 ac_status=$?
48458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48459 (exit $ac_status); }; }; then
48460 eval "$as_ac_var=yes"
48461 else
48462 echo "$as_me: failed program was:" >&5
48463 sed 's/^/| /' conftest.$ac_ext >&5
48465 eval "$as_ac_var=no"
48467 rm -f conftest.err conftest.$ac_objext \
48468 conftest$ac_exeext conftest.$ac_ext
48470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48472 if test `eval echo '${'$as_ac_var'}'` = yes; then
48473 cat >>confdefs.h <<_ACEOF
48474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48475 _ACEOF
48478 done
48488 echo "$as_me:$LINENO: checking for modfl declaration" >&5
48489 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48490 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48491 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48492 echo $ECHO_N "(cached) $ECHO_C" >&6
48493 else
48497 ac_ext=cc
48498 ac_cpp='$CXXCPP $CPPFLAGS'
48499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503 cat >conftest.$ac_ext <<_ACEOF
48504 /* confdefs.h. */
48505 _ACEOF
48506 cat confdefs.h >>conftest.$ac_ext
48507 cat >>conftest.$ac_ext <<_ACEOF
48508 /* end confdefs.h. */
48509 #include <math.h>
48511 main ()
48513 modfl(0, 0);
48515 return 0;
48517 _ACEOF
48518 rm -f conftest.$ac_objext
48519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48520 (eval $ac_compile) 2>conftest.er1
48521 ac_status=$?
48522 grep -v '^ *+' conftest.er1 >conftest.err
48523 rm -f conftest.er1
48524 cat conftest.err >&5
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); } &&
48527 { ac_try='test -z "$ac_cxx_werror_flag"
48528 || test ! -s conftest.err'
48529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48530 (eval $ac_try) 2>&5
48531 ac_status=$?
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); }; } &&
48534 { ac_try='test -s conftest.$ac_objext'
48535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48536 (eval $ac_try) 2>&5
48537 ac_status=$?
48538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48539 (exit $ac_status); }; }; then
48540 glibcxx_cv_func_modfl_use=yes
48541 else
48542 echo "$as_me: failed program was:" >&5
48543 sed 's/^/| /' conftest.$ac_ext >&5
48545 glibcxx_cv_func_modfl_use=no
48547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48548 ac_ext=c
48549 ac_cpp='$CPP $CPPFLAGS'
48550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48559 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48561 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48563 for ac_func in modfl
48565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48566 echo "$as_me:$LINENO: checking for $ac_func" >&5
48567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48568 if eval "test \"\${$as_ac_var+set}\" = set"; then
48569 echo $ECHO_N "(cached) $ECHO_C" >&6
48570 else
48571 if test x$gcc_no_link = xyes; then
48572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48574 { (exit 1); exit 1; }; }
48576 cat >conftest.$ac_ext <<_ACEOF
48577 /* confdefs.h. */
48578 _ACEOF
48579 cat confdefs.h >>conftest.$ac_ext
48580 cat >>conftest.$ac_ext <<_ACEOF
48581 /* end confdefs.h. */
48582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48584 #define $ac_func innocuous_$ac_func
48586 /* System header to define __stub macros and hopefully few prototypes,
48587 which can conflict with char $ac_func (); below.
48588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48589 <limits.h> exists even on freestanding compilers. */
48591 #ifdef __STDC__
48592 # include <limits.h>
48593 #else
48594 # include <assert.h>
48595 #endif
48597 #undef $ac_func
48599 /* Override any gcc2 internal prototype to avoid an error. */
48600 #ifdef __cplusplus
48601 extern "C"
48603 #endif
48604 /* We use char because int might match the return type of a gcc2
48605 builtin and then its argument prototype would still apply. */
48606 char $ac_func ();
48607 /* The GNU C library defines this for functions which it implements
48608 to always fail with ENOSYS. Some functions are actually named
48609 something starting with __ and the normal name is an alias. */
48610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48611 choke me
48612 #else
48613 char (*f) () = $ac_func;
48614 #endif
48615 #ifdef __cplusplus
48617 #endif
48620 main ()
48622 return f != $ac_func;
48624 return 0;
48626 _ACEOF
48627 rm -f conftest.$ac_objext conftest$ac_exeext
48628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48629 (eval $ac_link) 2>conftest.er1
48630 ac_status=$?
48631 grep -v '^ *+' conftest.er1 >conftest.err
48632 rm -f conftest.er1
48633 cat conftest.err >&5
48634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635 (exit $ac_status); } &&
48636 { ac_try='test -z "$ac_c_werror_flag"
48637 || test ! -s conftest.err'
48638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48639 (eval $ac_try) 2>&5
48640 ac_status=$?
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); }; } &&
48643 { ac_try='test -s conftest$ac_exeext'
48644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48645 (eval $ac_try) 2>&5
48646 ac_status=$?
48647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48648 (exit $ac_status); }; }; then
48649 eval "$as_ac_var=yes"
48650 else
48651 echo "$as_me: failed program was:" >&5
48652 sed 's/^/| /' conftest.$ac_ext >&5
48654 eval "$as_ac_var=no"
48656 rm -f conftest.err conftest.$ac_objext \
48657 conftest$ac_exeext conftest.$ac_ext
48659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48661 if test `eval echo '${'$as_ac_var'}'` = yes; then
48662 cat >>confdefs.h <<_ACEOF
48663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48664 _ACEOF
48667 done
48669 else
48671 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48672 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48673 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48674 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48675 echo $ECHO_N "(cached) $ECHO_C" >&6
48676 else
48680 ac_ext=cc
48681 ac_cpp='$CXXCPP $CPPFLAGS'
48682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48686 cat >conftest.$ac_ext <<_ACEOF
48687 /* confdefs.h. */
48688 _ACEOF
48689 cat confdefs.h >>conftest.$ac_ext
48690 cat >>conftest.$ac_ext <<_ACEOF
48691 /* end confdefs.h. */
48692 #include <math.h>
48694 main ()
48696 _modfl(0, 0);
48698 return 0;
48700 _ACEOF
48701 rm -f conftest.$ac_objext
48702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48703 (eval $ac_compile) 2>conftest.er1
48704 ac_status=$?
48705 grep -v '^ *+' conftest.er1 >conftest.err
48706 rm -f conftest.er1
48707 cat conftest.err >&5
48708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48709 (exit $ac_status); } &&
48710 { ac_try='test -z "$ac_cxx_werror_flag"
48711 || test ! -s conftest.err'
48712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48713 (eval $ac_try) 2>&5
48714 ac_status=$?
48715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48716 (exit $ac_status); }; } &&
48717 { ac_try='test -s conftest.$ac_objext'
48718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48719 (eval $ac_try) 2>&5
48720 ac_status=$?
48721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48722 (exit $ac_status); }; }; then
48723 glibcxx_cv_func__modfl_use=yes
48724 else
48725 echo "$as_me: failed program was:" >&5
48726 sed 's/^/| /' conftest.$ac_ext >&5
48728 glibcxx_cv_func__modfl_use=no
48730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48731 ac_ext=c
48732 ac_cpp='$CPP $CPPFLAGS'
48733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48742 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48744 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48746 for ac_func in _modfl
48748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48749 echo "$as_me:$LINENO: checking for $ac_func" >&5
48750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48751 if eval "test \"\${$as_ac_var+set}\" = set"; then
48752 echo $ECHO_N "(cached) $ECHO_C" >&6
48753 else
48754 if test x$gcc_no_link = xyes; then
48755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48757 { (exit 1); exit 1; }; }
48759 cat >conftest.$ac_ext <<_ACEOF
48760 /* confdefs.h. */
48761 _ACEOF
48762 cat confdefs.h >>conftest.$ac_ext
48763 cat >>conftest.$ac_ext <<_ACEOF
48764 /* end confdefs.h. */
48765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48767 #define $ac_func innocuous_$ac_func
48769 /* System header to define __stub macros and hopefully few prototypes,
48770 which can conflict with char $ac_func (); below.
48771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48772 <limits.h> exists even on freestanding compilers. */
48774 #ifdef __STDC__
48775 # include <limits.h>
48776 #else
48777 # include <assert.h>
48778 #endif
48780 #undef $ac_func
48782 /* Override any gcc2 internal prototype to avoid an error. */
48783 #ifdef __cplusplus
48784 extern "C"
48786 #endif
48787 /* We use char because int might match the return type of a gcc2
48788 builtin and then its argument prototype would still apply. */
48789 char $ac_func ();
48790 /* The GNU C library defines this for functions which it implements
48791 to always fail with ENOSYS. Some functions are actually named
48792 something starting with __ and the normal name is an alias. */
48793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48794 choke me
48795 #else
48796 char (*f) () = $ac_func;
48797 #endif
48798 #ifdef __cplusplus
48800 #endif
48803 main ()
48805 return f != $ac_func;
48807 return 0;
48809 _ACEOF
48810 rm -f conftest.$ac_objext conftest$ac_exeext
48811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48812 (eval $ac_link) 2>conftest.er1
48813 ac_status=$?
48814 grep -v '^ *+' conftest.er1 >conftest.err
48815 rm -f conftest.er1
48816 cat conftest.err >&5
48817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48818 (exit $ac_status); } &&
48819 { ac_try='test -z "$ac_c_werror_flag"
48820 || test ! -s conftest.err'
48821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48822 (eval $ac_try) 2>&5
48823 ac_status=$?
48824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48825 (exit $ac_status); }; } &&
48826 { ac_try='test -s conftest$ac_exeext'
48827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48828 (eval $ac_try) 2>&5
48829 ac_status=$?
48830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48831 (exit $ac_status); }; }; then
48832 eval "$as_ac_var=yes"
48833 else
48834 echo "$as_me: failed program was:" >&5
48835 sed 's/^/| /' conftest.$ac_ext >&5
48837 eval "$as_ac_var=no"
48839 rm -f conftest.err conftest.$ac_objext \
48840 conftest$ac_exeext conftest.$ac_ext
48842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48844 if test `eval echo '${'$as_ac_var'}'` = yes; then
48845 cat >>confdefs.h <<_ACEOF
48846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48847 _ACEOF
48850 done
48860 echo "$as_me:$LINENO: checking for powl declaration" >&5
48861 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48862 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48863 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48864 echo $ECHO_N "(cached) $ECHO_C" >&6
48865 else
48869 ac_ext=cc
48870 ac_cpp='$CXXCPP $CPPFLAGS'
48871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48875 cat >conftest.$ac_ext <<_ACEOF
48876 /* confdefs.h. */
48877 _ACEOF
48878 cat confdefs.h >>conftest.$ac_ext
48879 cat >>conftest.$ac_ext <<_ACEOF
48880 /* end confdefs.h. */
48881 #include <math.h>
48883 main ()
48885 powl(0, 0);
48887 return 0;
48889 _ACEOF
48890 rm -f conftest.$ac_objext
48891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48892 (eval $ac_compile) 2>conftest.er1
48893 ac_status=$?
48894 grep -v '^ *+' conftest.er1 >conftest.err
48895 rm -f conftest.er1
48896 cat conftest.err >&5
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); } &&
48899 { ac_try='test -z "$ac_cxx_werror_flag"
48900 || test ! -s conftest.err'
48901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48902 (eval $ac_try) 2>&5
48903 ac_status=$?
48904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905 (exit $ac_status); }; } &&
48906 { ac_try='test -s conftest.$ac_objext'
48907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48908 (eval $ac_try) 2>&5
48909 ac_status=$?
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); }; }; then
48912 glibcxx_cv_func_powl_use=yes
48913 else
48914 echo "$as_me: failed program was:" >&5
48915 sed 's/^/| /' conftest.$ac_ext >&5
48917 glibcxx_cv_func_powl_use=no
48919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48920 ac_ext=c
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48931 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48933 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48935 for ac_func in powl
48937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48938 echo "$as_me:$LINENO: checking for $ac_func" >&5
48939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48940 if eval "test \"\${$as_ac_var+set}\" = set"; then
48941 echo $ECHO_N "(cached) $ECHO_C" >&6
48942 else
48943 if test x$gcc_no_link = xyes; then
48944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48946 { (exit 1); exit 1; }; }
48948 cat >conftest.$ac_ext <<_ACEOF
48949 /* confdefs.h. */
48950 _ACEOF
48951 cat confdefs.h >>conftest.$ac_ext
48952 cat >>conftest.$ac_ext <<_ACEOF
48953 /* end confdefs.h. */
48954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48956 #define $ac_func innocuous_$ac_func
48958 /* System header to define __stub macros and hopefully few prototypes,
48959 which can conflict with char $ac_func (); below.
48960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48961 <limits.h> exists even on freestanding compilers. */
48963 #ifdef __STDC__
48964 # include <limits.h>
48965 #else
48966 # include <assert.h>
48967 #endif
48969 #undef $ac_func
48971 /* Override any gcc2 internal prototype to avoid an error. */
48972 #ifdef __cplusplus
48973 extern "C"
48975 #endif
48976 /* We use char because int might match the return type of a gcc2
48977 builtin and then its argument prototype would still apply. */
48978 char $ac_func ();
48979 /* The GNU C library defines this for functions which it implements
48980 to always fail with ENOSYS. Some functions are actually named
48981 something starting with __ and the normal name is an alias. */
48982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48983 choke me
48984 #else
48985 char (*f) () = $ac_func;
48986 #endif
48987 #ifdef __cplusplus
48989 #endif
48992 main ()
48994 return f != $ac_func;
48996 return 0;
48998 _ACEOF
48999 rm -f conftest.$ac_objext conftest$ac_exeext
49000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49001 (eval $ac_link) 2>conftest.er1
49002 ac_status=$?
49003 grep -v '^ *+' conftest.er1 >conftest.err
49004 rm -f conftest.er1
49005 cat conftest.err >&5
49006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007 (exit $ac_status); } &&
49008 { ac_try='test -z "$ac_c_werror_flag"
49009 || test ! -s conftest.err'
49010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49011 (eval $ac_try) 2>&5
49012 ac_status=$?
49013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014 (exit $ac_status); }; } &&
49015 { ac_try='test -s conftest$ac_exeext'
49016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49017 (eval $ac_try) 2>&5
49018 ac_status=$?
49019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020 (exit $ac_status); }; }; then
49021 eval "$as_ac_var=yes"
49022 else
49023 echo "$as_me: failed program was:" >&5
49024 sed 's/^/| /' conftest.$ac_ext >&5
49026 eval "$as_ac_var=no"
49028 rm -f conftest.err conftest.$ac_objext \
49029 conftest$ac_exeext conftest.$ac_ext
49031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49033 if test `eval echo '${'$as_ac_var'}'` = yes; then
49034 cat >>confdefs.h <<_ACEOF
49035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49036 _ACEOF
49039 done
49041 else
49043 echo "$as_me:$LINENO: checking for _powl declaration" >&5
49044 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
49045 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49046 if test "${glibcxx_cv_func__powl_use+set}" = set; then
49047 echo $ECHO_N "(cached) $ECHO_C" >&6
49048 else
49052 ac_ext=cc
49053 ac_cpp='$CXXCPP $CPPFLAGS'
49054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49058 cat >conftest.$ac_ext <<_ACEOF
49059 /* confdefs.h. */
49060 _ACEOF
49061 cat confdefs.h >>conftest.$ac_ext
49062 cat >>conftest.$ac_ext <<_ACEOF
49063 /* end confdefs.h. */
49064 #include <math.h>
49066 main ()
49068 _powl(0, 0);
49070 return 0;
49072 _ACEOF
49073 rm -f conftest.$ac_objext
49074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49075 (eval $ac_compile) 2>conftest.er1
49076 ac_status=$?
49077 grep -v '^ *+' conftest.er1 >conftest.err
49078 rm -f conftest.er1
49079 cat conftest.err >&5
49080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49081 (exit $ac_status); } &&
49082 { ac_try='test -z "$ac_cxx_werror_flag"
49083 || test ! -s conftest.err'
49084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49085 (eval $ac_try) 2>&5
49086 ac_status=$?
49087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088 (exit $ac_status); }; } &&
49089 { ac_try='test -s conftest.$ac_objext'
49090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49091 (eval $ac_try) 2>&5
49092 ac_status=$?
49093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094 (exit $ac_status); }; }; then
49095 glibcxx_cv_func__powl_use=yes
49096 else
49097 echo "$as_me: failed program was:" >&5
49098 sed 's/^/| /' conftest.$ac_ext >&5
49100 glibcxx_cv_func__powl_use=no
49102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49103 ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
49114 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
49116 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49118 for ac_func in _powl
49120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49121 echo "$as_me:$LINENO: checking for $ac_func" >&5
49122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49123 if eval "test \"\${$as_ac_var+set}\" = set"; then
49124 echo $ECHO_N "(cached) $ECHO_C" >&6
49125 else
49126 if test x$gcc_no_link = xyes; then
49127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49129 { (exit 1); exit 1; }; }
49131 cat >conftest.$ac_ext <<_ACEOF
49132 /* confdefs.h. */
49133 _ACEOF
49134 cat confdefs.h >>conftest.$ac_ext
49135 cat >>conftest.$ac_ext <<_ACEOF
49136 /* end confdefs.h. */
49137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49139 #define $ac_func innocuous_$ac_func
49141 /* System header to define __stub macros and hopefully few prototypes,
49142 which can conflict with char $ac_func (); below.
49143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49144 <limits.h> exists even on freestanding compilers. */
49146 #ifdef __STDC__
49147 # include <limits.h>
49148 #else
49149 # include <assert.h>
49150 #endif
49152 #undef $ac_func
49154 /* Override any gcc2 internal prototype to avoid an error. */
49155 #ifdef __cplusplus
49156 extern "C"
49158 #endif
49159 /* We use char because int might match the return type of a gcc2
49160 builtin and then its argument prototype would still apply. */
49161 char $ac_func ();
49162 /* The GNU C library defines this for functions which it implements
49163 to always fail with ENOSYS. Some functions are actually named
49164 something starting with __ and the normal name is an alias. */
49165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49166 choke me
49167 #else
49168 char (*f) () = $ac_func;
49169 #endif
49170 #ifdef __cplusplus
49172 #endif
49175 main ()
49177 return f != $ac_func;
49179 return 0;
49181 _ACEOF
49182 rm -f conftest.$ac_objext conftest$ac_exeext
49183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49184 (eval $ac_link) 2>conftest.er1
49185 ac_status=$?
49186 grep -v '^ *+' conftest.er1 >conftest.err
49187 rm -f conftest.er1
49188 cat conftest.err >&5
49189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190 (exit $ac_status); } &&
49191 { ac_try='test -z "$ac_c_werror_flag"
49192 || test ! -s conftest.err'
49193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49194 (eval $ac_try) 2>&5
49195 ac_status=$?
49196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49197 (exit $ac_status); }; } &&
49198 { ac_try='test -s conftest$ac_exeext'
49199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200 (eval $ac_try) 2>&5
49201 ac_status=$?
49202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203 (exit $ac_status); }; }; then
49204 eval "$as_ac_var=yes"
49205 else
49206 echo "$as_me: failed program was:" >&5
49207 sed 's/^/| /' conftest.$ac_ext >&5
49209 eval "$as_ac_var=no"
49211 rm -f conftest.err conftest.$ac_objext \
49212 conftest$ac_exeext conftest.$ac_ext
49214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49216 if test `eval echo '${'$as_ac_var'}'` = yes; then
49217 cat >>confdefs.h <<_ACEOF
49218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49219 _ACEOF
49222 done
49232 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
49233 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
49234 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49235 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
49236 echo $ECHO_N "(cached) $ECHO_C" >&6
49237 else
49241 ac_ext=cc
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49247 cat >conftest.$ac_ext <<_ACEOF
49248 /* confdefs.h. */
49249 _ACEOF
49250 cat confdefs.h >>conftest.$ac_ext
49251 cat >>conftest.$ac_ext <<_ACEOF
49252 /* end confdefs.h. */
49253 #include <math.h>
49254 #ifdef HAVE_IEEEFP_H
49255 #include <ieeefp.h>
49256 #endif
49259 main ()
49261 sqrtl(0);
49263 return 0;
49265 _ACEOF
49266 rm -f conftest.$ac_objext
49267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49268 (eval $ac_compile) 2>conftest.er1
49269 ac_status=$?
49270 grep -v '^ *+' conftest.er1 >conftest.err
49271 rm -f conftest.er1
49272 cat conftest.err >&5
49273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49274 (exit $ac_status); } &&
49275 { ac_try='test -z "$ac_cxx_werror_flag"
49276 || test ! -s conftest.err'
49277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49278 (eval $ac_try) 2>&5
49279 ac_status=$?
49280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49281 (exit $ac_status); }; } &&
49282 { ac_try='test -s conftest.$ac_objext'
49283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49284 (eval $ac_try) 2>&5
49285 ac_status=$?
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); }; }; then
49288 glibcxx_cv_func_sqrtl_use=yes
49289 else
49290 echo "$as_me: failed program was:" >&5
49291 sed 's/^/| /' conftest.$ac_ext >&5
49293 glibcxx_cv_func_sqrtl_use=no
49295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49296 ac_ext=c
49297 ac_cpp='$CPP $CPPFLAGS'
49298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
49307 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
49309 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49311 for ac_func in sqrtl
49313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49314 echo "$as_me:$LINENO: checking for $ac_func" >&5
49315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49316 if eval "test \"\${$as_ac_var+set}\" = set"; then
49317 echo $ECHO_N "(cached) $ECHO_C" >&6
49318 else
49319 if test x$gcc_no_link = xyes; then
49320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49322 { (exit 1); exit 1; }; }
49324 cat >conftest.$ac_ext <<_ACEOF
49325 /* confdefs.h. */
49326 _ACEOF
49327 cat confdefs.h >>conftest.$ac_ext
49328 cat >>conftest.$ac_ext <<_ACEOF
49329 /* end confdefs.h. */
49330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49332 #define $ac_func innocuous_$ac_func
49334 /* System header to define __stub macros and hopefully few prototypes,
49335 which can conflict with char $ac_func (); below.
49336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49337 <limits.h> exists even on freestanding compilers. */
49339 #ifdef __STDC__
49340 # include <limits.h>
49341 #else
49342 # include <assert.h>
49343 #endif
49345 #undef $ac_func
49347 /* Override any gcc2 internal prototype to avoid an error. */
49348 #ifdef __cplusplus
49349 extern "C"
49351 #endif
49352 /* We use char because int might match the return type of a gcc2
49353 builtin and then its argument prototype would still apply. */
49354 char $ac_func ();
49355 /* The GNU C library defines this for functions which it implements
49356 to always fail with ENOSYS. Some functions are actually named
49357 something starting with __ and the normal name is an alias. */
49358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49359 choke me
49360 #else
49361 char (*f) () = $ac_func;
49362 #endif
49363 #ifdef __cplusplus
49365 #endif
49368 main ()
49370 return f != $ac_func;
49372 return 0;
49374 _ACEOF
49375 rm -f conftest.$ac_objext conftest$ac_exeext
49376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49377 (eval $ac_link) 2>conftest.er1
49378 ac_status=$?
49379 grep -v '^ *+' conftest.er1 >conftest.err
49380 rm -f conftest.er1
49381 cat conftest.err >&5
49382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49383 (exit $ac_status); } &&
49384 { ac_try='test -z "$ac_c_werror_flag"
49385 || test ! -s conftest.err'
49386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49387 (eval $ac_try) 2>&5
49388 ac_status=$?
49389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49390 (exit $ac_status); }; } &&
49391 { ac_try='test -s conftest$ac_exeext'
49392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49393 (eval $ac_try) 2>&5
49394 ac_status=$?
49395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49396 (exit $ac_status); }; }; then
49397 eval "$as_ac_var=yes"
49398 else
49399 echo "$as_me: failed program was:" >&5
49400 sed 's/^/| /' conftest.$ac_ext >&5
49402 eval "$as_ac_var=no"
49404 rm -f conftest.err conftest.$ac_objext \
49405 conftest$ac_exeext conftest.$ac_ext
49407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49409 if test `eval echo '${'$as_ac_var'}'` = yes; then
49410 cat >>confdefs.h <<_ACEOF
49411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49412 _ACEOF
49415 done
49417 else
49419 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49420 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49421 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49422 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49423 echo $ECHO_N "(cached) $ECHO_C" >&6
49424 else
49428 ac_ext=cc
49429 ac_cpp='$CXXCPP $CPPFLAGS'
49430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49434 cat >conftest.$ac_ext <<_ACEOF
49435 /* confdefs.h. */
49436 _ACEOF
49437 cat confdefs.h >>conftest.$ac_ext
49438 cat >>conftest.$ac_ext <<_ACEOF
49439 /* end confdefs.h. */
49440 #include <math.h>
49441 #ifdef HAVE_IEEEFP_H
49442 #include <ieeefp.h>
49443 #endif
49446 main ()
49448 _sqrtl(0);
49450 return 0;
49452 _ACEOF
49453 rm -f conftest.$ac_objext
49454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49455 (eval $ac_compile) 2>conftest.er1
49456 ac_status=$?
49457 grep -v '^ *+' conftest.er1 >conftest.err
49458 rm -f conftest.er1
49459 cat conftest.err >&5
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); } &&
49462 { ac_try='test -z "$ac_cxx_werror_flag"
49463 || test ! -s conftest.err'
49464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49465 (eval $ac_try) 2>&5
49466 ac_status=$?
49467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49468 (exit $ac_status); }; } &&
49469 { ac_try='test -s conftest.$ac_objext'
49470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49471 (eval $ac_try) 2>&5
49472 ac_status=$?
49473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49474 (exit $ac_status); }; }; then
49475 glibcxx_cv_func__sqrtl_use=yes
49476 else
49477 echo "$as_me: failed program was:" >&5
49478 sed 's/^/| /' conftest.$ac_ext >&5
49480 glibcxx_cv_func__sqrtl_use=no
49482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49483 ac_ext=c
49484 ac_cpp='$CPP $CPPFLAGS'
49485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49493 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49494 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49496 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49498 for ac_func in _sqrtl
49500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49501 echo "$as_me:$LINENO: checking for $ac_func" >&5
49502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49503 if eval "test \"\${$as_ac_var+set}\" = set"; then
49504 echo $ECHO_N "(cached) $ECHO_C" >&6
49505 else
49506 if test x$gcc_no_link = xyes; then
49507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49509 { (exit 1); exit 1; }; }
49511 cat >conftest.$ac_ext <<_ACEOF
49512 /* confdefs.h. */
49513 _ACEOF
49514 cat confdefs.h >>conftest.$ac_ext
49515 cat >>conftest.$ac_ext <<_ACEOF
49516 /* end confdefs.h. */
49517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49519 #define $ac_func innocuous_$ac_func
49521 /* System header to define __stub macros and hopefully few prototypes,
49522 which can conflict with char $ac_func (); below.
49523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49524 <limits.h> exists even on freestanding compilers. */
49526 #ifdef __STDC__
49527 # include <limits.h>
49528 #else
49529 # include <assert.h>
49530 #endif
49532 #undef $ac_func
49534 /* Override any gcc2 internal prototype to avoid an error. */
49535 #ifdef __cplusplus
49536 extern "C"
49538 #endif
49539 /* We use char because int might match the return type of a gcc2
49540 builtin and then its argument prototype would still apply. */
49541 char $ac_func ();
49542 /* The GNU C library defines this for functions which it implements
49543 to always fail with ENOSYS. Some functions are actually named
49544 something starting with __ and the normal name is an alias. */
49545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49546 choke me
49547 #else
49548 char (*f) () = $ac_func;
49549 #endif
49550 #ifdef __cplusplus
49552 #endif
49555 main ()
49557 return f != $ac_func;
49559 return 0;
49561 _ACEOF
49562 rm -f conftest.$ac_objext conftest$ac_exeext
49563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49564 (eval $ac_link) 2>conftest.er1
49565 ac_status=$?
49566 grep -v '^ *+' conftest.er1 >conftest.err
49567 rm -f conftest.er1
49568 cat conftest.err >&5
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); } &&
49571 { ac_try='test -z "$ac_c_werror_flag"
49572 || test ! -s conftest.err'
49573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49574 (eval $ac_try) 2>&5
49575 ac_status=$?
49576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49577 (exit $ac_status); }; } &&
49578 { ac_try='test -s conftest$ac_exeext'
49579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49580 (eval $ac_try) 2>&5
49581 ac_status=$?
49582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49583 (exit $ac_status); }; }; then
49584 eval "$as_ac_var=yes"
49585 else
49586 echo "$as_me: failed program was:" >&5
49587 sed 's/^/| /' conftest.$ac_ext >&5
49589 eval "$as_ac_var=no"
49591 rm -f conftest.err conftest.$ac_objext \
49592 conftest$ac_exeext conftest.$ac_ext
49594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49596 if test `eval echo '${'$as_ac_var'}'` = yes; then
49597 cat >>confdefs.h <<_ACEOF
49598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49599 _ACEOF
49602 done
49612 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49613 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49614 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49615 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49616 echo $ECHO_N "(cached) $ECHO_C" >&6
49617 else
49621 ac_ext=cc
49622 ac_cpp='$CXXCPP $CPPFLAGS'
49623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49627 cat >conftest.$ac_ext <<_ACEOF
49628 /* confdefs.h. */
49629 _ACEOF
49630 cat confdefs.h >>conftest.$ac_ext
49631 cat >>conftest.$ac_ext <<_ACEOF
49632 /* end confdefs.h. */
49633 #include <math.h>
49635 main ()
49637 sincosl(0, 0, 0);
49639 return 0;
49641 _ACEOF
49642 rm -f conftest.$ac_objext
49643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49644 (eval $ac_compile) 2>conftest.er1
49645 ac_status=$?
49646 grep -v '^ *+' conftest.er1 >conftest.err
49647 rm -f conftest.er1
49648 cat conftest.err >&5
49649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49650 (exit $ac_status); } &&
49651 { ac_try='test -z "$ac_cxx_werror_flag"
49652 || test ! -s conftest.err'
49653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49654 (eval $ac_try) 2>&5
49655 ac_status=$?
49656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49657 (exit $ac_status); }; } &&
49658 { ac_try='test -s conftest.$ac_objext'
49659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49660 (eval $ac_try) 2>&5
49661 ac_status=$?
49662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663 (exit $ac_status); }; }; then
49664 glibcxx_cv_func_sincosl_use=yes
49665 else
49666 echo "$as_me: failed program was:" >&5
49667 sed 's/^/| /' conftest.$ac_ext >&5
49669 glibcxx_cv_func_sincosl_use=no
49671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49672 ac_ext=c
49673 ac_cpp='$CPP $CPPFLAGS'
49674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49683 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49685 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49687 for ac_func in sincosl
49689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49690 echo "$as_me:$LINENO: checking for $ac_func" >&5
49691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49692 if eval "test \"\${$as_ac_var+set}\" = set"; then
49693 echo $ECHO_N "(cached) $ECHO_C" >&6
49694 else
49695 if test x$gcc_no_link = xyes; then
49696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49698 { (exit 1); exit 1; }; }
49700 cat >conftest.$ac_ext <<_ACEOF
49701 /* confdefs.h. */
49702 _ACEOF
49703 cat confdefs.h >>conftest.$ac_ext
49704 cat >>conftest.$ac_ext <<_ACEOF
49705 /* end confdefs.h. */
49706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49708 #define $ac_func innocuous_$ac_func
49710 /* System header to define __stub macros and hopefully few prototypes,
49711 which can conflict with char $ac_func (); below.
49712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49713 <limits.h> exists even on freestanding compilers. */
49715 #ifdef __STDC__
49716 # include <limits.h>
49717 #else
49718 # include <assert.h>
49719 #endif
49721 #undef $ac_func
49723 /* Override any gcc2 internal prototype to avoid an error. */
49724 #ifdef __cplusplus
49725 extern "C"
49727 #endif
49728 /* We use char because int might match the return type of a gcc2
49729 builtin and then its argument prototype would still apply. */
49730 char $ac_func ();
49731 /* The GNU C library defines this for functions which it implements
49732 to always fail with ENOSYS. Some functions are actually named
49733 something starting with __ and the normal name is an alias. */
49734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49735 choke me
49736 #else
49737 char (*f) () = $ac_func;
49738 #endif
49739 #ifdef __cplusplus
49741 #endif
49744 main ()
49746 return f != $ac_func;
49748 return 0;
49750 _ACEOF
49751 rm -f conftest.$ac_objext conftest$ac_exeext
49752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49753 (eval $ac_link) 2>conftest.er1
49754 ac_status=$?
49755 grep -v '^ *+' conftest.er1 >conftest.err
49756 rm -f conftest.er1
49757 cat conftest.err >&5
49758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49759 (exit $ac_status); } &&
49760 { ac_try='test -z "$ac_c_werror_flag"
49761 || test ! -s conftest.err'
49762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49763 (eval $ac_try) 2>&5
49764 ac_status=$?
49765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49766 (exit $ac_status); }; } &&
49767 { ac_try='test -s conftest$ac_exeext'
49768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49769 (eval $ac_try) 2>&5
49770 ac_status=$?
49771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772 (exit $ac_status); }; }; then
49773 eval "$as_ac_var=yes"
49774 else
49775 echo "$as_me: failed program was:" >&5
49776 sed 's/^/| /' conftest.$ac_ext >&5
49778 eval "$as_ac_var=no"
49780 rm -f conftest.err conftest.$ac_objext \
49781 conftest$ac_exeext conftest.$ac_ext
49783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49785 if test `eval echo '${'$as_ac_var'}'` = yes; then
49786 cat >>confdefs.h <<_ACEOF
49787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49788 _ACEOF
49791 done
49793 else
49795 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49796 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49797 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49798 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49799 echo $ECHO_N "(cached) $ECHO_C" >&6
49800 else
49804 ac_ext=cc
49805 ac_cpp='$CXXCPP $CPPFLAGS'
49806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49810 cat >conftest.$ac_ext <<_ACEOF
49811 /* confdefs.h. */
49812 _ACEOF
49813 cat confdefs.h >>conftest.$ac_ext
49814 cat >>conftest.$ac_ext <<_ACEOF
49815 /* end confdefs.h. */
49816 #include <math.h>
49818 main ()
49820 _sincosl(0, 0, 0);
49822 return 0;
49824 _ACEOF
49825 rm -f conftest.$ac_objext
49826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49827 (eval $ac_compile) 2>conftest.er1
49828 ac_status=$?
49829 grep -v '^ *+' conftest.er1 >conftest.err
49830 rm -f conftest.er1
49831 cat conftest.err >&5
49832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833 (exit $ac_status); } &&
49834 { ac_try='test -z "$ac_cxx_werror_flag"
49835 || test ! -s conftest.err'
49836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49837 (eval $ac_try) 2>&5
49838 ac_status=$?
49839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49840 (exit $ac_status); }; } &&
49841 { ac_try='test -s conftest.$ac_objext'
49842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49843 (eval $ac_try) 2>&5
49844 ac_status=$?
49845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49846 (exit $ac_status); }; }; then
49847 glibcxx_cv_func__sincosl_use=yes
49848 else
49849 echo "$as_me: failed program was:" >&5
49850 sed 's/^/| /' conftest.$ac_ext >&5
49852 glibcxx_cv_func__sincosl_use=no
49854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49855 ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49866 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49868 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49870 for ac_func in _sincosl
49872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49873 echo "$as_me:$LINENO: checking for $ac_func" >&5
49874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49875 if eval "test \"\${$as_ac_var+set}\" = set"; then
49876 echo $ECHO_N "(cached) $ECHO_C" >&6
49877 else
49878 if test x$gcc_no_link = xyes; then
49879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49881 { (exit 1); exit 1; }; }
49883 cat >conftest.$ac_ext <<_ACEOF
49884 /* confdefs.h. */
49885 _ACEOF
49886 cat confdefs.h >>conftest.$ac_ext
49887 cat >>conftest.$ac_ext <<_ACEOF
49888 /* end confdefs.h. */
49889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49891 #define $ac_func innocuous_$ac_func
49893 /* System header to define __stub macros and hopefully few prototypes,
49894 which can conflict with char $ac_func (); below.
49895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49896 <limits.h> exists even on freestanding compilers. */
49898 #ifdef __STDC__
49899 # include <limits.h>
49900 #else
49901 # include <assert.h>
49902 #endif
49904 #undef $ac_func
49906 /* Override any gcc2 internal prototype to avoid an error. */
49907 #ifdef __cplusplus
49908 extern "C"
49910 #endif
49911 /* We use char because int might match the return type of a gcc2
49912 builtin and then its argument prototype would still apply. */
49913 char $ac_func ();
49914 /* The GNU C library defines this for functions which it implements
49915 to always fail with ENOSYS. Some functions are actually named
49916 something starting with __ and the normal name is an alias. */
49917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49918 choke me
49919 #else
49920 char (*f) () = $ac_func;
49921 #endif
49922 #ifdef __cplusplus
49924 #endif
49927 main ()
49929 return f != $ac_func;
49931 return 0;
49933 _ACEOF
49934 rm -f conftest.$ac_objext conftest$ac_exeext
49935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49936 (eval $ac_link) 2>conftest.er1
49937 ac_status=$?
49938 grep -v '^ *+' conftest.er1 >conftest.err
49939 rm -f conftest.er1
49940 cat conftest.err >&5
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); } &&
49943 { ac_try='test -z "$ac_c_werror_flag"
49944 || test ! -s conftest.err'
49945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49946 (eval $ac_try) 2>&5
49947 ac_status=$?
49948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49949 (exit $ac_status); }; } &&
49950 { ac_try='test -s conftest$ac_exeext'
49951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49952 (eval $ac_try) 2>&5
49953 ac_status=$?
49954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49955 (exit $ac_status); }; }; then
49956 eval "$as_ac_var=yes"
49957 else
49958 echo "$as_me: failed program was:" >&5
49959 sed 's/^/| /' conftest.$ac_ext >&5
49961 eval "$as_ac_var=no"
49963 rm -f conftest.err conftest.$ac_objext \
49964 conftest$ac_exeext conftest.$ac_ext
49966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49968 if test `eval echo '${'$as_ac_var'}'` = yes; then
49969 cat >>confdefs.h <<_ACEOF
49970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49971 _ACEOF
49974 done
49984 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49985 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49986 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49987 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49988 echo $ECHO_N "(cached) $ECHO_C" >&6
49989 else
49993 ac_ext=cc
49994 ac_cpp='$CXXCPP $CPPFLAGS'
49995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999 cat >conftest.$ac_ext <<_ACEOF
50000 /* confdefs.h. */
50001 _ACEOF
50002 cat confdefs.h >>conftest.$ac_ext
50003 cat >>conftest.$ac_ext <<_ACEOF
50004 /* end confdefs.h. */
50005 #include <math.h>
50006 #ifdef HAVE_IEEEFP_H
50007 #include <ieeefp.h>
50008 #endif
50011 main ()
50013 finitel(0);
50015 return 0;
50017 _ACEOF
50018 rm -f conftest.$ac_objext
50019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50020 (eval $ac_compile) 2>conftest.er1
50021 ac_status=$?
50022 grep -v '^ *+' conftest.er1 >conftest.err
50023 rm -f conftest.er1
50024 cat conftest.err >&5
50025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50026 (exit $ac_status); } &&
50027 { ac_try='test -z "$ac_cxx_werror_flag"
50028 || test ! -s conftest.err'
50029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50030 (eval $ac_try) 2>&5
50031 ac_status=$?
50032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033 (exit $ac_status); }; } &&
50034 { ac_try='test -s conftest.$ac_objext'
50035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50036 (eval $ac_try) 2>&5
50037 ac_status=$?
50038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50039 (exit $ac_status); }; }; then
50040 glibcxx_cv_func_finitel_use=yes
50041 else
50042 echo "$as_me: failed program was:" >&5
50043 sed 's/^/| /' conftest.$ac_ext >&5
50045 glibcxx_cv_func_finitel_use=no
50047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50048 ac_ext=c
50049 ac_cpp='$CPP $CPPFLAGS'
50050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50058 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
50059 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
50061 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50063 for ac_func in finitel
50065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50066 echo "$as_me:$LINENO: checking for $ac_func" >&5
50067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50068 if eval "test \"\${$as_ac_var+set}\" = set"; then
50069 echo $ECHO_N "(cached) $ECHO_C" >&6
50070 else
50071 if test x$gcc_no_link = xyes; then
50072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50074 { (exit 1); exit 1; }; }
50076 cat >conftest.$ac_ext <<_ACEOF
50077 /* confdefs.h. */
50078 _ACEOF
50079 cat confdefs.h >>conftest.$ac_ext
50080 cat >>conftest.$ac_ext <<_ACEOF
50081 /* end confdefs.h. */
50082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50084 #define $ac_func innocuous_$ac_func
50086 /* System header to define __stub macros and hopefully few prototypes,
50087 which can conflict with char $ac_func (); below.
50088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50089 <limits.h> exists even on freestanding compilers. */
50091 #ifdef __STDC__
50092 # include <limits.h>
50093 #else
50094 # include <assert.h>
50095 #endif
50097 #undef $ac_func
50099 /* Override any gcc2 internal prototype to avoid an error. */
50100 #ifdef __cplusplus
50101 extern "C"
50103 #endif
50104 /* We use char because int might match the return type of a gcc2
50105 builtin and then its argument prototype would still apply. */
50106 char $ac_func ();
50107 /* The GNU C library defines this for functions which it implements
50108 to always fail with ENOSYS. Some functions are actually named
50109 something starting with __ and the normal name is an alias. */
50110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50111 choke me
50112 #else
50113 char (*f) () = $ac_func;
50114 #endif
50115 #ifdef __cplusplus
50117 #endif
50120 main ()
50122 return f != $ac_func;
50124 return 0;
50126 _ACEOF
50127 rm -f conftest.$ac_objext conftest$ac_exeext
50128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50129 (eval $ac_link) 2>conftest.er1
50130 ac_status=$?
50131 grep -v '^ *+' conftest.er1 >conftest.err
50132 rm -f conftest.er1
50133 cat conftest.err >&5
50134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135 (exit $ac_status); } &&
50136 { ac_try='test -z "$ac_c_werror_flag"
50137 || test ! -s conftest.err'
50138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50139 (eval $ac_try) 2>&5
50140 ac_status=$?
50141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142 (exit $ac_status); }; } &&
50143 { ac_try='test -s conftest$ac_exeext'
50144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145 (eval $ac_try) 2>&5
50146 ac_status=$?
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 (exit $ac_status); }; }; then
50149 eval "$as_ac_var=yes"
50150 else
50151 echo "$as_me: failed program was:" >&5
50152 sed 's/^/| /' conftest.$ac_ext >&5
50154 eval "$as_ac_var=no"
50156 rm -f conftest.err conftest.$ac_objext \
50157 conftest$ac_exeext conftest.$ac_ext
50159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50161 if test `eval echo '${'$as_ac_var'}'` = yes; then
50162 cat >>confdefs.h <<_ACEOF
50163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50164 _ACEOF
50167 done
50169 else
50171 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
50172 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
50173 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50174 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
50175 echo $ECHO_N "(cached) $ECHO_C" >&6
50176 else
50180 ac_ext=cc
50181 ac_cpp='$CXXCPP $CPPFLAGS'
50182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50186 cat >conftest.$ac_ext <<_ACEOF
50187 /* confdefs.h. */
50188 _ACEOF
50189 cat confdefs.h >>conftest.$ac_ext
50190 cat >>conftest.$ac_ext <<_ACEOF
50191 /* end confdefs.h. */
50192 #include <math.h>
50193 #ifdef HAVE_IEEEFP_H
50194 #include <ieeefp.h>
50195 #endif
50198 main ()
50200 _finitel(0);
50202 return 0;
50204 _ACEOF
50205 rm -f conftest.$ac_objext
50206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50207 (eval $ac_compile) 2>conftest.er1
50208 ac_status=$?
50209 grep -v '^ *+' conftest.er1 >conftest.err
50210 rm -f conftest.er1
50211 cat conftest.err >&5
50212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50213 (exit $ac_status); } &&
50214 { ac_try='test -z "$ac_cxx_werror_flag"
50215 || test ! -s conftest.err'
50216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50217 (eval $ac_try) 2>&5
50218 ac_status=$?
50219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50220 (exit $ac_status); }; } &&
50221 { ac_try='test -s conftest.$ac_objext'
50222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50223 (eval $ac_try) 2>&5
50224 ac_status=$?
50225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50226 (exit $ac_status); }; }; then
50227 glibcxx_cv_func__finitel_use=yes
50228 else
50229 echo "$as_me: failed program was:" >&5
50230 sed 's/^/| /' conftest.$ac_ext >&5
50232 glibcxx_cv_func__finitel_use=no
50234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50235 ac_ext=c
50236 ac_cpp='$CPP $CPPFLAGS'
50237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
50246 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
50248 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50250 for ac_func in _finitel
50252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50253 echo "$as_me:$LINENO: checking for $ac_func" >&5
50254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50255 if eval "test \"\${$as_ac_var+set}\" = set"; then
50256 echo $ECHO_N "(cached) $ECHO_C" >&6
50257 else
50258 if test x$gcc_no_link = xyes; then
50259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50261 { (exit 1); exit 1; }; }
50263 cat >conftest.$ac_ext <<_ACEOF
50264 /* confdefs.h. */
50265 _ACEOF
50266 cat confdefs.h >>conftest.$ac_ext
50267 cat >>conftest.$ac_ext <<_ACEOF
50268 /* end confdefs.h. */
50269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50271 #define $ac_func innocuous_$ac_func
50273 /* System header to define __stub macros and hopefully few prototypes,
50274 which can conflict with char $ac_func (); below.
50275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50276 <limits.h> exists even on freestanding compilers. */
50278 #ifdef __STDC__
50279 # include <limits.h>
50280 #else
50281 # include <assert.h>
50282 #endif
50284 #undef $ac_func
50286 /* Override any gcc2 internal prototype to avoid an error. */
50287 #ifdef __cplusplus
50288 extern "C"
50290 #endif
50291 /* We use char because int might match the return type of a gcc2
50292 builtin and then its argument prototype would still apply. */
50293 char $ac_func ();
50294 /* The GNU C library defines this for functions which it implements
50295 to always fail with ENOSYS. Some functions are actually named
50296 something starting with __ and the normal name is an alias. */
50297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50298 choke me
50299 #else
50300 char (*f) () = $ac_func;
50301 #endif
50302 #ifdef __cplusplus
50304 #endif
50307 main ()
50309 return f != $ac_func;
50311 return 0;
50313 _ACEOF
50314 rm -f conftest.$ac_objext conftest$ac_exeext
50315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50316 (eval $ac_link) 2>conftest.er1
50317 ac_status=$?
50318 grep -v '^ *+' conftest.er1 >conftest.err
50319 rm -f conftest.er1
50320 cat conftest.err >&5
50321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50322 (exit $ac_status); } &&
50323 { ac_try='test -z "$ac_c_werror_flag"
50324 || test ! -s conftest.err'
50325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50326 (eval $ac_try) 2>&5
50327 ac_status=$?
50328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50329 (exit $ac_status); }; } &&
50330 { ac_try='test -s conftest$ac_exeext'
50331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50332 (eval $ac_try) 2>&5
50333 ac_status=$?
50334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50335 (exit $ac_status); }; }; then
50336 eval "$as_ac_var=yes"
50337 else
50338 echo "$as_me: failed program was:" >&5
50339 sed 's/^/| /' conftest.$ac_ext >&5
50341 eval "$as_ac_var=no"
50343 rm -f conftest.err conftest.$ac_objext \
50344 conftest$ac_exeext conftest.$ac_ext
50346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50348 if test `eval echo '${'$as_ac_var'}'` = yes; then
50349 cat >>confdefs.h <<_ACEOF
50350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50351 _ACEOF
50354 done
50363 LIBS="$ac_save_LIBS"
50364 CXXFLAGS="$ac_save_CXXFLAGS"
50368 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
50369 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
50370 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
50371 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
50372 echo $ECHO_N "(cached) $ECHO_C" >&6
50373 else
50377 ac_ext=cc
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383 cat >conftest.$ac_ext <<_ACEOF
50384 /* confdefs.h. */
50385 _ACEOF
50386 cat confdefs.h >>conftest.$ac_ext
50387 cat >>conftest.$ac_ext <<_ACEOF
50388 /* end confdefs.h. */
50389 #include <math.h>
50391 main ()
50393 __builtin_abs(0);
50395 return 0;
50397 _ACEOF
50398 rm -f conftest.$ac_objext
50399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50400 (eval $ac_compile) 2>conftest.er1
50401 ac_status=$?
50402 grep -v '^ *+' conftest.er1 >conftest.err
50403 rm -f conftest.er1
50404 cat conftest.err >&5
50405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50406 (exit $ac_status); } &&
50407 { ac_try='test -z "$ac_cxx_werror_flag"
50408 || test ! -s conftest.err'
50409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50410 (eval $ac_try) 2>&5
50411 ac_status=$?
50412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50413 (exit $ac_status); }; } &&
50414 { ac_try='test -s conftest.$ac_objext'
50415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50416 (eval $ac_try) 2>&5
50417 ac_status=$?
50418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50419 (exit $ac_status); }; }; then
50420 glibcxx_cv_func___builtin_abs_use=yes
50421 else
50422 echo "$as_me: failed program was:" >&5
50423 sed 's/^/| /' conftest.$ac_ext >&5
50425 glibcxx_cv_func___builtin_abs_use=no
50427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50428 ac_ext=c
50429 ac_cpp='$CPP $CPPFLAGS'
50430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50438 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50439 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50440 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50441 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50442 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50443 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50444 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50445 echo $ECHO_N "(cached) $ECHO_C" >&6
50446 else
50448 if test x$gcc_no_link = xyes; then
50449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50451 { (exit 1); exit 1; }; }
50453 cat >conftest.$ac_ext <<_ACEOF
50454 /* confdefs.h. */
50455 _ACEOF
50456 cat confdefs.h >>conftest.$ac_ext
50457 cat >>conftest.$ac_ext <<_ACEOF
50458 /* end confdefs.h. */
50459 #include <math.h>
50461 main ()
50463 __builtin_abs(0);
50465 return 0;
50467 _ACEOF
50468 rm -f conftest.$ac_objext conftest$ac_exeext
50469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50470 (eval $ac_link) 2>conftest.er1
50471 ac_status=$?
50472 grep -v '^ *+' conftest.er1 >conftest.err
50473 rm -f conftest.er1
50474 cat conftest.err >&5
50475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50476 (exit $ac_status); } &&
50477 { ac_try='test -z "$ac_c_werror_flag"
50478 || test ! -s conftest.err'
50479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50480 (eval $ac_try) 2>&5
50481 ac_status=$?
50482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50483 (exit $ac_status); }; } &&
50484 { ac_try='test -s conftest$ac_exeext'
50485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50486 (eval $ac_try) 2>&5
50487 ac_status=$?
50488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50489 (exit $ac_status); }; }; then
50490 glibcxx_cv_func___builtin_abs_link=yes
50491 else
50492 echo "$as_me: failed program was:" >&5
50493 sed 's/^/| /' conftest.$ac_ext >&5
50495 glibcxx_cv_func___builtin_abs_link=no
50497 rm -f conftest.err conftest.$ac_objext \
50498 conftest$ac_exeext conftest.$ac_ext
50503 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50504 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50506 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50508 cat >>confdefs.h <<\_ACEOF
50509 #define HAVE___BUILTIN_ABS 1
50510 _ACEOF
50517 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50518 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50519 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50520 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50521 echo $ECHO_N "(cached) $ECHO_C" >&6
50522 else
50526 ac_ext=cc
50527 ac_cpp='$CXXCPP $CPPFLAGS'
50528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50532 cat >conftest.$ac_ext <<_ACEOF
50533 /* confdefs.h. */
50534 _ACEOF
50535 cat confdefs.h >>conftest.$ac_ext
50536 cat >>conftest.$ac_ext <<_ACEOF
50537 /* end confdefs.h. */
50538 #include <math.h>
50540 main ()
50542 __builtin_fabsf(0);
50544 return 0;
50546 _ACEOF
50547 rm -f conftest.$ac_objext
50548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50549 (eval $ac_compile) 2>conftest.er1
50550 ac_status=$?
50551 grep -v '^ *+' conftest.er1 >conftest.err
50552 rm -f conftest.er1
50553 cat conftest.err >&5
50554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50555 (exit $ac_status); } &&
50556 { ac_try='test -z "$ac_cxx_werror_flag"
50557 || test ! -s conftest.err'
50558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50559 (eval $ac_try) 2>&5
50560 ac_status=$?
50561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50562 (exit $ac_status); }; } &&
50563 { ac_try='test -s conftest.$ac_objext'
50564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50565 (eval $ac_try) 2>&5
50566 ac_status=$?
50567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50568 (exit $ac_status); }; }; then
50569 glibcxx_cv_func___builtin_fabsf_use=yes
50570 else
50571 echo "$as_me: failed program was:" >&5
50572 sed 's/^/| /' conftest.$ac_ext >&5
50574 glibcxx_cv_func___builtin_fabsf_use=no
50576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50577 ac_ext=c
50578 ac_cpp='$CPP $CPPFLAGS'
50579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50588 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50589 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50590 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50591 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50592 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50593 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50594 echo $ECHO_N "(cached) $ECHO_C" >&6
50595 else
50597 if test x$gcc_no_link = xyes; then
50598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50600 { (exit 1); exit 1; }; }
50602 cat >conftest.$ac_ext <<_ACEOF
50603 /* confdefs.h. */
50604 _ACEOF
50605 cat confdefs.h >>conftest.$ac_ext
50606 cat >>conftest.$ac_ext <<_ACEOF
50607 /* end confdefs.h. */
50608 #include <math.h>
50610 main ()
50612 __builtin_fabsf(0);
50614 return 0;
50616 _ACEOF
50617 rm -f conftest.$ac_objext conftest$ac_exeext
50618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50619 (eval $ac_link) 2>conftest.er1
50620 ac_status=$?
50621 grep -v '^ *+' conftest.er1 >conftest.err
50622 rm -f conftest.er1
50623 cat conftest.err >&5
50624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50625 (exit $ac_status); } &&
50626 { ac_try='test -z "$ac_c_werror_flag"
50627 || test ! -s conftest.err'
50628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50629 (eval $ac_try) 2>&5
50630 ac_status=$?
50631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50632 (exit $ac_status); }; } &&
50633 { ac_try='test -s conftest$ac_exeext'
50634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50635 (eval $ac_try) 2>&5
50636 ac_status=$?
50637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50638 (exit $ac_status); }; }; then
50639 glibcxx_cv_func___builtin_fabsf_link=yes
50640 else
50641 echo "$as_me: failed program was:" >&5
50642 sed 's/^/| /' conftest.$ac_ext >&5
50644 glibcxx_cv_func___builtin_fabsf_link=no
50646 rm -f conftest.err conftest.$ac_objext \
50647 conftest$ac_exeext conftest.$ac_ext
50652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50653 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50655 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50657 cat >>confdefs.h <<\_ACEOF
50658 #define HAVE___BUILTIN_FABSF 1
50659 _ACEOF
50666 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50667 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50668 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50669 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50670 echo $ECHO_N "(cached) $ECHO_C" >&6
50671 else
50675 ac_ext=cc
50676 ac_cpp='$CXXCPP $CPPFLAGS'
50677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50681 cat >conftest.$ac_ext <<_ACEOF
50682 /* confdefs.h. */
50683 _ACEOF
50684 cat confdefs.h >>conftest.$ac_ext
50685 cat >>conftest.$ac_ext <<_ACEOF
50686 /* end confdefs.h. */
50687 #include <math.h>
50689 main ()
50691 __builtin_fabs(0);
50693 return 0;
50695 _ACEOF
50696 rm -f conftest.$ac_objext
50697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50698 (eval $ac_compile) 2>conftest.er1
50699 ac_status=$?
50700 grep -v '^ *+' conftest.er1 >conftest.err
50701 rm -f conftest.er1
50702 cat conftest.err >&5
50703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50704 (exit $ac_status); } &&
50705 { ac_try='test -z "$ac_cxx_werror_flag"
50706 || test ! -s conftest.err'
50707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50708 (eval $ac_try) 2>&5
50709 ac_status=$?
50710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50711 (exit $ac_status); }; } &&
50712 { ac_try='test -s conftest.$ac_objext'
50713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50714 (eval $ac_try) 2>&5
50715 ac_status=$?
50716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50717 (exit $ac_status); }; }; then
50718 glibcxx_cv_func___builtin_fabs_use=yes
50719 else
50720 echo "$as_me: failed program was:" >&5
50721 sed 's/^/| /' conftest.$ac_ext >&5
50723 glibcxx_cv_func___builtin_fabs_use=no
50725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50726 ac_ext=c
50727 ac_cpp='$CPP $CPPFLAGS'
50728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50737 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50738 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50739 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50740 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50741 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50742 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50743 echo $ECHO_N "(cached) $ECHO_C" >&6
50744 else
50746 if test x$gcc_no_link = xyes; then
50747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50749 { (exit 1); exit 1; }; }
50751 cat >conftest.$ac_ext <<_ACEOF
50752 /* confdefs.h. */
50753 _ACEOF
50754 cat confdefs.h >>conftest.$ac_ext
50755 cat >>conftest.$ac_ext <<_ACEOF
50756 /* end confdefs.h. */
50757 #include <math.h>
50759 main ()
50761 __builtin_fabs(0);
50763 return 0;
50765 _ACEOF
50766 rm -f conftest.$ac_objext conftest$ac_exeext
50767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50768 (eval $ac_link) 2>conftest.er1
50769 ac_status=$?
50770 grep -v '^ *+' conftest.er1 >conftest.err
50771 rm -f conftest.er1
50772 cat conftest.err >&5
50773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50774 (exit $ac_status); } &&
50775 { ac_try='test -z "$ac_c_werror_flag"
50776 || test ! -s conftest.err'
50777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50778 (eval $ac_try) 2>&5
50779 ac_status=$?
50780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50781 (exit $ac_status); }; } &&
50782 { ac_try='test -s conftest$ac_exeext'
50783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50784 (eval $ac_try) 2>&5
50785 ac_status=$?
50786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50787 (exit $ac_status); }; }; then
50788 glibcxx_cv_func___builtin_fabs_link=yes
50789 else
50790 echo "$as_me: failed program was:" >&5
50791 sed 's/^/| /' conftest.$ac_ext >&5
50793 glibcxx_cv_func___builtin_fabs_link=no
50795 rm -f conftest.err conftest.$ac_objext \
50796 conftest$ac_exeext conftest.$ac_ext
50801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50802 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50804 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50806 cat >>confdefs.h <<\_ACEOF
50807 #define HAVE___BUILTIN_FABS 1
50808 _ACEOF
50815 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50816 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50817 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50818 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50819 echo $ECHO_N "(cached) $ECHO_C" >&6
50820 else
50824 ac_ext=cc
50825 ac_cpp='$CXXCPP $CPPFLAGS'
50826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50830 cat >conftest.$ac_ext <<_ACEOF
50831 /* confdefs.h. */
50832 _ACEOF
50833 cat confdefs.h >>conftest.$ac_ext
50834 cat >>conftest.$ac_ext <<_ACEOF
50835 /* end confdefs.h. */
50836 #include <math.h>
50838 main ()
50840 __builtin_fabsl(0);
50842 return 0;
50844 _ACEOF
50845 rm -f conftest.$ac_objext
50846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50847 (eval $ac_compile) 2>conftest.er1
50848 ac_status=$?
50849 grep -v '^ *+' conftest.er1 >conftest.err
50850 rm -f conftest.er1
50851 cat conftest.err >&5
50852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50853 (exit $ac_status); } &&
50854 { ac_try='test -z "$ac_cxx_werror_flag"
50855 || test ! -s conftest.err'
50856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50857 (eval $ac_try) 2>&5
50858 ac_status=$?
50859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50860 (exit $ac_status); }; } &&
50861 { ac_try='test -s conftest.$ac_objext'
50862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50863 (eval $ac_try) 2>&5
50864 ac_status=$?
50865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50866 (exit $ac_status); }; }; then
50867 glibcxx_cv_func___builtin_fabsl_use=yes
50868 else
50869 echo "$as_me: failed program was:" >&5
50870 sed 's/^/| /' conftest.$ac_ext >&5
50872 glibcxx_cv_func___builtin_fabsl_use=no
50874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50875 ac_ext=c
50876 ac_cpp='$CPP $CPPFLAGS'
50877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50885 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50886 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50887 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50888 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50889 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50890 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50891 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50892 echo $ECHO_N "(cached) $ECHO_C" >&6
50893 else
50895 if test x$gcc_no_link = xyes; then
50896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50898 { (exit 1); exit 1; }; }
50900 cat >conftest.$ac_ext <<_ACEOF
50901 /* confdefs.h. */
50902 _ACEOF
50903 cat confdefs.h >>conftest.$ac_ext
50904 cat >>conftest.$ac_ext <<_ACEOF
50905 /* end confdefs.h. */
50906 #include <math.h>
50908 main ()
50910 __builtin_fabsl(0);
50912 return 0;
50914 _ACEOF
50915 rm -f conftest.$ac_objext conftest$ac_exeext
50916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50917 (eval $ac_link) 2>conftest.er1
50918 ac_status=$?
50919 grep -v '^ *+' conftest.er1 >conftest.err
50920 rm -f conftest.er1
50921 cat conftest.err >&5
50922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50923 (exit $ac_status); } &&
50924 { ac_try='test -z "$ac_c_werror_flag"
50925 || test ! -s conftest.err'
50926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50927 (eval $ac_try) 2>&5
50928 ac_status=$?
50929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50930 (exit $ac_status); }; } &&
50931 { ac_try='test -s conftest$ac_exeext'
50932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50933 (eval $ac_try) 2>&5
50934 ac_status=$?
50935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50936 (exit $ac_status); }; }; then
50937 glibcxx_cv_func___builtin_fabsl_link=yes
50938 else
50939 echo "$as_me: failed program was:" >&5
50940 sed 's/^/| /' conftest.$ac_ext >&5
50942 glibcxx_cv_func___builtin_fabsl_link=no
50944 rm -f conftest.err conftest.$ac_objext \
50945 conftest$ac_exeext conftest.$ac_ext
50950 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50951 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50953 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50955 cat >>confdefs.h <<\_ACEOF
50956 #define HAVE___BUILTIN_FABSL 1
50957 _ACEOF
50964 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50965 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50966 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50967 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50968 echo $ECHO_N "(cached) $ECHO_C" >&6
50969 else
50973 ac_ext=cc
50974 ac_cpp='$CXXCPP $CPPFLAGS'
50975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50979 cat >conftest.$ac_ext <<_ACEOF
50980 /* confdefs.h. */
50981 _ACEOF
50982 cat confdefs.h >>conftest.$ac_ext
50983 cat >>conftest.$ac_ext <<_ACEOF
50984 /* end confdefs.h. */
50985 #include <math.h>
50987 main ()
50989 __builtin_labs(0);
50991 return 0;
50993 _ACEOF
50994 rm -f conftest.$ac_objext
50995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50996 (eval $ac_compile) 2>conftest.er1
50997 ac_status=$?
50998 grep -v '^ *+' conftest.er1 >conftest.err
50999 rm -f conftest.er1
51000 cat conftest.err >&5
51001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51002 (exit $ac_status); } &&
51003 { ac_try='test -z "$ac_cxx_werror_flag"
51004 || test ! -s conftest.err'
51005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51006 (eval $ac_try) 2>&5
51007 ac_status=$?
51008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51009 (exit $ac_status); }; } &&
51010 { ac_try='test -s conftest.$ac_objext'
51011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51012 (eval $ac_try) 2>&5
51013 ac_status=$?
51014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51015 (exit $ac_status); }; }; then
51016 glibcxx_cv_func___builtin_labs_use=yes
51017 else
51018 echo "$as_me: failed program was:" >&5
51019 sed 's/^/| /' conftest.$ac_ext >&5
51021 glibcxx_cv_func___builtin_labs_use=no
51023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51024 ac_ext=c
51025 ac_cpp='$CPP $CPPFLAGS'
51026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51034 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
51035 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
51036 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
51037 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
51038 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
51039 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
51040 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
51041 echo $ECHO_N "(cached) $ECHO_C" >&6
51042 else
51044 if test x$gcc_no_link = xyes; then
51045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51047 { (exit 1); exit 1; }; }
51049 cat >conftest.$ac_ext <<_ACEOF
51050 /* confdefs.h. */
51051 _ACEOF
51052 cat confdefs.h >>conftest.$ac_ext
51053 cat >>conftest.$ac_ext <<_ACEOF
51054 /* end confdefs.h. */
51055 #include <math.h>
51057 main ()
51059 __builtin_labs(0);
51061 return 0;
51063 _ACEOF
51064 rm -f conftest.$ac_objext conftest$ac_exeext
51065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51066 (eval $ac_link) 2>conftest.er1
51067 ac_status=$?
51068 grep -v '^ *+' conftest.er1 >conftest.err
51069 rm -f conftest.er1
51070 cat conftest.err >&5
51071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51072 (exit $ac_status); } &&
51073 { ac_try='test -z "$ac_c_werror_flag"
51074 || test ! -s conftest.err'
51075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51076 (eval $ac_try) 2>&5
51077 ac_status=$?
51078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51079 (exit $ac_status); }; } &&
51080 { ac_try='test -s conftest$ac_exeext'
51081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51082 (eval $ac_try) 2>&5
51083 ac_status=$?
51084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51085 (exit $ac_status); }; }; then
51086 glibcxx_cv_func___builtin_labs_link=yes
51087 else
51088 echo "$as_me: failed program was:" >&5
51089 sed 's/^/| /' conftest.$ac_ext >&5
51091 glibcxx_cv_func___builtin_labs_link=no
51093 rm -f conftest.err conftest.$ac_objext \
51094 conftest$ac_exeext conftest.$ac_ext
51099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
51100 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
51102 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
51104 cat >>confdefs.h <<\_ACEOF
51105 #define HAVE___BUILTIN_LABS 1
51106 _ACEOF
51114 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
51115 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
51116 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
51117 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
51118 echo $ECHO_N "(cached) $ECHO_C" >&6
51119 else
51123 ac_ext=cc
51124 ac_cpp='$CXXCPP $CPPFLAGS'
51125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129 cat >conftest.$ac_ext <<_ACEOF
51130 /* confdefs.h. */
51131 _ACEOF
51132 cat confdefs.h >>conftest.$ac_ext
51133 cat >>conftest.$ac_ext <<_ACEOF
51134 /* end confdefs.h. */
51135 #include <math.h>
51137 main ()
51139 __builtin_sqrtf(0);
51141 return 0;
51143 _ACEOF
51144 rm -f conftest.$ac_objext
51145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51146 (eval $ac_compile) 2>conftest.er1
51147 ac_status=$?
51148 grep -v '^ *+' conftest.er1 >conftest.err
51149 rm -f conftest.er1
51150 cat conftest.err >&5
51151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51152 (exit $ac_status); } &&
51153 { ac_try='test -z "$ac_cxx_werror_flag"
51154 || test ! -s conftest.err'
51155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51156 (eval $ac_try) 2>&5
51157 ac_status=$?
51158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51159 (exit $ac_status); }; } &&
51160 { ac_try='test -s conftest.$ac_objext'
51161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51162 (eval $ac_try) 2>&5
51163 ac_status=$?
51164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51165 (exit $ac_status); }; }; then
51166 glibcxx_cv_func___builtin_sqrtf_use=yes
51167 else
51168 echo "$as_me: failed program was:" >&5
51169 sed 's/^/| /' conftest.$ac_ext >&5
51171 glibcxx_cv_func___builtin_sqrtf_use=no
51173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51174 ac_ext=c
51175 ac_cpp='$CPP $CPPFLAGS'
51176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51184 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
51185 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
51186 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
51187 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
51188 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
51189 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
51190 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
51191 echo $ECHO_N "(cached) $ECHO_C" >&6
51192 else
51194 if test x$gcc_no_link = xyes; then
51195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51197 { (exit 1); exit 1; }; }
51199 cat >conftest.$ac_ext <<_ACEOF
51200 /* confdefs.h. */
51201 _ACEOF
51202 cat confdefs.h >>conftest.$ac_ext
51203 cat >>conftest.$ac_ext <<_ACEOF
51204 /* end confdefs.h. */
51205 #include <math.h>
51207 main ()
51209 __builtin_sqrtf(0);
51211 return 0;
51213 _ACEOF
51214 rm -f conftest.$ac_objext conftest$ac_exeext
51215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51216 (eval $ac_link) 2>conftest.er1
51217 ac_status=$?
51218 grep -v '^ *+' conftest.er1 >conftest.err
51219 rm -f conftest.er1
51220 cat conftest.err >&5
51221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51222 (exit $ac_status); } &&
51223 { ac_try='test -z "$ac_c_werror_flag"
51224 || test ! -s conftest.err'
51225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51226 (eval $ac_try) 2>&5
51227 ac_status=$?
51228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51229 (exit $ac_status); }; } &&
51230 { ac_try='test -s conftest$ac_exeext'
51231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51232 (eval $ac_try) 2>&5
51233 ac_status=$?
51234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51235 (exit $ac_status); }; }; then
51236 glibcxx_cv_func___builtin_sqrtf_link=yes
51237 else
51238 echo "$as_me: failed program was:" >&5
51239 sed 's/^/| /' conftest.$ac_ext >&5
51241 glibcxx_cv_func___builtin_sqrtf_link=no
51243 rm -f conftest.err conftest.$ac_objext \
51244 conftest$ac_exeext conftest.$ac_ext
51249 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
51250 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
51252 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
51254 cat >>confdefs.h <<\_ACEOF
51255 #define HAVE___BUILTIN_SQRTF 1
51256 _ACEOF
51263 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
51264 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
51265 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
51266 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
51267 echo $ECHO_N "(cached) $ECHO_C" >&6
51268 else
51272 ac_ext=cc
51273 ac_cpp='$CXXCPP $CPPFLAGS'
51274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51278 cat >conftest.$ac_ext <<_ACEOF
51279 /* confdefs.h. */
51280 _ACEOF
51281 cat confdefs.h >>conftest.$ac_ext
51282 cat >>conftest.$ac_ext <<_ACEOF
51283 /* end confdefs.h. */
51284 #include <math.h>
51286 main ()
51288 __builtin_sqrt(0);
51290 return 0;
51292 _ACEOF
51293 rm -f conftest.$ac_objext
51294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51295 (eval $ac_compile) 2>conftest.er1
51296 ac_status=$?
51297 grep -v '^ *+' conftest.er1 >conftest.err
51298 rm -f conftest.er1
51299 cat conftest.err >&5
51300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51301 (exit $ac_status); } &&
51302 { ac_try='test -z "$ac_cxx_werror_flag"
51303 || test ! -s conftest.err'
51304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51305 (eval $ac_try) 2>&5
51306 ac_status=$?
51307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51308 (exit $ac_status); }; } &&
51309 { ac_try='test -s conftest.$ac_objext'
51310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51311 (eval $ac_try) 2>&5
51312 ac_status=$?
51313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51314 (exit $ac_status); }; }; then
51315 glibcxx_cv_func___builtin_sqrt_use=yes
51316 else
51317 echo "$as_me: failed program was:" >&5
51318 sed 's/^/| /' conftest.$ac_ext >&5
51320 glibcxx_cv_func___builtin_sqrt_use=no
51322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51323 ac_ext=c
51324 ac_cpp='$CPP $CPPFLAGS'
51325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
51334 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
51335 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
51336 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
51337 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
51338 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
51339 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
51340 echo $ECHO_N "(cached) $ECHO_C" >&6
51341 else
51343 if test x$gcc_no_link = xyes; then
51344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51346 { (exit 1); exit 1; }; }
51348 cat >conftest.$ac_ext <<_ACEOF
51349 /* confdefs.h. */
51350 _ACEOF
51351 cat confdefs.h >>conftest.$ac_ext
51352 cat >>conftest.$ac_ext <<_ACEOF
51353 /* end confdefs.h. */
51354 #include <math.h>
51356 main ()
51358 __builtin_sqrt(0);
51360 return 0;
51362 _ACEOF
51363 rm -f conftest.$ac_objext conftest$ac_exeext
51364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51365 (eval $ac_link) 2>conftest.er1
51366 ac_status=$?
51367 grep -v '^ *+' conftest.er1 >conftest.err
51368 rm -f conftest.er1
51369 cat conftest.err >&5
51370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51371 (exit $ac_status); } &&
51372 { ac_try='test -z "$ac_c_werror_flag"
51373 || test ! -s conftest.err'
51374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51375 (eval $ac_try) 2>&5
51376 ac_status=$?
51377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51378 (exit $ac_status); }; } &&
51379 { ac_try='test -s conftest$ac_exeext'
51380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51381 (eval $ac_try) 2>&5
51382 ac_status=$?
51383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51384 (exit $ac_status); }; }; then
51385 glibcxx_cv_func___builtin_sqrt_link=yes
51386 else
51387 echo "$as_me: failed program was:" >&5
51388 sed 's/^/| /' conftest.$ac_ext >&5
51390 glibcxx_cv_func___builtin_sqrt_link=no
51392 rm -f conftest.err conftest.$ac_objext \
51393 conftest$ac_exeext conftest.$ac_ext
51398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51401 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51403 cat >>confdefs.h <<\_ACEOF
51404 #define HAVE___BUILTIN_SQRT 1
51405 _ACEOF
51412 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51413 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51414 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51415 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51416 echo $ECHO_N "(cached) $ECHO_C" >&6
51417 else
51421 ac_ext=cc
51422 ac_cpp='$CXXCPP $CPPFLAGS'
51423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51427 cat >conftest.$ac_ext <<_ACEOF
51428 /* confdefs.h. */
51429 _ACEOF
51430 cat confdefs.h >>conftest.$ac_ext
51431 cat >>conftest.$ac_ext <<_ACEOF
51432 /* end confdefs.h. */
51433 #include <math.h>
51435 main ()
51437 __builtin_sqrtl(0);
51439 return 0;
51441 _ACEOF
51442 rm -f conftest.$ac_objext
51443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51444 (eval $ac_compile) 2>conftest.er1
51445 ac_status=$?
51446 grep -v '^ *+' conftest.er1 >conftest.err
51447 rm -f conftest.er1
51448 cat conftest.err >&5
51449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51450 (exit $ac_status); } &&
51451 { ac_try='test -z "$ac_cxx_werror_flag"
51452 || test ! -s conftest.err'
51453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51454 (eval $ac_try) 2>&5
51455 ac_status=$?
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); }; } &&
51458 { ac_try='test -s conftest.$ac_objext'
51459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51460 (eval $ac_try) 2>&5
51461 ac_status=$?
51462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51463 (exit $ac_status); }; }; then
51464 glibcxx_cv_func___builtin_sqrtl_use=yes
51465 else
51466 echo "$as_me: failed program was:" >&5
51467 sed 's/^/| /' conftest.$ac_ext >&5
51469 glibcxx_cv_func___builtin_sqrtl_use=no
51471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51472 ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51482 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51483 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51484 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51485 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51486 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51487 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51488 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51489 echo $ECHO_N "(cached) $ECHO_C" >&6
51490 else
51492 if test x$gcc_no_link = xyes; then
51493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51495 { (exit 1); exit 1; }; }
51497 cat >conftest.$ac_ext <<_ACEOF
51498 /* confdefs.h. */
51499 _ACEOF
51500 cat confdefs.h >>conftest.$ac_ext
51501 cat >>conftest.$ac_ext <<_ACEOF
51502 /* end confdefs.h. */
51503 #include <math.h>
51505 main ()
51507 __builtin_sqrtl(0);
51509 return 0;
51511 _ACEOF
51512 rm -f conftest.$ac_objext conftest$ac_exeext
51513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51514 (eval $ac_link) 2>conftest.er1
51515 ac_status=$?
51516 grep -v '^ *+' conftest.er1 >conftest.err
51517 rm -f conftest.er1
51518 cat conftest.err >&5
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); } &&
51521 { ac_try='test -z "$ac_c_werror_flag"
51522 || test ! -s conftest.err'
51523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51524 (eval $ac_try) 2>&5
51525 ac_status=$?
51526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51527 (exit $ac_status); }; } &&
51528 { ac_try='test -s conftest$ac_exeext'
51529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51530 (eval $ac_try) 2>&5
51531 ac_status=$?
51532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533 (exit $ac_status); }; }; then
51534 glibcxx_cv_func___builtin_sqrtl_link=yes
51535 else
51536 echo "$as_me: failed program was:" >&5
51537 sed 's/^/| /' conftest.$ac_ext >&5
51539 glibcxx_cv_func___builtin_sqrtl_link=no
51541 rm -f conftest.err conftest.$ac_objext \
51542 conftest$ac_exeext conftest.$ac_ext
51547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51548 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51550 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51552 cat >>confdefs.h <<\_ACEOF
51553 #define HAVE___BUILTIN_SQRTL 1
51554 _ACEOF
51562 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51563 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51564 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51565 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51566 echo $ECHO_N "(cached) $ECHO_C" >&6
51567 else
51571 ac_ext=cc
51572 ac_cpp='$CXXCPP $CPPFLAGS'
51573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51577 cat >conftest.$ac_ext <<_ACEOF
51578 /* confdefs.h. */
51579 _ACEOF
51580 cat confdefs.h >>conftest.$ac_ext
51581 cat >>conftest.$ac_ext <<_ACEOF
51582 /* end confdefs.h. */
51583 #include <math.h>
51585 main ()
51587 __builtin_sinf(0);
51589 return 0;
51591 _ACEOF
51592 rm -f conftest.$ac_objext
51593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51594 (eval $ac_compile) 2>conftest.er1
51595 ac_status=$?
51596 grep -v '^ *+' conftest.er1 >conftest.err
51597 rm -f conftest.er1
51598 cat conftest.err >&5
51599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51600 (exit $ac_status); } &&
51601 { ac_try='test -z "$ac_cxx_werror_flag"
51602 || test ! -s conftest.err'
51603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51604 (eval $ac_try) 2>&5
51605 ac_status=$?
51606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51607 (exit $ac_status); }; } &&
51608 { ac_try='test -s conftest.$ac_objext'
51609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51610 (eval $ac_try) 2>&5
51611 ac_status=$?
51612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51613 (exit $ac_status); }; }; then
51614 glibcxx_cv_func___builtin_sinf_use=yes
51615 else
51616 echo "$as_me: failed program was:" >&5
51617 sed 's/^/| /' conftest.$ac_ext >&5
51619 glibcxx_cv_func___builtin_sinf_use=no
51621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51622 ac_ext=c
51623 ac_cpp='$CPP $CPPFLAGS'
51624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51633 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51634 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51635 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51636 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51637 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51638 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51639 echo $ECHO_N "(cached) $ECHO_C" >&6
51640 else
51642 if test x$gcc_no_link = xyes; then
51643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51645 { (exit 1); exit 1; }; }
51647 cat >conftest.$ac_ext <<_ACEOF
51648 /* confdefs.h. */
51649 _ACEOF
51650 cat confdefs.h >>conftest.$ac_ext
51651 cat >>conftest.$ac_ext <<_ACEOF
51652 /* end confdefs.h. */
51653 #include <math.h>
51655 main ()
51657 __builtin_sinf(0);
51659 return 0;
51661 _ACEOF
51662 rm -f conftest.$ac_objext conftest$ac_exeext
51663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51664 (eval $ac_link) 2>conftest.er1
51665 ac_status=$?
51666 grep -v '^ *+' conftest.er1 >conftest.err
51667 rm -f conftest.er1
51668 cat conftest.err >&5
51669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670 (exit $ac_status); } &&
51671 { ac_try='test -z "$ac_c_werror_flag"
51672 || test ! -s conftest.err'
51673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51674 (eval $ac_try) 2>&5
51675 ac_status=$?
51676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51677 (exit $ac_status); }; } &&
51678 { ac_try='test -s conftest$ac_exeext'
51679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51680 (eval $ac_try) 2>&5
51681 ac_status=$?
51682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51683 (exit $ac_status); }; }; then
51684 glibcxx_cv_func___builtin_sinf_link=yes
51685 else
51686 echo "$as_me: failed program was:" >&5
51687 sed 's/^/| /' conftest.$ac_ext >&5
51689 glibcxx_cv_func___builtin_sinf_link=no
51691 rm -f conftest.err conftest.$ac_objext \
51692 conftest$ac_exeext conftest.$ac_ext
51697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51698 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51700 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51702 cat >>confdefs.h <<\_ACEOF
51703 #define HAVE___BUILTIN_SINF 1
51704 _ACEOF
51711 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51712 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51713 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51714 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51715 echo $ECHO_N "(cached) $ECHO_C" >&6
51716 else
51720 ac_ext=cc
51721 ac_cpp='$CXXCPP $CPPFLAGS'
51722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51726 cat >conftest.$ac_ext <<_ACEOF
51727 /* confdefs.h. */
51728 _ACEOF
51729 cat confdefs.h >>conftest.$ac_ext
51730 cat >>conftest.$ac_ext <<_ACEOF
51731 /* end confdefs.h. */
51732 #include <math.h>
51734 main ()
51736 __builtin_sin(0);
51738 return 0;
51740 _ACEOF
51741 rm -f conftest.$ac_objext
51742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51743 (eval $ac_compile) 2>conftest.er1
51744 ac_status=$?
51745 grep -v '^ *+' conftest.er1 >conftest.err
51746 rm -f conftest.er1
51747 cat conftest.err >&5
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); } &&
51750 { ac_try='test -z "$ac_cxx_werror_flag"
51751 || test ! -s conftest.err'
51752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51753 (eval $ac_try) 2>&5
51754 ac_status=$?
51755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51756 (exit $ac_status); }; } &&
51757 { ac_try='test -s conftest.$ac_objext'
51758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51759 (eval $ac_try) 2>&5
51760 ac_status=$?
51761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51762 (exit $ac_status); }; }; then
51763 glibcxx_cv_func___builtin_sin_use=yes
51764 else
51765 echo "$as_me: failed program was:" >&5
51766 sed 's/^/| /' conftest.$ac_ext >&5
51768 glibcxx_cv_func___builtin_sin_use=no
51770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51771 ac_ext=c
51772 ac_cpp='$CPP $CPPFLAGS'
51773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51782 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51783 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51784 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51785 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51786 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51787 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51788 echo $ECHO_N "(cached) $ECHO_C" >&6
51789 else
51791 if test x$gcc_no_link = xyes; then
51792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51794 { (exit 1); exit 1; }; }
51796 cat >conftest.$ac_ext <<_ACEOF
51797 /* confdefs.h. */
51798 _ACEOF
51799 cat confdefs.h >>conftest.$ac_ext
51800 cat >>conftest.$ac_ext <<_ACEOF
51801 /* end confdefs.h. */
51802 #include <math.h>
51804 main ()
51806 __builtin_sin(0);
51808 return 0;
51810 _ACEOF
51811 rm -f conftest.$ac_objext conftest$ac_exeext
51812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51813 (eval $ac_link) 2>conftest.er1
51814 ac_status=$?
51815 grep -v '^ *+' conftest.er1 >conftest.err
51816 rm -f conftest.er1
51817 cat conftest.err >&5
51818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51819 (exit $ac_status); } &&
51820 { ac_try='test -z "$ac_c_werror_flag"
51821 || test ! -s conftest.err'
51822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51823 (eval $ac_try) 2>&5
51824 ac_status=$?
51825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51826 (exit $ac_status); }; } &&
51827 { ac_try='test -s conftest$ac_exeext'
51828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51829 (eval $ac_try) 2>&5
51830 ac_status=$?
51831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51832 (exit $ac_status); }; }; then
51833 glibcxx_cv_func___builtin_sin_link=yes
51834 else
51835 echo "$as_me: failed program was:" >&5
51836 sed 's/^/| /' conftest.$ac_ext >&5
51838 glibcxx_cv_func___builtin_sin_link=no
51840 rm -f conftest.err conftest.$ac_objext \
51841 conftest$ac_exeext conftest.$ac_ext
51846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51849 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51851 cat >>confdefs.h <<\_ACEOF
51852 #define HAVE___BUILTIN_SIN 1
51853 _ACEOF
51860 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51861 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51862 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51863 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51864 echo $ECHO_N "(cached) $ECHO_C" >&6
51865 else
51869 ac_ext=cc
51870 ac_cpp='$CXXCPP $CPPFLAGS'
51871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875 cat >conftest.$ac_ext <<_ACEOF
51876 /* confdefs.h. */
51877 _ACEOF
51878 cat confdefs.h >>conftest.$ac_ext
51879 cat >>conftest.$ac_ext <<_ACEOF
51880 /* end confdefs.h. */
51881 #include <math.h>
51883 main ()
51885 __builtin_sinl(0);
51887 return 0;
51889 _ACEOF
51890 rm -f conftest.$ac_objext
51891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51892 (eval $ac_compile) 2>conftest.er1
51893 ac_status=$?
51894 grep -v '^ *+' conftest.er1 >conftest.err
51895 rm -f conftest.er1
51896 cat conftest.err >&5
51897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51898 (exit $ac_status); } &&
51899 { ac_try='test -z "$ac_cxx_werror_flag"
51900 || test ! -s conftest.err'
51901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51902 (eval $ac_try) 2>&5
51903 ac_status=$?
51904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51905 (exit $ac_status); }; } &&
51906 { ac_try='test -s conftest.$ac_objext'
51907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51908 (eval $ac_try) 2>&5
51909 ac_status=$?
51910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51911 (exit $ac_status); }; }; then
51912 glibcxx_cv_func___builtin_sinl_use=yes
51913 else
51914 echo "$as_me: failed program was:" >&5
51915 sed 's/^/| /' conftest.$ac_ext >&5
51917 glibcxx_cv_func___builtin_sinl_use=no
51919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51920 ac_ext=c
51921 ac_cpp='$CPP $CPPFLAGS'
51922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51930 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51931 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51932 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51933 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51934 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51935 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51936 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51937 echo $ECHO_N "(cached) $ECHO_C" >&6
51938 else
51940 if test x$gcc_no_link = xyes; then
51941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51943 { (exit 1); exit 1; }; }
51945 cat >conftest.$ac_ext <<_ACEOF
51946 /* confdefs.h. */
51947 _ACEOF
51948 cat confdefs.h >>conftest.$ac_ext
51949 cat >>conftest.$ac_ext <<_ACEOF
51950 /* end confdefs.h. */
51951 #include <math.h>
51953 main ()
51955 __builtin_sinl(0);
51957 return 0;
51959 _ACEOF
51960 rm -f conftest.$ac_objext conftest$ac_exeext
51961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51962 (eval $ac_link) 2>conftest.er1
51963 ac_status=$?
51964 grep -v '^ *+' conftest.er1 >conftest.err
51965 rm -f conftest.er1
51966 cat conftest.err >&5
51967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51968 (exit $ac_status); } &&
51969 { ac_try='test -z "$ac_c_werror_flag"
51970 || test ! -s conftest.err'
51971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51972 (eval $ac_try) 2>&5
51973 ac_status=$?
51974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51975 (exit $ac_status); }; } &&
51976 { ac_try='test -s conftest$ac_exeext'
51977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51978 (eval $ac_try) 2>&5
51979 ac_status=$?
51980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51981 (exit $ac_status); }; }; then
51982 glibcxx_cv_func___builtin_sinl_link=yes
51983 else
51984 echo "$as_me: failed program was:" >&5
51985 sed 's/^/| /' conftest.$ac_ext >&5
51987 glibcxx_cv_func___builtin_sinl_link=no
51989 rm -f conftest.err conftest.$ac_objext \
51990 conftest$ac_exeext conftest.$ac_ext
51995 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51998 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
52000 cat >>confdefs.h <<\_ACEOF
52001 #define HAVE___BUILTIN_SINL 1
52002 _ACEOF
52010 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
52011 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
52012 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
52013 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
52014 echo $ECHO_N "(cached) $ECHO_C" >&6
52015 else
52019 ac_ext=cc
52020 ac_cpp='$CXXCPP $CPPFLAGS'
52021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52025 cat >conftest.$ac_ext <<_ACEOF
52026 /* confdefs.h. */
52027 _ACEOF
52028 cat confdefs.h >>conftest.$ac_ext
52029 cat >>conftest.$ac_ext <<_ACEOF
52030 /* end confdefs.h. */
52031 #include <math.h>
52033 main ()
52035 __builtin_cosf(0);
52037 return 0;
52039 _ACEOF
52040 rm -f conftest.$ac_objext
52041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52042 (eval $ac_compile) 2>conftest.er1
52043 ac_status=$?
52044 grep -v '^ *+' conftest.er1 >conftest.err
52045 rm -f conftest.er1
52046 cat conftest.err >&5
52047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52048 (exit $ac_status); } &&
52049 { ac_try='test -z "$ac_cxx_werror_flag"
52050 || test ! -s conftest.err'
52051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52052 (eval $ac_try) 2>&5
52053 ac_status=$?
52054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52055 (exit $ac_status); }; } &&
52056 { ac_try='test -s conftest.$ac_objext'
52057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52058 (eval $ac_try) 2>&5
52059 ac_status=$?
52060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52061 (exit $ac_status); }; }; then
52062 glibcxx_cv_func___builtin_cosf_use=yes
52063 else
52064 echo "$as_me: failed program was:" >&5
52065 sed 's/^/| /' conftest.$ac_ext >&5
52067 glibcxx_cv_func___builtin_cosf_use=no
52069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52070 ac_ext=c
52071 ac_cpp='$CPP $CPPFLAGS'
52072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52080 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
52081 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
52082 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
52083 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
52084 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
52085 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
52086 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
52087 echo $ECHO_N "(cached) $ECHO_C" >&6
52088 else
52090 if test x$gcc_no_link = xyes; then
52091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52093 { (exit 1); exit 1; }; }
52095 cat >conftest.$ac_ext <<_ACEOF
52096 /* confdefs.h. */
52097 _ACEOF
52098 cat confdefs.h >>conftest.$ac_ext
52099 cat >>conftest.$ac_ext <<_ACEOF
52100 /* end confdefs.h. */
52101 #include <math.h>
52103 main ()
52105 __builtin_cosf(0);
52107 return 0;
52109 _ACEOF
52110 rm -f conftest.$ac_objext conftest$ac_exeext
52111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52112 (eval $ac_link) 2>conftest.er1
52113 ac_status=$?
52114 grep -v '^ *+' conftest.er1 >conftest.err
52115 rm -f conftest.er1
52116 cat conftest.err >&5
52117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52118 (exit $ac_status); } &&
52119 { ac_try='test -z "$ac_c_werror_flag"
52120 || test ! -s conftest.err'
52121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52122 (eval $ac_try) 2>&5
52123 ac_status=$?
52124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52125 (exit $ac_status); }; } &&
52126 { ac_try='test -s conftest$ac_exeext'
52127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52128 (eval $ac_try) 2>&5
52129 ac_status=$?
52130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52131 (exit $ac_status); }; }; then
52132 glibcxx_cv_func___builtin_cosf_link=yes
52133 else
52134 echo "$as_me: failed program was:" >&5
52135 sed 's/^/| /' conftest.$ac_ext >&5
52137 glibcxx_cv_func___builtin_cosf_link=no
52139 rm -f conftest.err conftest.$ac_objext \
52140 conftest$ac_exeext conftest.$ac_ext
52145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
52146 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
52148 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
52150 cat >>confdefs.h <<\_ACEOF
52151 #define HAVE___BUILTIN_COSF 1
52152 _ACEOF
52159 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
52160 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
52161 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
52162 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
52163 echo $ECHO_N "(cached) $ECHO_C" >&6
52164 else
52168 ac_ext=cc
52169 ac_cpp='$CXXCPP $CPPFLAGS'
52170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52174 cat >conftest.$ac_ext <<_ACEOF
52175 /* confdefs.h. */
52176 _ACEOF
52177 cat confdefs.h >>conftest.$ac_ext
52178 cat >>conftest.$ac_ext <<_ACEOF
52179 /* end confdefs.h. */
52180 #include <math.h>
52182 main ()
52184 __builtin_cos(0);
52186 return 0;
52188 _ACEOF
52189 rm -f conftest.$ac_objext
52190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52191 (eval $ac_compile) 2>conftest.er1
52192 ac_status=$?
52193 grep -v '^ *+' conftest.er1 >conftest.err
52194 rm -f conftest.er1
52195 cat conftest.err >&5
52196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52197 (exit $ac_status); } &&
52198 { ac_try='test -z "$ac_cxx_werror_flag"
52199 || test ! -s conftest.err'
52200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52201 (eval $ac_try) 2>&5
52202 ac_status=$?
52203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52204 (exit $ac_status); }; } &&
52205 { ac_try='test -s conftest.$ac_objext'
52206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52207 (eval $ac_try) 2>&5
52208 ac_status=$?
52209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52210 (exit $ac_status); }; }; then
52211 glibcxx_cv_func___builtin_cos_use=yes
52212 else
52213 echo "$as_me: failed program was:" >&5
52214 sed 's/^/| /' conftest.$ac_ext >&5
52216 glibcxx_cv_func___builtin_cos_use=no
52218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52219 ac_ext=c
52220 ac_cpp='$CPP $CPPFLAGS'
52221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52229 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
52230 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
52231 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
52232 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
52233 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
52234 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
52235 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
52236 echo $ECHO_N "(cached) $ECHO_C" >&6
52237 else
52239 if test x$gcc_no_link = xyes; then
52240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52242 { (exit 1); exit 1; }; }
52244 cat >conftest.$ac_ext <<_ACEOF
52245 /* confdefs.h. */
52246 _ACEOF
52247 cat confdefs.h >>conftest.$ac_ext
52248 cat >>conftest.$ac_ext <<_ACEOF
52249 /* end confdefs.h. */
52250 #include <math.h>
52252 main ()
52254 __builtin_cos(0);
52256 return 0;
52258 _ACEOF
52259 rm -f conftest.$ac_objext conftest$ac_exeext
52260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52261 (eval $ac_link) 2>conftest.er1
52262 ac_status=$?
52263 grep -v '^ *+' conftest.er1 >conftest.err
52264 rm -f conftest.er1
52265 cat conftest.err >&5
52266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52267 (exit $ac_status); } &&
52268 { ac_try='test -z "$ac_c_werror_flag"
52269 || test ! -s conftest.err'
52270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52271 (eval $ac_try) 2>&5
52272 ac_status=$?
52273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52274 (exit $ac_status); }; } &&
52275 { ac_try='test -s conftest$ac_exeext'
52276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52277 (eval $ac_try) 2>&5
52278 ac_status=$?
52279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52280 (exit $ac_status); }; }; then
52281 glibcxx_cv_func___builtin_cos_link=yes
52282 else
52283 echo "$as_me: failed program was:" >&5
52284 sed 's/^/| /' conftest.$ac_ext >&5
52286 glibcxx_cv_func___builtin_cos_link=no
52288 rm -f conftest.err conftest.$ac_objext \
52289 conftest$ac_exeext conftest.$ac_ext
52294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
52295 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
52297 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
52299 cat >>confdefs.h <<\_ACEOF
52300 #define HAVE___BUILTIN_COS 1
52301 _ACEOF
52308 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
52309 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
52310 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
52311 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
52312 echo $ECHO_N "(cached) $ECHO_C" >&6
52313 else
52317 ac_ext=cc
52318 ac_cpp='$CXXCPP $CPPFLAGS'
52319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52323 cat >conftest.$ac_ext <<_ACEOF
52324 /* confdefs.h. */
52325 _ACEOF
52326 cat confdefs.h >>conftest.$ac_ext
52327 cat >>conftest.$ac_ext <<_ACEOF
52328 /* end confdefs.h. */
52329 #include <math.h>
52331 main ()
52333 __builtin_cosl(0);
52335 return 0;
52337 _ACEOF
52338 rm -f conftest.$ac_objext
52339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52340 (eval $ac_compile) 2>conftest.er1
52341 ac_status=$?
52342 grep -v '^ *+' conftest.er1 >conftest.err
52343 rm -f conftest.er1
52344 cat conftest.err >&5
52345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52346 (exit $ac_status); } &&
52347 { ac_try='test -z "$ac_cxx_werror_flag"
52348 || test ! -s conftest.err'
52349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52350 (eval $ac_try) 2>&5
52351 ac_status=$?
52352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52353 (exit $ac_status); }; } &&
52354 { ac_try='test -s conftest.$ac_objext'
52355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52356 (eval $ac_try) 2>&5
52357 ac_status=$?
52358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52359 (exit $ac_status); }; }; then
52360 glibcxx_cv_func___builtin_cosl_use=yes
52361 else
52362 echo "$as_me: failed program was:" >&5
52363 sed 's/^/| /' conftest.$ac_ext >&5
52365 glibcxx_cv_func___builtin_cosl_use=no
52367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52368 ac_ext=c
52369 ac_cpp='$CPP $CPPFLAGS'
52370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52378 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
52379 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
52380 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
52381 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
52382 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
52383 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
52384 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
52385 echo $ECHO_N "(cached) $ECHO_C" >&6
52386 else
52388 if test x$gcc_no_link = xyes; then
52389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52391 { (exit 1); exit 1; }; }
52393 cat >conftest.$ac_ext <<_ACEOF
52394 /* confdefs.h. */
52395 _ACEOF
52396 cat confdefs.h >>conftest.$ac_ext
52397 cat >>conftest.$ac_ext <<_ACEOF
52398 /* end confdefs.h. */
52399 #include <math.h>
52401 main ()
52403 __builtin_cosl(0);
52405 return 0;
52407 _ACEOF
52408 rm -f conftest.$ac_objext conftest$ac_exeext
52409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52410 (eval $ac_link) 2>conftest.er1
52411 ac_status=$?
52412 grep -v '^ *+' conftest.er1 >conftest.err
52413 rm -f conftest.er1
52414 cat conftest.err >&5
52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416 (exit $ac_status); } &&
52417 { ac_try='test -z "$ac_c_werror_flag"
52418 || test ! -s conftest.err'
52419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52420 (eval $ac_try) 2>&5
52421 ac_status=$?
52422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52423 (exit $ac_status); }; } &&
52424 { ac_try='test -s conftest$ac_exeext'
52425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52426 (eval $ac_try) 2>&5
52427 ac_status=$?
52428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429 (exit $ac_status); }; }; then
52430 glibcxx_cv_func___builtin_cosl_link=yes
52431 else
52432 echo "$as_me: failed program was:" >&5
52433 sed 's/^/| /' conftest.$ac_ext >&5
52435 glibcxx_cv_func___builtin_cosl_link=no
52437 rm -f conftest.err conftest.$ac_objext \
52438 conftest$ac_exeext conftest.$ac_ext
52443 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52444 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52446 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52448 cat >>confdefs.h <<\_ACEOF
52449 #define HAVE___BUILTIN_COSL 1
52450 _ACEOF
52459 echo "$as_me:$LINENO: checking for main in -lm" >&5
52460 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52461 if test "${ac_cv_lib_m_main+set}" = set; then
52462 echo $ECHO_N "(cached) $ECHO_C" >&6
52463 else
52464 ac_check_lib_save_LIBS=$LIBS
52465 LIBS="-lm $LIBS"
52466 if test x$gcc_no_link = xyes; then
52467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52469 { (exit 1); exit 1; }; }
52471 cat >conftest.$ac_ext <<_ACEOF
52472 /* confdefs.h. */
52473 _ACEOF
52474 cat confdefs.h >>conftest.$ac_ext
52475 cat >>conftest.$ac_ext <<_ACEOF
52476 /* end confdefs.h. */
52480 main ()
52482 main ();
52484 return 0;
52486 _ACEOF
52487 rm -f conftest.$ac_objext conftest$ac_exeext
52488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52489 (eval $ac_link) 2>conftest.er1
52490 ac_status=$?
52491 grep -v '^ *+' conftest.er1 >conftest.err
52492 rm -f conftest.er1
52493 cat conftest.err >&5
52494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52495 (exit $ac_status); } &&
52496 { ac_try='test -z "$ac_c_werror_flag"
52497 || test ! -s conftest.err'
52498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52499 (eval $ac_try) 2>&5
52500 ac_status=$?
52501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52502 (exit $ac_status); }; } &&
52503 { ac_try='test -s conftest$ac_exeext'
52504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52505 (eval $ac_try) 2>&5
52506 ac_status=$?
52507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52508 (exit $ac_status); }; }; then
52509 ac_cv_lib_m_main=yes
52510 else
52511 echo "$as_me: failed program was:" >&5
52512 sed 's/^/| /' conftest.$ac_ext >&5
52514 ac_cv_lib_m_main=no
52516 rm -f conftest.err conftest.$ac_objext \
52517 conftest$ac_exeext conftest.$ac_ext
52518 LIBS=$ac_check_lib_save_LIBS
52520 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52521 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52522 if test $ac_cv_lib_m_main = yes; then
52523 cat >>confdefs.h <<_ACEOF
52524 #define HAVE_LIBM 1
52525 _ACEOF
52527 LIBS="-lm $LIBS"
52532 for ac_func in copysignf
52534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52535 echo "$as_me:$LINENO: checking for $ac_func" >&5
52536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52537 if eval "test \"\${$as_ac_var+set}\" = set"; then
52538 echo $ECHO_N "(cached) $ECHO_C" >&6
52539 else
52540 if test x$gcc_no_link = xyes; then
52541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52543 { (exit 1); exit 1; }; }
52545 cat >conftest.$ac_ext <<_ACEOF
52546 /* confdefs.h. */
52547 _ACEOF
52548 cat confdefs.h >>conftest.$ac_ext
52549 cat >>conftest.$ac_ext <<_ACEOF
52550 /* end confdefs.h. */
52551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52553 #define $ac_func innocuous_$ac_func
52555 /* System header to define __stub macros and hopefully few prototypes,
52556 which can conflict with char $ac_func (); below.
52557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52558 <limits.h> exists even on freestanding compilers. */
52560 #ifdef __STDC__
52561 # include <limits.h>
52562 #else
52563 # include <assert.h>
52564 #endif
52566 #undef $ac_func
52568 /* Override any gcc2 internal prototype to avoid an error. */
52569 #ifdef __cplusplus
52570 extern "C"
52572 #endif
52573 /* We use char because int might match the return type of a gcc2
52574 builtin and then its argument prototype would still apply. */
52575 char $ac_func ();
52576 /* The GNU C library defines this for functions which it implements
52577 to always fail with ENOSYS. Some functions are actually named
52578 something starting with __ and the normal name is an alias. */
52579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52580 choke me
52581 #else
52582 char (*f) () = $ac_func;
52583 #endif
52584 #ifdef __cplusplus
52586 #endif
52589 main ()
52591 return f != $ac_func;
52593 return 0;
52595 _ACEOF
52596 rm -f conftest.$ac_objext conftest$ac_exeext
52597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52598 (eval $ac_link) 2>conftest.er1
52599 ac_status=$?
52600 grep -v '^ *+' conftest.er1 >conftest.err
52601 rm -f conftest.er1
52602 cat conftest.err >&5
52603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52604 (exit $ac_status); } &&
52605 { ac_try='test -z "$ac_c_werror_flag"
52606 || test ! -s conftest.err'
52607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52608 (eval $ac_try) 2>&5
52609 ac_status=$?
52610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52611 (exit $ac_status); }; } &&
52612 { ac_try='test -s conftest$ac_exeext'
52613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52614 (eval $ac_try) 2>&5
52615 ac_status=$?
52616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52617 (exit $ac_status); }; }; then
52618 eval "$as_ac_var=yes"
52619 else
52620 echo "$as_me: failed program was:" >&5
52621 sed 's/^/| /' conftest.$ac_ext >&5
52623 eval "$as_ac_var=no"
52625 rm -f conftest.err conftest.$ac_objext \
52626 conftest$ac_exeext conftest.$ac_ext
52628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52630 if test `eval echo '${'$as_ac_var'}'` = yes; then
52631 cat >>confdefs.h <<_ACEOF
52632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52633 _ACEOF
52635 else
52636 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52638 done
52642 for ac_func in __signbit
52644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52645 echo "$as_me:$LINENO: checking for $ac_func" >&5
52646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52647 if eval "test \"\${$as_ac_var+set}\" = set"; then
52648 echo $ECHO_N "(cached) $ECHO_C" >&6
52649 else
52650 if test x$gcc_no_link = xyes; then
52651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52653 { (exit 1); exit 1; }; }
52655 cat >conftest.$ac_ext <<_ACEOF
52656 /* confdefs.h. */
52657 _ACEOF
52658 cat confdefs.h >>conftest.$ac_ext
52659 cat >>conftest.$ac_ext <<_ACEOF
52660 /* end confdefs.h. */
52661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52663 #define $ac_func innocuous_$ac_func
52665 /* System header to define __stub macros and hopefully few prototypes,
52666 which can conflict with char $ac_func (); below.
52667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52668 <limits.h> exists even on freestanding compilers. */
52670 #ifdef __STDC__
52671 # include <limits.h>
52672 #else
52673 # include <assert.h>
52674 #endif
52676 #undef $ac_func
52678 /* Override any gcc2 internal prototype to avoid an error. */
52679 #ifdef __cplusplus
52680 extern "C"
52682 #endif
52683 /* We use char because int might match the return type of a gcc2
52684 builtin and then its argument prototype would still apply. */
52685 char $ac_func ();
52686 /* The GNU C library defines this for functions which it implements
52687 to always fail with ENOSYS. Some functions are actually named
52688 something starting with __ and the normal name is an alias. */
52689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52690 choke me
52691 #else
52692 char (*f) () = $ac_func;
52693 #endif
52694 #ifdef __cplusplus
52696 #endif
52699 main ()
52701 return f != $ac_func;
52703 return 0;
52705 _ACEOF
52706 rm -f conftest.$ac_objext conftest$ac_exeext
52707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52708 (eval $ac_link) 2>conftest.er1
52709 ac_status=$?
52710 grep -v '^ *+' conftest.er1 >conftest.err
52711 rm -f conftest.er1
52712 cat conftest.err >&5
52713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52714 (exit $ac_status); } &&
52715 { ac_try='test -z "$ac_c_werror_flag"
52716 || test ! -s conftest.err'
52717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52718 (eval $ac_try) 2>&5
52719 ac_status=$?
52720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52721 (exit $ac_status); }; } &&
52722 { ac_try='test -s conftest$ac_exeext'
52723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52724 (eval $ac_try) 2>&5
52725 ac_status=$?
52726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52727 (exit $ac_status); }; }; then
52728 eval "$as_ac_var=yes"
52729 else
52730 echo "$as_me: failed program was:" >&5
52731 sed 's/^/| /' conftest.$ac_ext >&5
52733 eval "$as_ac_var=no"
52735 rm -f conftest.err conftest.$ac_objext \
52736 conftest$ac_exeext conftest.$ac_ext
52738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52740 if test `eval echo '${'$as_ac_var'}'` = yes; then
52741 cat >>confdefs.h <<_ACEOF
52742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52743 _ACEOF
52745 else
52746 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52748 done
52752 for ac_func in __signbitf
52754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52755 echo "$as_me:$LINENO: checking for $ac_func" >&5
52756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52757 if eval "test \"\${$as_ac_var+set}\" = set"; then
52758 echo $ECHO_N "(cached) $ECHO_C" >&6
52759 else
52760 if test x$gcc_no_link = xyes; then
52761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52763 { (exit 1); exit 1; }; }
52765 cat >conftest.$ac_ext <<_ACEOF
52766 /* confdefs.h. */
52767 _ACEOF
52768 cat confdefs.h >>conftest.$ac_ext
52769 cat >>conftest.$ac_ext <<_ACEOF
52770 /* end confdefs.h. */
52771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52773 #define $ac_func innocuous_$ac_func
52775 /* System header to define __stub macros and hopefully few prototypes,
52776 which can conflict with char $ac_func (); below.
52777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52778 <limits.h> exists even on freestanding compilers. */
52780 #ifdef __STDC__
52781 # include <limits.h>
52782 #else
52783 # include <assert.h>
52784 #endif
52786 #undef $ac_func
52788 /* Override any gcc2 internal prototype to avoid an error. */
52789 #ifdef __cplusplus
52790 extern "C"
52792 #endif
52793 /* We use char because int might match the return type of a gcc2
52794 builtin and then its argument prototype would still apply. */
52795 char $ac_func ();
52796 /* The GNU C library defines this for functions which it implements
52797 to always fail with ENOSYS. Some functions are actually named
52798 something starting with __ and the normal name is an alias. */
52799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52800 choke me
52801 #else
52802 char (*f) () = $ac_func;
52803 #endif
52804 #ifdef __cplusplus
52806 #endif
52809 main ()
52811 return f != $ac_func;
52813 return 0;
52815 _ACEOF
52816 rm -f conftest.$ac_objext conftest$ac_exeext
52817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52818 (eval $ac_link) 2>conftest.er1
52819 ac_status=$?
52820 grep -v '^ *+' conftest.er1 >conftest.err
52821 rm -f conftest.er1
52822 cat conftest.err >&5
52823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52824 (exit $ac_status); } &&
52825 { ac_try='test -z "$ac_c_werror_flag"
52826 || test ! -s conftest.err'
52827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52828 (eval $ac_try) 2>&5
52829 ac_status=$?
52830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52831 (exit $ac_status); }; } &&
52832 { ac_try='test -s conftest$ac_exeext'
52833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52834 (eval $ac_try) 2>&5
52835 ac_status=$?
52836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52837 (exit $ac_status); }; }; then
52838 eval "$as_ac_var=yes"
52839 else
52840 echo "$as_me: failed program was:" >&5
52841 sed 's/^/| /' conftest.$ac_ext >&5
52843 eval "$as_ac_var=no"
52845 rm -f conftest.err conftest.$ac_objext \
52846 conftest$ac_exeext conftest.$ac_ext
52848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52850 if test `eval echo '${'$as_ac_var'}'` = yes; then
52851 cat >>confdefs.h <<_ACEOF
52852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52853 _ACEOF
52855 else
52856 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52858 done
52861 if test x$ac_cv_func_copysignl = x"yes"; then
52863 for ac_func in __signbitl
52865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52866 echo "$as_me:$LINENO: checking for $ac_func" >&5
52867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52868 if eval "test \"\${$as_ac_var+set}\" = set"; then
52869 echo $ECHO_N "(cached) $ECHO_C" >&6
52870 else
52871 if test x$gcc_no_link = xyes; then
52872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52874 { (exit 1); exit 1; }; }
52876 cat >conftest.$ac_ext <<_ACEOF
52877 /* confdefs.h. */
52878 _ACEOF
52879 cat confdefs.h >>conftest.$ac_ext
52880 cat >>conftest.$ac_ext <<_ACEOF
52881 /* end confdefs.h. */
52882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52884 #define $ac_func innocuous_$ac_func
52886 /* System header to define __stub macros and hopefully few prototypes,
52887 which can conflict with char $ac_func (); below.
52888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52889 <limits.h> exists even on freestanding compilers. */
52891 #ifdef __STDC__
52892 # include <limits.h>
52893 #else
52894 # include <assert.h>
52895 #endif
52897 #undef $ac_func
52899 /* Override any gcc2 internal prototype to avoid an error. */
52900 #ifdef __cplusplus
52901 extern "C"
52903 #endif
52904 /* We use char because int might match the return type of a gcc2
52905 builtin and then its argument prototype would still apply. */
52906 char $ac_func ();
52907 /* The GNU C library defines this for functions which it implements
52908 to always fail with ENOSYS. Some functions are actually named
52909 something starting with __ and the normal name is an alias. */
52910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52911 choke me
52912 #else
52913 char (*f) () = $ac_func;
52914 #endif
52915 #ifdef __cplusplus
52917 #endif
52920 main ()
52922 return f != $ac_func;
52924 return 0;
52926 _ACEOF
52927 rm -f conftest.$ac_objext conftest$ac_exeext
52928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52929 (eval $ac_link) 2>conftest.er1
52930 ac_status=$?
52931 grep -v '^ *+' conftest.er1 >conftest.err
52932 rm -f conftest.er1
52933 cat conftest.err >&5
52934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52935 (exit $ac_status); } &&
52936 { ac_try='test -z "$ac_c_werror_flag"
52937 || test ! -s conftest.err'
52938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52939 (eval $ac_try) 2>&5
52940 ac_status=$?
52941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52942 (exit $ac_status); }; } &&
52943 { ac_try='test -s conftest$ac_exeext'
52944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52945 (eval $ac_try) 2>&5
52946 ac_status=$?
52947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52948 (exit $ac_status); }; }; then
52949 eval "$as_ac_var=yes"
52950 else
52951 echo "$as_me: failed program was:" >&5
52952 sed 's/^/| /' conftest.$ac_ext >&5
52954 eval "$as_ac_var=no"
52956 rm -f conftest.err conftest.$ac_objext \
52957 conftest$ac_exeext conftest.$ac_ext
52959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52961 if test `eval echo '${'$as_ac_var'}'` = yes; then
52962 cat >>confdefs.h <<_ACEOF
52963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52964 _ACEOF
52966 else
52967 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52969 done
52973 # Used in libmath/Makefile.am.
52974 if test -n "$LIBMATHOBJS"; then
52975 need_libmath=yes
52980 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52981 ac_save_CXXFLAGS="$CXXFLAGS"
52982 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52985 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52986 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52987 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52988 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52989 echo $ECHO_N "(cached) $ECHO_C" >&6
52990 else
52994 ac_ext=cc
52995 ac_cpp='$CXXCPP $CPPFLAGS'
52996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53000 cat >conftest.$ac_ext <<_ACEOF
53001 /* confdefs.h. */
53002 _ACEOF
53003 cat confdefs.h >>conftest.$ac_ext
53004 cat >>conftest.$ac_ext <<_ACEOF
53005 /* end confdefs.h. */
53006 #include <stdlib.h>
53008 main ()
53010 strtold(0, 0);
53012 return 0;
53014 _ACEOF
53015 rm -f conftest.$ac_objext
53016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53017 (eval $ac_compile) 2>conftest.er1
53018 ac_status=$?
53019 grep -v '^ *+' conftest.er1 >conftest.err
53020 rm -f conftest.er1
53021 cat conftest.err >&5
53022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53023 (exit $ac_status); } &&
53024 { ac_try='test -z "$ac_cxx_werror_flag"
53025 || test ! -s conftest.err'
53026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53027 (eval $ac_try) 2>&5
53028 ac_status=$?
53029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53030 (exit $ac_status); }; } &&
53031 { ac_try='test -s conftest.$ac_objext'
53032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53033 (eval $ac_try) 2>&5
53034 ac_status=$?
53035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53036 (exit $ac_status); }; }; then
53037 glibcxx_cv_func_strtold_use=yes
53038 else
53039 echo "$as_me: failed program was:" >&5
53040 sed 's/^/| /' conftest.$ac_ext >&5
53042 glibcxx_cv_func_strtold_use=no
53044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53045 ac_ext=c
53046 ac_cpp='$CPP $CPPFLAGS'
53047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53056 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53057 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53059 for ac_func in strtold
53061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53062 echo "$as_me:$LINENO: checking for $ac_func" >&5
53063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53064 if eval "test \"\${$as_ac_var+set}\" = set"; then
53065 echo $ECHO_N "(cached) $ECHO_C" >&6
53066 else
53067 if test x$gcc_no_link = xyes; then
53068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53070 { (exit 1); exit 1; }; }
53072 cat >conftest.$ac_ext <<_ACEOF
53073 /* confdefs.h. */
53074 _ACEOF
53075 cat confdefs.h >>conftest.$ac_ext
53076 cat >>conftest.$ac_ext <<_ACEOF
53077 /* end confdefs.h. */
53078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53080 #define $ac_func innocuous_$ac_func
53082 /* System header to define __stub macros and hopefully few prototypes,
53083 which can conflict with char $ac_func (); below.
53084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53085 <limits.h> exists even on freestanding compilers. */
53087 #ifdef __STDC__
53088 # include <limits.h>
53089 #else
53090 # include <assert.h>
53091 #endif
53093 #undef $ac_func
53095 /* Override any gcc2 internal prototype to avoid an error. */
53096 #ifdef __cplusplus
53097 extern "C"
53099 #endif
53100 /* We use char because int might match the return type of a gcc2
53101 builtin and then its argument prototype would still apply. */
53102 char $ac_func ();
53103 /* The GNU C library defines this for functions which it implements
53104 to always fail with ENOSYS. Some functions are actually named
53105 something starting with __ and the normal name is an alias. */
53106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53107 choke me
53108 #else
53109 char (*f) () = $ac_func;
53110 #endif
53111 #ifdef __cplusplus
53113 #endif
53116 main ()
53118 return f != $ac_func;
53120 return 0;
53122 _ACEOF
53123 rm -f conftest.$ac_objext conftest$ac_exeext
53124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53125 (eval $ac_link) 2>conftest.er1
53126 ac_status=$?
53127 grep -v '^ *+' conftest.er1 >conftest.err
53128 rm -f conftest.er1
53129 cat conftest.err >&5
53130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53131 (exit $ac_status); } &&
53132 { ac_try='test -z "$ac_c_werror_flag"
53133 || test ! -s conftest.err'
53134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53135 (eval $ac_try) 2>&5
53136 ac_status=$?
53137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53138 (exit $ac_status); }; } &&
53139 { ac_try='test -s conftest$ac_exeext'
53140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53141 (eval $ac_try) 2>&5
53142 ac_status=$?
53143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53144 (exit $ac_status); }; }; then
53145 eval "$as_ac_var=yes"
53146 else
53147 echo "$as_me: failed program was:" >&5
53148 sed 's/^/| /' conftest.$ac_ext >&5
53150 eval "$as_ac_var=no"
53152 rm -f conftest.err conftest.$ac_objext \
53153 conftest$ac_exeext conftest.$ac_ext
53155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53157 if test `eval echo '${'$as_ac_var'}'` = yes; then
53158 cat >>confdefs.h <<_ACEOF
53159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53160 _ACEOF
53163 done
53171 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53172 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53173 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53174 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53175 echo $ECHO_N "(cached) $ECHO_C" >&6
53176 else
53180 ac_ext=cc
53181 ac_cpp='$CXXCPP $CPPFLAGS'
53182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53186 cat >conftest.$ac_ext <<_ACEOF
53187 /* confdefs.h. */
53188 _ACEOF
53189 cat confdefs.h >>conftest.$ac_ext
53190 cat >>conftest.$ac_ext <<_ACEOF
53191 /* end confdefs.h. */
53192 #include <stdlib.h>
53194 main ()
53196 strtof(0, 0);
53198 return 0;
53200 _ACEOF
53201 rm -f conftest.$ac_objext
53202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53203 (eval $ac_compile) 2>conftest.er1
53204 ac_status=$?
53205 grep -v '^ *+' conftest.er1 >conftest.err
53206 rm -f conftest.er1
53207 cat conftest.err >&5
53208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53209 (exit $ac_status); } &&
53210 { ac_try='test -z "$ac_cxx_werror_flag"
53211 || test ! -s conftest.err'
53212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53213 (eval $ac_try) 2>&5
53214 ac_status=$?
53215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53216 (exit $ac_status); }; } &&
53217 { ac_try='test -s conftest.$ac_objext'
53218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53219 (eval $ac_try) 2>&5
53220 ac_status=$?
53221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53222 (exit $ac_status); }; }; then
53223 glibcxx_cv_func_strtof_use=yes
53224 else
53225 echo "$as_me: failed program was:" >&5
53226 sed 's/^/| /' conftest.$ac_ext >&5
53228 glibcxx_cv_func_strtof_use=no
53230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53231 ac_ext=c
53232 ac_cpp='$CPP $CPPFLAGS'
53233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53242 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53243 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53245 for ac_func in strtof
53247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53248 echo "$as_me:$LINENO: checking for $ac_func" >&5
53249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53250 if eval "test \"\${$as_ac_var+set}\" = set"; then
53251 echo $ECHO_N "(cached) $ECHO_C" >&6
53252 else
53253 if test x$gcc_no_link = xyes; then
53254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53256 { (exit 1); exit 1; }; }
53258 cat >conftest.$ac_ext <<_ACEOF
53259 /* confdefs.h. */
53260 _ACEOF
53261 cat confdefs.h >>conftest.$ac_ext
53262 cat >>conftest.$ac_ext <<_ACEOF
53263 /* end confdefs.h. */
53264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53266 #define $ac_func innocuous_$ac_func
53268 /* System header to define __stub macros and hopefully few prototypes,
53269 which can conflict with char $ac_func (); below.
53270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53271 <limits.h> exists even on freestanding compilers. */
53273 #ifdef __STDC__
53274 # include <limits.h>
53275 #else
53276 # include <assert.h>
53277 #endif
53279 #undef $ac_func
53281 /* Override any gcc2 internal prototype to avoid an error. */
53282 #ifdef __cplusplus
53283 extern "C"
53285 #endif
53286 /* We use char because int might match the return type of a gcc2
53287 builtin and then its argument prototype would still apply. */
53288 char $ac_func ();
53289 /* The GNU C library defines this for functions which it implements
53290 to always fail with ENOSYS. Some functions are actually named
53291 something starting with __ and the normal name is an alias. */
53292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53293 choke me
53294 #else
53295 char (*f) () = $ac_func;
53296 #endif
53297 #ifdef __cplusplus
53299 #endif
53302 main ()
53304 return f != $ac_func;
53306 return 0;
53308 _ACEOF
53309 rm -f conftest.$ac_objext conftest$ac_exeext
53310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53311 (eval $ac_link) 2>conftest.er1
53312 ac_status=$?
53313 grep -v '^ *+' conftest.er1 >conftest.err
53314 rm -f conftest.er1
53315 cat conftest.err >&5
53316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53317 (exit $ac_status); } &&
53318 { ac_try='test -z "$ac_c_werror_flag"
53319 || test ! -s conftest.err'
53320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53321 (eval $ac_try) 2>&5
53322 ac_status=$?
53323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53324 (exit $ac_status); }; } &&
53325 { ac_try='test -s conftest$ac_exeext'
53326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53327 (eval $ac_try) 2>&5
53328 ac_status=$?
53329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53330 (exit $ac_status); }; }; then
53331 eval "$as_ac_var=yes"
53332 else
53333 echo "$as_me: failed program was:" >&5
53334 sed 's/^/| /' conftest.$ac_ext >&5
53336 eval "$as_ac_var=no"
53338 rm -f conftest.err conftest.$ac_objext \
53339 conftest$ac_exeext conftest.$ac_ext
53341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53343 if test `eval echo '${'$as_ac_var'}'` = yes; then
53344 cat >>confdefs.h <<_ACEOF
53345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53346 _ACEOF
53349 done
53357 CXXFLAGS="$ac_save_CXXFLAGS"
53360 # For showmanyc_helper().
53363 for ac_header in sys/ioctl.h sys/filio.h
53365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53367 echo "$as_me:$LINENO: checking for $ac_header" >&5
53368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53370 echo $ECHO_N "(cached) $ECHO_C" >&6
53372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53374 else
53375 # Is the header compilable?
53376 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53378 cat >conftest.$ac_ext <<_ACEOF
53379 /* confdefs.h. */
53380 _ACEOF
53381 cat confdefs.h >>conftest.$ac_ext
53382 cat >>conftest.$ac_ext <<_ACEOF
53383 /* end confdefs.h. */
53384 $ac_includes_default
53385 #include <$ac_header>
53386 _ACEOF
53387 rm -f conftest.$ac_objext
53388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53389 (eval $ac_compile) 2>conftest.er1
53390 ac_status=$?
53391 grep -v '^ *+' conftest.er1 >conftest.err
53392 rm -f conftest.er1
53393 cat conftest.err >&5
53394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53395 (exit $ac_status); } &&
53396 { ac_try='test -z "$ac_c_werror_flag"
53397 || test ! -s conftest.err'
53398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53399 (eval $ac_try) 2>&5
53400 ac_status=$?
53401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53402 (exit $ac_status); }; } &&
53403 { ac_try='test -s conftest.$ac_objext'
53404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53405 (eval $ac_try) 2>&5
53406 ac_status=$?
53407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53408 (exit $ac_status); }; }; then
53409 ac_header_compiler=yes
53410 else
53411 echo "$as_me: failed program was:" >&5
53412 sed 's/^/| /' conftest.$ac_ext >&5
53414 ac_header_compiler=no
53416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53418 echo "${ECHO_T}$ac_header_compiler" >&6
53420 # Is the header present?
53421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53423 cat >conftest.$ac_ext <<_ACEOF
53424 /* confdefs.h. */
53425 _ACEOF
53426 cat confdefs.h >>conftest.$ac_ext
53427 cat >>conftest.$ac_ext <<_ACEOF
53428 /* end confdefs.h. */
53429 #include <$ac_header>
53430 _ACEOF
53431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53433 ac_status=$?
53434 grep -v '^ *+' conftest.er1 >conftest.err
53435 rm -f conftest.er1
53436 cat conftest.err >&5
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); } >/dev/null; then
53439 if test -s conftest.err; then
53440 ac_cpp_err=$ac_c_preproc_warn_flag
53441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53442 else
53443 ac_cpp_err=
53445 else
53446 ac_cpp_err=yes
53448 if test -z "$ac_cpp_err"; then
53449 ac_header_preproc=yes
53450 else
53451 echo "$as_me: failed program was:" >&5
53452 sed 's/^/| /' conftest.$ac_ext >&5
53454 ac_header_preproc=no
53456 rm -f conftest.err conftest.$ac_ext
53457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53458 echo "${ECHO_T}$ac_header_preproc" >&6
53460 # So? What about this header?
53461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53462 yes:no: )
53463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53467 ac_header_preproc=yes
53469 no:yes:* )
53470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53483 cat <<\_ASBOX
53484 ## ----------------------------------------- ##
53485 ## Report this to the package-unused lists. ##
53486 ## ----------------------------------------- ##
53487 _ASBOX
53489 sed "s/^/$as_me: WARNING: /" >&2
53491 esac
53492 echo "$as_me:$LINENO: checking for $ac_header" >&5
53493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53495 echo $ECHO_N "(cached) $ECHO_C" >&6
53496 else
53497 eval "$as_ac_Header=\$ac_header_preproc"
53499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53504 cat >>confdefs.h <<_ACEOF
53505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53506 _ACEOF
53510 done
53513 echo "$as_me:$LINENO: checking for poll" >&5
53514 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53515 if test "${glibcxx_cv_POLL+set}" = set; then
53516 echo $ECHO_N "(cached) $ECHO_C" >&6
53517 else
53519 if test x$gcc_no_link = xyes; then
53520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53522 { (exit 1); exit 1; }; }
53524 cat >conftest.$ac_ext <<_ACEOF
53525 /* confdefs.h. */
53526 _ACEOF
53527 cat confdefs.h >>conftest.$ac_ext
53528 cat >>conftest.$ac_ext <<_ACEOF
53529 /* end confdefs.h. */
53530 #include <poll.h>
53532 main ()
53534 struct pollfd pfd[1];
53535 pfd[0].events = POLLIN;
53536 poll(pfd, 1, 0);
53538 return 0;
53540 _ACEOF
53541 rm -f conftest.$ac_objext conftest$ac_exeext
53542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53543 (eval $ac_link) 2>conftest.er1
53544 ac_status=$?
53545 grep -v '^ *+' conftest.er1 >conftest.err
53546 rm -f conftest.er1
53547 cat conftest.err >&5
53548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53549 (exit $ac_status); } &&
53550 { ac_try='test -z "$ac_c_werror_flag"
53551 || test ! -s conftest.err'
53552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53553 (eval $ac_try) 2>&5
53554 ac_status=$?
53555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53556 (exit $ac_status); }; } &&
53557 { ac_try='test -s conftest$ac_exeext'
53558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53559 (eval $ac_try) 2>&5
53560 ac_status=$?
53561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53562 (exit $ac_status); }; }; then
53563 glibcxx_cv_POLL=yes
53564 else
53565 echo "$as_me: failed program was:" >&5
53566 sed 's/^/| /' conftest.$ac_ext >&5
53568 glibcxx_cv_POLL=no
53570 rm -f conftest.err conftest.$ac_objext \
53571 conftest$ac_exeext conftest.$ac_ext
53575 if test $glibcxx_cv_POLL = yes; then
53577 cat >>confdefs.h <<\_ACEOF
53578 #define HAVE_POLL 1
53579 _ACEOF
53582 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53583 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53586 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53587 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53588 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53589 echo $ECHO_N "(cached) $ECHO_C" >&6
53590 else
53592 if test x$gcc_no_link = xyes; then
53593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53595 { (exit 1); exit 1; }; }
53597 cat >conftest.$ac_ext <<_ACEOF
53598 /* confdefs.h. */
53599 _ACEOF
53600 cat confdefs.h >>conftest.$ac_ext
53601 cat >>conftest.$ac_ext <<_ACEOF
53602 /* end confdefs.h. */
53603 #include <sys/stat.h>
53605 main ()
53607 struct stat buffer;
53608 fstat(0, &buffer);
53609 S_ISREG(buffer.st_mode);
53611 return 0;
53613 _ACEOF
53614 rm -f conftest.$ac_objext conftest$ac_exeext
53615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53616 (eval $ac_link) 2>conftest.er1
53617 ac_status=$?
53618 grep -v '^ *+' conftest.er1 >conftest.err
53619 rm -f conftest.er1
53620 cat conftest.err >&5
53621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53622 (exit $ac_status); } &&
53623 { ac_try='test -z "$ac_c_werror_flag"
53624 || test ! -s conftest.err'
53625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53626 (eval $ac_try) 2>&5
53627 ac_status=$?
53628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53629 (exit $ac_status); }; } &&
53630 { ac_try='test -s conftest$ac_exeext'
53631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53632 (eval $ac_try) 2>&5
53633 ac_status=$?
53634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53635 (exit $ac_status); }; }; then
53636 glibcxx_cv_S_ISREG=yes
53637 else
53638 echo "$as_me: failed program was:" >&5
53639 sed 's/^/| /' conftest.$ac_ext >&5
53641 glibcxx_cv_S_ISREG=no
53643 rm -f conftest.err conftest.$ac_objext \
53644 conftest$ac_exeext conftest.$ac_ext
53648 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53649 echo $ECHO_N "(cached) $ECHO_C" >&6
53650 else
53652 if test x$gcc_no_link = xyes; then
53653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53655 { (exit 1); exit 1; }; }
53657 cat >conftest.$ac_ext <<_ACEOF
53658 /* confdefs.h. */
53659 _ACEOF
53660 cat confdefs.h >>conftest.$ac_ext
53661 cat >>conftest.$ac_ext <<_ACEOF
53662 /* end confdefs.h. */
53663 #include <sys/stat.h>
53665 main ()
53667 struct stat buffer;
53668 fstat(0, &buffer);
53669 S_IFREG & buffer.st_mode;
53671 return 0;
53673 _ACEOF
53674 rm -f conftest.$ac_objext conftest$ac_exeext
53675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53676 (eval $ac_link) 2>conftest.er1
53677 ac_status=$?
53678 grep -v '^ *+' conftest.er1 >conftest.err
53679 rm -f conftest.er1
53680 cat conftest.err >&5
53681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53682 (exit $ac_status); } &&
53683 { ac_try='test -z "$ac_c_werror_flag"
53684 || test ! -s conftest.err'
53685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53686 (eval $ac_try) 2>&5
53687 ac_status=$?
53688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53689 (exit $ac_status); }; } &&
53690 { ac_try='test -s conftest$ac_exeext'
53691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53692 (eval $ac_try) 2>&5
53693 ac_status=$?
53694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53695 (exit $ac_status); }; }; then
53696 glibcxx_cv_S_IFREG=yes
53697 else
53698 echo "$as_me: failed program was:" >&5
53699 sed 's/^/| /' conftest.$ac_ext >&5
53701 glibcxx_cv_S_IFREG=no
53703 rm -f conftest.err conftest.$ac_objext \
53704 conftest$ac_exeext conftest.$ac_ext
53708 res=no
53709 if test $glibcxx_cv_S_ISREG = yes; then
53711 cat >>confdefs.h <<\_ACEOF
53712 #define HAVE_S_ISREG 1
53713 _ACEOF
53715 res=S_ISREG
53716 elif test $glibcxx_cv_S_IFREG = yes; then
53718 cat >>confdefs.h <<\_ACEOF
53719 #define HAVE_S_IFREG 1
53720 _ACEOF
53722 res=S_IFREG
53724 echo "$as_me:$LINENO: result: $res" >&5
53725 echo "${ECHO_T}$res" >&6
53728 # For xsputn_2().
53730 for ac_header in sys/uio.h
53732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53734 echo "$as_me:$LINENO: checking for $ac_header" >&5
53735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53737 echo $ECHO_N "(cached) $ECHO_C" >&6
53739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53741 else
53742 # Is the header compilable?
53743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53745 cat >conftest.$ac_ext <<_ACEOF
53746 /* confdefs.h. */
53747 _ACEOF
53748 cat confdefs.h >>conftest.$ac_ext
53749 cat >>conftest.$ac_ext <<_ACEOF
53750 /* end confdefs.h. */
53751 $ac_includes_default
53752 #include <$ac_header>
53753 _ACEOF
53754 rm -f conftest.$ac_objext
53755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53756 (eval $ac_compile) 2>conftest.er1
53757 ac_status=$?
53758 grep -v '^ *+' conftest.er1 >conftest.err
53759 rm -f conftest.er1
53760 cat conftest.err >&5
53761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53762 (exit $ac_status); } &&
53763 { ac_try='test -z "$ac_c_werror_flag"
53764 || test ! -s conftest.err'
53765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53766 (eval $ac_try) 2>&5
53767 ac_status=$?
53768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53769 (exit $ac_status); }; } &&
53770 { ac_try='test -s conftest.$ac_objext'
53771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53772 (eval $ac_try) 2>&5
53773 ac_status=$?
53774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775 (exit $ac_status); }; }; then
53776 ac_header_compiler=yes
53777 else
53778 echo "$as_me: failed program was:" >&5
53779 sed 's/^/| /' conftest.$ac_ext >&5
53781 ac_header_compiler=no
53783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53785 echo "${ECHO_T}$ac_header_compiler" >&6
53787 # Is the header present?
53788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53790 cat >conftest.$ac_ext <<_ACEOF
53791 /* confdefs.h. */
53792 _ACEOF
53793 cat confdefs.h >>conftest.$ac_ext
53794 cat >>conftest.$ac_ext <<_ACEOF
53795 /* end confdefs.h. */
53796 #include <$ac_header>
53797 _ACEOF
53798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53800 ac_status=$?
53801 grep -v '^ *+' conftest.er1 >conftest.err
53802 rm -f conftest.er1
53803 cat conftest.err >&5
53804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53805 (exit $ac_status); } >/dev/null; then
53806 if test -s conftest.err; then
53807 ac_cpp_err=$ac_c_preproc_warn_flag
53808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53809 else
53810 ac_cpp_err=
53812 else
53813 ac_cpp_err=yes
53815 if test -z "$ac_cpp_err"; then
53816 ac_header_preproc=yes
53817 else
53818 echo "$as_me: failed program was:" >&5
53819 sed 's/^/| /' conftest.$ac_ext >&5
53821 ac_header_preproc=no
53823 rm -f conftest.err conftest.$ac_ext
53824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53825 echo "${ECHO_T}$ac_header_preproc" >&6
53827 # So? What about this header?
53828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53829 yes:no: )
53830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53834 ac_header_preproc=yes
53836 no:yes:* )
53837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53850 cat <<\_ASBOX
53851 ## ----------------------------------------- ##
53852 ## Report this to the package-unused lists. ##
53853 ## ----------------------------------------- ##
53854 _ASBOX
53856 sed "s/^/$as_me: WARNING: /" >&2
53858 esac
53859 echo "$as_me:$LINENO: checking for $ac_header" >&5
53860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53862 echo $ECHO_N "(cached) $ECHO_C" >&6
53863 else
53864 eval "$as_ac_Header=\$ac_header_preproc"
53866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53871 cat >>confdefs.h <<_ACEOF
53872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53873 _ACEOF
53877 done
53880 echo "$as_me:$LINENO: checking for writev" >&5
53881 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53882 if test "${glibcxx_cv_WRITEV+set}" = set; then
53883 echo $ECHO_N "(cached) $ECHO_C" >&6
53884 else
53886 if test x$gcc_no_link = xyes; then
53887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53889 { (exit 1); exit 1; }; }
53891 cat >conftest.$ac_ext <<_ACEOF
53892 /* confdefs.h. */
53893 _ACEOF
53894 cat confdefs.h >>conftest.$ac_ext
53895 cat >>conftest.$ac_ext <<_ACEOF
53896 /* end confdefs.h. */
53897 #include <sys/uio.h>
53899 main ()
53901 struct iovec iov[2];
53902 writev(0, iov, 0);
53904 return 0;
53906 _ACEOF
53907 rm -f conftest.$ac_objext conftest$ac_exeext
53908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53909 (eval $ac_link) 2>conftest.er1
53910 ac_status=$?
53911 grep -v '^ *+' conftest.er1 >conftest.err
53912 rm -f conftest.er1
53913 cat conftest.err >&5
53914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53915 (exit $ac_status); } &&
53916 { ac_try='test -z "$ac_c_werror_flag"
53917 || test ! -s conftest.err'
53918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53919 (eval $ac_try) 2>&5
53920 ac_status=$?
53921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922 (exit $ac_status); }; } &&
53923 { ac_try='test -s conftest$ac_exeext'
53924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53925 (eval $ac_try) 2>&5
53926 ac_status=$?
53927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53928 (exit $ac_status); }; }; then
53929 glibcxx_cv_WRITEV=yes
53930 else
53931 echo "$as_me: failed program was:" >&5
53932 sed 's/^/| /' conftest.$ac_ext >&5
53934 glibcxx_cv_WRITEV=no
53936 rm -f conftest.err conftest.$ac_objext \
53937 conftest$ac_exeext conftest.$ac_ext
53941 if test $glibcxx_cv_WRITEV = yes; then
53943 cat >>confdefs.h <<\_ACEOF
53944 #define HAVE_WRITEV 1
53945 _ACEOF
53948 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53949 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53952 cat >>confdefs.h <<\_ACEOF
53953 #define HAVE_LC_MESSAGES 1
53954 _ACEOF
53957 cat >conftest.$ac_ext <<_ACEOF
53958 /* confdefs.h. */
53959 _ACEOF
53960 cat confdefs.h >>conftest.$ac_ext
53961 cat >>conftest.$ac_ext <<_ACEOF
53962 /* end confdefs.h. */
53963 #include <setjmp.h>
53965 main ()
53967 sigjmp_buf env;
53968 while (! sigsetjmp (env, 1))
53969 siglongjmp (env, 1);
53972 return 0;
53974 _ACEOF
53975 rm -f conftest.$ac_objext
53976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53977 (eval $ac_compile) 2>conftest.er1
53978 ac_status=$?
53979 grep -v '^ *+' conftest.er1 >conftest.err
53980 rm -f conftest.er1
53981 cat conftest.err >&5
53982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53983 (exit $ac_status); } &&
53984 { ac_try='test -z "$ac_c_werror_flag"
53985 || test ! -s conftest.err'
53986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53987 (eval $ac_try) 2>&5
53988 ac_status=$?
53989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990 (exit $ac_status); }; } &&
53991 { ac_try='test -s conftest.$ac_objext'
53992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53993 (eval $ac_try) 2>&5
53994 ac_status=$?
53995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53996 (exit $ac_status); }; }; then
53998 cat >>confdefs.h <<\_ACEOF
53999 #define HAVE_SIGSETJMP 1
54000 _ACEOF
54002 else
54003 echo "$as_me: failed program was:" >&5
54004 sed 's/^/| /' conftest.$ac_ext >&5
54007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54009 cat >>confdefs.h <<\_ACEOF
54010 #define HAVE_MMAP 1
54011 _ACEOF
54015 *djgpp)
54036 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54037 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54038 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54039 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54043 echo "$as_me:$LINENO: checking for $ac_header" >&5
54044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54046 echo $ECHO_N "(cached) $ECHO_C" >&6
54048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54050 else
54051 # Is the header compilable?
54052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54054 cat >conftest.$ac_ext <<_ACEOF
54055 /* confdefs.h. */
54056 _ACEOF
54057 cat confdefs.h >>conftest.$ac_ext
54058 cat >>conftest.$ac_ext <<_ACEOF
54059 /* end confdefs.h. */
54060 $ac_includes_default
54061 #include <$ac_header>
54062 _ACEOF
54063 rm -f conftest.$ac_objext
54064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54065 (eval $ac_compile) 2>conftest.er1
54066 ac_status=$?
54067 grep -v '^ *+' conftest.er1 >conftest.err
54068 rm -f conftest.er1
54069 cat conftest.err >&5
54070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54071 (exit $ac_status); } &&
54072 { ac_try='test -z "$ac_c_werror_flag"
54073 || test ! -s conftest.err'
54074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54075 (eval $ac_try) 2>&5
54076 ac_status=$?
54077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54078 (exit $ac_status); }; } &&
54079 { ac_try='test -s conftest.$ac_objext'
54080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54081 (eval $ac_try) 2>&5
54082 ac_status=$?
54083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54084 (exit $ac_status); }; }; then
54085 ac_header_compiler=yes
54086 else
54087 echo "$as_me: failed program was:" >&5
54088 sed 's/^/| /' conftest.$ac_ext >&5
54090 ac_header_compiler=no
54092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54094 echo "${ECHO_T}$ac_header_compiler" >&6
54096 # Is the header present?
54097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54099 cat >conftest.$ac_ext <<_ACEOF
54100 /* confdefs.h. */
54101 _ACEOF
54102 cat confdefs.h >>conftest.$ac_ext
54103 cat >>conftest.$ac_ext <<_ACEOF
54104 /* end confdefs.h. */
54105 #include <$ac_header>
54106 _ACEOF
54107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54109 ac_status=$?
54110 grep -v '^ *+' conftest.er1 >conftest.err
54111 rm -f conftest.er1
54112 cat conftest.err >&5
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); } >/dev/null; then
54115 if test -s conftest.err; then
54116 ac_cpp_err=$ac_c_preproc_warn_flag
54117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54118 else
54119 ac_cpp_err=
54121 else
54122 ac_cpp_err=yes
54124 if test -z "$ac_cpp_err"; then
54125 ac_header_preproc=yes
54126 else
54127 echo "$as_me: failed program was:" >&5
54128 sed 's/^/| /' conftest.$ac_ext >&5
54130 ac_header_preproc=no
54132 rm -f conftest.err conftest.$ac_ext
54133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54134 echo "${ECHO_T}$ac_header_preproc" >&6
54136 # So? What about this header?
54137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54138 yes:no: )
54139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54143 ac_header_preproc=yes
54145 no:yes:* )
54146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54159 cat <<\_ASBOX
54160 ## ----------------------------------------- ##
54161 ## Report this to the package-unused lists. ##
54162 ## ----------------------------------------- ##
54163 _ASBOX
54165 sed "s/^/$as_me: WARNING: /" >&2
54167 esac
54168 echo "$as_me:$LINENO: checking for $ac_header" >&5
54169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54171 echo $ECHO_N "(cached) $ECHO_C" >&6
54172 else
54173 eval "$as_ac_Header=\$ac_header_preproc"
54175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54180 cat >>confdefs.h <<_ACEOF
54181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54182 _ACEOF
54186 done
54189 # If we're not using GNU ld, then there's no point in even trying these
54190 # tests. Check for that first. We should have already tested for gld
54191 # by now (in libtool), but require it now just to be safe...
54192 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54193 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54197 # The name set by libtool depends on the version of libtool. Shame on us
54198 # for depending on an impl detail, but c'est la vie. Older versions used
54199 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54200 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54201 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54202 # set (hence we're using an older libtool), then set it.
54203 if test x${with_gnu_ld+set} != xset; then
54204 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54205 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54206 with_gnu_ld=no
54207 else
54208 with_gnu_ld=$ac_cv_prog_gnu_ld
54212 # Start by getting the version number. I think the libtool test already
54213 # does some of this, but throws away the result.
54214 if test x"$with_gnu_ld" = x"yes"; then
54215 echo "$as_me:$LINENO: checking for ld version" >&5
54216 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54218 ldver=`$LD --version 2>/dev/null | head -1 | \
54219 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54221 glibcxx_gnu_ld_version=`echo $ldver | \
54222 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54223 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54224 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54227 # Set --gc-sections.
54228 glibcxx_gcsections_min_ld=21602
54229 if test x"$with_gnu_ld" = x"yes" &&
54230 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54232 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54233 # NB: This flag only works reliably after 2.16.1. Configure tests
54234 # for this are difficult, so hard wire a value that should work.
54236 # All these tests are for C++, but run with the "C" compiler driver.
54237 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54238 ac_test_CFLAGS="${CFLAGS+set}"
54239 ac_save_CFLAGS="$CFLAGS"
54240 CFLAGS='-x c++ -Wl,--gc-sections'
54242 # Check for -Wl,--gc-sections
54243 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54244 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54245 if test x$gcc_no_link = xyes; then
54246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54248 { (exit 1); exit 1; }; }
54250 cat >conftest.$ac_ext <<_ACEOF
54251 /* confdefs.h. */
54252 _ACEOF
54253 cat confdefs.h >>conftest.$ac_ext
54254 cat >>conftest.$ac_ext <<_ACEOF
54255 /* end confdefs.h. */
54256 int one(void) { return 1; }
54257 int two(void) { return 2; }
54260 main ()
54262 two();
54264 return 0;
54266 _ACEOF
54267 rm -f conftest.$ac_objext conftest$ac_exeext
54268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54269 (eval $ac_link) 2>conftest.er1
54270 ac_status=$?
54271 grep -v '^ *+' conftest.er1 >conftest.err
54272 rm -f conftest.er1
54273 cat conftest.err >&5
54274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54275 (exit $ac_status); } &&
54276 { ac_try='test -z "$ac_c_werror_flag"
54277 || test ! -s conftest.err'
54278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54279 (eval $ac_try) 2>&5
54280 ac_status=$?
54281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54282 (exit $ac_status); }; } &&
54283 { ac_try='test -s conftest$ac_exeext'
54284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54285 (eval $ac_try) 2>&5
54286 ac_status=$?
54287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54288 (exit $ac_status); }; }; then
54289 ac_gcsections=yes
54290 else
54291 echo "$as_me: failed program was:" >&5
54292 sed 's/^/| /' conftest.$ac_ext >&5
54294 ac_gcsections=no
54296 rm -f conftest.err conftest.$ac_objext \
54297 conftest$ac_exeext conftest.$ac_ext
54298 if test "$ac_gcsections" = "yes"; then
54299 rm -f conftest.c
54300 touch conftest.c
54301 if $CC -c conftest.c; then
54302 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54303 grep "Warning: gc-sections option ignored" > /dev/null; then
54304 ac_gcsections=no
54307 rm -f conftest.c conftest.o conftest
54309 if test "$ac_gcsections" = "yes"; then
54310 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54312 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54313 echo "${ECHO_T}$ac_gcsections" >&6
54315 if test "$ac_test_CFLAGS" = set; then
54316 CFLAGS="$ac_save_CFLAGS"
54317 else
54318 # this is the suspicious part
54319 CFLAGS=''
54323 # Set -z,relro.
54324 # Note this is only for shared objects.
54325 ac_ld_relro=no
54326 if test x"$with_gnu_ld" = x"yes"; then
54327 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54328 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54329 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54330 if test -n "$cxx_z_relo"; then
54331 OPT_LDFLAGS="-Wl,-z,relro"
54332 ac_ld_relro=yes
54334 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54335 echo "${ECHO_T}$ac_ld_relro" >&6
54338 # Set linker optimization flags.
54339 if test x"$with_gnu_ld" = x"yes"; then
54340 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54348 ac_save_CXXFLAGS="$CXXFLAGS"
54349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54351 echo "$as_me:$LINENO: checking for sin in -lm" >&5
54352 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54353 if test "${ac_cv_lib_m_sin+set}" = set; then
54354 echo $ECHO_N "(cached) $ECHO_C" >&6
54355 else
54356 ac_check_lib_save_LIBS=$LIBS
54357 LIBS="-lm $LIBS"
54358 if test x$gcc_no_link = xyes; then
54359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54361 { (exit 1); exit 1; }; }
54363 cat >conftest.$ac_ext <<_ACEOF
54364 /* confdefs.h. */
54365 _ACEOF
54366 cat confdefs.h >>conftest.$ac_ext
54367 cat >>conftest.$ac_ext <<_ACEOF
54368 /* end confdefs.h. */
54370 /* Override any gcc2 internal prototype to avoid an error. */
54371 #ifdef __cplusplus
54372 extern "C"
54373 #endif
54374 /* We use char because int might match the return type of a gcc2
54375 builtin and then its argument prototype would still apply. */
54376 char sin ();
54378 main ()
54380 sin ();
54382 return 0;
54384 _ACEOF
54385 rm -f conftest.$ac_objext conftest$ac_exeext
54386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54387 (eval $ac_link) 2>conftest.er1
54388 ac_status=$?
54389 grep -v '^ *+' conftest.er1 >conftest.err
54390 rm -f conftest.er1
54391 cat conftest.err >&5
54392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54393 (exit $ac_status); } &&
54394 { ac_try='test -z "$ac_c_werror_flag"
54395 || test ! -s conftest.err'
54396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54397 (eval $ac_try) 2>&5
54398 ac_status=$?
54399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54400 (exit $ac_status); }; } &&
54401 { ac_try='test -s conftest$ac_exeext'
54402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54403 (eval $ac_try) 2>&5
54404 ac_status=$?
54405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54406 (exit $ac_status); }; }; then
54407 ac_cv_lib_m_sin=yes
54408 else
54409 echo "$as_me: failed program was:" >&5
54410 sed 's/^/| /' conftest.$ac_ext >&5
54412 ac_cv_lib_m_sin=no
54414 rm -f conftest.err conftest.$ac_objext \
54415 conftest$ac_exeext conftest.$ac_ext
54416 LIBS=$ac_check_lib_save_LIBS
54418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54419 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54420 if test $ac_cv_lib_m_sin = yes; then
54421 libm="-lm"
54424 ac_save_LIBS="$LIBS"
54425 LIBS="$LIBS $libm"
54429 echo "$as_me:$LINENO: checking for isinf declaration" >&5
54430 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54431 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54432 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54433 echo $ECHO_N "(cached) $ECHO_C" >&6
54434 else
54438 ac_ext=cc
54439 ac_cpp='$CXXCPP $CPPFLAGS'
54440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54444 cat >conftest.$ac_ext <<_ACEOF
54445 /* confdefs.h. */
54446 _ACEOF
54447 cat confdefs.h >>conftest.$ac_ext
54448 cat >>conftest.$ac_ext <<_ACEOF
54449 /* end confdefs.h. */
54450 #include <math.h>
54451 #ifdef HAVE_IEEEFP_H
54452 #include <ieeefp.h>
54453 #endif
54456 main ()
54458 isinf(0);
54460 return 0;
54462 _ACEOF
54463 rm -f conftest.$ac_objext
54464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54465 (eval $ac_compile) 2>conftest.er1
54466 ac_status=$?
54467 grep -v '^ *+' conftest.er1 >conftest.err
54468 rm -f conftest.er1
54469 cat conftest.err >&5
54470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54471 (exit $ac_status); } &&
54472 { ac_try='test -z "$ac_cxx_werror_flag"
54473 || test ! -s conftest.err'
54474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54475 (eval $ac_try) 2>&5
54476 ac_status=$?
54477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54478 (exit $ac_status); }; } &&
54479 { ac_try='test -s conftest.$ac_objext'
54480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54481 (eval $ac_try) 2>&5
54482 ac_status=$?
54483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54484 (exit $ac_status); }; }; then
54485 glibcxx_cv_func_isinf_use=yes
54486 else
54487 echo "$as_me: failed program was:" >&5
54488 sed 's/^/| /' conftest.$ac_ext >&5
54490 glibcxx_cv_func_isinf_use=no
54492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54493 ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54504 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54506 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54508 for ac_func in isinf
54510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54511 echo "$as_me:$LINENO: checking for $ac_func" >&5
54512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54513 if eval "test \"\${$as_ac_var+set}\" = set"; then
54514 echo $ECHO_N "(cached) $ECHO_C" >&6
54515 else
54516 if test x$gcc_no_link = xyes; then
54517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54519 { (exit 1); exit 1; }; }
54521 cat >conftest.$ac_ext <<_ACEOF
54522 /* confdefs.h. */
54523 _ACEOF
54524 cat confdefs.h >>conftest.$ac_ext
54525 cat >>conftest.$ac_ext <<_ACEOF
54526 /* end confdefs.h. */
54527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54529 #define $ac_func innocuous_$ac_func
54531 /* System header to define __stub macros and hopefully few prototypes,
54532 which can conflict with char $ac_func (); below.
54533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54534 <limits.h> exists even on freestanding compilers. */
54536 #ifdef __STDC__
54537 # include <limits.h>
54538 #else
54539 # include <assert.h>
54540 #endif
54542 #undef $ac_func
54544 /* Override any gcc2 internal prototype to avoid an error. */
54545 #ifdef __cplusplus
54546 extern "C"
54548 #endif
54549 /* We use char because int might match the return type of a gcc2
54550 builtin and then its argument prototype would still apply. */
54551 char $ac_func ();
54552 /* The GNU C library defines this for functions which it implements
54553 to always fail with ENOSYS. Some functions are actually named
54554 something starting with __ and the normal name is an alias. */
54555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54556 choke me
54557 #else
54558 char (*f) () = $ac_func;
54559 #endif
54560 #ifdef __cplusplus
54562 #endif
54565 main ()
54567 return f != $ac_func;
54569 return 0;
54571 _ACEOF
54572 rm -f conftest.$ac_objext conftest$ac_exeext
54573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54574 (eval $ac_link) 2>conftest.er1
54575 ac_status=$?
54576 grep -v '^ *+' conftest.er1 >conftest.err
54577 rm -f conftest.er1
54578 cat conftest.err >&5
54579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54580 (exit $ac_status); } &&
54581 { ac_try='test -z "$ac_c_werror_flag"
54582 || test ! -s conftest.err'
54583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54584 (eval $ac_try) 2>&5
54585 ac_status=$?
54586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54587 (exit $ac_status); }; } &&
54588 { ac_try='test -s conftest$ac_exeext'
54589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54590 (eval $ac_try) 2>&5
54591 ac_status=$?
54592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54593 (exit $ac_status); }; }; then
54594 eval "$as_ac_var=yes"
54595 else
54596 echo "$as_me: failed program was:" >&5
54597 sed 's/^/| /' conftest.$ac_ext >&5
54599 eval "$as_ac_var=no"
54601 rm -f conftest.err conftest.$ac_objext \
54602 conftest$ac_exeext conftest.$ac_ext
54604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54606 if test `eval echo '${'$as_ac_var'}'` = yes; then
54607 cat >>confdefs.h <<_ACEOF
54608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54609 _ACEOF
54612 done
54614 else
54616 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54617 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54618 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54619 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54620 echo $ECHO_N "(cached) $ECHO_C" >&6
54621 else
54625 ac_ext=cc
54626 ac_cpp='$CXXCPP $CPPFLAGS'
54627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54631 cat >conftest.$ac_ext <<_ACEOF
54632 /* confdefs.h. */
54633 _ACEOF
54634 cat confdefs.h >>conftest.$ac_ext
54635 cat >>conftest.$ac_ext <<_ACEOF
54636 /* end confdefs.h. */
54637 #include <math.h>
54638 #ifdef HAVE_IEEEFP_H
54639 #include <ieeefp.h>
54640 #endif
54643 main ()
54645 _isinf(0);
54647 return 0;
54649 _ACEOF
54650 rm -f conftest.$ac_objext
54651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54652 (eval $ac_compile) 2>conftest.er1
54653 ac_status=$?
54654 grep -v '^ *+' conftest.er1 >conftest.err
54655 rm -f conftest.er1
54656 cat conftest.err >&5
54657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54658 (exit $ac_status); } &&
54659 { ac_try='test -z "$ac_cxx_werror_flag"
54660 || test ! -s conftest.err'
54661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54662 (eval $ac_try) 2>&5
54663 ac_status=$?
54664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54665 (exit $ac_status); }; } &&
54666 { ac_try='test -s conftest.$ac_objext'
54667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54668 (eval $ac_try) 2>&5
54669 ac_status=$?
54670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54671 (exit $ac_status); }; }; then
54672 glibcxx_cv_func__isinf_use=yes
54673 else
54674 echo "$as_me: failed program was:" >&5
54675 sed 's/^/| /' conftest.$ac_ext >&5
54677 glibcxx_cv_func__isinf_use=no
54679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54680 ac_ext=c
54681 ac_cpp='$CPP $CPPFLAGS'
54682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54691 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54693 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54695 for ac_func in _isinf
54697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54698 echo "$as_me:$LINENO: checking for $ac_func" >&5
54699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54700 if eval "test \"\${$as_ac_var+set}\" = set"; then
54701 echo $ECHO_N "(cached) $ECHO_C" >&6
54702 else
54703 if test x$gcc_no_link = xyes; then
54704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54706 { (exit 1); exit 1; }; }
54708 cat >conftest.$ac_ext <<_ACEOF
54709 /* confdefs.h. */
54710 _ACEOF
54711 cat confdefs.h >>conftest.$ac_ext
54712 cat >>conftest.$ac_ext <<_ACEOF
54713 /* end confdefs.h. */
54714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54716 #define $ac_func innocuous_$ac_func
54718 /* System header to define __stub macros and hopefully few prototypes,
54719 which can conflict with char $ac_func (); below.
54720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54721 <limits.h> exists even on freestanding compilers. */
54723 #ifdef __STDC__
54724 # include <limits.h>
54725 #else
54726 # include <assert.h>
54727 #endif
54729 #undef $ac_func
54731 /* Override any gcc2 internal prototype to avoid an error. */
54732 #ifdef __cplusplus
54733 extern "C"
54735 #endif
54736 /* We use char because int might match the return type of a gcc2
54737 builtin and then its argument prototype would still apply. */
54738 char $ac_func ();
54739 /* The GNU C library defines this for functions which it implements
54740 to always fail with ENOSYS. Some functions are actually named
54741 something starting with __ and the normal name is an alias. */
54742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54743 choke me
54744 #else
54745 char (*f) () = $ac_func;
54746 #endif
54747 #ifdef __cplusplus
54749 #endif
54752 main ()
54754 return f != $ac_func;
54756 return 0;
54758 _ACEOF
54759 rm -f conftest.$ac_objext conftest$ac_exeext
54760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54761 (eval $ac_link) 2>conftest.er1
54762 ac_status=$?
54763 grep -v '^ *+' conftest.er1 >conftest.err
54764 rm -f conftest.er1
54765 cat conftest.err >&5
54766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54767 (exit $ac_status); } &&
54768 { ac_try='test -z "$ac_c_werror_flag"
54769 || test ! -s conftest.err'
54770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54771 (eval $ac_try) 2>&5
54772 ac_status=$?
54773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54774 (exit $ac_status); }; } &&
54775 { ac_try='test -s conftest$ac_exeext'
54776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54777 (eval $ac_try) 2>&5
54778 ac_status=$?
54779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54780 (exit $ac_status); }; }; then
54781 eval "$as_ac_var=yes"
54782 else
54783 echo "$as_me: failed program was:" >&5
54784 sed 's/^/| /' conftest.$ac_ext >&5
54786 eval "$as_ac_var=no"
54788 rm -f conftest.err conftest.$ac_objext \
54789 conftest$ac_exeext conftest.$ac_ext
54791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54793 if test `eval echo '${'$as_ac_var'}'` = yes; then
54794 cat >>confdefs.h <<_ACEOF
54795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54796 _ACEOF
54799 done
54809 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54810 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54811 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54812 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54813 echo $ECHO_N "(cached) $ECHO_C" >&6
54814 else
54818 ac_ext=cc
54819 ac_cpp='$CXXCPP $CPPFLAGS'
54820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54824 cat >conftest.$ac_ext <<_ACEOF
54825 /* confdefs.h. */
54826 _ACEOF
54827 cat confdefs.h >>conftest.$ac_ext
54828 cat >>conftest.$ac_ext <<_ACEOF
54829 /* end confdefs.h. */
54830 #include <math.h>
54831 #ifdef HAVE_IEEEFP_H
54832 #include <ieeefp.h>
54833 #endif
54836 main ()
54838 isnan(0);
54840 return 0;
54842 _ACEOF
54843 rm -f conftest.$ac_objext
54844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54845 (eval $ac_compile) 2>conftest.er1
54846 ac_status=$?
54847 grep -v '^ *+' conftest.er1 >conftest.err
54848 rm -f conftest.er1
54849 cat conftest.err >&5
54850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851 (exit $ac_status); } &&
54852 { ac_try='test -z "$ac_cxx_werror_flag"
54853 || test ! -s conftest.err'
54854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54855 (eval $ac_try) 2>&5
54856 ac_status=$?
54857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54858 (exit $ac_status); }; } &&
54859 { ac_try='test -s conftest.$ac_objext'
54860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54861 (eval $ac_try) 2>&5
54862 ac_status=$?
54863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54864 (exit $ac_status); }; }; then
54865 glibcxx_cv_func_isnan_use=yes
54866 else
54867 echo "$as_me: failed program was:" >&5
54868 sed 's/^/| /' conftest.$ac_ext >&5
54870 glibcxx_cv_func_isnan_use=no
54872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54873 ac_ext=c
54874 ac_cpp='$CPP $CPPFLAGS'
54875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54883 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54884 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54886 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54888 for ac_func in isnan
54890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54891 echo "$as_me:$LINENO: checking for $ac_func" >&5
54892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54893 if eval "test \"\${$as_ac_var+set}\" = set"; then
54894 echo $ECHO_N "(cached) $ECHO_C" >&6
54895 else
54896 if test x$gcc_no_link = xyes; then
54897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54899 { (exit 1); exit 1; }; }
54901 cat >conftest.$ac_ext <<_ACEOF
54902 /* confdefs.h. */
54903 _ACEOF
54904 cat confdefs.h >>conftest.$ac_ext
54905 cat >>conftest.$ac_ext <<_ACEOF
54906 /* end confdefs.h. */
54907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54909 #define $ac_func innocuous_$ac_func
54911 /* System header to define __stub macros and hopefully few prototypes,
54912 which can conflict with char $ac_func (); below.
54913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54914 <limits.h> exists even on freestanding compilers. */
54916 #ifdef __STDC__
54917 # include <limits.h>
54918 #else
54919 # include <assert.h>
54920 #endif
54922 #undef $ac_func
54924 /* Override any gcc2 internal prototype to avoid an error. */
54925 #ifdef __cplusplus
54926 extern "C"
54928 #endif
54929 /* We use char because int might match the return type of a gcc2
54930 builtin and then its argument prototype would still apply. */
54931 char $ac_func ();
54932 /* The GNU C library defines this for functions which it implements
54933 to always fail with ENOSYS. Some functions are actually named
54934 something starting with __ and the normal name is an alias. */
54935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54936 choke me
54937 #else
54938 char (*f) () = $ac_func;
54939 #endif
54940 #ifdef __cplusplus
54942 #endif
54945 main ()
54947 return f != $ac_func;
54949 return 0;
54951 _ACEOF
54952 rm -f conftest.$ac_objext conftest$ac_exeext
54953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54954 (eval $ac_link) 2>conftest.er1
54955 ac_status=$?
54956 grep -v '^ *+' conftest.er1 >conftest.err
54957 rm -f conftest.er1
54958 cat conftest.err >&5
54959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54960 (exit $ac_status); } &&
54961 { ac_try='test -z "$ac_c_werror_flag"
54962 || test ! -s conftest.err'
54963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54964 (eval $ac_try) 2>&5
54965 ac_status=$?
54966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54967 (exit $ac_status); }; } &&
54968 { ac_try='test -s conftest$ac_exeext'
54969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54970 (eval $ac_try) 2>&5
54971 ac_status=$?
54972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54973 (exit $ac_status); }; }; then
54974 eval "$as_ac_var=yes"
54975 else
54976 echo "$as_me: failed program was:" >&5
54977 sed 's/^/| /' conftest.$ac_ext >&5
54979 eval "$as_ac_var=no"
54981 rm -f conftest.err conftest.$ac_objext \
54982 conftest$ac_exeext conftest.$ac_ext
54984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54986 if test `eval echo '${'$as_ac_var'}'` = yes; then
54987 cat >>confdefs.h <<_ACEOF
54988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54989 _ACEOF
54992 done
54994 else
54996 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54997 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54998 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54999 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55000 echo $ECHO_N "(cached) $ECHO_C" >&6
55001 else
55005 ac_ext=cc
55006 ac_cpp='$CXXCPP $CPPFLAGS'
55007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55011 cat >conftest.$ac_ext <<_ACEOF
55012 /* confdefs.h. */
55013 _ACEOF
55014 cat confdefs.h >>conftest.$ac_ext
55015 cat >>conftest.$ac_ext <<_ACEOF
55016 /* end confdefs.h. */
55017 #include <math.h>
55018 #ifdef HAVE_IEEEFP_H
55019 #include <ieeefp.h>
55020 #endif
55023 main ()
55025 _isnan(0);
55027 return 0;
55029 _ACEOF
55030 rm -f conftest.$ac_objext
55031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55032 (eval $ac_compile) 2>conftest.er1
55033 ac_status=$?
55034 grep -v '^ *+' conftest.er1 >conftest.err
55035 rm -f conftest.er1
55036 cat conftest.err >&5
55037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55038 (exit $ac_status); } &&
55039 { ac_try='test -z "$ac_cxx_werror_flag"
55040 || test ! -s conftest.err'
55041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55042 (eval $ac_try) 2>&5
55043 ac_status=$?
55044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55045 (exit $ac_status); }; } &&
55046 { ac_try='test -s conftest.$ac_objext'
55047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55048 (eval $ac_try) 2>&5
55049 ac_status=$?
55050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55051 (exit $ac_status); }; }; then
55052 glibcxx_cv_func__isnan_use=yes
55053 else
55054 echo "$as_me: failed program was:" >&5
55055 sed 's/^/| /' conftest.$ac_ext >&5
55057 glibcxx_cv_func__isnan_use=no
55059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55060 ac_ext=c
55061 ac_cpp='$CPP $CPPFLAGS'
55062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55070 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55071 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55073 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55075 for ac_func in _isnan
55077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55078 echo "$as_me:$LINENO: checking for $ac_func" >&5
55079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55080 if eval "test \"\${$as_ac_var+set}\" = set"; then
55081 echo $ECHO_N "(cached) $ECHO_C" >&6
55082 else
55083 if test x$gcc_no_link = xyes; then
55084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55086 { (exit 1); exit 1; }; }
55088 cat >conftest.$ac_ext <<_ACEOF
55089 /* confdefs.h. */
55090 _ACEOF
55091 cat confdefs.h >>conftest.$ac_ext
55092 cat >>conftest.$ac_ext <<_ACEOF
55093 /* end confdefs.h. */
55094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55096 #define $ac_func innocuous_$ac_func
55098 /* System header to define __stub macros and hopefully few prototypes,
55099 which can conflict with char $ac_func (); below.
55100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55101 <limits.h> exists even on freestanding compilers. */
55103 #ifdef __STDC__
55104 # include <limits.h>
55105 #else
55106 # include <assert.h>
55107 #endif
55109 #undef $ac_func
55111 /* Override any gcc2 internal prototype to avoid an error. */
55112 #ifdef __cplusplus
55113 extern "C"
55115 #endif
55116 /* We use char because int might match the return type of a gcc2
55117 builtin and then its argument prototype would still apply. */
55118 char $ac_func ();
55119 /* The GNU C library defines this for functions which it implements
55120 to always fail with ENOSYS. Some functions are actually named
55121 something starting with __ and the normal name is an alias. */
55122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55123 choke me
55124 #else
55125 char (*f) () = $ac_func;
55126 #endif
55127 #ifdef __cplusplus
55129 #endif
55132 main ()
55134 return f != $ac_func;
55136 return 0;
55138 _ACEOF
55139 rm -f conftest.$ac_objext conftest$ac_exeext
55140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55141 (eval $ac_link) 2>conftest.er1
55142 ac_status=$?
55143 grep -v '^ *+' conftest.er1 >conftest.err
55144 rm -f conftest.er1
55145 cat conftest.err >&5
55146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55147 (exit $ac_status); } &&
55148 { ac_try='test -z "$ac_c_werror_flag"
55149 || test ! -s conftest.err'
55150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55151 (eval $ac_try) 2>&5
55152 ac_status=$?
55153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55154 (exit $ac_status); }; } &&
55155 { ac_try='test -s conftest$ac_exeext'
55156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55157 (eval $ac_try) 2>&5
55158 ac_status=$?
55159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55160 (exit $ac_status); }; }; then
55161 eval "$as_ac_var=yes"
55162 else
55163 echo "$as_me: failed program was:" >&5
55164 sed 's/^/| /' conftest.$ac_ext >&5
55166 eval "$as_ac_var=no"
55168 rm -f conftest.err conftest.$ac_objext \
55169 conftest$ac_exeext conftest.$ac_ext
55171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55173 if test `eval echo '${'$as_ac_var'}'` = yes; then
55174 cat >>confdefs.h <<_ACEOF
55175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55176 _ACEOF
55179 done
55189 echo "$as_me:$LINENO: checking for finite declaration" >&5
55190 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55191 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55192 if test "${glibcxx_cv_func_finite_use+set}" = set; then
55193 echo $ECHO_N "(cached) $ECHO_C" >&6
55194 else
55198 ac_ext=cc
55199 ac_cpp='$CXXCPP $CPPFLAGS'
55200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55204 cat >conftest.$ac_ext <<_ACEOF
55205 /* confdefs.h. */
55206 _ACEOF
55207 cat confdefs.h >>conftest.$ac_ext
55208 cat >>conftest.$ac_ext <<_ACEOF
55209 /* end confdefs.h. */
55210 #include <math.h>
55211 #ifdef HAVE_IEEEFP_H
55212 #include <ieeefp.h>
55213 #endif
55216 main ()
55218 finite(0);
55220 return 0;
55222 _ACEOF
55223 rm -f conftest.$ac_objext
55224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55225 (eval $ac_compile) 2>conftest.er1
55226 ac_status=$?
55227 grep -v '^ *+' conftest.er1 >conftest.err
55228 rm -f conftest.er1
55229 cat conftest.err >&5
55230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55231 (exit $ac_status); } &&
55232 { ac_try='test -z "$ac_cxx_werror_flag"
55233 || test ! -s conftest.err'
55234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55235 (eval $ac_try) 2>&5
55236 ac_status=$?
55237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55238 (exit $ac_status); }; } &&
55239 { ac_try='test -s conftest.$ac_objext'
55240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55241 (eval $ac_try) 2>&5
55242 ac_status=$?
55243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55244 (exit $ac_status); }; }; then
55245 glibcxx_cv_func_finite_use=yes
55246 else
55247 echo "$as_me: failed program was:" >&5
55248 sed 's/^/| /' conftest.$ac_ext >&5
55250 glibcxx_cv_func_finite_use=no
55252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55253 ac_ext=c
55254 ac_cpp='$CPP $CPPFLAGS'
55255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55264 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55266 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55268 for ac_func in finite
55270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55271 echo "$as_me:$LINENO: checking for $ac_func" >&5
55272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55273 if eval "test \"\${$as_ac_var+set}\" = set"; then
55274 echo $ECHO_N "(cached) $ECHO_C" >&6
55275 else
55276 if test x$gcc_no_link = xyes; then
55277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55279 { (exit 1); exit 1; }; }
55281 cat >conftest.$ac_ext <<_ACEOF
55282 /* confdefs.h. */
55283 _ACEOF
55284 cat confdefs.h >>conftest.$ac_ext
55285 cat >>conftest.$ac_ext <<_ACEOF
55286 /* end confdefs.h. */
55287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55289 #define $ac_func innocuous_$ac_func
55291 /* System header to define __stub macros and hopefully few prototypes,
55292 which can conflict with char $ac_func (); below.
55293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55294 <limits.h> exists even on freestanding compilers. */
55296 #ifdef __STDC__
55297 # include <limits.h>
55298 #else
55299 # include <assert.h>
55300 #endif
55302 #undef $ac_func
55304 /* Override any gcc2 internal prototype to avoid an error. */
55305 #ifdef __cplusplus
55306 extern "C"
55308 #endif
55309 /* We use char because int might match the return type of a gcc2
55310 builtin and then its argument prototype would still apply. */
55311 char $ac_func ();
55312 /* The GNU C library defines this for functions which it implements
55313 to always fail with ENOSYS. Some functions are actually named
55314 something starting with __ and the normal name is an alias. */
55315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55316 choke me
55317 #else
55318 char (*f) () = $ac_func;
55319 #endif
55320 #ifdef __cplusplus
55322 #endif
55325 main ()
55327 return f != $ac_func;
55329 return 0;
55331 _ACEOF
55332 rm -f conftest.$ac_objext conftest$ac_exeext
55333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55334 (eval $ac_link) 2>conftest.er1
55335 ac_status=$?
55336 grep -v '^ *+' conftest.er1 >conftest.err
55337 rm -f conftest.er1
55338 cat conftest.err >&5
55339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55340 (exit $ac_status); } &&
55341 { ac_try='test -z "$ac_c_werror_flag"
55342 || test ! -s conftest.err'
55343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55344 (eval $ac_try) 2>&5
55345 ac_status=$?
55346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55347 (exit $ac_status); }; } &&
55348 { ac_try='test -s conftest$ac_exeext'
55349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55350 (eval $ac_try) 2>&5
55351 ac_status=$?
55352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55353 (exit $ac_status); }; }; then
55354 eval "$as_ac_var=yes"
55355 else
55356 echo "$as_me: failed program was:" >&5
55357 sed 's/^/| /' conftest.$ac_ext >&5
55359 eval "$as_ac_var=no"
55361 rm -f conftest.err conftest.$ac_objext \
55362 conftest$ac_exeext conftest.$ac_ext
55364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55366 if test `eval echo '${'$as_ac_var'}'` = yes; then
55367 cat >>confdefs.h <<_ACEOF
55368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55369 _ACEOF
55372 done
55374 else
55376 echo "$as_me:$LINENO: checking for _finite declaration" >&5
55377 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55378 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55379 if test "${glibcxx_cv_func__finite_use+set}" = set; then
55380 echo $ECHO_N "(cached) $ECHO_C" >&6
55381 else
55385 ac_ext=cc
55386 ac_cpp='$CXXCPP $CPPFLAGS'
55387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55391 cat >conftest.$ac_ext <<_ACEOF
55392 /* confdefs.h. */
55393 _ACEOF
55394 cat confdefs.h >>conftest.$ac_ext
55395 cat >>conftest.$ac_ext <<_ACEOF
55396 /* end confdefs.h. */
55397 #include <math.h>
55398 #ifdef HAVE_IEEEFP_H
55399 #include <ieeefp.h>
55400 #endif
55403 main ()
55405 _finite(0);
55407 return 0;
55409 _ACEOF
55410 rm -f conftest.$ac_objext
55411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55412 (eval $ac_compile) 2>conftest.er1
55413 ac_status=$?
55414 grep -v '^ *+' conftest.er1 >conftest.err
55415 rm -f conftest.er1
55416 cat conftest.err >&5
55417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55418 (exit $ac_status); } &&
55419 { ac_try='test -z "$ac_cxx_werror_flag"
55420 || test ! -s conftest.err'
55421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55422 (eval $ac_try) 2>&5
55423 ac_status=$?
55424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55425 (exit $ac_status); }; } &&
55426 { ac_try='test -s conftest.$ac_objext'
55427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55428 (eval $ac_try) 2>&5
55429 ac_status=$?
55430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431 (exit $ac_status); }; }; then
55432 glibcxx_cv_func__finite_use=yes
55433 else
55434 echo "$as_me: failed program was:" >&5
55435 sed 's/^/| /' conftest.$ac_ext >&5
55437 glibcxx_cv_func__finite_use=no
55439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55440 ac_ext=c
55441 ac_cpp='$CPP $CPPFLAGS'
55442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55451 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55453 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55455 for ac_func in _finite
55457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55458 echo "$as_me:$LINENO: checking for $ac_func" >&5
55459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55460 if eval "test \"\${$as_ac_var+set}\" = set"; then
55461 echo $ECHO_N "(cached) $ECHO_C" >&6
55462 else
55463 if test x$gcc_no_link = xyes; then
55464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55466 { (exit 1); exit 1; }; }
55468 cat >conftest.$ac_ext <<_ACEOF
55469 /* confdefs.h. */
55470 _ACEOF
55471 cat confdefs.h >>conftest.$ac_ext
55472 cat >>conftest.$ac_ext <<_ACEOF
55473 /* end confdefs.h. */
55474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55476 #define $ac_func innocuous_$ac_func
55478 /* System header to define __stub macros and hopefully few prototypes,
55479 which can conflict with char $ac_func (); below.
55480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55481 <limits.h> exists even on freestanding compilers. */
55483 #ifdef __STDC__
55484 # include <limits.h>
55485 #else
55486 # include <assert.h>
55487 #endif
55489 #undef $ac_func
55491 /* Override any gcc2 internal prototype to avoid an error. */
55492 #ifdef __cplusplus
55493 extern "C"
55495 #endif
55496 /* We use char because int might match the return type of a gcc2
55497 builtin and then its argument prototype would still apply. */
55498 char $ac_func ();
55499 /* The GNU C library defines this for functions which it implements
55500 to always fail with ENOSYS. Some functions are actually named
55501 something starting with __ and the normal name is an alias. */
55502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55503 choke me
55504 #else
55505 char (*f) () = $ac_func;
55506 #endif
55507 #ifdef __cplusplus
55509 #endif
55512 main ()
55514 return f != $ac_func;
55516 return 0;
55518 _ACEOF
55519 rm -f conftest.$ac_objext conftest$ac_exeext
55520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55521 (eval $ac_link) 2>conftest.er1
55522 ac_status=$?
55523 grep -v '^ *+' conftest.er1 >conftest.err
55524 rm -f conftest.er1
55525 cat conftest.err >&5
55526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55527 (exit $ac_status); } &&
55528 { ac_try='test -z "$ac_c_werror_flag"
55529 || test ! -s conftest.err'
55530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55531 (eval $ac_try) 2>&5
55532 ac_status=$?
55533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55534 (exit $ac_status); }; } &&
55535 { ac_try='test -s conftest$ac_exeext'
55536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55537 (eval $ac_try) 2>&5
55538 ac_status=$?
55539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540 (exit $ac_status); }; }; then
55541 eval "$as_ac_var=yes"
55542 else
55543 echo "$as_me: failed program was:" >&5
55544 sed 's/^/| /' conftest.$ac_ext >&5
55546 eval "$as_ac_var=no"
55548 rm -f conftest.err conftest.$ac_objext \
55549 conftest$ac_exeext conftest.$ac_ext
55551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55553 if test `eval echo '${'$as_ac_var'}'` = yes; then
55554 cat >>confdefs.h <<_ACEOF
55555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55556 _ACEOF
55559 done
55569 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55570 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55571 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55572 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55573 echo $ECHO_N "(cached) $ECHO_C" >&6
55574 else
55578 ac_ext=cc
55579 ac_cpp='$CXXCPP $CPPFLAGS'
55580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55584 cat >conftest.$ac_ext <<_ACEOF
55585 /* confdefs.h. */
55586 _ACEOF
55587 cat confdefs.h >>conftest.$ac_ext
55588 cat >>conftest.$ac_ext <<_ACEOF
55589 /* end confdefs.h. */
55590 #include <math.h>
55592 main ()
55594 copysign(0, 0);
55596 return 0;
55598 _ACEOF
55599 rm -f conftest.$ac_objext
55600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55601 (eval $ac_compile) 2>conftest.er1
55602 ac_status=$?
55603 grep -v '^ *+' conftest.er1 >conftest.err
55604 rm -f conftest.er1
55605 cat conftest.err >&5
55606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55607 (exit $ac_status); } &&
55608 { ac_try='test -z "$ac_cxx_werror_flag"
55609 || test ! -s conftest.err'
55610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55611 (eval $ac_try) 2>&5
55612 ac_status=$?
55613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55614 (exit $ac_status); }; } &&
55615 { ac_try='test -s conftest.$ac_objext'
55616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55617 (eval $ac_try) 2>&5
55618 ac_status=$?
55619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55620 (exit $ac_status); }; }; then
55621 glibcxx_cv_func_copysign_use=yes
55622 else
55623 echo "$as_me: failed program was:" >&5
55624 sed 's/^/| /' conftest.$ac_ext >&5
55626 glibcxx_cv_func_copysign_use=no
55628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55629 ac_ext=c
55630 ac_cpp='$CPP $CPPFLAGS'
55631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55640 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55642 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55644 for ac_func in copysign
55646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55647 echo "$as_me:$LINENO: checking for $ac_func" >&5
55648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55649 if eval "test \"\${$as_ac_var+set}\" = set"; then
55650 echo $ECHO_N "(cached) $ECHO_C" >&6
55651 else
55652 if test x$gcc_no_link = xyes; then
55653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55655 { (exit 1); exit 1; }; }
55657 cat >conftest.$ac_ext <<_ACEOF
55658 /* confdefs.h. */
55659 _ACEOF
55660 cat confdefs.h >>conftest.$ac_ext
55661 cat >>conftest.$ac_ext <<_ACEOF
55662 /* end confdefs.h. */
55663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55665 #define $ac_func innocuous_$ac_func
55667 /* System header to define __stub macros and hopefully few prototypes,
55668 which can conflict with char $ac_func (); below.
55669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55670 <limits.h> exists even on freestanding compilers. */
55672 #ifdef __STDC__
55673 # include <limits.h>
55674 #else
55675 # include <assert.h>
55676 #endif
55678 #undef $ac_func
55680 /* Override any gcc2 internal prototype to avoid an error. */
55681 #ifdef __cplusplus
55682 extern "C"
55684 #endif
55685 /* We use char because int might match the return type of a gcc2
55686 builtin and then its argument prototype would still apply. */
55687 char $ac_func ();
55688 /* The GNU C library defines this for functions which it implements
55689 to always fail with ENOSYS. Some functions are actually named
55690 something starting with __ and the normal name is an alias. */
55691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55692 choke me
55693 #else
55694 char (*f) () = $ac_func;
55695 #endif
55696 #ifdef __cplusplus
55698 #endif
55701 main ()
55703 return f != $ac_func;
55705 return 0;
55707 _ACEOF
55708 rm -f conftest.$ac_objext conftest$ac_exeext
55709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55710 (eval $ac_link) 2>conftest.er1
55711 ac_status=$?
55712 grep -v '^ *+' conftest.er1 >conftest.err
55713 rm -f conftest.er1
55714 cat conftest.err >&5
55715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55716 (exit $ac_status); } &&
55717 { ac_try='test -z "$ac_c_werror_flag"
55718 || test ! -s conftest.err'
55719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55720 (eval $ac_try) 2>&5
55721 ac_status=$?
55722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55723 (exit $ac_status); }; } &&
55724 { ac_try='test -s conftest$ac_exeext'
55725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55726 (eval $ac_try) 2>&5
55727 ac_status=$?
55728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55729 (exit $ac_status); }; }; then
55730 eval "$as_ac_var=yes"
55731 else
55732 echo "$as_me: failed program was:" >&5
55733 sed 's/^/| /' conftest.$ac_ext >&5
55735 eval "$as_ac_var=no"
55737 rm -f conftest.err conftest.$ac_objext \
55738 conftest$ac_exeext conftest.$ac_ext
55740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55742 if test `eval echo '${'$as_ac_var'}'` = yes; then
55743 cat >>confdefs.h <<_ACEOF
55744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55745 _ACEOF
55748 done
55750 else
55752 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55753 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55754 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55755 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55756 echo $ECHO_N "(cached) $ECHO_C" >&6
55757 else
55761 ac_ext=cc
55762 ac_cpp='$CXXCPP $CPPFLAGS'
55763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55767 cat >conftest.$ac_ext <<_ACEOF
55768 /* confdefs.h. */
55769 _ACEOF
55770 cat confdefs.h >>conftest.$ac_ext
55771 cat >>conftest.$ac_ext <<_ACEOF
55772 /* end confdefs.h. */
55773 #include <math.h>
55775 main ()
55777 _copysign(0, 0);
55779 return 0;
55781 _ACEOF
55782 rm -f conftest.$ac_objext
55783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55784 (eval $ac_compile) 2>conftest.er1
55785 ac_status=$?
55786 grep -v '^ *+' conftest.er1 >conftest.err
55787 rm -f conftest.er1
55788 cat conftest.err >&5
55789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55790 (exit $ac_status); } &&
55791 { ac_try='test -z "$ac_cxx_werror_flag"
55792 || test ! -s conftest.err'
55793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55794 (eval $ac_try) 2>&5
55795 ac_status=$?
55796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55797 (exit $ac_status); }; } &&
55798 { ac_try='test -s conftest.$ac_objext'
55799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55800 (eval $ac_try) 2>&5
55801 ac_status=$?
55802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55803 (exit $ac_status); }; }; then
55804 glibcxx_cv_func__copysign_use=yes
55805 else
55806 echo "$as_me: failed program was:" >&5
55807 sed 's/^/| /' conftest.$ac_ext >&5
55809 glibcxx_cv_func__copysign_use=no
55811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55812 ac_ext=c
55813 ac_cpp='$CPP $CPPFLAGS'
55814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55822 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55823 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55825 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55827 for ac_func in _copysign
55829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55830 echo "$as_me:$LINENO: checking for $ac_func" >&5
55831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55832 if eval "test \"\${$as_ac_var+set}\" = set"; then
55833 echo $ECHO_N "(cached) $ECHO_C" >&6
55834 else
55835 if test x$gcc_no_link = xyes; then
55836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55838 { (exit 1); exit 1; }; }
55840 cat >conftest.$ac_ext <<_ACEOF
55841 /* confdefs.h. */
55842 _ACEOF
55843 cat confdefs.h >>conftest.$ac_ext
55844 cat >>conftest.$ac_ext <<_ACEOF
55845 /* end confdefs.h. */
55846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55848 #define $ac_func innocuous_$ac_func
55850 /* System header to define __stub macros and hopefully few prototypes,
55851 which can conflict with char $ac_func (); below.
55852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55853 <limits.h> exists even on freestanding compilers. */
55855 #ifdef __STDC__
55856 # include <limits.h>
55857 #else
55858 # include <assert.h>
55859 #endif
55861 #undef $ac_func
55863 /* Override any gcc2 internal prototype to avoid an error. */
55864 #ifdef __cplusplus
55865 extern "C"
55867 #endif
55868 /* We use char because int might match the return type of a gcc2
55869 builtin and then its argument prototype would still apply. */
55870 char $ac_func ();
55871 /* The GNU C library defines this for functions which it implements
55872 to always fail with ENOSYS. Some functions are actually named
55873 something starting with __ and the normal name is an alias. */
55874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55875 choke me
55876 #else
55877 char (*f) () = $ac_func;
55878 #endif
55879 #ifdef __cplusplus
55881 #endif
55884 main ()
55886 return f != $ac_func;
55888 return 0;
55890 _ACEOF
55891 rm -f conftest.$ac_objext conftest$ac_exeext
55892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55893 (eval $ac_link) 2>conftest.er1
55894 ac_status=$?
55895 grep -v '^ *+' conftest.er1 >conftest.err
55896 rm -f conftest.er1
55897 cat conftest.err >&5
55898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55899 (exit $ac_status); } &&
55900 { ac_try='test -z "$ac_c_werror_flag"
55901 || test ! -s conftest.err'
55902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55903 (eval $ac_try) 2>&5
55904 ac_status=$?
55905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55906 (exit $ac_status); }; } &&
55907 { ac_try='test -s conftest$ac_exeext'
55908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55909 (eval $ac_try) 2>&5
55910 ac_status=$?
55911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55912 (exit $ac_status); }; }; then
55913 eval "$as_ac_var=yes"
55914 else
55915 echo "$as_me: failed program was:" >&5
55916 sed 's/^/| /' conftest.$ac_ext >&5
55918 eval "$as_ac_var=no"
55920 rm -f conftest.err conftest.$ac_objext \
55921 conftest$ac_exeext conftest.$ac_ext
55923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55925 if test `eval echo '${'$as_ac_var'}'` = yes; then
55926 cat >>confdefs.h <<_ACEOF
55927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55928 _ACEOF
55931 done
55941 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55942 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55943 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55944 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55945 echo $ECHO_N "(cached) $ECHO_C" >&6
55946 else
55950 ac_ext=cc
55951 ac_cpp='$CXXCPP $CPPFLAGS'
55952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55956 cat >conftest.$ac_ext <<_ACEOF
55957 /* confdefs.h. */
55958 _ACEOF
55959 cat confdefs.h >>conftest.$ac_ext
55960 cat >>conftest.$ac_ext <<_ACEOF
55961 /* end confdefs.h. */
55962 #include <math.h>
55964 main ()
55966 sincos(0, 0, 0);
55968 return 0;
55970 _ACEOF
55971 rm -f conftest.$ac_objext
55972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55973 (eval $ac_compile) 2>conftest.er1
55974 ac_status=$?
55975 grep -v '^ *+' conftest.er1 >conftest.err
55976 rm -f conftest.er1
55977 cat conftest.err >&5
55978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55979 (exit $ac_status); } &&
55980 { ac_try='test -z "$ac_cxx_werror_flag"
55981 || test ! -s conftest.err'
55982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55983 (eval $ac_try) 2>&5
55984 ac_status=$?
55985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55986 (exit $ac_status); }; } &&
55987 { ac_try='test -s conftest.$ac_objext'
55988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55989 (eval $ac_try) 2>&5
55990 ac_status=$?
55991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55992 (exit $ac_status); }; }; then
55993 glibcxx_cv_func_sincos_use=yes
55994 else
55995 echo "$as_me: failed program was:" >&5
55996 sed 's/^/| /' conftest.$ac_ext >&5
55998 glibcxx_cv_func_sincos_use=no
56000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56001 ac_ext=c
56002 ac_cpp='$CPP $CPPFLAGS'
56003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56011 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56012 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56014 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56016 for ac_func in sincos
56018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56019 echo "$as_me:$LINENO: checking for $ac_func" >&5
56020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56021 if eval "test \"\${$as_ac_var+set}\" = set"; then
56022 echo $ECHO_N "(cached) $ECHO_C" >&6
56023 else
56024 if test x$gcc_no_link = xyes; then
56025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56027 { (exit 1); exit 1; }; }
56029 cat >conftest.$ac_ext <<_ACEOF
56030 /* confdefs.h. */
56031 _ACEOF
56032 cat confdefs.h >>conftest.$ac_ext
56033 cat >>conftest.$ac_ext <<_ACEOF
56034 /* end confdefs.h. */
56035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56037 #define $ac_func innocuous_$ac_func
56039 /* System header to define __stub macros and hopefully few prototypes,
56040 which can conflict with char $ac_func (); below.
56041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56042 <limits.h> exists even on freestanding compilers. */
56044 #ifdef __STDC__
56045 # include <limits.h>
56046 #else
56047 # include <assert.h>
56048 #endif
56050 #undef $ac_func
56052 /* Override any gcc2 internal prototype to avoid an error. */
56053 #ifdef __cplusplus
56054 extern "C"
56056 #endif
56057 /* We use char because int might match the return type of a gcc2
56058 builtin and then its argument prototype would still apply. */
56059 char $ac_func ();
56060 /* The GNU C library defines this for functions which it implements
56061 to always fail with ENOSYS. Some functions are actually named
56062 something starting with __ and the normal name is an alias. */
56063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56064 choke me
56065 #else
56066 char (*f) () = $ac_func;
56067 #endif
56068 #ifdef __cplusplus
56070 #endif
56073 main ()
56075 return f != $ac_func;
56077 return 0;
56079 _ACEOF
56080 rm -f conftest.$ac_objext conftest$ac_exeext
56081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56082 (eval $ac_link) 2>conftest.er1
56083 ac_status=$?
56084 grep -v '^ *+' conftest.er1 >conftest.err
56085 rm -f conftest.er1
56086 cat conftest.err >&5
56087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56088 (exit $ac_status); } &&
56089 { ac_try='test -z "$ac_c_werror_flag"
56090 || test ! -s conftest.err'
56091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56092 (eval $ac_try) 2>&5
56093 ac_status=$?
56094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56095 (exit $ac_status); }; } &&
56096 { ac_try='test -s conftest$ac_exeext'
56097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56098 (eval $ac_try) 2>&5
56099 ac_status=$?
56100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56101 (exit $ac_status); }; }; then
56102 eval "$as_ac_var=yes"
56103 else
56104 echo "$as_me: failed program was:" >&5
56105 sed 's/^/| /' conftest.$ac_ext >&5
56107 eval "$as_ac_var=no"
56109 rm -f conftest.err conftest.$ac_objext \
56110 conftest$ac_exeext conftest.$ac_ext
56112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56114 if test `eval echo '${'$as_ac_var'}'` = yes; then
56115 cat >>confdefs.h <<_ACEOF
56116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56117 _ACEOF
56120 done
56122 else
56124 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56125 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56126 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56127 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56128 echo $ECHO_N "(cached) $ECHO_C" >&6
56129 else
56133 ac_ext=cc
56134 ac_cpp='$CXXCPP $CPPFLAGS'
56135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56139 cat >conftest.$ac_ext <<_ACEOF
56140 /* confdefs.h. */
56141 _ACEOF
56142 cat confdefs.h >>conftest.$ac_ext
56143 cat >>conftest.$ac_ext <<_ACEOF
56144 /* end confdefs.h. */
56145 #include <math.h>
56147 main ()
56149 _sincos(0, 0, 0);
56151 return 0;
56153 _ACEOF
56154 rm -f conftest.$ac_objext
56155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56156 (eval $ac_compile) 2>conftest.er1
56157 ac_status=$?
56158 grep -v '^ *+' conftest.er1 >conftest.err
56159 rm -f conftest.er1
56160 cat conftest.err >&5
56161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56162 (exit $ac_status); } &&
56163 { ac_try='test -z "$ac_cxx_werror_flag"
56164 || test ! -s conftest.err'
56165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56166 (eval $ac_try) 2>&5
56167 ac_status=$?
56168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56169 (exit $ac_status); }; } &&
56170 { ac_try='test -s conftest.$ac_objext'
56171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56172 (eval $ac_try) 2>&5
56173 ac_status=$?
56174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56175 (exit $ac_status); }; }; then
56176 glibcxx_cv_func__sincos_use=yes
56177 else
56178 echo "$as_me: failed program was:" >&5
56179 sed 's/^/| /' conftest.$ac_ext >&5
56181 glibcxx_cv_func__sincos_use=no
56183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56184 ac_ext=c
56185 ac_cpp='$CPP $CPPFLAGS'
56186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56194 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56195 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56197 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56199 for ac_func in _sincos
56201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56202 echo "$as_me:$LINENO: checking for $ac_func" >&5
56203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56204 if eval "test \"\${$as_ac_var+set}\" = set"; then
56205 echo $ECHO_N "(cached) $ECHO_C" >&6
56206 else
56207 if test x$gcc_no_link = xyes; then
56208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56210 { (exit 1); exit 1; }; }
56212 cat >conftest.$ac_ext <<_ACEOF
56213 /* confdefs.h. */
56214 _ACEOF
56215 cat confdefs.h >>conftest.$ac_ext
56216 cat >>conftest.$ac_ext <<_ACEOF
56217 /* end confdefs.h. */
56218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56220 #define $ac_func innocuous_$ac_func
56222 /* System header to define __stub macros and hopefully few prototypes,
56223 which can conflict with char $ac_func (); below.
56224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56225 <limits.h> exists even on freestanding compilers. */
56227 #ifdef __STDC__
56228 # include <limits.h>
56229 #else
56230 # include <assert.h>
56231 #endif
56233 #undef $ac_func
56235 /* Override any gcc2 internal prototype to avoid an error. */
56236 #ifdef __cplusplus
56237 extern "C"
56239 #endif
56240 /* We use char because int might match the return type of a gcc2
56241 builtin and then its argument prototype would still apply. */
56242 char $ac_func ();
56243 /* The GNU C library defines this for functions which it implements
56244 to always fail with ENOSYS. Some functions are actually named
56245 something starting with __ and the normal name is an alias. */
56246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56247 choke me
56248 #else
56249 char (*f) () = $ac_func;
56250 #endif
56251 #ifdef __cplusplus
56253 #endif
56256 main ()
56258 return f != $ac_func;
56260 return 0;
56262 _ACEOF
56263 rm -f conftest.$ac_objext conftest$ac_exeext
56264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56265 (eval $ac_link) 2>conftest.er1
56266 ac_status=$?
56267 grep -v '^ *+' conftest.er1 >conftest.err
56268 rm -f conftest.er1
56269 cat conftest.err >&5
56270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56271 (exit $ac_status); } &&
56272 { ac_try='test -z "$ac_c_werror_flag"
56273 || test ! -s conftest.err'
56274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56275 (eval $ac_try) 2>&5
56276 ac_status=$?
56277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56278 (exit $ac_status); }; } &&
56279 { ac_try='test -s conftest$ac_exeext'
56280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56281 (eval $ac_try) 2>&5
56282 ac_status=$?
56283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56284 (exit $ac_status); }; }; then
56285 eval "$as_ac_var=yes"
56286 else
56287 echo "$as_me: failed program was:" >&5
56288 sed 's/^/| /' conftest.$ac_ext >&5
56290 eval "$as_ac_var=no"
56292 rm -f conftest.err conftest.$ac_objext \
56293 conftest$ac_exeext conftest.$ac_ext
56295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56297 if test `eval echo '${'$as_ac_var'}'` = yes; then
56298 cat >>confdefs.h <<_ACEOF
56299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56300 _ACEOF
56303 done
56313 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56314 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56315 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56316 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56317 echo $ECHO_N "(cached) $ECHO_C" >&6
56318 else
56322 ac_ext=cc
56323 ac_cpp='$CXXCPP $CPPFLAGS'
56324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56328 cat >conftest.$ac_ext <<_ACEOF
56329 /* confdefs.h. */
56330 _ACEOF
56331 cat confdefs.h >>conftest.$ac_ext
56332 cat >>conftest.$ac_ext <<_ACEOF
56333 /* end confdefs.h. */
56334 #include <math.h>
56335 #ifdef HAVE_IEEEFP_H
56336 #include <ieeefp.h>
56337 #endif
56340 main ()
56342 fpclass(0);
56344 return 0;
56346 _ACEOF
56347 rm -f conftest.$ac_objext
56348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56349 (eval $ac_compile) 2>conftest.er1
56350 ac_status=$?
56351 grep -v '^ *+' conftest.er1 >conftest.err
56352 rm -f conftest.er1
56353 cat conftest.err >&5
56354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56355 (exit $ac_status); } &&
56356 { ac_try='test -z "$ac_cxx_werror_flag"
56357 || test ! -s conftest.err'
56358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56359 (eval $ac_try) 2>&5
56360 ac_status=$?
56361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362 (exit $ac_status); }; } &&
56363 { ac_try='test -s conftest.$ac_objext'
56364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56365 (eval $ac_try) 2>&5
56366 ac_status=$?
56367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56368 (exit $ac_status); }; }; then
56369 glibcxx_cv_func_fpclass_use=yes
56370 else
56371 echo "$as_me: failed program was:" >&5
56372 sed 's/^/| /' conftest.$ac_ext >&5
56374 glibcxx_cv_func_fpclass_use=no
56376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56377 ac_ext=c
56378 ac_cpp='$CPP $CPPFLAGS'
56379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56387 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56388 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56390 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56392 for ac_func in fpclass
56394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56395 echo "$as_me:$LINENO: checking for $ac_func" >&5
56396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56397 if eval "test \"\${$as_ac_var+set}\" = set"; then
56398 echo $ECHO_N "(cached) $ECHO_C" >&6
56399 else
56400 if test x$gcc_no_link = xyes; then
56401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56403 { (exit 1); exit 1; }; }
56405 cat >conftest.$ac_ext <<_ACEOF
56406 /* confdefs.h. */
56407 _ACEOF
56408 cat confdefs.h >>conftest.$ac_ext
56409 cat >>conftest.$ac_ext <<_ACEOF
56410 /* end confdefs.h. */
56411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56413 #define $ac_func innocuous_$ac_func
56415 /* System header to define __stub macros and hopefully few prototypes,
56416 which can conflict with char $ac_func (); below.
56417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56418 <limits.h> exists even on freestanding compilers. */
56420 #ifdef __STDC__
56421 # include <limits.h>
56422 #else
56423 # include <assert.h>
56424 #endif
56426 #undef $ac_func
56428 /* Override any gcc2 internal prototype to avoid an error. */
56429 #ifdef __cplusplus
56430 extern "C"
56432 #endif
56433 /* We use char because int might match the return type of a gcc2
56434 builtin and then its argument prototype would still apply. */
56435 char $ac_func ();
56436 /* The GNU C library defines this for functions which it implements
56437 to always fail with ENOSYS. Some functions are actually named
56438 something starting with __ and the normal name is an alias. */
56439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56440 choke me
56441 #else
56442 char (*f) () = $ac_func;
56443 #endif
56444 #ifdef __cplusplus
56446 #endif
56449 main ()
56451 return f != $ac_func;
56453 return 0;
56455 _ACEOF
56456 rm -f conftest.$ac_objext conftest$ac_exeext
56457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56458 (eval $ac_link) 2>conftest.er1
56459 ac_status=$?
56460 grep -v '^ *+' conftest.er1 >conftest.err
56461 rm -f conftest.er1
56462 cat conftest.err >&5
56463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56464 (exit $ac_status); } &&
56465 { ac_try='test -z "$ac_c_werror_flag"
56466 || test ! -s conftest.err'
56467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56468 (eval $ac_try) 2>&5
56469 ac_status=$?
56470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56471 (exit $ac_status); }; } &&
56472 { ac_try='test -s conftest$ac_exeext'
56473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56474 (eval $ac_try) 2>&5
56475 ac_status=$?
56476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56477 (exit $ac_status); }; }; then
56478 eval "$as_ac_var=yes"
56479 else
56480 echo "$as_me: failed program was:" >&5
56481 sed 's/^/| /' conftest.$ac_ext >&5
56483 eval "$as_ac_var=no"
56485 rm -f conftest.err conftest.$ac_objext \
56486 conftest$ac_exeext conftest.$ac_ext
56488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56490 if test `eval echo '${'$as_ac_var'}'` = yes; then
56491 cat >>confdefs.h <<_ACEOF
56492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56493 _ACEOF
56496 done
56498 else
56500 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56501 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56502 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56503 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56504 echo $ECHO_N "(cached) $ECHO_C" >&6
56505 else
56509 ac_ext=cc
56510 ac_cpp='$CXXCPP $CPPFLAGS'
56511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56515 cat >conftest.$ac_ext <<_ACEOF
56516 /* confdefs.h. */
56517 _ACEOF
56518 cat confdefs.h >>conftest.$ac_ext
56519 cat >>conftest.$ac_ext <<_ACEOF
56520 /* end confdefs.h. */
56521 #include <math.h>
56522 #ifdef HAVE_IEEEFP_H
56523 #include <ieeefp.h>
56524 #endif
56527 main ()
56529 _fpclass(0);
56531 return 0;
56533 _ACEOF
56534 rm -f conftest.$ac_objext
56535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56536 (eval $ac_compile) 2>conftest.er1
56537 ac_status=$?
56538 grep -v '^ *+' conftest.er1 >conftest.err
56539 rm -f conftest.er1
56540 cat conftest.err >&5
56541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56542 (exit $ac_status); } &&
56543 { ac_try='test -z "$ac_cxx_werror_flag"
56544 || test ! -s conftest.err'
56545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56546 (eval $ac_try) 2>&5
56547 ac_status=$?
56548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56549 (exit $ac_status); }; } &&
56550 { ac_try='test -s conftest.$ac_objext'
56551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56552 (eval $ac_try) 2>&5
56553 ac_status=$?
56554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56555 (exit $ac_status); }; }; then
56556 glibcxx_cv_func__fpclass_use=yes
56557 else
56558 echo "$as_me: failed program was:" >&5
56559 sed 's/^/| /' conftest.$ac_ext >&5
56561 glibcxx_cv_func__fpclass_use=no
56563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56564 ac_ext=c
56565 ac_cpp='$CPP $CPPFLAGS'
56566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56574 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56575 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56577 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56579 for ac_func in _fpclass
56581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56582 echo "$as_me:$LINENO: checking for $ac_func" >&5
56583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56584 if eval "test \"\${$as_ac_var+set}\" = set"; then
56585 echo $ECHO_N "(cached) $ECHO_C" >&6
56586 else
56587 if test x$gcc_no_link = xyes; then
56588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56590 { (exit 1); exit 1; }; }
56592 cat >conftest.$ac_ext <<_ACEOF
56593 /* confdefs.h. */
56594 _ACEOF
56595 cat confdefs.h >>conftest.$ac_ext
56596 cat >>conftest.$ac_ext <<_ACEOF
56597 /* end confdefs.h. */
56598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56600 #define $ac_func innocuous_$ac_func
56602 /* System header to define __stub macros and hopefully few prototypes,
56603 which can conflict with char $ac_func (); below.
56604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56605 <limits.h> exists even on freestanding compilers. */
56607 #ifdef __STDC__
56608 # include <limits.h>
56609 #else
56610 # include <assert.h>
56611 #endif
56613 #undef $ac_func
56615 /* Override any gcc2 internal prototype to avoid an error. */
56616 #ifdef __cplusplus
56617 extern "C"
56619 #endif
56620 /* We use char because int might match the return type of a gcc2
56621 builtin and then its argument prototype would still apply. */
56622 char $ac_func ();
56623 /* The GNU C library defines this for functions which it implements
56624 to always fail with ENOSYS. Some functions are actually named
56625 something starting with __ and the normal name is an alias. */
56626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56627 choke me
56628 #else
56629 char (*f) () = $ac_func;
56630 #endif
56631 #ifdef __cplusplus
56633 #endif
56636 main ()
56638 return f != $ac_func;
56640 return 0;
56642 _ACEOF
56643 rm -f conftest.$ac_objext conftest$ac_exeext
56644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56645 (eval $ac_link) 2>conftest.er1
56646 ac_status=$?
56647 grep -v '^ *+' conftest.er1 >conftest.err
56648 rm -f conftest.er1
56649 cat conftest.err >&5
56650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56651 (exit $ac_status); } &&
56652 { ac_try='test -z "$ac_c_werror_flag"
56653 || test ! -s conftest.err'
56654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56655 (eval $ac_try) 2>&5
56656 ac_status=$?
56657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56658 (exit $ac_status); }; } &&
56659 { ac_try='test -s conftest$ac_exeext'
56660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56661 (eval $ac_try) 2>&5
56662 ac_status=$?
56663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56664 (exit $ac_status); }; }; then
56665 eval "$as_ac_var=yes"
56666 else
56667 echo "$as_me: failed program was:" >&5
56668 sed 's/^/| /' conftest.$ac_ext >&5
56670 eval "$as_ac_var=no"
56672 rm -f conftest.err conftest.$ac_objext \
56673 conftest$ac_exeext conftest.$ac_ext
56675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56677 if test `eval echo '${'$as_ac_var'}'` = yes; then
56678 cat >>confdefs.h <<_ACEOF
56679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56680 _ACEOF
56683 done
56693 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56694 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56695 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56696 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56697 echo $ECHO_N "(cached) $ECHO_C" >&6
56698 else
56702 ac_ext=cc
56703 ac_cpp='$CXXCPP $CPPFLAGS'
56704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56708 cat >conftest.$ac_ext <<_ACEOF
56709 /* confdefs.h. */
56710 _ACEOF
56711 cat confdefs.h >>conftest.$ac_ext
56712 cat >>conftest.$ac_ext <<_ACEOF
56713 /* end confdefs.h. */
56714 #include <math.h>
56715 #ifdef HAVE_IEEEFP_H
56716 #include <ieeefp.h>
56717 #endif
56720 main ()
56722 qfpclass(0);
56724 return 0;
56726 _ACEOF
56727 rm -f conftest.$ac_objext
56728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56729 (eval $ac_compile) 2>conftest.er1
56730 ac_status=$?
56731 grep -v '^ *+' conftest.er1 >conftest.err
56732 rm -f conftest.er1
56733 cat conftest.err >&5
56734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735 (exit $ac_status); } &&
56736 { ac_try='test -z "$ac_cxx_werror_flag"
56737 || test ! -s conftest.err'
56738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56739 (eval $ac_try) 2>&5
56740 ac_status=$?
56741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56742 (exit $ac_status); }; } &&
56743 { ac_try='test -s conftest.$ac_objext'
56744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56745 (eval $ac_try) 2>&5
56746 ac_status=$?
56747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56748 (exit $ac_status); }; }; then
56749 glibcxx_cv_func_qfpclass_use=yes
56750 else
56751 echo "$as_me: failed program was:" >&5
56752 sed 's/^/| /' conftest.$ac_ext >&5
56754 glibcxx_cv_func_qfpclass_use=no
56756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56757 ac_ext=c
56758 ac_cpp='$CPP $CPPFLAGS'
56759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56768 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56770 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56772 for ac_func in qfpclass
56774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56775 echo "$as_me:$LINENO: checking for $ac_func" >&5
56776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56777 if eval "test \"\${$as_ac_var+set}\" = set"; then
56778 echo $ECHO_N "(cached) $ECHO_C" >&6
56779 else
56780 if test x$gcc_no_link = xyes; then
56781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56783 { (exit 1); exit 1; }; }
56785 cat >conftest.$ac_ext <<_ACEOF
56786 /* confdefs.h. */
56787 _ACEOF
56788 cat confdefs.h >>conftest.$ac_ext
56789 cat >>conftest.$ac_ext <<_ACEOF
56790 /* end confdefs.h. */
56791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56793 #define $ac_func innocuous_$ac_func
56795 /* System header to define __stub macros and hopefully few prototypes,
56796 which can conflict with char $ac_func (); below.
56797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56798 <limits.h> exists even on freestanding compilers. */
56800 #ifdef __STDC__
56801 # include <limits.h>
56802 #else
56803 # include <assert.h>
56804 #endif
56806 #undef $ac_func
56808 /* Override any gcc2 internal prototype to avoid an error. */
56809 #ifdef __cplusplus
56810 extern "C"
56812 #endif
56813 /* We use char because int might match the return type of a gcc2
56814 builtin and then its argument prototype would still apply. */
56815 char $ac_func ();
56816 /* The GNU C library defines this for functions which it implements
56817 to always fail with ENOSYS. Some functions are actually named
56818 something starting with __ and the normal name is an alias. */
56819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56820 choke me
56821 #else
56822 char (*f) () = $ac_func;
56823 #endif
56824 #ifdef __cplusplus
56826 #endif
56829 main ()
56831 return f != $ac_func;
56833 return 0;
56835 _ACEOF
56836 rm -f conftest.$ac_objext conftest$ac_exeext
56837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56838 (eval $ac_link) 2>conftest.er1
56839 ac_status=$?
56840 grep -v '^ *+' conftest.er1 >conftest.err
56841 rm -f conftest.er1
56842 cat conftest.err >&5
56843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56844 (exit $ac_status); } &&
56845 { ac_try='test -z "$ac_c_werror_flag"
56846 || test ! -s conftest.err'
56847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56848 (eval $ac_try) 2>&5
56849 ac_status=$?
56850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56851 (exit $ac_status); }; } &&
56852 { ac_try='test -s conftest$ac_exeext'
56853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56854 (eval $ac_try) 2>&5
56855 ac_status=$?
56856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56857 (exit $ac_status); }; }; then
56858 eval "$as_ac_var=yes"
56859 else
56860 echo "$as_me: failed program was:" >&5
56861 sed 's/^/| /' conftest.$ac_ext >&5
56863 eval "$as_ac_var=no"
56865 rm -f conftest.err conftest.$ac_objext \
56866 conftest$ac_exeext conftest.$ac_ext
56868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56870 if test `eval echo '${'$as_ac_var'}'` = yes; then
56871 cat >>confdefs.h <<_ACEOF
56872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56873 _ACEOF
56876 done
56878 else
56880 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56881 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56882 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56883 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56884 echo $ECHO_N "(cached) $ECHO_C" >&6
56885 else
56889 ac_ext=cc
56890 ac_cpp='$CXXCPP $CPPFLAGS'
56891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56895 cat >conftest.$ac_ext <<_ACEOF
56896 /* confdefs.h. */
56897 _ACEOF
56898 cat confdefs.h >>conftest.$ac_ext
56899 cat >>conftest.$ac_ext <<_ACEOF
56900 /* end confdefs.h. */
56901 #include <math.h>
56902 #ifdef HAVE_IEEEFP_H
56903 #include <ieeefp.h>
56904 #endif
56907 main ()
56909 _qfpclass(0);
56911 return 0;
56913 _ACEOF
56914 rm -f conftest.$ac_objext
56915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56916 (eval $ac_compile) 2>conftest.er1
56917 ac_status=$?
56918 grep -v '^ *+' conftest.er1 >conftest.err
56919 rm -f conftest.er1
56920 cat conftest.err >&5
56921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56922 (exit $ac_status); } &&
56923 { ac_try='test -z "$ac_cxx_werror_flag"
56924 || test ! -s conftest.err'
56925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56926 (eval $ac_try) 2>&5
56927 ac_status=$?
56928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56929 (exit $ac_status); }; } &&
56930 { ac_try='test -s conftest.$ac_objext'
56931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56932 (eval $ac_try) 2>&5
56933 ac_status=$?
56934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56935 (exit $ac_status); }; }; then
56936 glibcxx_cv_func__qfpclass_use=yes
56937 else
56938 echo "$as_me: failed program was:" >&5
56939 sed 's/^/| /' conftest.$ac_ext >&5
56941 glibcxx_cv_func__qfpclass_use=no
56943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56944 ac_ext=c
56945 ac_cpp='$CPP $CPPFLAGS'
56946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56954 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56955 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56957 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56959 for ac_func in _qfpclass
56961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56962 echo "$as_me:$LINENO: checking for $ac_func" >&5
56963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56964 if eval "test \"\${$as_ac_var+set}\" = set"; then
56965 echo $ECHO_N "(cached) $ECHO_C" >&6
56966 else
56967 if test x$gcc_no_link = xyes; then
56968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56970 { (exit 1); exit 1; }; }
56972 cat >conftest.$ac_ext <<_ACEOF
56973 /* confdefs.h. */
56974 _ACEOF
56975 cat confdefs.h >>conftest.$ac_ext
56976 cat >>conftest.$ac_ext <<_ACEOF
56977 /* end confdefs.h. */
56978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56980 #define $ac_func innocuous_$ac_func
56982 /* System header to define __stub macros and hopefully few prototypes,
56983 which can conflict with char $ac_func (); below.
56984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56985 <limits.h> exists even on freestanding compilers. */
56987 #ifdef __STDC__
56988 # include <limits.h>
56989 #else
56990 # include <assert.h>
56991 #endif
56993 #undef $ac_func
56995 /* Override any gcc2 internal prototype to avoid an error. */
56996 #ifdef __cplusplus
56997 extern "C"
56999 #endif
57000 /* We use char because int might match the return type of a gcc2
57001 builtin and then its argument prototype would still apply. */
57002 char $ac_func ();
57003 /* The GNU C library defines this for functions which it implements
57004 to always fail with ENOSYS. Some functions are actually named
57005 something starting with __ and the normal name is an alias. */
57006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57007 choke me
57008 #else
57009 char (*f) () = $ac_func;
57010 #endif
57011 #ifdef __cplusplus
57013 #endif
57016 main ()
57018 return f != $ac_func;
57020 return 0;
57022 _ACEOF
57023 rm -f conftest.$ac_objext conftest$ac_exeext
57024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57025 (eval $ac_link) 2>conftest.er1
57026 ac_status=$?
57027 grep -v '^ *+' conftest.er1 >conftest.err
57028 rm -f conftest.er1
57029 cat conftest.err >&5
57030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57031 (exit $ac_status); } &&
57032 { ac_try='test -z "$ac_c_werror_flag"
57033 || test ! -s conftest.err'
57034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57035 (eval $ac_try) 2>&5
57036 ac_status=$?
57037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57038 (exit $ac_status); }; } &&
57039 { ac_try='test -s conftest$ac_exeext'
57040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57041 (eval $ac_try) 2>&5
57042 ac_status=$?
57043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57044 (exit $ac_status); }; }; then
57045 eval "$as_ac_var=yes"
57046 else
57047 echo "$as_me: failed program was:" >&5
57048 sed 's/^/| /' conftest.$ac_ext >&5
57050 eval "$as_ac_var=no"
57052 rm -f conftest.err conftest.$ac_objext \
57053 conftest$ac_exeext conftest.$ac_ext
57055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57057 if test `eval echo '${'$as_ac_var'}'` = yes; then
57058 cat >>confdefs.h <<_ACEOF
57059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57060 _ACEOF
57063 done
57073 echo "$as_me:$LINENO: checking for hypot declaration" >&5
57074 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57075 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57076 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57077 echo $ECHO_N "(cached) $ECHO_C" >&6
57078 else
57082 ac_ext=cc
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57088 cat >conftest.$ac_ext <<_ACEOF
57089 /* confdefs.h. */
57090 _ACEOF
57091 cat confdefs.h >>conftest.$ac_ext
57092 cat >>conftest.$ac_ext <<_ACEOF
57093 /* end confdefs.h. */
57094 #include <math.h>
57096 main ()
57098 hypot(0, 0);
57100 return 0;
57102 _ACEOF
57103 rm -f conftest.$ac_objext
57104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57105 (eval $ac_compile) 2>conftest.er1
57106 ac_status=$?
57107 grep -v '^ *+' conftest.er1 >conftest.err
57108 rm -f conftest.er1
57109 cat conftest.err >&5
57110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57111 (exit $ac_status); } &&
57112 { ac_try='test -z "$ac_cxx_werror_flag"
57113 || test ! -s conftest.err'
57114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57115 (eval $ac_try) 2>&5
57116 ac_status=$?
57117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118 (exit $ac_status); }; } &&
57119 { ac_try='test -s conftest.$ac_objext'
57120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57121 (eval $ac_try) 2>&5
57122 ac_status=$?
57123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57124 (exit $ac_status); }; }; then
57125 glibcxx_cv_func_hypot_use=yes
57126 else
57127 echo "$as_me: failed program was:" >&5
57128 sed 's/^/| /' conftest.$ac_ext >&5
57130 glibcxx_cv_func_hypot_use=no
57132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57133 ac_ext=c
57134 ac_cpp='$CPP $CPPFLAGS'
57135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57144 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57146 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57148 for ac_func in hypot
57150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57151 echo "$as_me:$LINENO: checking for $ac_func" >&5
57152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57153 if eval "test \"\${$as_ac_var+set}\" = set"; then
57154 echo $ECHO_N "(cached) $ECHO_C" >&6
57155 else
57156 if test x$gcc_no_link = xyes; then
57157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57159 { (exit 1); exit 1; }; }
57161 cat >conftest.$ac_ext <<_ACEOF
57162 /* confdefs.h. */
57163 _ACEOF
57164 cat confdefs.h >>conftest.$ac_ext
57165 cat >>conftest.$ac_ext <<_ACEOF
57166 /* end confdefs.h. */
57167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57169 #define $ac_func innocuous_$ac_func
57171 /* System header to define __stub macros and hopefully few prototypes,
57172 which can conflict with char $ac_func (); below.
57173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57174 <limits.h> exists even on freestanding compilers. */
57176 #ifdef __STDC__
57177 # include <limits.h>
57178 #else
57179 # include <assert.h>
57180 #endif
57182 #undef $ac_func
57184 /* Override any gcc2 internal prototype to avoid an error. */
57185 #ifdef __cplusplus
57186 extern "C"
57188 #endif
57189 /* We use char because int might match the return type of a gcc2
57190 builtin and then its argument prototype would still apply. */
57191 char $ac_func ();
57192 /* The GNU C library defines this for functions which it implements
57193 to always fail with ENOSYS. Some functions are actually named
57194 something starting with __ and the normal name is an alias. */
57195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57196 choke me
57197 #else
57198 char (*f) () = $ac_func;
57199 #endif
57200 #ifdef __cplusplus
57202 #endif
57205 main ()
57207 return f != $ac_func;
57209 return 0;
57211 _ACEOF
57212 rm -f conftest.$ac_objext conftest$ac_exeext
57213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57214 (eval $ac_link) 2>conftest.er1
57215 ac_status=$?
57216 grep -v '^ *+' conftest.er1 >conftest.err
57217 rm -f conftest.er1
57218 cat conftest.err >&5
57219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57220 (exit $ac_status); } &&
57221 { ac_try='test -z "$ac_c_werror_flag"
57222 || test ! -s conftest.err'
57223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57224 (eval $ac_try) 2>&5
57225 ac_status=$?
57226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57227 (exit $ac_status); }; } &&
57228 { ac_try='test -s conftest$ac_exeext'
57229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57230 (eval $ac_try) 2>&5
57231 ac_status=$?
57232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57233 (exit $ac_status); }; }; then
57234 eval "$as_ac_var=yes"
57235 else
57236 echo "$as_me: failed program was:" >&5
57237 sed 's/^/| /' conftest.$ac_ext >&5
57239 eval "$as_ac_var=no"
57241 rm -f conftest.err conftest.$ac_objext \
57242 conftest$ac_exeext conftest.$ac_ext
57244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57246 if test `eval echo '${'$as_ac_var'}'` = yes; then
57247 cat >>confdefs.h <<_ACEOF
57248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57249 _ACEOF
57252 done
57254 else
57256 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57257 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57258 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57259 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57260 echo $ECHO_N "(cached) $ECHO_C" >&6
57261 else
57265 ac_ext=cc
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57271 cat >conftest.$ac_ext <<_ACEOF
57272 /* confdefs.h. */
57273 _ACEOF
57274 cat confdefs.h >>conftest.$ac_ext
57275 cat >>conftest.$ac_ext <<_ACEOF
57276 /* end confdefs.h. */
57277 #include <math.h>
57279 main ()
57281 _hypot(0, 0);
57283 return 0;
57285 _ACEOF
57286 rm -f conftest.$ac_objext
57287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57288 (eval $ac_compile) 2>conftest.er1
57289 ac_status=$?
57290 grep -v '^ *+' conftest.er1 >conftest.err
57291 rm -f conftest.er1
57292 cat conftest.err >&5
57293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57294 (exit $ac_status); } &&
57295 { ac_try='test -z "$ac_cxx_werror_flag"
57296 || test ! -s conftest.err'
57297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57298 (eval $ac_try) 2>&5
57299 ac_status=$?
57300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57301 (exit $ac_status); }; } &&
57302 { ac_try='test -s conftest.$ac_objext'
57303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57304 (eval $ac_try) 2>&5
57305 ac_status=$?
57306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307 (exit $ac_status); }; }; then
57308 glibcxx_cv_func__hypot_use=yes
57309 else
57310 echo "$as_me: failed program was:" >&5
57311 sed 's/^/| /' conftest.$ac_ext >&5
57313 glibcxx_cv_func__hypot_use=no
57315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57316 ac_ext=c
57317 ac_cpp='$CPP $CPPFLAGS'
57318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57326 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57327 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57329 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57331 for ac_func in _hypot
57333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57334 echo "$as_me:$LINENO: checking for $ac_func" >&5
57335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57336 if eval "test \"\${$as_ac_var+set}\" = set"; then
57337 echo $ECHO_N "(cached) $ECHO_C" >&6
57338 else
57339 if test x$gcc_no_link = xyes; then
57340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57342 { (exit 1); exit 1; }; }
57344 cat >conftest.$ac_ext <<_ACEOF
57345 /* confdefs.h. */
57346 _ACEOF
57347 cat confdefs.h >>conftest.$ac_ext
57348 cat >>conftest.$ac_ext <<_ACEOF
57349 /* end confdefs.h. */
57350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57352 #define $ac_func innocuous_$ac_func
57354 /* System header to define __stub macros and hopefully few prototypes,
57355 which can conflict with char $ac_func (); below.
57356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57357 <limits.h> exists even on freestanding compilers. */
57359 #ifdef __STDC__
57360 # include <limits.h>
57361 #else
57362 # include <assert.h>
57363 #endif
57365 #undef $ac_func
57367 /* Override any gcc2 internal prototype to avoid an error. */
57368 #ifdef __cplusplus
57369 extern "C"
57371 #endif
57372 /* We use char because int might match the return type of a gcc2
57373 builtin and then its argument prototype would still apply. */
57374 char $ac_func ();
57375 /* The GNU C library defines this for functions which it implements
57376 to always fail with ENOSYS. Some functions are actually named
57377 something starting with __ and the normal name is an alias. */
57378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57379 choke me
57380 #else
57381 char (*f) () = $ac_func;
57382 #endif
57383 #ifdef __cplusplus
57385 #endif
57388 main ()
57390 return f != $ac_func;
57392 return 0;
57394 _ACEOF
57395 rm -f conftest.$ac_objext conftest$ac_exeext
57396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57397 (eval $ac_link) 2>conftest.er1
57398 ac_status=$?
57399 grep -v '^ *+' conftest.er1 >conftest.err
57400 rm -f conftest.er1
57401 cat conftest.err >&5
57402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57403 (exit $ac_status); } &&
57404 { ac_try='test -z "$ac_c_werror_flag"
57405 || test ! -s conftest.err'
57406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57407 (eval $ac_try) 2>&5
57408 ac_status=$?
57409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57410 (exit $ac_status); }; } &&
57411 { ac_try='test -s conftest$ac_exeext'
57412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57413 (eval $ac_try) 2>&5
57414 ac_status=$?
57415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57416 (exit $ac_status); }; }; then
57417 eval "$as_ac_var=yes"
57418 else
57419 echo "$as_me: failed program was:" >&5
57420 sed 's/^/| /' conftest.$ac_ext >&5
57422 eval "$as_ac_var=no"
57424 rm -f conftest.err conftest.$ac_objext \
57425 conftest$ac_exeext conftest.$ac_ext
57427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57429 if test `eval echo '${'$as_ac_var'}'` = yes; then
57430 cat >>confdefs.h <<_ACEOF
57431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57432 _ACEOF
57435 done
57445 echo "$as_me:$LINENO: checking for float trig functions" >&5
57446 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57447 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57448 echo $ECHO_N "(cached) $ECHO_C" >&6
57449 else
57453 ac_ext=cc
57454 ac_cpp='$CXXCPP $CPPFLAGS'
57455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57459 cat >conftest.$ac_ext <<_ACEOF
57460 /* confdefs.h. */
57461 _ACEOF
57462 cat confdefs.h >>conftest.$ac_ext
57463 cat >>conftest.$ac_ext <<_ACEOF
57464 /* end confdefs.h. */
57465 #include <math.h>
57467 main ()
57469 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57471 return 0;
57473 _ACEOF
57474 rm -f conftest.$ac_objext
57475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57476 (eval $ac_compile) 2>conftest.er1
57477 ac_status=$?
57478 grep -v '^ *+' conftest.er1 >conftest.err
57479 rm -f conftest.er1
57480 cat conftest.err >&5
57481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57482 (exit $ac_status); } &&
57483 { ac_try='test -z "$ac_cxx_werror_flag"
57484 || test ! -s conftest.err'
57485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57486 (eval $ac_try) 2>&5
57487 ac_status=$?
57488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57489 (exit $ac_status); }; } &&
57490 { ac_try='test -s conftest.$ac_objext'
57491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57492 (eval $ac_try) 2>&5
57493 ac_status=$?
57494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57495 (exit $ac_status); }; }; then
57496 glibcxx_cv_func_float_trig_use=yes
57497 else
57498 echo "$as_me: failed program was:" >&5
57499 sed 's/^/| /' conftest.$ac_ext >&5
57501 glibcxx_cv_func_float_trig_use=no
57503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57504 ac_ext=c
57505 ac_cpp='$CPP $CPPFLAGS'
57506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57513 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57514 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57524 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57527 echo "$as_me:$LINENO: checking for $ac_func" >&5
57528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57529 if eval "test \"\${$as_ac_var+set}\" = set"; then
57530 echo $ECHO_N "(cached) $ECHO_C" >&6
57531 else
57532 if test x$gcc_no_link = xyes; then
57533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57535 { (exit 1); exit 1; }; }
57537 cat >conftest.$ac_ext <<_ACEOF
57538 /* confdefs.h. */
57539 _ACEOF
57540 cat confdefs.h >>conftest.$ac_ext
57541 cat >>conftest.$ac_ext <<_ACEOF
57542 /* end confdefs.h. */
57543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57545 #define $ac_func innocuous_$ac_func
57547 /* System header to define __stub macros and hopefully few prototypes,
57548 which can conflict with char $ac_func (); below.
57549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57550 <limits.h> exists even on freestanding compilers. */
57552 #ifdef __STDC__
57553 # include <limits.h>
57554 #else
57555 # include <assert.h>
57556 #endif
57558 #undef $ac_func
57560 /* Override any gcc2 internal prototype to avoid an error. */
57561 #ifdef __cplusplus
57562 extern "C"
57564 #endif
57565 /* We use char because int might match the return type of a gcc2
57566 builtin and then its argument prototype would still apply. */
57567 char $ac_func ();
57568 /* The GNU C library defines this for functions which it implements
57569 to always fail with ENOSYS. Some functions are actually named
57570 something starting with __ and the normal name is an alias. */
57571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57572 choke me
57573 #else
57574 char (*f) () = $ac_func;
57575 #endif
57576 #ifdef __cplusplus
57578 #endif
57581 main ()
57583 return f != $ac_func;
57585 return 0;
57587 _ACEOF
57588 rm -f conftest.$ac_objext conftest$ac_exeext
57589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57590 (eval $ac_link) 2>conftest.er1
57591 ac_status=$?
57592 grep -v '^ *+' conftest.er1 >conftest.err
57593 rm -f conftest.er1
57594 cat conftest.err >&5
57595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57596 (exit $ac_status); } &&
57597 { ac_try='test -z "$ac_c_werror_flag"
57598 || test ! -s conftest.err'
57599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57600 (eval $ac_try) 2>&5
57601 ac_status=$?
57602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57603 (exit $ac_status); }; } &&
57604 { ac_try='test -s conftest$ac_exeext'
57605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57606 (eval $ac_try) 2>&5
57607 ac_status=$?
57608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57609 (exit $ac_status); }; }; then
57610 eval "$as_ac_var=yes"
57611 else
57612 echo "$as_me: failed program was:" >&5
57613 sed 's/^/| /' conftest.$ac_ext >&5
57615 eval "$as_ac_var=no"
57617 rm -f conftest.err conftest.$ac_objext \
57618 conftest$ac_exeext conftest.$ac_ext
57620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57622 if test `eval echo '${'$as_ac_var'}'` = yes; then
57623 cat >>confdefs.h <<_ACEOF
57624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57625 _ACEOF
57628 done
57630 else
57631 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57632 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57633 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57634 echo $ECHO_N "(cached) $ECHO_C" >&6
57635 else
57639 ac_ext=cc
57640 ac_cpp='$CXXCPP $CPPFLAGS'
57641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57645 cat >conftest.$ac_ext <<_ACEOF
57646 /* confdefs.h. */
57647 _ACEOF
57648 cat confdefs.h >>conftest.$ac_ext
57649 cat >>conftest.$ac_ext <<_ACEOF
57650 /* end confdefs.h. */
57651 #include <math.h>
57653 main ()
57655 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57657 return 0;
57659 _ACEOF
57660 rm -f conftest.$ac_objext
57661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57662 (eval $ac_compile) 2>conftest.er1
57663 ac_status=$?
57664 grep -v '^ *+' conftest.er1 >conftest.err
57665 rm -f conftest.er1
57666 cat conftest.err >&5
57667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57668 (exit $ac_status); } &&
57669 { ac_try='test -z "$ac_cxx_werror_flag"
57670 || test ! -s conftest.err'
57671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57672 (eval $ac_try) 2>&5
57673 ac_status=$?
57674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57675 (exit $ac_status); }; } &&
57676 { ac_try='test -s conftest.$ac_objext'
57677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57678 (eval $ac_try) 2>&5
57679 ac_status=$?
57680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57681 (exit $ac_status); }; }; then
57682 glibcxx_cv_func__float_trig_use=yes
57683 else
57684 echo "$as_me: failed program was:" >&5
57685 sed 's/^/| /' conftest.$ac_ext >&5
57687 glibcxx_cv_func__float_trig_use=no
57689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57690 ac_ext=c
57691 ac_cpp='$CPP $CPPFLAGS'
57692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57698 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57699 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57700 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57710 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57713 echo "$as_me:$LINENO: checking for $ac_func" >&5
57714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57715 if eval "test \"\${$as_ac_var+set}\" = set"; then
57716 echo $ECHO_N "(cached) $ECHO_C" >&6
57717 else
57718 if test x$gcc_no_link = xyes; then
57719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57721 { (exit 1); exit 1; }; }
57723 cat >conftest.$ac_ext <<_ACEOF
57724 /* confdefs.h. */
57725 _ACEOF
57726 cat confdefs.h >>conftest.$ac_ext
57727 cat >>conftest.$ac_ext <<_ACEOF
57728 /* end confdefs.h. */
57729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57731 #define $ac_func innocuous_$ac_func
57733 /* System header to define __stub macros and hopefully few prototypes,
57734 which can conflict with char $ac_func (); below.
57735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57736 <limits.h> exists even on freestanding compilers. */
57738 #ifdef __STDC__
57739 # include <limits.h>
57740 #else
57741 # include <assert.h>
57742 #endif
57744 #undef $ac_func
57746 /* Override any gcc2 internal prototype to avoid an error. */
57747 #ifdef __cplusplus
57748 extern "C"
57750 #endif
57751 /* We use char because int might match the return type of a gcc2
57752 builtin and then its argument prototype would still apply. */
57753 char $ac_func ();
57754 /* The GNU C library defines this for functions which it implements
57755 to always fail with ENOSYS. Some functions are actually named
57756 something starting with __ and the normal name is an alias. */
57757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57758 choke me
57759 #else
57760 char (*f) () = $ac_func;
57761 #endif
57762 #ifdef __cplusplus
57764 #endif
57767 main ()
57769 return f != $ac_func;
57771 return 0;
57773 _ACEOF
57774 rm -f conftest.$ac_objext conftest$ac_exeext
57775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57776 (eval $ac_link) 2>conftest.er1
57777 ac_status=$?
57778 grep -v '^ *+' conftest.er1 >conftest.err
57779 rm -f conftest.er1
57780 cat conftest.err >&5
57781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57782 (exit $ac_status); } &&
57783 { ac_try='test -z "$ac_c_werror_flag"
57784 || test ! -s conftest.err'
57785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57786 (eval $ac_try) 2>&5
57787 ac_status=$?
57788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57789 (exit $ac_status); }; } &&
57790 { ac_try='test -s conftest$ac_exeext'
57791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57792 (eval $ac_try) 2>&5
57793 ac_status=$?
57794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57795 (exit $ac_status); }; }; then
57796 eval "$as_ac_var=yes"
57797 else
57798 echo "$as_me: failed program was:" >&5
57799 sed 's/^/| /' conftest.$ac_ext >&5
57801 eval "$as_ac_var=no"
57803 rm -f conftest.err conftest.$ac_objext \
57804 conftest$ac_exeext conftest.$ac_ext
57806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57808 if test `eval echo '${'$as_ac_var'}'` = yes; then
57809 cat >>confdefs.h <<_ACEOF
57810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57811 _ACEOF
57814 done
57832 echo "$as_me:$LINENO: checking for float round functions" >&5
57833 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57834 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57835 echo $ECHO_N "(cached) $ECHO_C" >&6
57836 else
57840 ac_ext=cc
57841 ac_cpp='$CXXCPP $CPPFLAGS'
57842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57846 cat >conftest.$ac_ext <<_ACEOF
57847 /* confdefs.h. */
57848 _ACEOF
57849 cat confdefs.h >>conftest.$ac_ext
57850 cat >>conftest.$ac_ext <<_ACEOF
57851 /* end confdefs.h. */
57852 #include <math.h>
57854 main ()
57856 ceilf (0); floorf (0);
57858 return 0;
57860 _ACEOF
57861 rm -f conftest.$ac_objext
57862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57863 (eval $ac_compile) 2>conftest.er1
57864 ac_status=$?
57865 grep -v '^ *+' conftest.er1 >conftest.err
57866 rm -f conftest.er1
57867 cat conftest.err >&5
57868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57869 (exit $ac_status); } &&
57870 { ac_try='test -z "$ac_cxx_werror_flag"
57871 || test ! -s conftest.err'
57872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57873 (eval $ac_try) 2>&5
57874 ac_status=$?
57875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57876 (exit $ac_status); }; } &&
57877 { ac_try='test -s conftest.$ac_objext'
57878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57879 (eval $ac_try) 2>&5
57880 ac_status=$?
57881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57882 (exit $ac_status); }; }; then
57883 glibcxx_cv_func_float_round_use=yes
57884 else
57885 echo "$as_me: failed program was:" >&5
57886 sed 's/^/| /' conftest.$ac_ext >&5
57888 glibcxx_cv_func_float_round_use=no
57890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57891 ac_ext=c
57892 ac_cpp='$CPP $CPPFLAGS'
57893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57899 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57900 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57901 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57904 for ac_func in ceilf floorf
57906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57907 echo "$as_me:$LINENO: checking for $ac_func" >&5
57908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57909 if eval "test \"\${$as_ac_var+set}\" = set"; then
57910 echo $ECHO_N "(cached) $ECHO_C" >&6
57911 else
57912 if test x$gcc_no_link = xyes; then
57913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57915 { (exit 1); exit 1; }; }
57917 cat >conftest.$ac_ext <<_ACEOF
57918 /* confdefs.h. */
57919 _ACEOF
57920 cat confdefs.h >>conftest.$ac_ext
57921 cat >>conftest.$ac_ext <<_ACEOF
57922 /* end confdefs.h. */
57923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57925 #define $ac_func innocuous_$ac_func
57927 /* System header to define __stub macros and hopefully few prototypes,
57928 which can conflict with char $ac_func (); below.
57929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57930 <limits.h> exists even on freestanding compilers. */
57932 #ifdef __STDC__
57933 # include <limits.h>
57934 #else
57935 # include <assert.h>
57936 #endif
57938 #undef $ac_func
57940 /* Override any gcc2 internal prototype to avoid an error. */
57941 #ifdef __cplusplus
57942 extern "C"
57944 #endif
57945 /* We use char because int might match the return type of a gcc2
57946 builtin and then its argument prototype would still apply. */
57947 char $ac_func ();
57948 /* The GNU C library defines this for functions which it implements
57949 to always fail with ENOSYS. Some functions are actually named
57950 something starting with __ and the normal name is an alias. */
57951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57952 choke me
57953 #else
57954 char (*f) () = $ac_func;
57955 #endif
57956 #ifdef __cplusplus
57958 #endif
57961 main ()
57963 return f != $ac_func;
57965 return 0;
57967 _ACEOF
57968 rm -f conftest.$ac_objext conftest$ac_exeext
57969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57970 (eval $ac_link) 2>conftest.er1
57971 ac_status=$?
57972 grep -v '^ *+' conftest.er1 >conftest.err
57973 rm -f conftest.er1
57974 cat conftest.err >&5
57975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57976 (exit $ac_status); } &&
57977 { ac_try='test -z "$ac_c_werror_flag"
57978 || test ! -s conftest.err'
57979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57980 (eval $ac_try) 2>&5
57981 ac_status=$?
57982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57983 (exit $ac_status); }; } &&
57984 { ac_try='test -s conftest$ac_exeext'
57985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57986 (eval $ac_try) 2>&5
57987 ac_status=$?
57988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57989 (exit $ac_status); }; }; then
57990 eval "$as_ac_var=yes"
57991 else
57992 echo "$as_me: failed program was:" >&5
57993 sed 's/^/| /' conftest.$ac_ext >&5
57995 eval "$as_ac_var=no"
57997 rm -f conftest.err conftest.$ac_objext \
57998 conftest$ac_exeext conftest.$ac_ext
58000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58002 if test `eval echo '${'$as_ac_var'}'` = yes; then
58003 cat >>confdefs.h <<_ACEOF
58004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58005 _ACEOF
58008 done
58010 else
58011 echo "$as_me:$LINENO: checking for _float round functions" >&5
58012 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58013 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58014 echo $ECHO_N "(cached) $ECHO_C" >&6
58015 else
58019 ac_ext=cc
58020 ac_cpp='$CXXCPP $CPPFLAGS'
58021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58025 cat >conftest.$ac_ext <<_ACEOF
58026 /* confdefs.h. */
58027 _ACEOF
58028 cat confdefs.h >>conftest.$ac_ext
58029 cat >>conftest.$ac_ext <<_ACEOF
58030 /* end confdefs.h. */
58031 #include <math.h>
58033 main ()
58035 _ceilf (0); _floorf (0);
58037 return 0;
58039 _ACEOF
58040 rm -f conftest.$ac_objext
58041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58042 (eval $ac_compile) 2>conftest.er1
58043 ac_status=$?
58044 grep -v '^ *+' conftest.er1 >conftest.err
58045 rm -f conftest.er1
58046 cat conftest.err >&5
58047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58048 (exit $ac_status); } &&
58049 { ac_try='test -z "$ac_cxx_werror_flag"
58050 || test ! -s conftest.err'
58051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58052 (eval $ac_try) 2>&5
58053 ac_status=$?
58054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58055 (exit $ac_status); }; } &&
58056 { ac_try='test -s conftest.$ac_objext'
58057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58058 (eval $ac_try) 2>&5
58059 ac_status=$?
58060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58061 (exit $ac_status); }; }; then
58062 glibcxx_cv_func__float_round_use=yes
58063 else
58064 echo "$as_me: failed program was:" >&5
58065 sed 's/^/| /' conftest.$ac_ext >&5
58067 glibcxx_cv_func__float_round_use=no
58069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58070 ac_ext=c
58071 ac_cpp='$CPP $CPPFLAGS'
58072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58079 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58080 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58083 for ac_func in _ceilf _floorf
58085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58086 echo "$as_me:$LINENO: checking for $ac_func" >&5
58087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58088 if eval "test \"\${$as_ac_var+set}\" = set"; then
58089 echo $ECHO_N "(cached) $ECHO_C" >&6
58090 else
58091 if test x$gcc_no_link = xyes; then
58092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58094 { (exit 1); exit 1; }; }
58096 cat >conftest.$ac_ext <<_ACEOF
58097 /* confdefs.h. */
58098 _ACEOF
58099 cat confdefs.h >>conftest.$ac_ext
58100 cat >>conftest.$ac_ext <<_ACEOF
58101 /* end confdefs.h. */
58102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58104 #define $ac_func innocuous_$ac_func
58106 /* System header to define __stub macros and hopefully few prototypes,
58107 which can conflict with char $ac_func (); below.
58108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58109 <limits.h> exists even on freestanding compilers. */
58111 #ifdef __STDC__
58112 # include <limits.h>
58113 #else
58114 # include <assert.h>
58115 #endif
58117 #undef $ac_func
58119 /* Override any gcc2 internal prototype to avoid an error. */
58120 #ifdef __cplusplus
58121 extern "C"
58123 #endif
58124 /* We use char because int might match the return type of a gcc2
58125 builtin and then its argument prototype would still apply. */
58126 char $ac_func ();
58127 /* The GNU C library defines this for functions which it implements
58128 to always fail with ENOSYS. Some functions are actually named
58129 something starting with __ and the normal name is an alias. */
58130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58131 choke me
58132 #else
58133 char (*f) () = $ac_func;
58134 #endif
58135 #ifdef __cplusplus
58137 #endif
58140 main ()
58142 return f != $ac_func;
58144 return 0;
58146 _ACEOF
58147 rm -f conftest.$ac_objext conftest$ac_exeext
58148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58149 (eval $ac_link) 2>conftest.er1
58150 ac_status=$?
58151 grep -v '^ *+' conftest.er1 >conftest.err
58152 rm -f conftest.er1
58153 cat conftest.err >&5
58154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58155 (exit $ac_status); } &&
58156 { ac_try='test -z "$ac_c_werror_flag"
58157 || test ! -s conftest.err'
58158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58159 (eval $ac_try) 2>&5
58160 ac_status=$?
58161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58162 (exit $ac_status); }; } &&
58163 { ac_try='test -s conftest$ac_exeext'
58164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58165 (eval $ac_try) 2>&5
58166 ac_status=$?
58167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58168 (exit $ac_status); }; }; then
58169 eval "$as_ac_var=yes"
58170 else
58171 echo "$as_me: failed program was:" >&5
58172 sed 's/^/| /' conftest.$ac_ext >&5
58174 eval "$as_ac_var=no"
58176 rm -f conftest.err conftest.$ac_objext \
58177 conftest$ac_exeext conftest.$ac_ext
58179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58181 if test `eval echo '${'$as_ac_var'}'` = yes; then
58182 cat >>confdefs.h <<_ACEOF
58183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58184 _ACEOF
58187 done
58199 echo "$as_me:$LINENO: checking for expf declaration" >&5
58200 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58201 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58202 if test "${glibcxx_cv_func_expf_use+set}" = set; then
58203 echo $ECHO_N "(cached) $ECHO_C" >&6
58204 else
58208 ac_ext=cc
58209 ac_cpp='$CXXCPP $CPPFLAGS'
58210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58214 cat >conftest.$ac_ext <<_ACEOF
58215 /* confdefs.h. */
58216 _ACEOF
58217 cat confdefs.h >>conftest.$ac_ext
58218 cat >>conftest.$ac_ext <<_ACEOF
58219 /* end confdefs.h. */
58220 #include <math.h>
58221 #ifdef HAVE_IEEEFP_H
58222 #include <ieeefp.h>
58223 #endif
58226 main ()
58228 expf(0);
58230 return 0;
58232 _ACEOF
58233 rm -f conftest.$ac_objext
58234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58235 (eval $ac_compile) 2>conftest.er1
58236 ac_status=$?
58237 grep -v '^ *+' conftest.er1 >conftest.err
58238 rm -f conftest.er1
58239 cat conftest.err >&5
58240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58241 (exit $ac_status); } &&
58242 { ac_try='test -z "$ac_cxx_werror_flag"
58243 || test ! -s conftest.err'
58244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58245 (eval $ac_try) 2>&5
58246 ac_status=$?
58247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58248 (exit $ac_status); }; } &&
58249 { ac_try='test -s conftest.$ac_objext'
58250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58251 (eval $ac_try) 2>&5
58252 ac_status=$?
58253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58254 (exit $ac_status); }; }; then
58255 glibcxx_cv_func_expf_use=yes
58256 else
58257 echo "$as_me: failed program was:" >&5
58258 sed 's/^/| /' conftest.$ac_ext >&5
58260 glibcxx_cv_func_expf_use=no
58262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58263 ac_ext=c
58264 ac_cpp='$CPP $CPPFLAGS'
58265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58274 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58276 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58278 for ac_func in expf
58280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58281 echo "$as_me:$LINENO: checking for $ac_func" >&5
58282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58283 if eval "test \"\${$as_ac_var+set}\" = set"; then
58284 echo $ECHO_N "(cached) $ECHO_C" >&6
58285 else
58286 if test x$gcc_no_link = xyes; then
58287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58289 { (exit 1); exit 1; }; }
58291 cat >conftest.$ac_ext <<_ACEOF
58292 /* confdefs.h. */
58293 _ACEOF
58294 cat confdefs.h >>conftest.$ac_ext
58295 cat >>conftest.$ac_ext <<_ACEOF
58296 /* end confdefs.h. */
58297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58299 #define $ac_func innocuous_$ac_func
58301 /* System header to define __stub macros and hopefully few prototypes,
58302 which can conflict with char $ac_func (); below.
58303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58304 <limits.h> exists even on freestanding compilers. */
58306 #ifdef __STDC__
58307 # include <limits.h>
58308 #else
58309 # include <assert.h>
58310 #endif
58312 #undef $ac_func
58314 /* Override any gcc2 internal prototype to avoid an error. */
58315 #ifdef __cplusplus
58316 extern "C"
58318 #endif
58319 /* We use char because int might match the return type of a gcc2
58320 builtin and then its argument prototype would still apply. */
58321 char $ac_func ();
58322 /* The GNU C library defines this for functions which it implements
58323 to always fail with ENOSYS. Some functions are actually named
58324 something starting with __ and the normal name is an alias. */
58325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58326 choke me
58327 #else
58328 char (*f) () = $ac_func;
58329 #endif
58330 #ifdef __cplusplus
58332 #endif
58335 main ()
58337 return f != $ac_func;
58339 return 0;
58341 _ACEOF
58342 rm -f conftest.$ac_objext conftest$ac_exeext
58343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58344 (eval $ac_link) 2>conftest.er1
58345 ac_status=$?
58346 grep -v '^ *+' conftest.er1 >conftest.err
58347 rm -f conftest.er1
58348 cat conftest.err >&5
58349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58350 (exit $ac_status); } &&
58351 { ac_try='test -z "$ac_c_werror_flag"
58352 || test ! -s conftest.err'
58353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58354 (eval $ac_try) 2>&5
58355 ac_status=$?
58356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58357 (exit $ac_status); }; } &&
58358 { ac_try='test -s conftest$ac_exeext'
58359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58360 (eval $ac_try) 2>&5
58361 ac_status=$?
58362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58363 (exit $ac_status); }; }; then
58364 eval "$as_ac_var=yes"
58365 else
58366 echo "$as_me: failed program was:" >&5
58367 sed 's/^/| /' conftest.$ac_ext >&5
58369 eval "$as_ac_var=no"
58371 rm -f conftest.err conftest.$ac_objext \
58372 conftest$ac_exeext conftest.$ac_ext
58374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58376 if test `eval echo '${'$as_ac_var'}'` = yes; then
58377 cat >>confdefs.h <<_ACEOF
58378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58379 _ACEOF
58382 done
58384 else
58386 echo "$as_me:$LINENO: checking for _expf declaration" >&5
58387 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58388 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58389 if test "${glibcxx_cv_func__expf_use+set}" = set; then
58390 echo $ECHO_N "(cached) $ECHO_C" >&6
58391 else
58395 ac_ext=cc
58396 ac_cpp='$CXXCPP $CPPFLAGS'
58397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58401 cat >conftest.$ac_ext <<_ACEOF
58402 /* confdefs.h. */
58403 _ACEOF
58404 cat confdefs.h >>conftest.$ac_ext
58405 cat >>conftest.$ac_ext <<_ACEOF
58406 /* end confdefs.h. */
58407 #include <math.h>
58408 #ifdef HAVE_IEEEFP_H
58409 #include <ieeefp.h>
58410 #endif
58413 main ()
58415 _expf(0);
58417 return 0;
58419 _ACEOF
58420 rm -f conftest.$ac_objext
58421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58422 (eval $ac_compile) 2>conftest.er1
58423 ac_status=$?
58424 grep -v '^ *+' conftest.er1 >conftest.err
58425 rm -f conftest.er1
58426 cat conftest.err >&5
58427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58428 (exit $ac_status); } &&
58429 { ac_try='test -z "$ac_cxx_werror_flag"
58430 || test ! -s conftest.err'
58431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58432 (eval $ac_try) 2>&5
58433 ac_status=$?
58434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58435 (exit $ac_status); }; } &&
58436 { ac_try='test -s conftest.$ac_objext'
58437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58438 (eval $ac_try) 2>&5
58439 ac_status=$?
58440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58441 (exit $ac_status); }; }; then
58442 glibcxx_cv_func__expf_use=yes
58443 else
58444 echo "$as_me: failed program was:" >&5
58445 sed 's/^/| /' conftest.$ac_ext >&5
58447 glibcxx_cv_func__expf_use=no
58449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58450 ac_ext=c
58451 ac_cpp='$CPP $CPPFLAGS'
58452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58460 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58461 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58463 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58465 for ac_func in _expf
58467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58468 echo "$as_me:$LINENO: checking for $ac_func" >&5
58469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58470 if eval "test \"\${$as_ac_var+set}\" = set"; then
58471 echo $ECHO_N "(cached) $ECHO_C" >&6
58472 else
58473 if test x$gcc_no_link = xyes; then
58474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58476 { (exit 1); exit 1; }; }
58478 cat >conftest.$ac_ext <<_ACEOF
58479 /* confdefs.h. */
58480 _ACEOF
58481 cat confdefs.h >>conftest.$ac_ext
58482 cat >>conftest.$ac_ext <<_ACEOF
58483 /* end confdefs.h. */
58484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58486 #define $ac_func innocuous_$ac_func
58488 /* System header to define __stub macros and hopefully few prototypes,
58489 which can conflict with char $ac_func (); below.
58490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58491 <limits.h> exists even on freestanding compilers. */
58493 #ifdef __STDC__
58494 # include <limits.h>
58495 #else
58496 # include <assert.h>
58497 #endif
58499 #undef $ac_func
58501 /* Override any gcc2 internal prototype to avoid an error. */
58502 #ifdef __cplusplus
58503 extern "C"
58505 #endif
58506 /* We use char because int might match the return type of a gcc2
58507 builtin and then its argument prototype would still apply. */
58508 char $ac_func ();
58509 /* The GNU C library defines this for functions which it implements
58510 to always fail with ENOSYS. Some functions are actually named
58511 something starting with __ and the normal name is an alias. */
58512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58513 choke me
58514 #else
58515 char (*f) () = $ac_func;
58516 #endif
58517 #ifdef __cplusplus
58519 #endif
58522 main ()
58524 return f != $ac_func;
58526 return 0;
58528 _ACEOF
58529 rm -f conftest.$ac_objext conftest$ac_exeext
58530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58531 (eval $ac_link) 2>conftest.er1
58532 ac_status=$?
58533 grep -v '^ *+' conftest.er1 >conftest.err
58534 rm -f conftest.er1
58535 cat conftest.err >&5
58536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58537 (exit $ac_status); } &&
58538 { ac_try='test -z "$ac_c_werror_flag"
58539 || test ! -s conftest.err'
58540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58541 (eval $ac_try) 2>&5
58542 ac_status=$?
58543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58544 (exit $ac_status); }; } &&
58545 { ac_try='test -s conftest$ac_exeext'
58546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58547 (eval $ac_try) 2>&5
58548 ac_status=$?
58549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58550 (exit $ac_status); }; }; then
58551 eval "$as_ac_var=yes"
58552 else
58553 echo "$as_me: failed program was:" >&5
58554 sed 's/^/| /' conftest.$ac_ext >&5
58556 eval "$as_ac_var=no"
58558 rm -f conftest.err conftest.$ac_objext \
58559 conftest$ac_exeext conftest.$ac_ext
58561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58563 if test `eval echo '${'$as_ac_var'}'` = yes; then
58564 cat >>confdefs.h <<_ACEOF
58565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58566 _ACEOF
58569 done
58579 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58580 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58581 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58582 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58583 echo $ECHO_N "(cached) $ECHO_C" >&6
58584 else
58588 ac_ext=cc
58589 ac_cpp='$CXXCPP $CPPFLAGS'
58590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58594 cat >conftest.$ac_ext <<_ACEOF
58595 /* confdefs.h. */
58596 _ACEOF
58597 cat confdefs.h >>conftest.$ac_ext
58598 cat >>conftest.$ac_ext <<_ACEOF
58599 /* end confdefs.h. */
58600 #include <math.h>
58601 #ifdef HAVE_IEEEFP_H
58602 #include <ieeefp.h>
58603 #endif
58606 main ()
58608 isnanf(0);
58610 return 0;
58612 _ACEOF
58613 rm -f conftest.$ac_objext
58614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58615 (eval $ac_compile) 2>conftest.er1
58616 ac_status=$?
58617 grep -v '^ *+' conftest.er1 >conftest.err
58618 rm -f conftest.er1
58619 cat conftest.err >&5
58620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58621 (exit $ac_status); } &&
58622 { ac_try='test -z "$ac_cxx_werror_flag"
58623 || test ! -s conftest.err'
58624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58625 (eval $ac_try) 2>&5
58626 ac_status=$?
58627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58628 (exit $ac_status); }; } &&
58629 { ac_try='test -s conftest.$ac_objext'
58630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58631 (eval $ac_try) 2>&5
58632 ac_status=$?
58633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58634 (exit $ac_status); }; }; then
58635 glibcxx_cv_func_isnanf_use=yes
58636 else
58637 echo "$as_me: failed program was:" >&5
58638 sed 's/^/| /' conftest.$ac_ext >&5
58640 glibcxx_cv_func_isnanf_use=no
58642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58643 ac_ext=c
58644 ac_cpp='$CPP $CPPFLAGS'
58645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58654 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58656 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58658 for ac_func in isnanf
58660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58661 echo "$as_me:$LINENO: checking for $ac_func" >&5
58662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58663 if eval "test \"\${$as_ac_var+set}\" = set"; then
58664 echo $ECHO_N "(cached) $ECHO_C" >&6
58665 else
58666 if test x$gcc_no_link = xyes; then
58667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58669 { (exit 1); exit 1; }; }
58671 cat >conftest.$ac_ext <<_ACEOF
58672 /* confdefs.h. */
58673 _ACEOF
58674 cat confdefs.h >>conftest.$ac_ext
58675 cat >>conftest.$ac_ext <<_ACEOF
58676 /* end confdefs.h. */
58677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58679 #define $ac_func innocuous_$ac_func
58681 /* System header to define __stub macros and hopefully few prototypes,
58682 which can conflict with char $ac_func (); below.
58683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58684 <limits.h> exists even on freestanding compilers. */
58686 #ifdef __STDC__
58687 # include <limits.h>
58688 #else
58689 # include <assert.h>
58690 #endif
58692 #undef $ac_func
58694 /* Override any gcc2 internal prototype to avoid an error. */
58695 #ifdef __cplusplus
58696 extern "C"
58698 #endif
58699 /* We use char because int might match the return type of a gcc2
58700 builtin and then its argument prototype would still apply. */
58701 char $ac_func ();
58702 /* The GNU C library defines this for functions which it implements
58703 to always fail with ENOSYS. Some functions are actually named
58704 something starting with __ and the normal name is an alias. */
58705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58706 choke me
58707 #else
58708 char (*f) () = $ac_func;
58709 #endif
58710 #ifdef __cplusplus
58712 #endif
58715 main ()
58717 return f != $ac_func;
58719 return 0;
58721 _ACEOF
58722 rm -f conftest.$ac_objext conftest$ac_exeext
58723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58724 (eval $ac_link) 2>conftest.er1
58725 ac_status=$?
58726 grep -v '^ *+' conftest.er1 >conftest.err
58727 rm -f conftest.er1
58728 cat conftest.err >&5
58729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58730 (exit $ac_status); } &&
58731 { ac_try='test -z "$ac_c_werror_flag"
58732 || test ! -s conftest.err'
58733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58734 (eval $ac_try) 2>&5
58735 ac_status=$?
58736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58737 (exit $ac_status); }; } &&
58738 { ac_try='test -s conftest$ac_exeext'
58739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58740 (eval $ac_try) 2>&5
58741 ac_status=$?
58742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58743 (exit $ac_status); }; }; then
58744 eval "$as_ac_var=yes"
58745 else
58746 echo "$as_me: failed program was:" >&5
58747 sed 's/^/| /' conftest.$ac_ext >&5
58749 eval "$as_ac_var=no"
58751 rm -f conftest.err conftest.$ac_objext \
58752 conftest$ac_exeext conftest.$ac_ext
58754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58756 if test `eval echo '${'$as_ac_var'}'` = yes; then
58757 cat >>confdefs.h <<_ACEOF
58758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58759 _ACEOF
58762 done
58764 else
58766 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58767 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58768 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58769 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58770 echo $ECHO_N "(cached) $ECHO_C" >&6
58771 else
58775 ac_ext=cc
58776 ac_cpp='$CXXCPP $CPPFLAGS'
58777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58781 cat >conftest.$ac_ext <<_ACEOF
58782 /* confdefs.h. */
58783 _ACEOF
58784 cat confdefs.h >>conftest.$ac_ext
58785 cat >>conftest.$ac_ext <<_ACEOF
58786 /* end confdefs.h. */
58787 #include <math.h>
58788 #ifdef HAVE_IEEEFP_H
58789 #include <ieeefp.h>
58790 #endif
58793 main ()
58795 _isnanf(0);
58797 return 0;
58799 _ACEOF
58800 rm -f conftest.$ac_objext
58801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58802 (eval $ac_compile) 2>conftest.er1
58803 ac_status=$?
58804 grep -v '^ *+' conftest.er1 >conftest.err
58805 rm -f conftest.er1
58806 cat conftest.err >&5
58807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58808 (exit $ac_status); } &&
58809 { ac_try='test -z "$ac_cxx_werror_flag"
58810 || test ! -s conftest.err'
58811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58812 (eval $ac_try) 2>&5
58813 ac_status=$?
58814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58815 (exit $ac_status); }; } &&
58816 { ac_try='test -s conftest.$ac_objext'
58817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58818 (eval $ac_try) 2>&5
58819 ac_status=$?
58820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58821 (exit $ac_status); }; }; then
58822 glibcxx_cv_func__isnanf_use=yes
58823 else
58824 echo "$as_me: failed program was:" >&5
58825 sed 's/^/| /' conftest.$ac_ext >&5
58827 glibcxx_cv_func__isnanf_use=no
58829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58830 ac_ext=c
58831 ac_cpp='$CPP $CPPFLAGS'
58832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58841 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58843 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58845 for ac_func in _isnanf
58847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58848 echo "$as_me:$LINENO: checking for $ac_func" >&5
58849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58850 if eval "test \"\${$as_ac_var+set}\" = set"; then
58851 echo $ECHO_N "(cached) $ECHO_C" >&6
58852 else
58853 if test x$gcc_no_link = xyes; then
58854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58856 { (exit 1); exit 1; }; }
58858 cat >conftest.$ac_ext <<_ACEOF
58859 /* confdefs.h. */
58860 _ACEOF
58861 cat confdefs.h >>conftest.$ac_ext
58862 cat >>conftest.$ac_ext <<_ACEOF
58863 /* end confdefs.h. */
58864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58866 #define $ac_func innocuous_$ac_func
58868 /* System header to define __stub macros and hopefully few prototypes,
58869 which can conflict with char $ac_func (); below.
58870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58871 <limits.h> exists even on freestanding compilers. */
58873 #ifdef __STDC__
58874 # include <limits.h>
58875 #else
58876 # include <assert.h>
58877 #endif
58879 #undef $ac_func
58881 /* Override any gcc2 internal prototype to avoid an error. */
58882 #ifdef __cplusplus
58883 extern "C"
58885 #endif
58886 /* We use char because int might match the return type of a gcc2
58887 builtin and then its argument prototype would still apply. */
58888 char $ac_func ();
58889 /* The GNU C library defines this for functions which it implements
58890 to always fail with ENOSYS. Some functions are actually named
58891 something starting with __ and the normal name is an alias. */
58892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58893 choke me
58894 #else
58895 char (*f) () = $ac_func;
58896 #endif
58897 #ifdef __cplusplus
58899 #endif
58902 main ()
58904 return f != $ac_func;
58906 return 0;
58908 _ACEOF
58909 rm -f conftest.$ac_objext conftest$ac_exeext
58910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58911 (eval $ac_link) 2>conftest.er1
58912 ac_status=$?
58913 grep -v '^ *+' conftest.er1 >conftest.err
58914 rm -f conftest.er1
58915 cat conftest.err >&5
58916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58917 (exit $ac_status); } &&
58918 { ac_try='test -z "$ac_c_werror_flag"
58919 || test ! -s conftest.err'
58920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58921 (eval $ac_try) 2>&5
58922 ac_status=$?
58923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58924 (exit $ac_status); }; } &&
58925 { ac_try='test -s conftest$ac_exeext'
58926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58927 (eval $ac_try) 2>&5
58928 ac_status=$?
58929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58930 (exit $ac_status); }; }; then
58931 eval "$as_ac_var=yes"
58932 else
58933 echo "$as_me: failed program was:" >&5
58934 sed 's/^/| /' conftest.$ac_ext >&5
58936 eval "$as_ac_var=no"
58938 rm -f conftest.err conftest.$ac_objext \
58939 conftest$ac_exeext conftest.$ac_ext
58941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58943 if test `eval echo '${'$as_ac_var'}'` = yes; then
58944 cat >>confdefs.h <<_ACEOF
58945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58946 _ACEOF
58949 done
58959 echo "$as_me:$LINENO: checking for isinff declaration" >&5
58960 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58961 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58962 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58963 echo $ECHO_N "(cached) $ECHO_C" >&6
58964 else
58968 ac_ext=cc
58969 ac_cpp='$CXXCPP $CPPFLAGS'
58970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58974 cat >conftest.$ac_ext <<_ACEOF
58975 /* confdefs.h. */
58976 _ACEOF
58977 cat confdefs.h >>conftest.$ac_ext
58978 cat >>conftest.$ac_ext <<_ACEOF
58979 /* end confdefs.h. */
58980 #include <math.h>
58981 #ifdef HAVE_IEEEFP_H
58982 #include <ieeefp.h>
58983 #endif
58986 main ()
58988 isinff(0);
58990 return 0;
58992 _ACEOF
58993 rm -f conftest.$ac_objext
58994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58995 (eval $ac_compile) 2>conftest.er1
58996 ac_status=$?
58997 grep -v '^ *+' conftest.er1 >conftest.err
58998 rm -f conftest.er1
58999 cat conftest.err >&5
59000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59001 (exit $ac_status); } &&
59002 { ac_try='test -z "$ac_cxx_werror_flag"
59003 || test ! -s conftest.err'
59004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59005 (eval $ac_try) 2>&5
59006 ac_status=$?
59007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59008 (exit $ac_status); }; } &&
59009 { ac_try='test -s conftest.$ac_objext'
59010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59011 (eval $ac_try) 2>&5
59012 ac_status=$?
59013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59014 (exit $ac_status); }; }; then
59015 glibcxx_cv_func_isinff_use=yes
59016 else
59017 echo "$as_me: failed program was:" >&5
59018 sed 's/^/| /' conftest.$ac_ext >&5
59020 glibcxx_cv_func_isinff_use=no
59022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59023 ac_ext=c
59024 ac_cpp='$CPP $CPPFLAGS'
59025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59034 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59036 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59038 for ac_func in isinff
59040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59041 echo "$as_me:$LINENO: checking for $ac_func" >&5
59042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59043 if eval "test \"\${$as_ac_var+set}\" = set"; then
59044 echo $ECHO_N "(cached) $ECHO_C" >&6
59045 else
59046 if test x$gcc_no_link = xyes; then
59047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59049 { (exit 1); exit 1; }; }
59051 cat >conftest.$ac_ext <<_ACEOF
59052 /* confdefs.h. */
59053 _ACEOF
59054 cat confdefs.h >>conftest.$ac_ext
59055 cat >>conftest.$ac_ext <<_ACEOF
59056 /* end confdefs.h. */
59057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59059 #define $ac_func innocuous_$ac_func
59061 /* System header to define __stub macros and hopefully few prototypes,
59062 which can conflict with char $ac_func (); below.
59063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59064 <limits.h> exists even on freestanding compilers. */
59066 #ifdef __STDC__
59067 # include <limits.h>
59068 #else
59069 # include <assert.h>
59070 #endif
59072 #undef $ac_func
59074 /* Override any gcc2 internal prototype to avoid an error. */
59075 #ifdef __cplusplus
59076 extern "C"
59078 #endif
59079 /* We use char because int might match the return type of a gcc2
59080 builtin and then its argument prototype would still apply. */
59081 char $ac_func ();
59082 /* The GNU C library defines this for functions which it implements
59083 to always fail with ENOSYS. Some functions are actually named
59084 something starting with __ and the normal name is an alias. */
59085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59086 choke me
59087 #else
59088 char (*f) () = $ac_func;
59089 #endif
59090 #ifdef __cplusplus
59092 #endif
59095 main ()
59097 return f != $ac_func;
59099 return 0;
59101 _ACEOF
59102 rm -f conftest.$ac_objext conftest$ac_exeext
59103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59104 (eval $ac_link) 2>conftest.er1
59105 ac_status=$?
59106 grep -v '^ *+' conftest.er1 >conftest.err
59107 rm -f conftest.er1
59108 cat conftest.err >&5
59109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59110 (exit $ac_status); } &&
59111 { ac_try='test -z "$ac_c_werror_flag"
59112 || test ! -s conftest.err'
59113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59114 (eval $ac_try) 2>&5
59115 ac_status=$?
59116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59117 (exit $ac_status); }; } &&
59118 { ac_try='test -s conftest$ac_exeext'
59119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59120 (eval $ac_try) 2>&5
59121 ac_status=$?
59122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59123 (exit $ac_status); }; }; then
59124 eval "$as_ac_var=yes"
59125 else
59126 echo "$as_me: failed program was:" >&5
59127 sed 's/^/| /' conftest.$ac_ext >&5
59129 eval "$as_ac_var=no"
59131 rm -f conftest.err conftest.$ac_objext \
59132 conftest$ac_exeext conftest.$ac_ext
59134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59136 if test `eval echo '${'$as_ac_var'}'` = yes; then
59137 cat >>confdefs.h <<_ACEOF
59138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59139 _ACEOF
59142 done
59144 else
59146 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59147 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59148 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59149 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59150 echo $ECHO_N "(cached) $ECHO_C" >&6
59151 else
59155 ac_ext=cc
59156 ac_cpp='$CXXCPP $CPPFLAGS'
59157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59161 cat >conftest.$ac_ext <<_ACEOF
59162 /* confdefs.h. */
59163 _ACEOF
59164 cat confdefs.h >>conftest.$ac_ext
59165 cat >>conftest.$ac_ext <<_ACEOF
59166 /* end confdefs.h. */
59167 #include <math.h>
59168 #ifdef HAVE_IEEEFP_H
59169 #include <ieeefp.h>
59170 #endif
59173 main ()
59175 _isinff(0);
59177 return 0;
59179 _ACEOF
59180 rm -f conftest.$ac_objext
59181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59182 (eval $ac_compile) 2>conftest.er1
59183 ac_status=$?
59184 grep -v '^ *+' conftest.er1 >conftest.err
59185 rm -f conftest.er1
59186 cat conftest.err >&5
59187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59188 (exit $ac_status); } &&
59189 { ac_try='test -z "$ac_cxx_werror_flag"
59190 || test ! -s conftest.err'
59191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59192 (eval $ac_try) 2>&5
59193 ac_status=$?
59194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59195 (exit $ac_status); }; } &&
59196 { ac_try='test -s conftest.$ac_objext'
59197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59198 (eval $ac_try) 2>&5
59199 ac_status=$?
59200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59201 (exit $ac_status); }; }; then
59202 glibcxx_cv_func__isinff_use=yes
59203 else
59204 echo "$as_me: failed program was:" >&5
59205 sed 's/^/| /' conftest.$ac_ext >&5
59207 glibcxx_cv_func__isinff_use=no
59209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59210 ac_ext=c
59211 ac_cpp='$CPP $CPPFLAGS'
59212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59221 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59223 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59225 for ac_func in _isinff
59227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59228 echo "$as_me:$LINENO: checking for $ac_func" >&5
59229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59230 if eval "test \"\${$as_ac_var+set}\" = set"; then
59231 echo $ECHO_N "(cached) $ECHO_C" >&6
59232 else
59233 if test x$gcc_no_link = xyes; then
59234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59236 { (exit 1); exit 1; }; }
59238 cat >conftest.$ac_ext <<_ACEOF
59239 /* confdefs.h. */
59240 _ACEOF
59241 cat confdefs.h >>conftest.$ac_ext
59242 cat >>conftest.$ac_ext <<_ACEOF
59243 /* end confdefs.h. */
59244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59246 #define $ac_func innocuous_$ac_func
59248 /* System header to define __stub macros and hopefully few prototypes,
59249 which can conflict with char $ac_func (); below.
59250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59251 <limits.h> exists even on freestanding compilers. */
59253 #ifdef __STDC__
59254 # include <limits.h>
59255 #else
59256 # include <assert.h>
59257 #endif
59259 #undef $ac_func
59261 /* Override any gcc2 internal prototype to avoid an error. */
59262 #ifdef __cplusplus
59263 extern "C"
59265 #endif
59266 /* We use char because int might match the return type of a gcc2
59267 builtin and then its argument prototype would still apply. */
59268 char $ac_func ();
59269 /* The GNU C library defines this for functions which it implements
59270 to always fail with ENOSYS. Some functions are actually named
59271 something starting with __ and the normal name is an alias. */
59272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59273 choke me
59274 #else
59275 char (*f) () = $ac_func;
59276 #endif
59277 #ifdef __cplusplus
59279 #endif
59282 main ()
59284 return f != $ac_func;
59286 return 0;
59288 _ACEOF
59289 rm -f conftest.$ac_objext conftest$ac_exeext
59290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59291 (eval $ac_link) 2>conftest.er1
59292 ac_status=$?
59293 grep -v '^ *+' conftest.er1 >conftest.err
59294 rm -f conftest.er1
59295 cat conftest.err >&5
59296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59297 (exit $ac_status); } &&
59298 { ac_try='test -z "$ac_c_werror_flag"
59299 || test ! -s conftest.err'
59300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59301 (eval $ac_try) 2>&5
59302 ac_status=$?
59303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59304 (exit $ac_status); }; } &&
59305 { ac_try='test -s conftest$ac_exeext'
59306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59307 (eval $ac_try) 2>&5
59308 ac_status=$?
59309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59310 (exit $ac_status); }; }; then
59311 eval "$as_ac_var=yes"
59312 else
59313 echo "$as_me: failed program was:" >&5
59314 sed 's/^/| /' conftest.$ac_ext >&5
59316 eval "$as_ac_var=no"
59318 rm -f conftest.err conftest.$ac_objext \
59319 conftest$ac_exeext conftest.$ac_ext
59321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59323 if test `eval echo '${'$as_ac_var'}'` = yes; then
59324 cat >>confdefs.h <<_ACEOF
59325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59326 _ACEOF
59329 done
59339 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59340 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59341 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59342 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59343 echo $ECHO_N "(cached) $ECHO_C" >&6
59344 else
59348 ac_ext=cc
59349 ac_cpp='$CXXCPP $CPPFLAGS'
59350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59354 cat >conftest.$ac_ext <<_ACEOF
59355 /* confdefs.h. */
59356 _ACEOF
59357 cat confdefs.h >>conftest.$ac_ext
59358 cat >>conftest.$ac_ext <<_ACEOF
59359 /* end confdefs.h. */
59360 #include <math.h>
59362 main ()
59364 atan2f(0, 0);
59366 return 0;
59368 _ACEOF
59369 rm -f conftest.$ac_objext
59370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59371 (eval $ac_compile) 2>conftest.er1
59372 ac_status=$?
59373 grep -v '^ *+' conftest.er1 >conftest.err
59374 rm -f conftest.er1
59375 cat conftest.err >&5
59376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59377 (exit $ac_status); } &&
59378 { ac_try='test -z "$ac_cxx_werror_flag"
59379 || test ! -s conftest.err'
59380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59381 (eval $ac_try) 2>&5
59382 ac_status=$?
59383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59384 (exit $ac_status); }; } &&
59385 { ac_try='test -s conftest.$ac_objext'
59386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59387 (eval $ac_try) 2>&5
59388 ac_status=$?
59389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59390 (exit $ac_status); }; }; then
59391 glibcxx_cv_func_atan2f_use=yes
59392 else
59393 echo "$as_me: failed program was:" >&5
59394 sed 's/^/| /' conftest.$ac_ext >&5
59396 glibcxx_cv_func_atan2f_use=no
59398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59399 ac_ext=c
59400 ac_cpp='$CPP $CPPFLAGS'
59401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59410 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59412 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59414 for ac_func in atan2f
59416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59417 echo "$as_me:$LINENO: checking for $ac_func" >&5
59418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59419 if eval "test \"\${$as_ac_var+set}\" = set"; then
59420 echo $ECHO_N "(cached) $ECHO_C" >&6
59421 else
59422 if test x$gcc_no_link = xyes; then
59423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59425 { (exit 1); exit 1; }; }
59427 cat >conftest.$ac_ext <<_ACEOF
59428 /* confdefs.h. */
59429 _ACEOF
59430 cat confdefs.h >>conftest.$ac_ext
59431 cat >>conftest.$ac_ext <<_ACEOF
59432 /* end confdefs.h. */
59433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59435 #define $ac_func innocuous_$ac_func
59437 /* System header to define __stub macros and hopefully few prototypes,
59438 which can conflict with char $ac_func (); below.
59439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59440 <limits.h> exists even on freestanding compilers. */
59442 #ifdef __STDC__
59443 # include <limits.h>
59444 #else
59445 # include <assert.h>
59446 #endif
59448 #undef $ac_func
59450 /* Override any gcc2 internal prototype to avoid an error. */
59451 #ifdef __cplusplus
59452 extern "C"
59454 #endif
59455 /* We use char because int might match the return type of a gcc2
59456 builtin and then its argument prototype would still apply. */
59457 char $ac_func ();
59458 /* The GNU C library defines this for functions which it implements
59459 to always fail with ENOSYS. Some functions are actually named
59460 something starting with __ and the normal name is an alias. */
59461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59462 choke me
59463 #else
59464 char (*f) () = $ac_func;
59465 #endif
59466 #ifdef __cplusplus
59468 #endif
59471 main ()
59473 return f != $ac_func;
59475 return 0;
59477 _ACEOF
59478 rm -f conftest.$ac_objext conftest$ac_exeext
59479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59480 (eval $ac_link) 2>conftest.er1
59481 ac_status=$?
59482 grep -v '^ *+' conftest.er1 >conftest.err
59483 rm -f conftest.er1
59484 cat conftest.err >&5
59485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486 (exit $ac_status); } &&
59487 { ac_try='test -z "$ac_c_werror_flag"
59488 || test ! -s conftest.err'
59489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59490 (eval $ac_try) 2>&5
59491 ac_status=$?
59492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59493 (exit $ac_status); }; } &&
59494 { ac_try='test -s conftest$ac_exeext'
59495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59496 (eval $ac_try) 2>&5
59497 ac_status=$?
59498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59499 (exit $ac_status); }; }; then
59500 eval "$as_ac_var=yes"
59501 else
59502 echo "$as_me: failed program was:" >&5
59503 sed 's/^/| /' conftest.$ac_ext >&5
59505 eval "$as_ac_var=no"
59507 rm -f conftest.err conftest.$ac_objext \
59508 conftest$ac_exeext conftest.$ac_ext
59510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59512 if test `eval echo '${'$as_ac_var'}'` = yes; then
59513 cat >>confdefs.h <<_ACEOF
59514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59515 _ACEOF
59518 done
59520 else
59522 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59523 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59524 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59525 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59526 echo $ECHO_N "(cached) $ECHO_C" >&6
59527 else
59531 ac_ext=cc
59532 ac_cpp='$CXXCPP $CPPFLAGS'
59533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59537 cat >conftest.$ac_ext <<_ACEOF
59538 /* confdefs.h. */
59539 _ACEOF
59540 cat confdefs.h >>conftest.$ac_ext
59541 cat >>conftest.$ac_ext <<_ACEOF
59542 /* end confdefs.h. */
59543 #include <math.h>
59545 main ()
59547 _atan2f(0, 0);
59549 return 0;
59551 _ACEOF
59552 rm -f conftest.$ac_objext
59553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59554 (eval $ac_compile) 2>conftest.er1
59555 ac_status=$?
59556 grep -v '^ *+' conftest.er1 >conftest.err
59557 rm -f conftest.er1
59558 cat conftest.err >&5
59559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59560 (exit $ac_status); } &&
59561 { ac_try='test -z "$ac_cxx_werror_flag"
59562 || test ! -s conftest.err'
59563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59564 (eval $ac_try) 2>&5
59565 ac_status=$?
59566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567 (exit $ac_status); }; } &&
59568 { ac_try='test -s conftest.$ac_objext'
59569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59570 (eval $ac_try) 2>&5
59571 ac_status=$?
59572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59573 (exit $ac_status); }; }; then
59574 glibcxx_cv_func__atan2f_use=yes
59575 else
59576 echo "$as_me: failed program was:" >&5
59577 sed 's/^/| /' conftest.$ac_ext >&5
59579 glibcxx_cv_func__atan2f_use=no
59581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59582 ac_ext=c
59583 ac_cpp='$CPP $CPPFLAGS'
59584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59593 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59595 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59597 for ac_func in _atan2f
59599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59600 echo "$as_me:$LINENO: checking for $ac_func" >&5
59601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59602 if eval "test \"\${$as_ac_var+set}\" = set"; then
59603 echo $ECHO_N "(cached) $ECHO_C" >&6
59604 else
59605 if test x$gcc_no_link = xyes; then
59606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59608 { (exit 1); exit 1; }; }
59610 cat >conftest.$ac_ext <<_ACEOF
59611 /* confdefs.h. */
59612 _ACEOF
59613 cat confdefs.h >>conftest.$ac_ext
59614 cat >>conftest.$ac_ext <<_ACEOF
59615 /* end confdefs.h. */
59616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59618 #define $ac_func innocuous_$ac_func
59620 /* System header to define __stub macros and hopefully few prototypes,
59621 which can conflict with char $ac_func (); below.
59622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59623 <limits.h> exists even on freestanding compilers. */
59625 #ifdef __STDC__
59626 # include <limits.h>
59627 #else
59628 # include <assert.h>
59629 #endif
59631 #undef $ac_func
59633 /* Override any gcc2 internal prototype to avoid an error. */
59634 #ifdef __cplusplus
59635 extern "C"
59637 #endif
59638 /* We use char because int might match the return type of a gcc2
59639 builtin and then its argument prototype would still apply. */
59640 char $ac_func ();
59641 /* The GNU C library defines this for functions which it implements
59642 to always fail with ENOSYS. Some functions are actually named
59643 something starting with __ and the normal name is an alias. */
59644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59645 choke me
59646 #else
59647 char (*f) () = $ac_func;
59648 #endif
59649 #ifdef __cplusplus
59651 #endif
59654 main ()
59656 return f != $ac_func;
59658 return 0;
59660 _ACEOF
59661 rm -f conftest.$ac_objext conftest$ac_exeext
59662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59663 (eval $ac_link) 2>conftest.er1
59664 ac_status=$?
59665 grep -v '^ *+' conftest.er1 >conftest.err
59666 rm -f conftest.er1
59667 cat conftest.err >&5
59668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59669 (exit $ac_status); } &&
59670 { ac_try='test -z "$ac_c_werror_flag"
59671 || test ! -s conftest.err'
59672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59673 (eval $ac_try) 2>&5
59674 ac_status=$?
59675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59676 (exit $ac_status); }; } &&
59677 { ac_try='test -s conftest$ac_exeext'
59678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59679 (eval $ac_try) 2>&5
59680 ac_status=$?
59681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59682 (exit $ac_status); }; }; then
59683 eval "$as_ac_var=yes"
59684 else
59685 echo "$as_me: failed program was:" >&5
59686 sed 's/^/| /' conftest.$ac_ext >&5
59688 eval "$as_ac_var=no"
59690 rm -f conftest.err conftest.$ac_objext \
59691 conftest$ac_exeext conftest.$ac_ext
59693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59695 if test `eval echo '${'$as_ac_var'}'` = yes; then
59696 cat >>confdefs.h <<_ACEOF
59697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59698 _ACEOF
59701 done
59711 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59712 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59713 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59714 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59715 echo $ECHO_N "(cached) $ECHO_C" >&6
59716 else
59720 ac_ext=cc
59721 ac_cpp='$CXXCPP $CPPFLAGS'
59722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59726 cat >conftest.$ac_ext <<_ACEOF
59727 /* confdefs.h. */
59728 _ACEOF
59729 cat confdefs.h >>conftest.$ac_ext
59730 cat >>conftest.$ac_ext <<_ACEOF
59731 /* end confdefs.h. */
59732 #include <math.h>
59733 #ifdef HAVE_IEEEFP_H
59734 #include <ieeefp.h>
59735 #endif
59738 main ()
59740 fabsf(0);
59742 return 0;
59744 _ACEOF
59745 rm -f conftest.$ac_objext
59746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59747 (eval $ac_compile) 2>conftest.er1
59748 ac_status=$?
59749 grep -v '^ *+' conftest.er1 >conftest.err
59750 rm -f conftest.er1
59751 cat conftest.err >&5
59752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59753 (exit $ac_status); } &&
59754 { ac_try='test -z "$ac_cxx_werror_flag"
59755 || test ! -s conftest.err'
59756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59757 (eval $ac_try) 2>&5
59758 ac_status=$?
59759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59760 (exit $ac_status); }; } &&
59761 { ac_try='test -s conftest.$ac_objext'
59762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59763 (eval $ac_try) 2>&5
59764 ac_status=$?
59765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59766 (exit $ac_status); }; }; then
59767 glibcxx_cv_func_fabsf_use=yes
59768 else
59769 echo "$as_me: failed program was:" >&5
59770 sed 's/^/| /' conftest.$ac_ext >&5
59772 glibcxx_cv_func_fabsf_use=no
59774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59775 ac_ext=c
59776 ac_cpp='$CPP $CPPFLAGS'
59777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59785 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59786 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59788 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59790 for ac_func in fabsf
59792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59793 echo "$as_me:$LINENO: checking for $ac_func" >&5
59794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59795 if eval "test \"\${$as_ac_var+set}\" = set"; then
59796 echo $ECHO_N "(cached) $ECHO_C" >&6
59797 else
59798 if test x$gcc_no_link = xyes; then
59799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59801 { (exit 1); exit 1; }; }
59803 cat >conftest.$ac_ext <<_ACEOF
59804 /* confdefs.h. */
59805 _ACEOF
59806 cat confdefs.h >>conftest.$ac_ext
59807 cat >>conftest.$ac_ext <<_ACEOF
59808 /* end confdefs.h. */
59809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59811 #define $ac_func innocuous_$ac_func
59813 /* System header to define __stub macros and hopefully few prototypes,
59814 which can conflict with char $ac_func (); below.
59815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59816 <limits.h> exists even on freestanding compilers. */
59818 #ifdef __STDC__
59819 # include <limits.h>
59820 #else
59821 # include <assert.h>
59822 #endif
59824 #undef $ac_func
59826 /* Override any gcc2 internal prototype to avoid an error. */
59827 #ifdef __cplusplus
59828 extern "C"
59830 #endif
59831 /* We use char because int might match the return type of a gcc2
59832 builtin and then its argument prototype would still apply. */
59833 char $ac_func ();
59834 /* The GNU C library defines this for functions which it implements
59835 to always fail with ENOSYS. Some functions are actually named
59836 something starting with __ and the normal name is an alias. */
59837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59838 choke me
59839 #else
59840 char (*f) () = $ac_func;
59841 #endif
59842 #ifdef __cplusplus
59844 #endif
59847 main ()
59849 return f != $ac_func;
59851 return 0;
59853 _ACEOF
59854 rm -f conftest.$ac_objext conftest$ac_exeext
59855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59856 (eval $ac_link) 2>conftest.er1
59857 ac_status=$?
59858 grep -v '^ *+' conftest.er1 >conftest.err
59859 rm -f conftest.er1
59860 cat conftest.err >&5
59861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59862 (exit $ac_status); } &&
59863 { ac_try='test -z "$ac_c_werror_flag"
59864 || test ! -s conftest.err'
59865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59866 (eval $ac_try) 2>&5
59867 ac_status=$?
59868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59869 (exit $ac_status); }; } &&
59870 { ac_try='test -s conftest$ac_exeext'
59871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59872 (eval $ac_try) 2>&5
59873 ac_status=$?
59874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59875 (exit $ac_status); }; }; then
59876 eval "$as_ac_var=yes"
59877 else
59878 echo "$as_me: failed program was:" >&5
59879 sed 's/^/| /' conftest.$ac_ext >&5
59881 eval "$as_ac_var=no"
59883 rm -f conftest.err conftest.$ac_objext \
59884 conftest$ac_exeext conftest.$ac_ext
59886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59888 if test `eval echo '${'$as_ac_var'}'` = yes; then
59889 cat >>confdefs.h <<_ACEOF
59890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59891 _ACEOF
59894 done
59896 else
59898 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59899 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59900 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59901 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59902 echo $ECHO_N "(cached) $ECHO_C" >&6
59903 else
59907 ac_ext=cc
59908 ac_cpp='$CXXCPP $CPPFLAGS'
59909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59913 cat >conftest.$ac_ext <<_ACEOF
59914 /* confdefs.h. */
59915 _ACEOF
59916 cat confdefs.h >>conftest.$ac_ext
59917 cat >>conftest.$ac_ext <<_ACEOF
59918 /* end confdefs.h. */
59919 #include <math.h>
59920 #ifdef HAVE_IEEEFP_H
59921 #include <ieeefp.h>
59922 #endif
59925 main ()
59927 _fabsf(0);
59929 return 0;
59931 _ACEOF
59932 rm -f conftest.$ac_objext
59933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59934 (eval $ac_compile) 2>conftest.er1
59935 ac_status=$?
59936 grep -v '^ *+' conftest.er1 >conftest.err
59937 rm -f conftest.er1
59938 cat conftest.err >&5
59939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59940 (exit $ac_status); } &&
59941 { ac_try='test -z "$ac_cxx_werror_flag"
59942 || test ! -s conftest.err'
59943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59944 (eval $ac_try) 2>&5
59945 ac_status=$?
59946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59947 (exit $ac_status); }; } &&
59948 { ac_try='test -s conftest.$ac_objext'
59949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59950 (eval $ac_try) 2>&5
59951 ac_status=$?
59952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59953 (exit $ac_status); }; }; then
59954 glibcxx_cv_func__fabsf_use=yes
59955 else
59956 echo "$as_me: failed program was:" >&5
59957 sed 's/^/| /' conftest.$ac_ext >&5
59959 glibcxx_cv_func__fabsf_use=no
59961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59962 ac_ext=c
59963 ac_cpp='$CPP $CPPFLAGS'
59964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
59973 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
59975 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59977 for ac_func in _fabsf
59979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59980 echo "$as_me:$LINENO: checking for $ac_func" >&5
59981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59982 if eval "test \"\${$as_ac_var+set}\" = set"; then
59983 echo $ECHO_N "(cached) $ECHO_C" >&6
59984 else
59985 if test x$gcc_no_link = xyes; then
59986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59988 { (exit 1); exit 1; }; }
59990 cat >conftest.$ac_ext <<_ACEOF
59991 /* confdefs.h. */
59992 _ACEOF
59993 cat confdefs.h >>conftest.$ac_ext
59994 cat >>conftest.$ac_ext <<_ACEOF
59995 /* end confdefs.h. */
59996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59998 #define $ac_func innocuous_$ac_func
60000 /* System header to define __stub macros and hopefully few prototypes,
60001 which can conflict with char $ac_func (); below.
60002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60003 <limits.h> exists even on freestanding compilers. */
60005 #ifdef __STDC__
60006 # include <limits.h>
60007 #else
60008 # include <assert.h>
60009 #endif
60011 #undef $ac_func
60013 /* Override any gcc2 internal prototype to avoid an error. */
60014 #ifdef __cplusplus
60015 extern "C"
60017 #endif
60018 /* We use char because int might match the return type of a gcc2
60019 builtin and then its argument prototype would still apply. */
60020 char $ac_func ();
60021 /* The GNU C library defines this for functions which it implements
60022 to always fail with ENOSYS. Some functions are actually named
60023 something starting with __ and the normal name is an alias. */
60024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60025 choke me
60026 #else
60027 char (*f) () = $ac_func;
60028 #endif
60029 #ifdef __cplusplus
60031 #endif
60034 main ()
60036 return f != $ac_func;
60038 return 0;
60040 _ACEOF
60041 rm -f conftest.$ac_objext conftest$ac_exeext
60042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60043 (eval $ac_link) 2>conftest.er1
60044 ac_status=$?
60045 grep -v '^ *+' conftest.er1 >conftest.err
60046 rm -f conftest.er1
60047 cat conftest.err >&5
60048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049 (exit $ac_status); } &&
60050 { ac_try='test -z "$ac_c_werror_flag"
60051 || test ! -s conftest.err'
60052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60053 (eval $ac_try) 2>&5
60054 ac_status=$?
60055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60056 (exit $ac_status); }; } &&
60057 { ac_try='test -s conftest$ac_exeext'
60058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60059 (eval $ac_try) 2>&5
60060 ac_status=$?
60061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60062 (exit $ac_status); }; }; then
60063 eval "$as_ac_var=yes"
60064 else
60065 echo "$as_me: failed program was:" >&5
60066 sed 's/^/| /' conftest.$ac_ext >&5
60068 eval "$as_ac_var=no"
60070 rm -f conftest.err conftest.$ac_objext \
60071 conftest$ac_exeext conftest.$ac_ext
60073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60075 if test `eval echo '${'$as_ac_var'}'` = yes; then
60076 cat >>confdefs.h <<_ACEOF
60077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60078 _ACEOF
60081 done
60091 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60092 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60093 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60094 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60095 echo $ECHO_N "(cached) $ECHO_C" >&6
60096 else
60100 ac_ext=cc
60101 ac_cpp='$CXXCPP $CPPFLAGS'
60102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60106 cat >conftest.$ac_ext <<_ACEOF
60107 /* confdefs.h. */
60108 _ACEOF
60109 cat confdefs.h >>conftest.$ac_ext
60110 cat >>conftest.$ac_ext <<_ACEOF
60111 /* end confdefs.h. */
60112 #include <math.h>
60114 main ()
60116 fmodf(0, 0);
60118 return 0;
60120 _ACEOF
60121 rm -f conftest.$ac_objext
60122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60123 (eval $ac_compile) 2>conftest.er1
60124 ac_status=$?
60125 grep -v '^ *+' conftest.er1 >conftest.err
60126 rm -f conftest.er1
60127 cat conftest.err >&5
60128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60129 (exit $ac_status); } &&
60130 { ac_try='test -z "$ac_cxx_werror_flag"
60131 || test ! -s conftest.err'
60132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60133 (eval $ac_try) 2>&5
60134 ac_status=$?
60135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60136 (exit $ac_status); }; } &&
60137 { ac_try='test -s conftest.$ac_objext'
60138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60139 (eval $ac_try) 2>&5
60140 ac_status=$?
60141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60142 (exit $ac_status); }; }; then
60143 glibcxx_cv_func_fmodf_use=yes
60144 else
60145 echo "$as_me: failed program was:" >&5
60146 sed 's/^/| /' conftest.$ac_ext >&5
60148 glibcxx_cv_func_fmodf_use=no
60150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60151 ac_ext=c
60152 ac_cpp='$CPP $CPPFLAGS'
60153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60162 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60164 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60166 for ac_func in fmodf
60168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60169 echo "$as_me:$LINENO: checking for $ac_func" >&5
60170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60171 if eval "test \"\${$as_ac_var+set}\" = set"; then
60172 echo $ECHO_N "(cached) $ECHO_C" >&6
60173 else
60174 if test x$gcc_no_link = xyes; then
60175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60177 { (exit 1); exit 1; }; }
60179 cat >conftest.$ac_ext <<_ACEOF
60180 /* confdefs.h. */
60181 _ACEOF
60182 cat confdefs.h >>conftest.$ac_ext
60183 cat >>conftest.$ac_ext <<_ACEOF
60184 /* end confdefs.h. */
60185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60187 #define $ac_func innocuous_$ac_func
60189 /* System header to define __stub macros and hopefully few prototypes,
60190 which can conflict with char $ac_func (); below.
60191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60192 <limits.h> exists even on freestanding compilers. */
60194 #ifdef __STDC__
60195 # include <limits.h>
60196 #else
60197 # include <assert.h>
60198 #endif
60200 #undef $ac_func
60202 /* Override any gcc2 internal prototype to avoid an error. */
60203 #ifdef __cplusplus
60204 extern "C"
60206 #endif
60207 /* We use char because int might match the return type of a gcc2
60208 builtin and then its argument prototype would still apply. */
60209 char $ac_func ();
60210 /* The GNU C library defines this for functions which it implements
60211 to always fail with ENOSYS. Some functions are actually named
60212 something starting with __ and the normal name is an alias. */
60213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60214 choke me
60215 #else
60216 char (*f) () = $ac_func;
60217 #endif
60218 #ifdef __cplusplus
60220 #endif
60223 main ()
60225 return f != $ac_func;
60227 return 0;
60229 _ACEOF
60230 rm -f conftest.$ac_objext conftest$ac_exeext
60231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60232 (eval $ac_link) 2>conftest.er1
60233 ac_status=$?
60234 grep -v '^ *+' conftest.er1 >conftest.err
60235 rm -f conftest.er1
60236 cat conftest.err >&5
60237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60238 (exit $ac_status); } &&
60239 { ac_try='test -z "$ac_c_werror_flag"
60240 || test ! -s conftest.err'
60241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60242 (eval $ac_try) 2>&5
60243 ac_status=$?
60244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60245 (exit $ac_status); }; } &&
60246 { ac_try='test -s conftest$ac_exeext'
60247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60248 (eval $ac_try) 2>&5
60249 ac_status=$?
60250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60251 (exit $ac_status); }; }; then
60252 eval "$as_ac_var=yes"
60253 else
60254 echo "$as_me: failed program was:" >&5
60255 sed 's/^/| /' conftest.$ac_ext >&5
60257 eval "$as_ac_var=no"
60259 rm -f conftest.err conftest.$ac_objext \
60260 conftest$ac_exeext conftest.$ac_ext
60262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60264 if test `eval echo '${'$as_ac_var'}'` = yes; then
60265 cat >>confdefs.h <<_ACEOF
60266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60267 _ACEOF
60270 done
60272 else
60274 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60275 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60276 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60277 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60278 echo $ECHO_N "(cached) $ECHO_C" >&6
60279 else
60283 ac_ext=cc
60284 ac_cpp='$CXXCPP $CPPFLAGS'
60285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60289 cat >conftest.$ac_ext <<_ACEOF
60290 /* confdefs.h. */
60291 _ACEOF
60292 cat confdefs.h >>conftest.$ac_ext
60293 cat >>conftest.$ac_ext <<_ACEOF
60294 /* end confdefs.h. */
60295 #include <math.h>
60297 main ()
60299 _fmodf(0, 0);
60301 return 0;
60303 _ACEOF
60304 rm -f conftest.$ac_objext
60305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60306 (eval $ac_compile) 2>conftest.er1
60307 ac_status=$?
60308 grep -v '^ *+' conftest.er1 >conftest.err
60309 rm -f conftest.er1
60310 cat conftest.err >&5
60311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60312 (exit $ac_status); } &&
60313 { ac_try='test -z "$ac_cxx_werror_flag"
60314 || test ! -s conftest.err'
60315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60316 (eval $ac_try) 2>&5
60317 ac_status=$?
60318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60319 (exit $ac_status); }; } &&
60320 { ac_try='test -s conftest.$ac_objext'
60321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60322 (eval $ac_try) 2>&5
60323 ac_status=$?
60324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60325 (exit $ac_status); }; }; then
60326 glibcxx_cv_func__fmodf_use=yes
60327 else
60328 echo "$as_me: failed program was:" >&5
60329 sed 's/^/| /' conftest.$ac_ext >&5
60331 glibcxx_cv_func__fmodf_use=no
60333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60334 ac_ext=c
60335 ac_cpp='$CPP $CPPFLAGS'
60336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60345 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60347 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60349 for ac_func in _fmodf
60351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60352 echo "$as_me:$LINENO: checking for $ac_func" >&5
60353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60354 if eval "test \"\${$as_ac_var+set}\" = set"; then
60355 echo $ECHO_N "(cached) $ECHO_C" >&6
60356 else
60357 if test x$gcc_no_link = xyes; then
60358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60360 { (exit 1); exit 1; }; }
60362 cat >conftest.$ac_ext <<_ACEOF
60363 /* confdefs.h. */
60364 _ACEOF
60365 cat confdefs.h >>conftest.$ac_ext
60366 cat >>conftest.$ac_ext <<_ACEOF
60367 /* end confdefs.h. */
60368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60370 #define $ac_func innocuous_$ac_func
60372 /* System header to define __stub macros and hopefully few prototypes,
60373 which can conflict with char $ac_func (); below.
60374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60375 <limits.h> exists even on freestanding compilers. */
60377 #ifdef __STDC__
60378 # include <limits.h>
60379 #else
60380 # include <assert.h>
60381 #endif
60383 #undef $ac_func
60385 /* Override any gcc2 internal prototype to avoid an error. */
60386 #ifdef __cplusplus
60387 extern "C"
60389 #endif
60390 /* We use char because int might match the return type of a gcc2
60391 builtin and then its argument prototype would still apply. */
60392 char $ac_func ();
60393 /* The GNU C library defines this for functions which it implements
60394 to always fail with ENOSYS. Some functions are actually named
60395 something starting with __ and the normal name is an alias. */
60396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60397 choke me
60398 #else
60399 char (*f) () = $ac_func;
60400 #endif
60401 #ifdef __cplusplus
60403 #endif
60406 main ()
60408 return f != $ac_func;
60410 return 0;
60412 _ACEOF
60413 rm -f conftest.$ac_objext conftest$ac_exeext
60414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60415 (eval $ac_link) 2>conftest.er1
60416 ac_status=$?
60417 grep -v '^ *+' conftest.er1 >conftest.err
60418 rm -f conftest.er1
60419 cat conftest.err >&5
60420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60421 (exit $ac_status); } &&
60422 { ac_try='test -z "$ac_c_werror_flag"
60423 || test ! -s conftest.err'
60424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60425 (eval $ac_try) 2>&5
60426 ac_status=$?
60427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60428 (exit $ac_status); }; } &&
60429 { ac_try='test -s conftest$ac_exeext'
60430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60431 (eval $ac_try) 2>&5
60432 ac_status=$?
60433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60434 (exit $ac_status); }; }; then
60435 eval "$as_ac_var=yes"
60436 else
60437 echo "$as_me: failed program was:" >&5
60438 sed 's/^/| /' conftest.$ac_ext >&5
60440 eval "$as_ac_var=no"
60442 rm -f conftest.err conftest.$ac_objext \
60443 conftest$ac_exeext conftest.$ac_ext
60445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60447 if test `eval echo '${'$as_ac_var'}'` = yes; then
60448 cat >>confdefs.h <<_ACEOF
60449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60450 _ACEOF
60453 done
60463 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60464 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60465 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60466 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60467 echo $ECHO_N "(cached) $ECHO_C" >&6
60468 else
60472 ac_ext=cc
60473 ac_cpp='$CXXCPP $CPPFLAGS'
60474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60478 cat >conftest.$ac_ext <<_ACEOF
60479 /* confdefs.h. */
60480 _ACEOF
60481 cat confdefs.h >>conftest.$ac_ext
60482 cat >>conftest.$ac_ext <<_ACEOF
60483 /* end confdefs.h. */
60484 #include <math.h>
60486 main ()
60488 frexpf(0, 0);
60490 return 0;
60492 _ACEOF
60493 rm -f conftest.$ac_objext
60494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60495 (eval $ac_compile) 2>conftest.er1
60496 ac_status=$?
60497 grep -v '^ *+' conftest.er1 >conftest.err
60498 rm -f conftest.er1
60499 cat conftest.err >&5
60500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60501 (exit $ac_status); } &&
60502 { ac_try='test -z "$ac_cxx_werror_flag"
60503 || test ! -s conftest.err'
60504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60505 (eval $ac_try) 2>&5
60506 ac_status=$?
60507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60508 (exit $ac_status); }; } &&
60509 { ac_try='test -s conftest.$ac_objext'
60510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60511 (eval $ac_try) 2>&5
60512 ac_status=$?
60513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60514 (exit $ac_status); }; }; then
60515 glibcxx_cv_func_frexpf_use=yes
60516 else
60517 echo "$as_me: failed program was:" >&5
60518 sed 's/^/| /' conftest.$ac_ext >&5
60520 glibcxx_cv_func_frexpf_use=no
60522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60523 ac_ext=c
60524 ac_cpp='$CPP $CPPFLAGS'
60525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60534 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60536 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60538 for ac_func in frexpf
60540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60541 echo "$as_me:$LINENO: checking for $ac_func" >&5
60542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60543 if eval "test \"\${$as_ac_var+set}\" = set"; then
60544 echo $ECHO_N "(cached) $ECHO_C" >&6
60545 else
60546 if test x$gcc_no_link = xyes; then
60547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60549 { (exit 1); exit 1; }; }
60551 cat >conftest.$ac_ext <<_ACEOF
60552 /* confdefs.h. */
60553 _ACEOF
60554 cat confdefs.h >>conftest.$ac_ext
60555 cat >>conftest.$ac_ext <<_ACEOF
60556 /* end confdefs.h. */
60557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60559 #define $ac_func innocuous_$ac_func
60561 /* System header to define __stub macros and hopefully few prototypes,
60562 which can conflict with char $ac_func (); below.
60563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60564 <limits.h> exists even on freestanding compilers. */
60566 #ifdef __STDC__
60567 # include <limits.h>
60568 #else
60569 # include <assert.h>
60570 #endif
60572 #undef $ac_func
60574 /* Override any gcc2 internal prototype to avoid an error. */
60575 #ifdef __cplusplus
60576 extern "C"
60578 #endif
60579 /* We use char because int might match the return type of a gcc2
60580 builtin and then its argument prototype would still apply. */
60581 char $ac_func ();
60582 /* The GNU C library defines this for functions which it implements
60583 to always fail with ENOSYS. Some functions are actually named
60584 something starting with __ and the normal name is an alias. */
60585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60586 choke me
60587 #else
60588 char (*f) () = $ac_func;
60589 #endif
60590 #ifdef __cplusplus
60592 #endif
60595 main ()
60597 return f != $ac_func;
60599 return 0;
60601 _ACEOF
60602 rm -f conftest.$ac_objext conftest$ac_exeext
60603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60604 (eval $ac_link) 2>conftest.er1
60605 ac_status=$?
60606 grep -v '^ *+' conftest.er1 >conftest.err
60607 rm -f conftest.er1
60608 cat conftest.err >&5
60609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610 (exit $ac_status); } &&
60611 { ac_try='test -z "$ac_c_werror_flag"
60612 || test ! -s conftest.err'
60613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60614 (eval $ac_try) 2>&5
60615 ac_status=$?
60616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60617 (exit $ac_status); }; } &&
60618 { ac_try='test -s conftest$ac_exeext'
60619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60620 (eval $ac_try) 2>&5
60621 ac_status=$?
60622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60623 (exit $ac_status); }; }; then
60624 eval "$as_ac_var=yes"
60625 else
60626 echo "$as_me: failed program was:" >&5
60627 sed 's/^/| /' conftest.$ac_ext >&5
60629 eval "$as_ac_var=no"
60631 rm -f conftest.err conftest.$ac_objext \
60632 conftest$ac_exeext conftest.$ac_ext
60634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60636 if test `eval echo '${'$as_ac_var'}'` = yes; then
60637 cat >>confdefs.h <<_ACEOF
60638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60639 _ACEOF
60642 done
60644 else
60646 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60647 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60648 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60649 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60650 echo $ECHO_N "(cached) $ECHO_C" >&6
60651 else
60655 ac_ext=cc
60656 ac_cpp='$CXXCPP $CPPFLAGS'
60657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60661 cat >conftest.$ac_ext <<_ACEOF
60662 /* confdefs.h. */
60663 _ACEOF
60664 cat confdefs.h >>conftest.$ac_ext
60665 cat >>conftest.$ac_ext <<_ACEOF
60666 /* end confdefs.h. */
60667 #include <math.h>
60669 main ()
60671 _frexpf(0, 0);
60673 return 0;
60675 _ACEOF
60676 rm -f conftest.$ac_objext
60677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60678 (eval $ac_compile) 2>conftest.er1
60679 ac_status=$?
60680 grep -v '^ *+' conftest.er1 >conftest.err
60681 rm -f conftest.er1
60682 cat conftest.err >&5
60683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60684 (exit $ac_status); } &&
60685 { ac_try='test -z "$ac_cxx_werror_flag"
60686 || test ! -s conftest.err'
60687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60688 (eval $ac_try) 2>&5
60689 ac_status=$?
60690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60691 (exit $ac_status); }; } &&
60692 { ac_try='test -s conftest.$ac_objext'
60693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694 (eval $ac_try) 2>&5
60695 ac_status=$?
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); }; }; then
60698 glibcxx_cv_func__frexpf_use=yes
60699 else
60700 echo "$as_me: failed program was:" >&5
60701 sed 's/^/| /' conftest.$ac_ext >&5
60703 glibcxx_cv_func__frexpf_use=no
60705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60706 ac_ext=c
60707 ac_cpp='$CPP $CPPFLAGS'
60708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60716 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60717 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60719 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60721 for ac_func in _frexpf
60723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60724 echo "$as_me:$LINENO: checking for $ac_func" >&5
60725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60726 if eval "test \"\${$as_ac_var+set}\" = set"; then
60727 echo $ECHO_N "(cached) $ECHO_C" >&6
60728 else
60729 if test x$gcc_no_link = xyes; then
60730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60732 { (exit 1); exit 1; }; }
60734 cat >conftest.$ac_ext <<_ACEOF
60735 /* confdefs.h. */
60736 _ACEOF
60737 cat confdefs.h >>conftest.$ac_ext
60738 cat >>conftest.$ac_ext <<_ACEOF
60739 /* end confdefs.h. */
60740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60742 #define $ac_func innocuous_$ac_func
60744 /* System header to define __stub macros and hopefully few prototypes,
60745 which can conflict with char $ac_func (); below.
60746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60747 <limits.h> exists even on freestanding compilers. */
60749 #ifdef __STDC__
60750 # include <limits.h>
60751 #else
60752 # include <assert.h>
60753 #endif
60755 #undef $ac_func
60757 /* Override any gcc2 internal prototype to avoid an error. */
60758 #ifdef __cplusplus
60759 extern "C"
60761 #endif
60762 /* We use char because int might match the return type of a gcc2
60763 builtin and then its argument prototype would still apply. */
60764 char $ac_func ();
60765 /* The GNU C library defines this for functions which it implements
60766 to always fail with ENOSYS. Some functions are actually named
60767 something starting with __ and the normal name is an alias. */
60768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60769 choke me
60770 #else
60771 char (*f) () = $ac_func;
60772 #endif
60773 #ifdef __cplusplus
60775 #endif
60778 main ()
60780 return f != $ac_func;
60782 return 0;
60784 _ACEOF
60785 rm -f conftest.$ac_objext conftest$ac_exeext
60786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60787 (eval $ac_link) 2>conftest.er1
60788 ac_status=$?
60789 grep -v '^ *+' conftest.er1 >conftest.err
60790 rm -f conftest.er1
60791 cat conftest.err >&5
60792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60793 (exit $ac_status); } &&
60794 { ac_try='test -z "$ac_c_werror_flag"
60795 || test ! -s conftest.err'
60796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60797 (eval $ac_try) 2>&5
60798 ac_status=$?
60799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60800 (exit $ac_status); }; } &&
60801 { ac_try='test -s conftest$ac_exeext'
60802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803 (eval $ac_try) 2>&5
60804 ac_status=$?
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 (exit $ac_status); }; }; then
60807 eval "$as_ac_var=yes"
60808 else
60809 echo "$as_me: failed program was:" >&5
60810 sed 's/^/| /' conftest.$ac_ext >&5
60812 eval "$as_ac_var=no"
60814 rm -f conftest.err conftest.$ac_objext \
60815 conftest$ac_exeext conftest.$ac_ext
60817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60819 if test `eval echo '${'$as_ac_var'}'` = yes; then
60820 cat >>confdefs.h <<_ACEOF
60821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60822 _ACEOF
60825 done
60835 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60836 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60837 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60838 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60839 echo $ECHO_N "(cached) $ECHO_C" >&6
60840 else
60844 ac_ext=cc
60845 ac_cpp='$CXXCPP $CPPFLAGS'
60846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60850 cat >conftest.$ac_ext <<_ACEOF
60851 /* confdefs.h. */
60852 _ACEOF
60853 cat confdefs.h >>conftest.$ac_ext
60854 cat >>conftest.$ac_ext <<_ACEOF
60855 /* end confdefs.h. */
60856 #include <math.h>
60858 main ()
60860 hypotf(0, 0);
60862 return 0;
60864 _ACEOF
60865 rm -f conftest.$ac_objext
60866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60867 (eval $ac_compile) 2>conftest.er1
60868 ac_status=$?
60869 grep -v '^ *+' conftest.er1 >conftest.err
60870 rm -f conftest.er1
60871 cat conftest.err >&5
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); } &&
60874 { ac_try='test -z "$ac_cxx_werror_flag"
60875 || test ! -s conftest.err'
60876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60877 (eval $ac_try) 2>&5
60878 ac_status=$?
60879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60880 (exit $ac_status); }; } &&
60881 { ac_try='test -s conftest.$ac_objext'
60882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60883 (eval $ac_try) 2>&5
60884 ac_status=$?
60885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60886 (exit $ac_status); }; }; then
60887 glibcxx_cv_func_hypotf_use=yes
60888 else
60889 echo "$as_me: failed program was:" >&5
60890 sed 's/^/| /' conftest.$ac_ext >&5
60892 glibcxx_cv_func_hypotf_use=no
60894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60895 ac_ext=c
60896 ac_cpp='$CPP $CPPFLAGS'
60897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60906 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60908 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60910 for ac_func in hypotf
60912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60913 echo "$as_me:$LINENO: checking for $ac_func" >&5
60914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60915 if eval "test \"\${$as_ac_var+set}\" = set"; then
60916 echo $ECHO_N "(cached) $ECHO_C" >&6
60917 else
60918 if test x$gcc_no_link = xyes; then
60919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60921 { (exit 1); exit 1; }; }
60923 cat >conftest.$ac_ext <<_ACEOF
60924 /* confdefs.h. */
60925 _ACEOF
60926 cat confdefs.h >>conftest.$ac_ext
60927 cat >>conftest.$ac_ext <<_ACEOF
60928 /* end confdefs.h. */
60929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60931 #define $ac_func innocuous_$ac_func
60933 /* System header to define __stub macros and hopefully few prototypes,
60934 which can conflict with char $ac_func (); below.
60935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60936 <limits.h> exists even on freestanding compilers. */
60938 #ifdef __STDC__
60939 # include <limits.h>
60940 #else
60941 # include <assert.h>
60942 #endif
60944 #undef $ac_func
60946 /* Override any gcc2 internal prototype to avoid an error. */
60947 #ifdef __cplusplus
60948 extern "C"
60950 #endif
60951 /* We use char because int might match the return type of a gcc2
60952 builtin and then its argument prototype would still apply. */
60953 char $ac_func ();
60954 /* The GNU C library defines this for functions which it implements
60955 to always fail with ENOSYS. Some functions are actually named
60956 something starting with __ and the normal name is an alias. */
60957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60958 choke me
60959 #else
60960 char (*f) () = $ac_func;
60961 #endif
60962 #ifdef __cplusplus
60964 #endif
60967 main ()
60969 return f != $ac_func;
60971 return 0;
60973 _ACEOF
60974 rm -f conftest.$ac_objext conftest$ac_exeext
60975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60976 (eval $ac_link) 2>conftest.er1
60977 ac_status=$?
60978 grep -v '^ *+' conftest.er1 >conftest.err
60979 rm -f conftest.er1
60980 cat conftest.err >&5
60981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982 (exit $ac_status); } &&
60983 { ac_try='test -z "$ac_c_werror_flag"
60984 || test ! -s conftest.err'
60985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60986 (eval $ac_try) 2>&5
60987 ac_status=$?
60988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60989 (exit $ac_status); }; } &&
60990 { ac_try='test -s conftest$ac_exeext'
60991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60992 (eval $ac_try) 2>&5
60993 ac_status=$?
60994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60995 (exit $ac_status); }; }; then
60996 eval "$as_ac_var=yes"
60997 else
60998 echo "$as_me: failed program was:" >&5
60999 sed 's/^/| /' conftest.$ac_ext >&5
61001 eval "$as_ac_var=no"
61003 rm -f conftest.err conftest.$ac_objext \
61004 conftest$ac_exeext conftest.$ac_ext
61006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61008 if test `eval echo '${'$as_ac_var'}'` = yes; then
61009 cat >>confdefs.h <<_ACEOF
61010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61011 _ACEOF
61014 done
61016 else
61018 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61019 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61020 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61021 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61022 echo $ECHO_N "(cached) $ECHO_C" >&6
61023 else
61027 ac_ext=cc
61028 ac_cpp='$CXXCPP $CPPFLAGS'
61029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61033 cat >conftest.$ac_ext <<_ACEOF
61034 /* confdefs.h. */
61035 _ACEOF
61036 cat confdefs.h >>conftest.$ac_ext
61037 cat >>conftest.$ac_ext <<_ACEOF
61038 /* end confdefs.h. */
61039 #include <math.h>
61041 main ()
61043 _hypotf(0, 0);
61045 return 0;
61047 _ACEOF
61048 rm -f conftest.$ac_objext
61049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61050 (eval $ac_compile) 2>conftest.er1
61051 ac_status=$?
61052 grep -v '^ *+' conftest.er1 >conftest.err
61053 rm -f conftest.er1
61054 cat conftest.err >&5
61055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61056 (exit $ac_status); } &&
61057 { ac_try='test -z "$ac_cxx_werror_flag"
61058 || test ! -s conftest.err'
61059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61060 (eval $ac_try) 2>&5
61061 ac_status=$?
61062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61063 (exit $ac_status); }; } &&
61064 { ac_try='test -s conftest.$ac_objext'
61065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61066 (eval $ac_try) 2>&5
61067 ac_status=$?
61068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61069 (exit $ac_status); }; }; then
61070 glibcxx_cv_func__hypotf_use=yes
61071 else
61072 echo "$as_me: failed program was:" >&5
61073 sed 's/^/| /' conftest.$ac_ext >&5
61075 glibcxx_cv_func__hypotf_use=no
61077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61078 ac_ext=c
61079 ac_cpp='$CPP $CPPFLAGS'
61080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61088 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61089 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61091 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61093 for ac_func in _hypotf
61095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61096 echo "$as_me:$LINENO: checking for $ac_func" >&5
61097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61098 if eval "test \"\${$as_ac_var+set}\" = set"; then
61099 echo $ECHO_N "(cached) $ECHO_C" >&6
61100 else
61101 if test x$gcc_no_link = xyes; then
61102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61104 { (exit 1); exit 1; }; }
61106 cat >conftest.$ac_ext <<_ACEOF
61107 /* confdefs.h. */
61108 _ACEOF
61109 cat confdefs.h >>conftest.$ac_ext
61110 cat >>conftest.$ac_ext <<_ACEOF
61111 /* end confdefs.h. */
61112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61114 #define $ac_func innocuous_$ac_func
61116 /* System header to define __stub macros and hopefully few prototypes,
61117 which can conflict with char $ac_func (); below.
61118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61119 <limits.h> exists even on freestanding compilers. */
61121 #ifdef __STDC__
61122 # include <limits.h>
61123 #else
61124 # include <assert.h>
61125 #endif
61127 #undef $ac_func
61129 /* Override any gcc2 internal prototype to avoid an error. */
61130 #ifdef __cplusplus
61131 extern "C"
61133 #endif
61134 /* We use char because int might match the return type of a gcc2
61135 builtin and then its argument prototype would still apply. */
61136 char $ac_func ();
61137 /* The GNU C library defines this for functions which it implements
61138 to always fail with ENOSYS. Some functions are actually named
61139 something starting with __ and the normal name is an alias. */
61140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61141 choke me
61142 #else
61143 char (*f) () = $ac_func;
61144 #endif
61145 #ifdef __cplusplus
61147 #endif
61150 main ()
61152 return f != $ac_func;
61154 return 0;
61156 _ACEOF
61157 rm -f conftest.$ac_objext conftest$ac_exeext
61158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61159 (eval $ac_link) 2>conftest.er1
61160 ac_status=$?
61161 grep -v '^ *+' conftest.er1 >conftest.err
61162 rm -f conftest.er1
61163 cat conftest.err >&5
61164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61165 (exit $ac_status); } &&
61166 { ac_try='test -z "$ac_c_werror_flag"
61167 || test ! -s conftest.err'
61168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61169 (eval $ac_try) 2>&5
61170 ac_status=$?
61171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61172 (exit $ac_status); }; } &&
61173 { ac_try='test -s conftest$ac_exeext'
61174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61175 (eval $ac_try) 2>&5
61176 ac_status=$?
61177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61178 (exit $ac_status); }; }; then
61179 eval "$as_ac_var=yes"
61180 else
61181 echo "$as_me: failed program was:" >&5
61182 sed 's/^/| /' conftest.$ac_ext >&5
61184 eval "$as_ac_var=no"
61186 rm -f conftest.err conftest.$ac_objext \
61187 conftest$ac_exeext conftest.$ac_ext
61189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61191 if test `eval echo '${'$as_ac_var'}'` = yes; then
61192 cat >>confdefs.h <<_ACEOF
61193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61194 _ACEOF
61197 done
61207 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61208 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61209 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61210 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61211 echo $ECHO_N "(cached) $ECHO_C" >&6
61212 else
61216 ac_ext=cc
61217 ac_cpp='$CXXCPP $CPPFLAGS'
61218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61222 cat >conftest.$ac_ext <<_ACEOF
61223 /* confdefs.h. */
61224 _ACEOF
61225 cat confdefs.h >>conftest.$ac_ext
61226 cat >>conftest.$ac_ext <<_ACEOF
61227 /* end confdefs.h. */
61228 #include <math.h>
61230 main ()
61232 ldexpf(0, 0);
61234 return 0;
61236 _ACEOF
61237 rm -f conftest.$ac_objext
61238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61239 (eval $ac_compile) 2>conftest.er1
61240 ac_status=$?
61241 grep -v '^ *+' conftest.er1 >conftest.err
61242 rm -f conftest.er1
61243 cat conftest.err >&5
61244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61245 (exit $ac_status); } &&
61246 { ac_try='test -z "$ac_cxx_werror_flag"
61247 || test ! -s conftest.err'
61248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61249 (eval $ac_try) 2>&5
61250 ac_status=$?
61251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61252 (exit $ac_status); }; } &&
61253 { ac_try='test -s conftest.$ac_objext'
61254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61255 (eval $ac_try) 2>&5
61256 ac_status=$?
61257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61258 (exit $ac_status); }; }; then
61259 glibcxx_cv_func_ldexpf_use=yes
61260 else
61261 echo "$as_me: failed program was:" >&5
61262 sed 's/^/| /' conftest.$ac_ext >&5
61264 glibcxx_cv_func_ldexpf_use=no
61266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61267 ac_ext=c
61268 ac_cpp='$CPP $CPPFLAGS'
61269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61278 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61280 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61282 for ac_func in ldexpf
61284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61285 echo "$as_me:$LINENO: checking for $ac_func" >&5
61286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61287 if eval "test \"\${$as_ac_var+set}\" = set"; then
61288 echo $ECHO_N "(cached) $ECHO_C" >&6
61289 else
61290 if test x$gcc_no_link = xyes; then
61291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61293 { (exit 1); exit 1; }; }
61295 cat >conftest.$ac_ext <<_ACEOF
61296 /* confdefs.h. */
61297 _ACEOF
61298 cat confdefs.h >>conftest.$ac_ext
61299 cat >>conftest.$ac_ext <<_ACEOF
61300 /* end confdefs.h. */
61301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61303 #define $ac_func innocuous_$ac_func
61305 /* System header to define __stub macros and hopefully few prototypes,
61306 which can conflict with char $ac_func (); below.
61307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61308 <limits.h> exists even on freestanding compilers. */
61310 #ifdef __STDC__
61311 # include <limits.h>
61312 #else
61313 # include <assert.h>
61314 #endif
61316 #undef $ac_func
61318 /* Override any gcc2 internal prototype to avoid an error. */
61319 #ifdef __cplusplus
61320 extern "C"
61322 #endif
61323 /* We use char because int might match the return type of a gcc2
61324 builtin and then its argument prototype would still apply. */
61325 char $ac_func ();
61326 /* The GNU C library defines this for functions which it implements
61327 to always fail with ENOSYS. Some functions are actually named
61328 something starting with __ and the normal name is an alias. */
61329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61330 choke me
61331 #else
61332 char (*f) () = $ac_func;
61333 #endif
61334 #ifdef __cplusplus
61336 #endif
61339 main ()
61341 return f != $ac_func;
61343 return 0;
61345 _ACEOF
61346 rm -f conftest.$ac_objext conftest$ac_exeext
61347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61348 (eval $ac_link) 2>conftest.er1
61349 ac_status=$?
61350 grep -v '^ *+' conftest.er1 >conftest.err
61351 rm -f conftest.er1
61352 cat conftest.err >&5
61353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61354 (exit $ac_status); } &&
61355 { ac_try='test -z "$ac_c_werror_flag"
61356 || test ! -s conftest.err'
61357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61358 (eval $ac_try) 2>&5
61359 ac_status=$?
61360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61361 (exit $ac_status); }; } &&
61362 { ac_try='test -s conftest$ac_exeext'
61363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61364 (eval $ac_try) 2>&5
61365 ac_status=$?
61366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61367 (exit $ac_status); }; }; then
61368 eval "$as_ac_var=yes"
61369 else
61370 echo "$as_me: failed program was:" >&5
61371 sed 's/^/| /' conftest.$ac_ext >&5
61373 eval "$as_ac_var=no"
61375 rm -f conftest.err conftest.$ac_objext \
61376 conftest$ac_exeext conftest.$ac_ext
61378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61380 if test `eval echo '${'$as_ac_var'}'` = yes; then
61381 cat >>confdefs.h <<_ACEOF
61382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61383 _ACEOF
61386 done
61388 else
61390 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61391 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61392 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61393 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61394 echo $ECHO_N "(cached) $ECHO_C" >&6
61395 else
61399 ac_ext=cc
61400 ac_cpp='$CXXCPP $CPPFLAGS'
61401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61405 cat >conftest.$ac_ext <<_ACEOF
61406 /* confdefs.h. */
61407 _ACEOF
61408 cat confdefs.h >>conftest.$ac_ext
61409 cat >>conftest.$ac_ext <<_ACEOF
61410 /* end confdefs.h. */
61411 #include <math.h>
61413 main ()
61415 _ldexpf(0, 0);
61417 return 0;
61419 _ACEOF
61420 rm -f conftest.$ac_objext
61421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61422 (eval $ac_compile) 2>conftest.er1
61423 ac_status=$?
61424 grep -v '^ *+' conftest.er1 >conftest.err
61425 rm -f conftest.er1
61426 cat conftest.err >&5
61427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61428 (exit $ac_status); } &&
61429 { ac_try='test -z "$ac_cxx_werror_flag"
61430 || test ! -s conftest.err'
61431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61432 (eval $ac_try) 2>&5
61433 ac_status=$?
61434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61435 (exit $ac_status); }; } &&
61436 { ac_try='test -s conftest.$ac_objext'
61437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61438 (eval $ac_try) 2>&5
61439 ac_status=$?
61440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61441 (exit $ac_status); }; }; then
61442 glibcxx_cv_func__ldexpf_use=yes
61443 else
61444 echo "$as_me: failed program was:" >&5
61445 sed 's/^/| /' conftest.$ac_ext >&5
61447 glibcxx_cv_func__ldexpf_use=no
61449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61450 ac_ext=c
61451 ac_cpp='$CPP $CPPFLAGS'
61452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61460 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61461 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61463 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61465 for ac_func in _ldexpf
61467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61468 echo "$as_me:$LINENO: checking for $ac_func" >&5
61469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61470 if eval "test \"\${$as_ac_var+set}\" = set"; then
61471 echo $ECHO_N "(cached) $ECHO_C" >&6
61472 else
61473 if test x$gcc_no_link = xyes; then
61474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61476 { (exit 1); exit 1; }; }
61478 cat >conftest.$ac_ext <<_ACEOF
61479 /* confdefs.h. */
61480 _ACEOF
61481 cat confdefs.h >>conftest.$ac_ext
61482 cat >>conftest.$ac_ext <<_ACEOF
61483 /* end confdefs.h. */
61484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61486 #define $ac_func innocuous_$ac_func
61488 /* System header to define __stub macros and hopefully few prototypes,
61489 which can conflict with char $ac_func (); below.
61490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61491 <limits.h> exists even on freestanding compilers. */
61493 #ifdef __STDC__
61494 # include <limits.h>
61495 #else
61496 # include <assert.h>
61497 #endif
61499 #undef $ac_func
61501 /* Override any gcc2 internal prototype to avoid an error. */
61502 #ifdef __cplusplus
61503 extern "C"
61505 #endif
61506 /* We use char because int might match the return type of a gcc2
61507 builtin and then its argument prototype would still apply. */
61508 char $ac_func ();
61509 /* The GNU C library defines this for functions which it implements
61510 to always fail with ENOSYS. Some functions are actually named
61511 something starting with __ and the normal name is an alias. */
61512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61513 choke me
61514 #else
61515 char (*f) () = $ac_func;
61516 #endif
61517 #ifdef __cplusplus
61519 #endif
61522 main ()
61524 return f != $ac_func;
61526 return 0;
61528 _ACEOF
61529 rm -f conftest.$ac_objext conftest$ac_exeext
61530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61531 (eval $ac_link) 2>conftest.er1
61532 ac_status=$?
61533 grep -v '^ *+' conftest.er1 >conftest.err
61534 rm -f conftest.er1
61535 cat conftest.err >&5
61536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61537 (exit $ac_status); } &&
61538 { ac_try='test -z "$ac_c_werror_flag"
61539 || test ! -s conftest.err'
61540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61541 (eval $ac_try) 2>&5
61542 ac_status=$?
61543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61544 (exit $ac_status); }; } &&
61545 { ac_try='test -s conftest$ac_exeext'
61546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61547 (eval $ac_try) 2>&5
61548 ac_status=$?
61549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61550 (exit $ac_status); }; }; then
61551 eval "$as_ac_var=yes"
61552 else
61553 echo "$as_me: failed program was:" >&5
61554 sed 's/^/| /' conftest.$ac_ext >&5
61556 eval "$as_ac_var=no"
61558 rm -f conftest.err conftest.$ac_objext \
61559 conftest$ac_exeext conftest.$ac_ext
61561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61563 if test `eval echo '${'$as_ac_var'}'` = yes; then
61564 cat >>confdefs.h <<_ACEOF
61565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61566 _ACEOF
61569 done
61579 echo "$as_me:$LINENO: checking for logf declaration" >&5
61580 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61581 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61582 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61583 echo $ECHO_N "(cached) $ECHO_C" >&6
61584 else
61588 ac_ext=cc
61589 ac_cpp='$CXXCPP $CPPFLAGS'
61590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61594 cat >conftest.$ac_ext <<_ACEOF
61595 /* confdefs.h. */
61596 _ACEOF
61597 cat confdefs.h >>conftest.$ac_ext
61598 cat >>conftest.$ac_ext <<_ACEOF
61599 /* end confdefs.h. */
61600 #include <math.h>
61601 #ifdef HAVE_IEEEFP_H
61602 #include <ieeefp.h>
61603 #endif
61606 main ()
61608 logf(0);
61610 return 0;
61612 _ACEOF
61613 rm -f conftest.$ac_objext
61614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61615 (eval $ac_compile) 2>conftest.er1
61616 ac_status=$?
61617 grep -v '^ *+' conftest.er1 >conftest.err
61618 rm -f conftest.er1
61619 cat conftest.err >&5
61620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621 (exit $ac_status); } &&
61622 { ac_try='test -z "$ac_cxx_werror_flag"
61623 || test ! -s conftest.err'
61624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61625 (eval $ac_try) 2>&5
61626 ac_status=$?
61627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61628 (exit $ac_status); }; } &&
61629 { ac_try='test -s conftest.$ac_objext'
61630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61631 (eval $ac_try) 2>&5
61632 ac_status=$?
61633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61634 (exit $ac_status); }; }; then
61635 glibcxx_cv_func_logf_use=yes
61636 else
61637 echo "$as_me: failed program was:" >&5
61638 sed 's/^/| /' conftest.$ac_ext >&5
61640 glibcxx_cv_func_logf_use=no
61642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61643 ac_ext=c
61644 ac_cpp='$CPP $CPPFLAGS'
61645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61654 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61656 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61658 for ac_func in logf
61660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61661 echo "$as_me:$LINENO: checking for $ac_func" >&5
61662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61663 if eval "test \"\${$as_ac_var+set}\" = set"; then
61664 echo $ECHO_N "(cached) $ECHO_C" >&6
61665 else
61666 if test x$gcc_no_link = xyes; then
61667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61669 { (exit 1); exit 1; }; }
61671 cat >conftest.$ac_ext <<_ACEOF
61672 /* confdefs.h. */
61673 _ACEOF
61674 cat confdefs.h >>conftest.$ac_ext
61675 cat >>conftest.$ac_ext <<_ACEOF
61676 /* end confdefs.h. */
61677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61679 #define $ac_func innocuous_$ac_func
61681 /* System header to define __stub macros and hopefully few prototypes,
61682 which can conflict with char $ac_func (); below.
61683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61684 <limits.h> exists even on freestanding compilers. */
61686 #ifdef __STDC__
61687 # include <limits.h>
61688 #else
61689 # include <assert.h>
61690 #endif
61692 #undef $ac_func
61694 /* Override any gcc2 internal prototype to avoid an error. */
61695 #ifdef __cplusplus
61696 extern "C"
61698 #endif
61699 /* We use char because int might match the return type of a gcc2
61700 builtin and then its argument prototype would still apply. */
61701 char $ac_func ();
61702 /* The GNU C library defines this for functions which it implements
61703 to always fail with ENOSYS. Some functions are actually named
61704 something starting with __ and the normal name is an alias. */
61705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61706 choke me
61707 #else
61708 char (*f) () = $ac_func;
61709 #endif
61710 #ifdef __cplusplus
61712 #endif
61715 main ()
61717 return f != $ac_func;
61719 return 0;
61721 _ACEOF
61722 rm -f conftest.$ac_objext conftest$ac_exeext
61723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61724 (eval $ac_link) 2>conftest.er1
61725 ac_status=$?
61726 grep -v '^ *+' conftest.er1 >conftest.err
61727 rm -f conftest.er1
61728 cat conftest.err >&5
61729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61730 (exit $ac_status); } &&
61731 { ac_try='test -z "$ac_c_werror_flag"
61732 || test ! -s conftest.err'
61733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61734 (eval $ac_try) 2>&5
61735 ac_status=$?
61736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61737 (exit $ac_status); }; } &&
61738 { ac_try='test -s conftest$ac_exeext'
61739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61740 (eval $ac_try) 2>&5
61741 ac_status=$?
61742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61743 (exit $ac_status); }; }; then
61744 eval "$as_ac_var=yes"
61745 else
61746 echo "$as_me: failed program was:" >&5
61747 sed 's/^/| /' conftest.$ac_ext >&5
61749 eval "$as_ac_var=no"
61751 rm -f conftest.err conftest.$ac_objext \
61752 conftest$ac_exeext conftest.$ac_ext
61754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61756 if test `eval echo '${'$as_ac_var'}'` = yes; then
61757 cat >>confdefs.h <<_ACEOF
61758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61759 _ACEOF
61762 done
61764 else
61766 echo "$as_me:$LINENO: checking for _logf declaration" >&5
61767 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61768 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61769 if test "${glibcxx_cv_func__logf_use+set}" = set; then
61770 echo $ECHO_N "(cached) $ECHO_C" >&6
61771 else
61775 ac_ext=cc
61776 ac_cpp='$CXXCPP $CPPFLAGS'
61777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61781 cat >conftest.$ac_ext <<_ACEOF
61782 /* confdefs.h. */
61783 _ACEOF
61784 cat confdefs.h >>conftest.$ac_ext
61785 cat >>conftest.$ac_ext <<_ACEOF
61786 /* end confdefs.h. */
61787 #include <math.h>
61788 #ifdef HAVE_IEEEFP_H
61789 #include <ieeefp.h>
61790 #endif
61793 main ()
61795 _logf(0);
61797 return 0;
61799 _ACEOF
61800 rm -f conftest.$ac_objext
61801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61802 (eval $ac_compile) 2>conftest.er1
61803 ac_status=$?
61804 grep -v '^ *+' conftest.er1 >conftest.err
61805 rm -f conftest.er1
61806 cat conftest.err >&5
61807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61808 (exit $ac_status); } &&
61809 { ac_try='test -z "$ac_cxx_werror_flag"
61810 || test ! -s conftest.err'
61811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61812 (eval $ac_try) 2>&5
61813 ac_status=$?
61814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815 (exit $ac_status); }; } &&
61816 { ac_try='test -s conftest.$ac_objext'
61817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61818 (eval $ac_try) 2>&5
61819 ac_status=$?
61820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61821 (exit $ac_status); }; }; then
61822 glibcxx_cv_func__logf_use=yes
61823 else
61824 echo "$as_me: failed program was:" >&5
61825 sed 's/^/| /' conftest.$ac_ext >&5
61827 glibcxx_cv_func__logf_use=no
61829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61830 ac_ext=c
61831 ac_cpp='$CPP $CPPFLAGS'
61832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61841 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61843 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61845 for ac_func in _logf
61847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61848 echo "$as_me:$LINENO: checking for $ac_func" >&5
61849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61850 if eval "test \"\${$as_ac_var+set}\" = set"; then
61851 echo $ECHO_N "(cached) $ECHO_C" >&6
61852 else
61853 if test x$gcc_no_link = xyes; then
61854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61856 { (exit 1); exit 1; }; }
61858 cat >conftest.$ac_ext <<_ACEOF
61859 /* confdefs.h. */
61860 _ACEOF
61861 cat confdefs.h >>conftest.$ac_ext
61862 cat >>conftest.$ac_ext <<_ACEOF
61863 /* end confdefs.h. */
61864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61866 #define $ac_func innocuous_$ac_func
61868 /* System header to define __stub macros and hopefully few prototypes,
61869 which can conflict with char $ac_func (); below.
61870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61871 <limits.h> exists even on freestanding compilers. */
61873 #ifdef __STDC__
61874 # include <limits.h>
61875 #else
61876 # include <assert.h>
61877 #endif
61879 #undef $ac_func
61881 /* Override any gcc2 internal prototype to avoid an error. */
61882 #ifdef __cplusplus
61883 extern "C"
61885 #endif
61886 /* We use char because int might match the return type of a gcc2
61887 builtin and then its argument prototype would still apply. */
61888 char $ac_func ();
61889 /* The GNU C library defines this for functions which it implements
61890 to always fail with ENOSYS. Some functions are actually named
61891 something starting with __ and the normal name is an alias. */
61892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61893 choke me
61894 #else
61895 char (*f) () = $ac_func;
61896 #endif
61897 #ifdef __cplusplus
61899 #endif
61902 main ()
61904 return f != $ac_func;
61906 return 0;
61908 _ACEOF
61909 rm -f conftest.$ac_objext conftest$ac_exeext
61910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61911 (eval $ac_link) 2>conftest.er1
61912 ac_status=$?
61913 grep -v '^ *+' conftest.er1 >conftest.err
61914 rm -f conftest.er1
61915 cat conftest.err >&5
61916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61917 (exit $ac_status); } &&
61918 { ac_try='test -z "$ac_c_werror_flag"
61919 || test ! -s conftest.err'
61920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61921 (eval $ac_try) 2>&5
61922 ac_status=$?
61923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924 (exit $ac_status); }; } &&
61925 { ac_try='test -s conftest$ac_exeext'
61926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61927 (eval $ac_try) 2>&5
61928 ac_status=$?
61929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61930 (exit $ac_status); }; }; then
61931 eval "$as_ac_var=yes"
61932 else
61933 echo "$as_me: failed program was:" >&5
61934 sed 's/^/| /' conftest.$ac_ext >&5
61936 eval "$as_ac_var=no"
61938 rm -f conftest.err conftest.$ac_objext \
61939 conftest$ac_exeext conftest.$ac_ext
61941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61943 if test `eval echo '${'$as_ac_var'}'` = yes; then
61944 cat >>confdefs.h <<_ACEOF
61945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61946 _ACEOF
61949 done
61959 echo "$as_me:$LINENO: checking for log10f declaration" >&5
61960 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61961 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61962 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61963 echo $ECHO_N "(cached) $ECHO_C" >&6
61964 else
61968 ac_ext=cc
61969 ac_cpp='$CXXCPP $CPPFLAGS'
61970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61974 cat >conftest.$ac_ext <<_ACEOF
61975 /* confdefs.h. */
61976 _ACEOF
61977 cat confdefs.h >>conftest.$ac_ext
61978 cat >>conftest.$ac_ext <<_ACEOF
61979 /* end confdefs.h. */
61980 #include <math.h>
61981 #ifdef HAVE_IEEEFP_H
61982 #include <ieeefp.h>
61983 #endif
61986 main ()
61988 log10f(0);
61990 return 0;
61992 _ACEOF
61993 rm -f conftest.$ac_objext
61994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61995 (eval $ac_compile) 2>conftest.er1
61996 ac_status=$?
61997 grep -v '^ *+' conftest.er1 >conftest.err
61998 rm -f conftest.er1
61999 cat conftest.err >&5
62000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62001 (exit $ac_status); } &&
62002 { ac_try='test -z "$ac_cxx_werror_flag"
62003 || test ! -s conftest.err'
62004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62005 (eval $ac_try) 2>&5
62006 ac_status=$?
62007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62008 (exit $ac_status); }; } &&
62009 { ac_try='test -s conftest.$ac_objext'
62010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62011 (eval $ac_try) 2>&5
62012 ac_status=$?
62013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62014 (exit $ac_status); }; }; then
62015 glibcxx_cv_func_log10f_use=yes
62016 else
62017 echo "$as_me: failed program was:" >&5
62018 sed 's/^/| /' conftest.$ac_ext >&5
62020 glibcxx_cv_func_log10f_use=no
62022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62023 ac_ext=c
62024 ac_cpp='$CPP $CPPFLAGS'
62025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62034 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62036 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62038 for ac_func in log10f
62040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62041 echo "$as_me:$LINENO: checking for $ac_func" >&5
62042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62043 if eval "test \"\${$as_ac_var+set}\" = set"; then
62044 echo $ECHO_N "(cached) $ECHO_C" >&6
62045 else
62046 if test x$gcc_no_link = xyes; then
62047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62049 { (exit 1); exit 1; }; }
62051 cat >conftest.$ac_ext <<_ACEOF
62052 /* confdefs.h. */
62053 _ACEOF
62054 cat confdefs.h >>conftest.$ac_ext
62055 cat >>conftest.$ac_ext <<_ACEOF
62056 /* end confdefs.h. */
62057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62059 #define $ac_func innocuous_$ac_func
62061 /* System header to define __stub macros and hopefully few prototypes,
62062 which can conflict with char $ac_func (); below.
62063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62064 <limits.h> exists even on freestanding compilers. */
62066 #ifdef __STDC__
62067 # include <limits.h>
62068 #else
62069 # include <assert.h>
62070 #endif
62072 #undef $ac_func
62074 /* Override any gcc2 internal prototype to avoid an error. */
62075 #ifdef __cplusplus
62076 extern "C"
62078 #endif
62079 /* We use char because int might match the return type of a gcc2
62080 builtin and then its argument prototype would still apply. */
62081 char $ac_func ();
62082 /* The GNU C library defines this for functions which it implements
62083 to always fail with ENOSYS. Some functions are actually named
62084 something starting with __ and the normal name is an alias. */
62085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62086 choke me
62087 #else
62088 char (*f) () = $ac_func;
62089 #endif
62090 #ifdef __cplusplus
62092 #endif
62095 main ()
62097 return f != $ac_func;
62099 return 0;
62101 _ACEOF
62102 rm -f conftest.$ac_objext conftest$ac_exeext
62103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62104 (eval $ac_link) 2>conftest.er1
62105 ac_status=$?
62106 grep -v '^ *+' conftest.er1 >conftest.err
62107 rm -f conftest.er1
62108 cat conftest.err >&5
62109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62110 (exit $ac_status); } &&
62111 { ac_try='test -z "$ac_c_werror_flag"
62112 || test ! -s conftest.err'
62113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62114 (eval $ac_try) 2>&5
62115 ac_status=$?
62116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62117 (exit $ac_status); }; } &&
62118 { ac_try='test -s conftest$ac_exeext'
62119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62120 (eval $ac_try) 2>&5
62121 ac_status=$?
62122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62123 (exit $ac_status); }; }; then
62124 eval "$as_ac_var=yes"
62125 else
62126 echo "$as_me: failed program was:" >&5
62127 sed 's/^/| /' conftest.$ac_ext >&5
62129 eval "$as_ac_var=no"
62131 rm -f conftest.err conftest.$ac_objext \
62132 conftest$ac_exeext conftest.$ac_ext
62134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62136 if test `eval echo '${'$as_ac_var'}'` = yes; then
62137 cat >>confdefs.h <<_ACEOF
62138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62139 _ACEOF
62142 done
62144 else
62146 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62147 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62148 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62149 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62150 echo $ECHO_N "(cached) $ECHO_C" >&6
62151 else
62155 ac_ext=cc
62156 ac_cpp='$CXXCPP $CPPFLAGS'
62157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62161 cat >conftest.$ac_ext <<_ACEOF
62162 /* confdefs.h. */
62163 _ACEOF
62164 cat confdefs.h >>conftest.$ac_ext
62165 cat >>conftest.$ac_ext <<_ACEOF
62166 /* end confdefs.h. */
62167 #include <math.h>
62168 #ifdef HAVE_IEEEFP_H
62169 #include <ieeefp.h>
62170 #endif
62173 main ()
62175 _log10f(0);
62177 return 0;
62179 _ACEOF
62180 rm -f conftest.$ac_objext
62181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62182 (eval $ac_compile) 2>conftest.er1
62183 ac_status=$?
62184 grep -v '^ *+' conftest.er1 >conftest.err
62185 rm -f conftest.er1
62186 cat conftest.err >&5
62187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62188 (exit $ac_status); } &&
62189 { ac_try='test -z "$ac_cxx_werror_flag"
62190 || test ! -s conftest.err'
62191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62192 (eval $ac_try) 2>&5
62193 ac_status=$?
62194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62195 (exit $ac_status); }; } &&
62196 { ac_try='test -s conftest.$ac_objext'
62197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62198 (eval $ac_try) 2>&5
62199 ac_status=$?
62200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62201 (exit $ac_status); }; }; then
62202 glibcxx_cv_func__log10f_use=yes
62203 else
62204 echo "$as_me: failed program was:" >&5
62205 sed 's/^/| /' conftest.$ac_ext >&5
62207 glibcxx_cv_func__log10f_use=no
62209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62210 ac_ext=c
62211 ac_cpp='$CPP $CPPFLAGS'
62212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62221 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62223 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62225 for ac_func in _log10f
62227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62228 echo "$as_me:$LINENO: checking for $ac_func" >&5
62229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62230 if eval "test \"\${$as_ac_var+set}\" = set"; then
62231 echo $ECHO_N "(cached) $ECHO_C" >&6
62232 else
62233 if test x$gcc_no_link = xyes; then
62234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62236 { (exit 1); exit 1; }; }
62238 cat >conftest.$ac_ext <<_ACEOF
62239 /* confdefs.h. */
62240 _ACEOF
62241 cat confdefs.h >>conftest.$ac_ext
62242 cat >>conftest.$ac_ext <<_ACEOF
62243 /* end confdefs.h. */
62244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62246 #define $ac_func innocuous_$ac_func
62248 /* System header to define __stub macros and hopefully few prototypes,
62249 which can conflict with char $ac_func (); below.
62250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62251 <limits.h> exists even on freestanding compilers. */
62253 #ifdef __STDC__
62254 # include <limits.h>
62255 #else
62256 # include <assert.h>
62257 #endif
62259 #undef $ac_func
62261 /* Override any gcc2 internal prototype to avoid an error. */
62262 #ifdef __cplusplus
62263 extern "C"
62265 #endif
62266 /* We use char because int might match the return type of a gcc2
62267 builtin and then its argument prototype would still apply. */
62268 char $ac_func ();
62269 /* The GNU C library defines this for functions which it implements
62270 to always fail with ENOSYS. Some functions are actually named
62271 something starting with __ and the normal name is an alias. */
62272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62273 choke me
62274 #else
62275 char (*f) () = $ac_func;
62276 #endif
62277 #ifdef __cplusplus
62279 #endif
62282 main ()
62284 return f != $ac_func;
62286 return 0;
62288 _ACEOF
62289 rm -f conftest.$ac_objext conftest$ac_exeext
62290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62291 (eval $ac_link) 2>conftest.er1
62292 ac_status=$?
62293 grep -v '^ *+' conftest.er1 >conftest.err
62294 rm -f conftest.er1
62295 cat conftest.err >&5
62296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62297 (exit $ac_status); } &&
62298 { ac_try='test -z "$ac_c_werror_flag"
62299 || test ! -s conftest.err'
62300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62301 (eval $ac_try) 2>&5
62302 ac_status=$?
62303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62304 (exit $ac_status); }; } &&
62305 { ac_try='test -s conftest$ac_exeext'
62306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62307 (eval $ac_try) 2>&5
62308 ac_status=$?
62309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62310 (exit $ac_status); }; }; then
62311 eval "$as_ac_var=yes"
62312 else
62313 echo "$as_me: failed program was:" >&5
62314 sed 's/^/| /' conftest.$ac_ext >&5
62316 eval "$as_ac_var=no"
62318 rm -f conftest.err conftest.$ac_objext \
62319 conftest$ac_exeext conftest.$ac_ext
62321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62323 if test `eval echo '${'$as_ac_var'}'` = yes; then
62324 cat >>confdefs.h <<_ACEOF
62325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62326 _ACEOF
62329 done
62339 echo "$as_me:$LINENO: checking for modff declaration" >&5
62340 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62341 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62342 if test "${glibcxx_cv_func_modff_use+set}" = set; then
62343 echo $ECHO_N "(cached) $ECHO_C" >&6
62344 else
62348 ac_ext=cc
62349 ac_cpp='$CXXCPP $CPPFLAGS'
62350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62354 cat >conftest.$ac_ext <<_ACEOF
62355 /* confdefs.h. */
62356 _ACEOF
62357 cat confdefs.h >>conftest.$ac_ext
62358 cat >>conftest.$ac_ext <<_ACEOF
62359 /* end confdefs.h. */
62360 #include <math.h>
62362 main ()
62364 modff(0, 0);
62366 return 0;
62368 _ACEOF
62369 rm -f conftest.$ac_objext
62370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62371 (eval $ac_compile) 2>conftest.er1
62372 ac_status=$?
62373 grep -v '^ *+' conftest.er1 >conftest.err
62374 rm -f conftest.er1
62375 cat conftest.err >&5
62376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62377 (exit $ac_status); } &&
62378 { ac_try='test -z "$ac_cxx_werror_flag"
62379 || test ! -s conftest.err'
62380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62381 (eval $ac_try) 2>&5
62382 ac_status=$?
62383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62384 (exit $ac_status); }; } &&
62385 { ac_try='test -s conftest.$ac_objext'
62386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62387 (eval $ac_try) 2>&5
62388 ac_status=$?
62389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62390 (exit $ac_status); }; }; then
62391 glibcxx_cv_func_modff_use=yes
62392 else
62393 echo "$as_me: failed program was:" >&5
62394 sed 's/^/| /' conftest.$ac_ext >&5
62396 glibcxx_cv_func_modff_use=no
62398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62399 ac_ext=c
62400 ac_cpp='$CPP $CPPFLAGS'
62401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62410 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62412 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62414 for ac_func in modff
62416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62417 echo "$as_me:$LINENO: checking for $ac_func" >&5
62418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62419 if eval "test \"\${$as_ac_var+set}\" = set"; then
62420 echo $ECHO_N "(cached) $ECHO_C" >&6
62421 else
62422 if test x$gcc_no_link = xyes; then
62423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62425 { (exit 1); exit 1; }; }
62427 cat >conftest.$ac_ext <<_ACEOF
62428 /* confdefs.h. */
62429 _ACEOF
62430 cat confdefs.h >>conftest.$ac_ext
62431 cat >>conftest.$ac_ext <<_ACEOF
62432 /* end confdefs.h. */
62433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62435 #define $ac_func innocuous_$ac_func
62437 /* System header to define __stub macros and hopefully few prototypes,
62438 which can conflict with char $ac_func (); below.
62439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62440 <limits.h> exists even on freestanding compilers. */
62442 #ifdef __STDC__
62443 # include <limits.h>
62444 #else
62445 # include <assert.h>
62446 #endif
62448 #undef $ac_func
62450 /* Override any gcc2 internal prototype to avoid an error. */
62451 #ifdef __cplusplus
62452 extern "C"
62454 #endif
62455 /* We use char because int might match the return type of a gcc2
62456 builtin and then its argument prototype would still apply. */
62457 char $ac_func ();
62458 /* The GNU C library defines this for functions which it implements
62459 to always fail with ENOSYS. Some functions are actually named
62460 something starting with __ and the normal name is an alias. */
62461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62462 choke me
62463 #else
62464 char (*f) () = $ac_func;
62465 #endif
62466 #ifdef __cplusplus
62468 #endif
62471 main ()
62473 return f != $ac_func;
62475 return 0;
62477 _ACEOF
62478 rm -f conftest.$ac_objext conftest$ac_exeext
62479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62480 (eval $ac_link) 2>conftest.er1
62481 ac_status=$?
62482 grep -v '^ *+' conftest.er1 >conftest.err
62483 rm -f conftest.er1
62484 cat conftest.err >&5
62485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62486 (exit $ac_status); } &&
62487 { ac_try='test -z "$ac_c_werror_flag"
62488 || test ! -s conftest.err'
62489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62490 (eval $ac_try) 2>&5
62491 ac_status=$?
62492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493 (exit $ac_status); }; } &&
62494 { ac_try='test -s conftest$ac_exeext'
62495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62496 (eval $ac_try) 2>&5
62497 ac_status=$?
62498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62499 (exit $ac_status); }; }; then
62500 eval "$as_ac_var=yes"
62501 else
62502 echo "$as_me: failed program was:" >&5
62503 sed 's/^/| /' conftest.$ac_ext >&5
62505 eval "$as_ac_var=no"
62507 rm -f conftest.err conftest.$ac_objext \
62508 conftest$ac_exeext conftest.$ac_ext
62510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62512 if test `eval echo '${'$as_ac_var'}'` = yes; then
62513 cat >>confdefs.h <<_ACEOF
62514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62515 _ACEOF
62518 done
62520 else
62522 echo "$as_me:$LINENO: checking for _modff declaration" >&5
62523 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62524 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62525 if test "${glibcxx_cv_func__modff_use+set}" = set; then
62526 echo $ECHO_N "(cached) $ECHO_C" >&6
62527 else
62531 ac_ext=cc
62532 ac_cpp='$CXXCPP $CPPFLAGS'
62533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62537 cat >conftest.$ac_ext <<_ACEOF
62538 /* confdefs.h. */
62539 _ACEOF
62540 cat confdefs.h >>conftest.$ac_ext
62541 cat >>conftest.$ac_ext <<_ACEOF
62542 /* end confdefs.h. */
62543 #include <math.h>
62545 main ()
62547 _modff(0, 0);
62549 return 0;
62551 _ACEOF
62552 rm -f conftest.$ac_objext
62553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62554 (eval $ac_compile) 2>conftest.er1
62555 ac_status=$?
62556 grep -v '^ *+' conftest.er1 >conftest.err
62557 rm -f conftest.er1
62558 cat conftest.err >&5
62559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62560 (exit $ac_status); } &&
62561 { ac_try='test -z "$ac_cxx_werror_flag"
62562 || test ! -s conftest.err'
62563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62564 (eval $ac_try) 2>&5
62565 ac_status=$?
62566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62567 (exit $ac_status); }; } &&
62568 { ac_try='test -s conftest.$ac_objext'
62569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62570 (eval $ac_try) 2>&5
62571 ac_status=$?
62572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62573 (exit $ac_status); }; }; then
62574 glibcxx_cv_func__modff_use=yes
62575 else
62576 echo "$as_me: failed program was:" >&5
62577 sed 's/^/| /' conftest.$ac_ext >&5
62579 glibcxx_cv_func__modff_use=no
62581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62582 ac_ext=c
62583 ac_cpp='$CPP $CPPFLAGS'
62584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62593 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62595 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62597 for ac_func in _modff
62599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62600 echo "$as_me:$LINENO: checking for $ac_func" >&5
62601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62602 if eval "test \"\${$as_ac_var+set}\" = set"; then
62603 echo $ECHO_N "(cached) $ECHO_C" >&6
62604 else
62605 if test x$gcc_no_link = xyes; then
62606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62608 { (exit 1); exit 1; }; }
62610 cat >conftest.$ac_ext <<_ACEOF
62611 /* confdefs.h. */
62612 _ACEOF
62613 cat confdefs.h >>conftest.$ac_ext
62614 cat >>conftest.$ac_ext <<_ACEOF
62615 /* end confdefs.h. */
62616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62618 #define $ac_func innocuous_$ac_func
62620 /* System header to define __stub macros and hopefully few prototypes,
62621 which can conflict with char $ac_func (); below.
62622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62623 <limits.h> exists even on freestanding compilers. */
62625 #ifdef __STDC__
62626 # include <limits.h>
62627 #else
62628 # include <assert.h>
62629 #endif
62631 #undef $ac_func
62633 /* Override any gcc2 internal prototype to avoid an error. */
62634 #ifdef __cplusplus
62635 extern "C"
62637 #endif
62638 /* We use char because int might match the return type of a gcc2
62639 builtin and then its argument prototype would still apply. */
62640 char $ac_func ();
62641 /* The GNU C library defines this for functions which it implements
62642 to always fail with ENOSYS. Some functions are actually named
62643 something starting with __ and the normal name is an alias. */
62644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62645 choke me
62646 #else
62647 char (*f) () = $ac_func;
62648 #endif
62649 #ifdef __cplusplus
62651 #endif
62654 main ()
62656 return f != $ac_func;
62658 return 0;
62660 _ACEOF
62661 rm -f conftest.$ac_objext conftest$ac_exeext
62662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62663 (eval $ac_link) 2>conftest.er1
62664 ac_status=$?
62665 grep -v '^ *+' conftest.er1 >conftest.err
62666 rm -f conftest.er1
62667 cat conftest.err >&5
62668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62669 (exit $ac_status); } &&
62670 { ac_try='test -z "$ac_c_werror_flag"
62671 || test ! -s conftest.err'
62672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62673 (eval $ac_try) 2>&5
62674 ac_status=$?
62675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676 (exit $ac_status); }; } &&
62677 { ac_try='test -s conftest$ac_exeext'
62678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62679 (eval $ac_try) 2>&5
62680 ac_status=$?
62681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62682 (exit $ac_status); }; }; then
62683 eval "$as_ac_var=yes"
62684 else
62685 echo "$as_me: failed program was:" >&5
62686 sed 's/^/| /' conftest.$ac_ext >&5
62688 eval "$as_ac_var=no"
62690 rm -f conftest.err conftest.$ac_objext \
62691 conftest$ac_exeext conftest.$ac_ext
62693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62695 if test `eval echo '${'$as_ac_var'}'` = yes; then
62696 cat >>confdefs.h <<_ACEOF
62697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62698 _ACEOF
62701 done
62711 echo "$as_me:$LINENO: checking for modf declaration" >&5
62712 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62713 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62714 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62715 echo $ECHO_N "(cached) $ECHO_C" >&6
62716 else
62720 ac_ext=cc
62721 ac_cpp='$CXXCPP $CPPFLAGS'
62722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62726 cat >conftest.$ac_ext <<_ACEOF
62727 /* confdefs.h. */
62728 _ACEOF
62729 cat confdefs.h >>conftest.$ac_ext
62730 cat >>conftest.$ac_ext <<_ACEOF
62731 /* end confdefs.h. */
62732 #include <math.h>
62734 main ()
62736 modf(0, 0);
62738 return 0;
62740 _ACEOF
62741 rm -f conftest.$ac_objext
62742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62743 (eval $ac_compile) 2>conftest.er1
62744 ac_status=$?
62745 grep -v '^ *+' conftest.er1 >conftest.err
62746 rm -f conftest.er1
62747 cat conftest.err >&5
62748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62749 (exit $ac_status); } &&
62750 { ac_try='test -z "$ac_cxx_werror_flag"
62751 || test ! -s conftest.err'
62752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62753 (eval $ac_try) 2>&5
62754 ac_status=$?
62755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62756 (exit $ac_status); }; } &&
62757 { ac_try='test -s conftest.$ac_objext'
62758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62759 (eval $ac_try) 2>&5
62760 ac_status=$?
62761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62762 (exit $ac_status); }; }; then
62763 glibcxx_cv_func_modf_use=yes
62764 else
62765 echo "$as_me: failed program was:" >&5
62766 sed 's/^/| /' conftest.$ac_ext >&5
62768 glibcxx_cv_func_modf_use=no
62770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62771 ac_ext=c
62772 ac_cpp='$CPP $CPPFLAGS'
62773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62782 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62784 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62786 for ac_func in modf
62788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62789 echo "$as_me:$LINENO: checking for $ac_func" >&5
62790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62791 if eval "test \"\${$as_ac_var+set}\" = set"; then
62792 echo $ECHO_N "(cached) $ECHO_C" >&6
62793 else
62794 if test x$gcc_no_link = xyes; then
62795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62797 { (exit 1); exit 1; }; }
62799 cat >conftest.$ac_ext <<_ACEOF
62800 /* confdefs.h. */
62801 _ACEOF
62802 cat confdefs.h >>conftest.$ac_ext
62803 cat >>conftest.$ac_ext <<_ACEOF
62804 /* end confdefs.h. */
62805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62807 #define $ac_func innocuous_$ac_func
62809 /* System header to define __stub macros and hopefully few prototypes,
62810 which can conflict with char $ac_func (); below.
62811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62812 <limits.h> exists even on freestanding compilers. */
62814 #ifdef __STDC__
62815 # include <limits.h>
62816 #else
62817 # include <assert.h>
62818 #endif
62820 #undef $ac_func
62822 /* Override any gcc2 internal prototype to avoid an error. */
62823 #ifdef __cplusplus
62824 extern "C"
62826 #endif
62827 /* We use char because int might match the return type of a gcc2
62828 builtin and then its argument prototype would still apply. */
62829 char $ac_func ();
62830 /* The GNU C library defines this for functions which it implements
62831 to always fail with ENOSYS. Some functions are actually named
62832 something starting with __ and the normal name is an alias. */
62833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62834 choke me
62835 #else
62836 char (*f) () = $ac_func;
62837 #endif
62838 #ifdef __cplusplus
62840 #endif
62843 main ()
62845 return f != $ac_func;
62847 return 0;
62849 _ACEOF
62850 rm -f conftest.$ac_objext conftest$ac_exeext
62851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62852 (eval $ac_link) 2>conftest.er1
62853 ac_status=$?
62854 grep -v '^ *+' conftest.er1 >conftest.err
62855 rm -f conftest.er1
62856 cat conftest.err >&5
62857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62858 (exit $ac_status); } &&
62859 { ac_try='test -z "$ac_c_werror_flag"
62860 || test ! -s conftest.err'
62861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62862 (eval $ac_try) 2>&5
62863 ac_status=$?
62864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865 (exit $ac_status); }; } &&
62866 { ac_try='test -s conftest$ac_exeext'
62867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62868 (eval $ac_try) 2>&5
62869 ac_status=$?
62870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62871 (exit $ac_status); }; }; then
62872 eval "$as_ac_var=yes"
62873 else
62874 echo "$as_me: failed program was:" >&5
62875 sed 's/^/| /' conftest.$ac_ext >&5
62877 eval "$as_ac_var=no"
62879 rm -f conftest.err conftest.$ac_objext \
62880 conftest$ac_exeext conftest.$ac_ext
62882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62884 if test `eval echo '${'$as_ac_var'}'` = yes; then
62885 cat >>confdefs.h <<_ACEOF
62886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62887 _ACEOF
62890 done
62892 else
62894 echo "$as_me:$LINENO: checking for _modf declaration" >&5
62895 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62896 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62897 if test "${glibcxx_cv_func__modf_use+set}" = set; then
62898 echo $ECHO_N "(cached) $ECHO_C" >&6
62899 else
62903 ac_ext=cc
62904 ac_cpp='$CXXCPP $CPPFLAGS'
62905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62909 cat >conftest.$ac_ext <<_ACEOF
62910 /* confdefs.h. */
62911 _ACEOF
62912 cat confdefs.h >>conftest.$ac_ext
62913 cat >>conftest.$ac_ext <<_ACEOF
62914 /* end confdefs.h. */
62915 #include <math.h>
62917 main ()
62919 _modf(0, 0);
62921 return 0;
62923 _ACEOF
62924 rm -f conftest.$ac_objext
62925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62926 (eval $ac_compile) 2>conftest.er1
62927 ac_status=$?
62928 grep -v '^ *+' conftest.er1 >conftest.err
62929 rm -f conftest.er1
62930 cat conftest.err >&5
62931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62932 (exit $ac_status); } &&
62933 { ac_try='test -z "$ac_cxx_werror_flag"
62934 || test ! -s conftest.err'
62935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62936 (eval $ac_try) 2>&5
62937 ac_status=$?
62938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62939 (exit $ac_status); }; } &&
62940 { ac_try='test -s conftest.$ac_objext'
62941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62942 (eval $ac_try) 2>&5
62943 ac_status=$?
62944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62945 (exit $ac_status); }; }; then
62946 glibcxx_cv_func__modf_use=yes
62947 else
62948 echo "$as_me: failed program was:" >&5
62949 sed 's/^/| /' conftest.$ac_ext >&5
62951 glibcxx_cv_func__modf_use=no
62953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62954 ac_ext=c
62955 ac_cpp='$CPP $CPPFLAGS'
62956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62964 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62965 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62967 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62969 for ac_func in _modf
62971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62972 echo "$as_me:$LINENO: checking for $ac_func" >&5
62973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62974 if eval "test \"\${$as_ac_var+set}\" = set"; then
62975 echo $ECHO_N "(cached) $ECHO_C" >&6
62976 else
62977 if test x$gcc_no_link = xyes; then
62978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62980 { (exit 1); exit 1; }; }
62982 cat >conftest.$ac_ext <<_ACEOF
62983 /* confdefs.h. */
62984 _ACEOF
62985 cat confdefs.h >>conftest.$ac_ext
62986 cat >>conftest.$ac_ext <<_ACEOF
62987 /* end confdefs.h. */
62988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62990 #define $ac_func innocuous_$ac_func
62992 /* System header to define __stub macros and hopefully few prototypes,
62993 which can conflict with char $ac_func (); below.
62994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62995 <limits.h> exists even on freestanding compilers. */
62997 #ifdef __STDC__
62998 # include <limits.h>
62999 #else
63000 # include <assert.h>
63001 #endif
63003 #undef $ac_func
63005 /* Override any gcc2 internal prototype to avoid an error. */
63006 #ifdef __cplusplus
63007 extern "C"
63009 #endif
63010 /* We use char because int might match the return type of a gcc2
63011 builtin and then its argument prototype would still apply. */
63012 char $ac_func ();
63013 /* The GNU C library defines this for functions which it implements
63014 to always fail with ENOSYS. Some functions are actually named
63015 something starting with __ and the normal name is an alias. */
63016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63017 choke me
63018 #else
63019 char (*f) () = $ac_func;
63020 #endif
63021 #ifdef __cplusplus
63023 #endif
63026 main ()
63028 return f != $ac_func;
63030 return 0;
63032 _ACEOF
63033 rm -f conftest.$ac_objext conftest$ac_exeext
63034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63035 (eval $ac_link) 2>conftest.er1
63036 ac_status=$?
63037 grep -v '^ *+' conftest.er1 >conftest.err
63038 rm -f conftest.er1
63039 cat conftest.err >&5
63040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63041 (exit $ac_status); } &&
63042 { ac_try='test -z "$ac_c_werror_flag"
63043 || test ! -s conftest.err'
63044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63045 (eval $ac_try) 2>&5
63046 ac_status=$?
63047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63048 (exit $ac_status); }; } &&
63049 { ac_try='test -s conftest$ac_exeext'
63050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63051 (eval $ac_try) 2>&5
63052 ac_status=$?
63053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63054 (exit $ac_status); }; }; then
63055 eval "$as_ac_var=yes"
63056 else
63057 echo "$as_me: failed program was:" >&5
63058 sed 's/^/| /' conftest.$ac_ext >&5
63060 eval "$as_ac_var=no"
63062 rm -f conftest.err conftest.$ac_objext \
63063 conftest$ac_exeext conftest.$ac_ext
63065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63067 if test `eval echo '${'$as_ac_var'}'` = yes; then
63068 cat >>confdefs.h <<_ACEOF
63069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63070 _ACEOF
63073 done
63083 echo "$as_me:$LINENO: checking for powf declaration" >&5
63084 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63085 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63086 if test "${glibcxx_cv_func_powf_use+set}" = set; then
63087 echo $ECHO_N "(cached) $ECHO_C" >&6
63088 else
63092 ac_ext=cc
63093 ac_cpp='$CXXCPP $CPPFLAGS'
63094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63098 cat >conftest.$ac_ext <<_ACEOF
63099 /* confdefs.h. */
63100 _ACEOF
63101 cat confdefs.h >>conftest.$ac_ext
63102 cat >>conftest.$ac_ext <<_ACEOF
63103 /* end confdefs.h. */
63104 #include <math.h>
63106 main ()
63108 powf(0, 0);
63110 return 0;
63112 _ACEOF
63113 rm -f conftest.$ac_objext
63114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63115 (eval $ac_compile) 2>conftest.er1
63116 ac_status=$?
63117 grep -v '^ *+' conftest.er1 >conftest.err
63118 rm -f conftest.er1
63119 cat conftest.err >&5
63120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63121 (exit $ac_status); } &&
63122 { ac_try='test -z "$ac_cxx_werror_flag"
63123 || test ! -s conftest.err'
63124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63125 (eval $ac_try) 2>&5
63126 ac_status=$?
63127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63128 (exit $ac_status); }; } &&
63129 { ac_try='test -s conftest.$ac_objext'
63130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63131 (eval $ac_try) 2>&5
63132 ac_status=$?
63133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63134 (exit $ac_status); }; }; then
63135 glibcxx_cv_func_powf_use=yes
63136 else
63137 echo "$as_me: failed program was:" >&5
63138 sed 's/^/| /' conftest.$ac_ext >&5
63140 glibcxx_cv_func_powf_use=no
63142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63143 ac_ext=c
63144 ac_cpp='$CPP $CPPFLAGS'
63145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63154 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63156 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63158 for ac_func in powf
63160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63161 echo "$as_me:$LINENO: checking for $ac_func" >&5
63162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63163 if eval "test \"\${$as_ac_var+set}\" = set"; then
63164 echo $ECHO_N "(cached) $ECHO_C" >&6
63165 else
63166 if test x$gcc_no_link = xyes; then
63167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63169 { (exit 1); exit 1; }; }
63171 cat >conftest.$ac_ext <<_ACEOF
63172 /* confdefs.h. */
63173 _ACEOF
63174 cat confdefs.h >>conftest.$ac_ext
63175 cat >>conftest.$ac_ext <<_ACEOF
63176 /* end confdefs.h. */
63177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63179 #define $ac_func innocuous_$ac_func
63181 /* System header to define __stub macros and hopefully few prototypes,
63182 which can conflict with char $ac_func (); below.
63183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63184 <limits.h> exists even on freestanding compilers. */
63186 #ifdef __STDC__
63187 # include <limits.h>
63188 #else
63189 # include <assert.h>
63190 #endif
63192 #undef $ac_func
63194 /* Override any gcc2 internal prototype to avoid an error. */
63195 #ifdef __cplusplus
63196 extern "C"
63198 #endif
63199 /* We use char because int might match the return type of a gcc2
63200 builtin and then its argument prototype would still apply. */
63201 char $ac_func ();
63202 /* The GNU C library defines this for functions which it implements
63203 to always fail with ENOSYS. Some functions are actually named
63204 something starting with __ and the normal name is an alias. */
63205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63206 choke me
63207 #else
63208 char (*f) () = $ac_func;
63209 #endif
63210 #ifdef __cplusplus
63212 #endif
63215 main ()
63217 return f != $ac_func;
63219 return 0;
63221 _ACEOF
63222 rm -f conftest.$ac_objext conftest$ac_exeext
63223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63224 (eval $ac_link) 2>conftest.er1
63225 ac_status=$?
63226 grep -v '^ *+' conftest.er1 >conftest.err
63227 rm -f conftest.er1
63228 cat conftest.err >&5
63229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63230 (exit $ac_status); } &&
63231 { ac_try='test -z "$ac_c_werror_flag"
63232 || test ! -s conftest.err'
63233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63234 (eval $ac_try) 2>&5
63235 ac_status=$?
63236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63237 (exit $ac_status); }; } &&
63238 { ac_try='test -s conftest$ac_exeext'
63239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63240 (eval $ac_try) 2>&5
63241 ac_status=$?
63242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63243 (exit $ac_status); }; }; then
63244 eval "$as_ac_var=yes"
63245 else
63246 echo "$as_me: failed program was:" >&5
63247 sed 's/^/| /' conftest.$ac_ext >&5
63249 eval "$as_ac_var=no"
63251 rm -f conftest.err conftest.$ac_objext \
63252 conftest$ac_exeext conftest.$ac_ext
63254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63256 if test `eval echo '${'$as_ac_var'}'` = yes; then
63257 cat >>confdefs.h <<_ACEOF
63258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63259 _ACEOF
63262 done
63264 else
63266 echo "$as_me:$LINENO: checking for _powf declaration" >&5
63267 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63268 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63269 if test "${glibcxx_cv_func__powf_use+set}" = set; then
63270 echo $ECHO_N "(cached) $ECHO_C" >&6
63271 else
63275 ac_ext=cc
63276 ac_cpp='$CXXCPP $CPPFLAGS'
63277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63281 cat >conftest.$ac_ext <<_ACEOF
63282 /* confdefs.h. */
63283 _ACEOF
63284 cat confdefs.h >>conftest.$ac_ext
63285 cat >>conftest.$ac_ext <<_ACEOF
63286 /* end confdefs.h. */
63287 #include <math.h>
63289 main ()
63291 _powf(0, 0);
63293 return 0;
63295 _ACEOF
63296 rm -f conftest.$ac_objext
63297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63298 (eval $ac_compile) 2>conftest.er1
63299 ac_status=$?
63300 grep -v '^ *+' conftest.er1 >conftest.err
63301 rm -f conftest.er1
63302 cat conftest.err >&5
63303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63304 (exit $ac_status); } &&
63305 { ac_try='test -z "$ac_cxx_werror_flag"
63306 || test ! -s conftest.err'
63307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63308 (eval $ac_try) 2>&5
63309 ac_status=$?
63310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63311 (exit $ac_status); }; } &&
63312 { ac_try='test -s conftest.$ac_objext'
63313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63314 (eval $ac_try) 2>&5
63315 ac_status=$?
63316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63317 (exit $ac_status); }; }; then
63318 glibcxx_cv_func__powf_use=yes
63319 else
63320 echo "$as_me: failed program was:" >&5
63321 sed 's/^/| /' conftest.$ac_ext >&5
63323 glibcxx_cv_func__powf_use=no
63325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63326 ac_ext=c
63327 ac_cpp='$CPP $CPPFLAGS'
63328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63337 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63339 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63341 for ac_func in _powf
63343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63344 echo "$as_me:$LINENO: checking for $ac_func" >&5
63345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63346 if eval "test \"\${$as_ac_var+set}\" = set"; then
63347 echo $ECHO_N "(cached) $ECHO_C" >&6
63348 else
63349 if test x$gcc_no_link = xyes; then
63350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63352 { (exit 1); exit 1; }; }
63354 cat >conftest.$ac_ext <<_ACEOF
63355 /* confdefs.h. */
63356 _ACEOF
63357 cat confdefs.h >>conftest.$ac_ext
63358 cat >>conftest.$ac_ext <<_ACEOF
63359 /* end confdefs.h. */
63360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63362 #define $ac_func innocuous_$ac_func
63364 /* System header to define __stub macros and hopefully few prototypes,
63365 which can conflict with char $ac_func (); below.
63366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63367 <limits.h> exists even on freestanding compilers. */
63369 #ifdef __STDC__
63370 # include <limits.h>
63371 #else
63372 # include <assert.h>
63373 #endif
63375 #undef $ac_func
63377 /* Override any gcc2 internal prototype to avoid an error. */
63378 #ifdef __cplusplus
63379 extern "C"
63381 #endif
63382 /* We use char because int might match the return type of a gcc2
63383 builtin and then its argument prototype would still apply. */
63384 char $ac_func ();
63385 /* The GNU C library defines this for functions which it implements
63386 to always fail with ENOSYS. Some functions are actually named
63387 something starting with __ and the normal name is an alias. */
63388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63389 choke me
63390 #else
63391 char (*f) () = $ac_func;
63392 #endif
63393 #ifdef __cplusplus
63395 #endif
63398 main ()
63400 return f != $ac_func;
63402 return 0;
63404 _ACEOF
63405 rm -f conftest.$ac_objext conftest$ac_exeext
63406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63407 (eval $ac_link) 2>conftest.er1
63408 ac_status=$?
63409 grep -v '^ *+' conftest.er1 >conftest.err
63410 rm -f conftest.er1
63411 cat conftest.err >&5
63412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63413 (exit $ac_status); } &&
63414 { ac_try='test -z "$ac_c_werror_flag"
63415 || test ! -s conftest.err'
63416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63417 (eval $ac_try) 2>&5
63418 ac_status=$?
63419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63420 (exit $ac_status); }; } &&
63421 { ac_try='test -s conftest$ac_exeext'
63422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63423 (eval $ac_try) 2>&5
63424 ac_status=$?
63425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63426 (exit $ac_status); }; }; then
63427 eval "$as_ac_var=yes"
63428 else
63429 echo "$as_me: failed program was:" >&5
63430 sed 's/^/| /' conftest.$ac_ext >&5
63432 eval "$as_ac_var=no"
63434 rm -f conftest.err conftest.$ac_objext \
63435 conftest$ac_exeext conftest.$ac_ext
63437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63439 if test `eval echo '${'$as_ac_var'}'` = yes; then
63440 cat >>confdefs.h <<_ACEOF
63441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63442 _ACEOF
63445 done
63455 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63456 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63457 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63458 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63459 echo $ECHO_N "(cached) $ECHO_C" >&6
63460 else
63464 ac_ext=cc
63465 ac_cpp='$CXXCPP $CPPFLAGS'
63466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63470 cat >conftest.$ac_ext <<_ACEOF
63471 /* confdefs.h. */
63472 _ACEOF
63473 cat confdefs.h >>conftest.$ac_ext
63474 cat >>conftest.$ac_ext <<_ACEOF
63475 /* end confdefs.h. */
63476 #include <math.h>
63477 #ifdef HAVE_IEEEFP_H
63478 #include <ieeefp.h>
63479 #endif
63482 main ()
63484 sqrtf(0);
63486 return 0;
63488 _ACEOF
63489 rm -f conftest.$ac_objext
63490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63491 (eval $ac_compile) 2>conftest.er1
63492 ac_status=$?
63493 grep -v '^ *+' conftest.er1 >conftest.err
63494 rm -f conftest.er1
63495 cat conftest.err >&5
63496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63497 (exit $ac_status); } &&
63498 { ac_try='test -z "$ac_cxx_werror_flag"
63499 || test ! -s conftest.err'
63500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63501 (eval $ac_try) 2>&5
63502 ac_status=$?
63503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63504 (exit $ac_status); }; } &&
63505 { ac_try='test -s conftest.$ac_objext'
63506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63507 (eval $ac_try) 2>&5
63508 ac_status=$?
63509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63510 (exit $ac_status); }; }; then
63511 glibcxx_cv_func_sqrtf_use=yes
63512 else
63513 echo "$as_me: failed program was:" >&5
63514 sed 's/^/| /' conftest.$ac_ext >&5
63516 glibcxx_cv_func_sqrtf_use=no
63518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63519 ac_ext=c
63520 ac_cpp='$CPP $CPPFLAGS'
63521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63530 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63532 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63534 for ac_func in sqrtf
63536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63537 echo "$as_me:$LINENO: checking for $ac_func" >&5
63538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63539 if eval "test \"\${$as_ac_var+set}\" = set"; then
63540 echo $ECHO_N "(cached) $ECHO_C" >&6
63541 else
63542 if test x$gcc_no_link = xyes; then
63543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63545 { (exit 1); exit 1; }; }
63547 cat >conftest.$ac_ext <<_ACEOF
63548 /* confdefs.h. */
63549 _ACEOF
63550 cat confdefs.h >>conftest.$ac_ext
63551 cat >>conftest.$ac_ext <<_ACEOF
63552 /* end confdefs.h. */
63553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63555 #define $ac_func innocuous_$ac_func
63557 /* System header to define __stub macros and hopefully few prototypes,
63558 which can conflict with char $ac_func (); below.
63559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63560 <limits.h> exists even on freestanding compilers. */
63562 #ifdef __STDC__
63563 # include <limits.h>
63564 #else
63565 # include <assert.h>
63566 #endif
63568 #undef $ac_func
63570 /* Override any gcc2 internal prototype to avoid an error. */
63571 #ifdef __cplusplus
63572 extern "C"
63574 #endif
63575 /* We use char because int might match the return type of a gcc2
63576 builtin and then its argument prototype would still apply. */
63577 char $ac_func ();
63578 /* The GNU C library defines this for functions which it implements
63579 to always fail with ENOSYS. Some functions are actually named
63580 something starting with __ and the normal name is an alias. */
63581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63582 choke me
63583 #else
63584 char (*f) () = $ac_func;
63585 #endif
63586 #ifdef __cplusplus
63588 #endif
63591 main ()
63593 return f != $ac_func;
63595 return 0;
63597 _ACEOF
63598 rm -f conftest.$ac_objext conftest$ac_exeext
63599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63600 (eval $ac_link) 2>conftest.er1
63601 ac_status=$?
63602 grep -v '^ *+' conftest.er1 >conftest.err
63603 rm -f conftest.er1
63604 cat conftest.err >&5
63605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63606 (exit $ac_status); } &&
63607 { ac_try='test -z "$ac_c_werror_flag"
63608 || test ! -s conftest.err'
63609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63610 (eval $ac_try) 2>&5
63611 ac_status=$?
63612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63613 (exit $ac_status); }; } &&
63614 { ac_try='test -s conftest$ac_exeext'
63615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63616 (eval $ac_try) 2>&5
63617 ac_status=$?
63618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63619 (exit $ac_status); }; }; then
63620 eval "$as_ac_var=yes"
63621 else
63622 echo "$as_me: failed program was:" >&5
63623 sed 's/^/| /' conftest.$ac_ext >&5
63625 eval "$as_ac_var=no"
63627 rm -f conftest.err conftest.$ac_objext \
63628 conftest$ac_exeext conftest.$ac_ext
63630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63632 if test `eval echo '${'$as_ac_var'}'` = yes; then
63633 cat >>confdefs.h <<_ACEOF
63634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63635 _ACEOF
63638 done
63640 else
63642 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63643 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63644 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63645 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63646 echo $ECHO_N "(cached) $ECHO_C" >&6
63647 else
63651 ac_ext=cc
63652 ac_cpp='$CXXCPP $CPPFLAGS'
63653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63657 cat >conftest.$ac_ext <<_ACEOF
63658 /* confdefs.h. */
63659 _ACEOF
63660 cat confdefs.h >>conftest.$ac_ext
63661 cat >>conftest.$ac_ext <<_ACEOF
63662 /* end confdefs.h. */
63663 #include <math.h>
63664 #ifdef HAVE_IEEEFP_H
63665 #include <ieeefp.h>
63666 #endif
63669 main ()
63671 _sqrtf(0);
63673 return 0;
63675 _ACEOF
63676 rm -f conftest.$ac_objext
63677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63678 (eval $ac_compile) 2>conftest.er1
63679 ac_status=$?
63680 grep -v '^ *+' conftest.er1 >conftest.err
63681 rm -f conftest.er1
63682 cat conftest.err >&5
63683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684 (exit $ac_status); } &&
63685 { ac_try='test -z "$ac_cxx_werror_flag"
63686 || test ! -s conftest.err'
63687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63688 (eval $ac_try) 2>&5
63689 ac_status=$?
63690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63691 (exit $ac_status); }; } &&
63692 { ac_try='test -s conftest.$ac_objext'
63693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63694 (eval $ac_try) 2>&5
63695 ac_status=$?
63696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63697 (exit $ac_status); }; }; then
63698 glibcxx_cv_func__sqrtf_use=yes
63699 else
63700 echo "$as_me: failed program was:" >&5
63701 sed 's/^/| /' conftest.$ac_ext >&5
63703 glibcxx_cv_func__sqrtf_use=no
63705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63706 ac_ext=c
63707 ac_cpp='$CPP $CPPFLAGS'
63708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63716 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63717 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63719 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63721 for ac_func in _sqrtf
63723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63724 echo "$as_me:$LINENO: checking for $ac_func" >&5
63725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63726 if eval "test \"\${$as_ac_var+set}\" = set"; then
63727 echo $ECHO_N "(cached) $ECHO_C" >&6
63728 else
63729 if test x$gcc_no_link = xyes; then
63730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63732 { (exit 1); exit 1; }; }
63734 cat >conftest.$ac_ext <<_ACEOF
63735 /* confdefs.h. */
63736 _ACEOF
63737 cat confdefs.h >>conftest.$ac_ext
63738 cat >>conftest.$ac_ext <<_ACEOF
63739 /* end confdefs.h. */
63740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63742 #define $ac_func innocuous_$ac_func
63744 /* System header to define __stub macros and hopefully few prototypes,
63745 which can conflict with char $ac_func (); below.
63746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63747 <limits.h> exists even on freestanding compilers. */
63749 #ifdef __STDC__
63750 # include <limits.h>
63751 #else
63752 # include <assert.h>
63753 #endif
63755 #undef $ac_func
63757 /* Override any gcc2 internal prototype to avoid an error. */
63758 #ifdef __cplusplus
63759 extern "C"
63761 #endif
63762 /* We use char because int might match the return type of a gcc2
63763 builtin and then its argument prototype would still apply. */
63764 char $ac_func ();
63765 /* The GNU C library defines this for functions which it implements
63766 to always fail with ENOSYS. Some functions are actually named
63767 something starting with __ and the normal name is an alias. */
63768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63769 choke me
63770 #else
63771 char (*f) () = $ac_func;
63772 #endif
63773 #ifdef __cplusplus
63775 #endif
63778 main ()
63780 return f != $ac_func;
63782 return 0;
63784 _ACEOF
63785 rm -f conftest.$ac_objext conftest$ac_exeext
63786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63787 (eval $ac_link) 2>conftest.er1
63788 ac_status=$?
63789 grep -v '^ *+' conftest.er1 >conftest.err
63790 rm -f conftest.er1
63791 cat conftest.err >&5
63792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793 (exit $ac_status); } &&
63794 { ac_try='test -z "$ac_c_werror_flag"
63795 || test ! -s conftest.err'
63796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63797 (eval $ac_try) 2>&5
63798 ac_status=$?
63799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63800 (exit $ac_status); }; } &&
63801 { ac_try='test -s conftest$ac_exeext'
63802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63803 (eval $ac_try) 2>&5
63804 ac_status=$?
63805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63806 (exit $ac_status); }; }; then
63807 eval "$as_ac_var=yes"
63808 else
63809 echo "$as_me: failed program was:" >&5
63810 sed 's/^/| /' conftest.$ac_ext >&5
63812 eval "$as_ac_var=no"
63814 rm -f conftest.err conftest.$ac_objext \
63815 conftest$ac_exeext conftest.$ac_ext
63817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63819 if test `eval echo '${'$as_ac_var'}'` = yes; then
63820 cat >>confdefs.h <<_ACEOF
63821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63822 _ACEOF
63825 done
63835 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63836 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63837 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63838 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63839 echo $ECHO_N "(cached) $ECHO_C" >&6
63840 else
63844 ac_ext=cc
63845 ac_cpp='$CXXCPP $CPPFLAGS'
63846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63850 cat >conftest.$ac_ext <<_ACEOF
63851 /* confdefs.h. */
63852 _ACEOF
63853 cat confdefs.h >>conftest.$ac_ext
63854 cat >>conftest.$ac_ext <<_ACEOF
63855 /* end confdefs.h. */
63856 #include <math.h>
63858 main ()
63860 sincosf(0, 0, 0);
63862 return 0;
63864 _ACEOF
63865 rm -f conftest.$ac_objext
63866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63867 (eval $ac_compile) 2>conftest.er1
63868 ac_status=$?
63869 grep -v '^ *+' conftest.er1 >conftest.err
63870 rm -f conftest.er1
63871 cat conftest.err >&5
63872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63873 (exit $ac_status); } &&
63874 { ac_try='test -z "$ac_cxx_werror_flag"
63875 || test ! -s conftest.err'
63876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63877 (eval $ac_try) 2>&5
63878 ac_status=$?
63879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63880 (exit $ac_status); }; } &&
63881 { ac_try='test -s conftest.$ac_objext'
63882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63883 (eval $ac_try) 2>&5
63884 ac_status=$?
63885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63886 (exit $ac_status); }; }; then
63887 glibcxx_cv_func_sincosf_use=yes
63888 else
63889 echo "$as_me: failed program was:" >&5
63890 sed 's/^/| /' conftest.$ac_ext >&5
63892 glibcxx_cv_func_sincosf_use=no
63894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63895 ac_ext=c
63896 ac_cpp='$CPP $CPPFLAGS'
63897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63906 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63908 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63910 for ac_func in sincosf
63912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63913 echo "$as_me:$LINENO: checking for $ac_func" >&5
63914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63915 if eval "test \"\${$as_ac_var+set}\" = set"; then
63916 echo $ECHO_N "(cached) $ECHO_C" >&6
63917 else
63918 if test x$gcc_no_link = xyes; then
63919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63921 { (exit 1); exit 1; }; }
63923 cat >conftest.$ac_ext <<_ACEOF
63924 /* confdefs.h. */
63925 _ACEOF
63926 cat confdefs.h >>conftest.$ac_ext
63927 cat >>conftest.$ac_ext <<_ACEOF
63928 /* end confdefs.h. */
63929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63931 #define $ac_func innocuous_$ac_func
63933 /* System header to define __stub macros and hopefully few prototypes,
63934 which can conflict with char $ac_func (); below.
63935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63936 <limits.h> exists even on freestanding compilers. */
63938 #ifdef __STDC__
63939 # include <limits.h>
63940 #else
63941 # include <assert.h>
63942 #endif
63944 #undef $ac_func
63946 /* Override any gcc2 internal prototype to avoid an error. */
63947 #ifdef __cplusplus
63948 extern "C"
63950 #endif
63951 /* We use char because int might match the return type of a gcc2
63952 builtin and then its argument prototype would still apply. */
63953 char $ac_func ();
63954 /* The GNU C library defines this for functions which it implements
63955 to always fail with ENOSYS. Some functions are actually named
63956 something starting with __ and the normal name is an alias. */
63957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63958 choke me
63959 #else
63960 char (*f) () = $ac_func;
63961 #endif
63962 #ifdef __cplusplus
63964 #endif
63967 main ()
63969 return f != $ac_func;
63971 return 0;
63973 _ACEOF
63974 rm -f conftest.$ac_objext conftest$ac_exeext
63975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63976 (eval $ac_link) 2>conftest.er1
63977 ac_status=$?
63978 grep -v '^ *+' conftest.er1 >conftest.err
63979 rm -f conftest.er1
63980 cat conftest.err >&5
63981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63982 (exit $ac_status); } &&
63983 { ac_try='test -z "$ac_c_werror_flag"
63984 || test ! -s conftest.err'
63985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63986 (eval $ac_try) 2>&5
63987 ac_status=$?
63988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63989 (exit $ac_status); }; } &&
63990 { ac_try='test -s conftest$ac_exeext'
63991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63992 (eval $ac_try) 2>&5
63993 ac_status=$?
63994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63995 (exit $ac_status); }; }; then
63996 eval "$as_ac_var=yes"
63997 else
63998 echo "$as_me: failed program was:" >&5
63999 sed 's/^/| /' conftest.$ac_ext >&5
64001 eval "$as_ac_var=no"
64003 rm -f conftest.err conftest.$ac_objext \
64004 conftest$ac_exeext conftest.$ac_ext
64006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64008 if test `eval echo '${'$as_ac_var'}'` = yes; then
64009 cat >>confdefs.h <<_ACEOF
64010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64011 _ACEOF
64014 done
64016 else
64018 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64019 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64020 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64021 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64022 echo $ECHO_N "(cached) $ECHO_C" >&6
64023 else
64027 ac_ext=cc
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat >conftest.$ac_ext <<_ACEOF
64034 /* confdefs.h. */
64035 _ACEOF
64036 cat confdefs.h >>conftest.$ac_ext
64037 cat >>conftest.$ac_ext <<_ACEOF
64038 /* end confdefs.h. */
64039 #include <math.h>
64041 main ()
64043 _sincosf(0, 0, 0);
64045 return 0;
64047 _ACEOF
64048 rm -f conftest.$ac_objext
64049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64050 (eval $ac_compile) 2>conftest.er1
64051 ac_status=$?
64052 grep -v '^ *+' conftest.er1 >conftest.err
64053 rm -f conftest.er1
64054 cat conftest.err >&5
64055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64056 (exit $ac_status); } &&
64057 { ac_try='test -z "$ac_cxx_werror_flag"
64058 || test ! -s conftest.err'
64059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64060 (eval $ac_try) 2>&5
64061 ac_status=$?
64062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063 (exit $ac_status); }; } &&
64064 { ac_try='test -s conftest.$ac_objext'
64065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64066 (eval $ac_try) 2>&5
64067 ac_status=$?
64068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64069 (exit $ac_status); }; }; then
64070 glibcxx_cv_func__sincosf_use=yes
64071 else
64072 echo "$as_me: failed program was:" >&5
64073 sed 's/^/| /' conftest.$ac_ext >&5
64075 glibcxx_cv_func__sincosf_use=no
64077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64078 ac_ext=c
64079 ac_cpp='$CPP $CPPFLAGS'
64080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64088 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64089 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64091 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64093 for ac_func in _sincosf
64095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64096 echo "$as_me:$LINENO: checking for $ac_func" >&5
64097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64098 if eval "test \"\${$as_ac_var+set}\" = set"; then
64099 echo $ECHO_N "(cached) $ECHO_C" >&6
64100 else
64101 if test x$gcc_no_link = xyes; then
64102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64104 { (exit 1); exit 1; }; }
64106 cat >conftest.$ac_ext <<_ACEOF
64107 /* confdefs.h. */
64108 _ACEOF
64109 cat confdefs.h >>conftest.$ac_ext
64110 cat >>conftest.$ac_ext <<_ACEOF
64111 /* end confdefs.h. */
64112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64114 #define $ac_func innocuous_$ac_func
64116 /* System header to define __stub macros and hopefully few prototypes,
64117 which can conflict with char $ac_func (); below.
64118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64119 <limits.h> exists even on freestanding compilers. */
64121 #ifdef __STDC__
64122 # include <limits.h>
64123 #else
64124 # include <assert.h>
64125 #endif
64127 #undef $ac_func
64129 /* Override any gcc2 internal prototype to avoid an error. */
64130 #ifdef __cplusplus
64131 extern "C"
64133 #endif
64134 /* We use char because int might match the return type of a gcc2
64135 builtin and then its argument prototype would still apply. */
64136 char $ac_func ();
64137 /* The GNU C library defines this for functions which it implements
64138 to always fail with ENOSYS. Some functions are actually named
64139 something starting with __ and the normal name is an alias. */
64140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64141 choke me
64142 #else
64143 char (*f) () = $ac_func;
64144 #endif
64145 #ifdef __cplusplus
64147 #endif
64150 main ()
64152 return f != $ac_func;
64154 return 0;
64156 _ACEOF
64157 rm -f conftest.$ac_objext conftest$ac_exeext
64158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64159 (eval $ac_link) 2>conftest.er1
64160 ac_status=$?
64161 grep -v '^ *+' conftest.er1 >conftest.err
64162 rm -f conftest.er1
64163 cat conftest.err >&5
64164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165 (exit $ac_status); } &&
64166 { ac_try='test -z "$ac_c_werror_flag"
64167 || test ! -s conftest.err'
64168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64169 (eval $ac_try) 2>&5
64170 ac_status=$?
64171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64172 (exit $ac_status); }; } &&
64173 { ac_try='test -s conftest$ac_exeext'
64174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64175 (eval $ac_try) 2>&5
64176 ac_status=$?
64177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64178 (exit $ac_status); }; }; then
64179 eval "$as_ac_var=yes"
64180 else
64181 echo "$as_me: failed program was:" >&5
64182 sed 's/^/| /' conftest.$ac_ext >&5
64184 eval "$as_ac_var=no"
64186 rm -f conftest.err conftest.$ac_objext \
64187 conftest$ac_exeext conftest.$ac_ext
64189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64191 if test `eval echo '${'$as_ac_var'}'` = yes; then
64192 cat >>confdefs.h <<_ACEOF
64193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64194 _ACEOF
64197 done
64207 echo "$as_me:$LINENO: checking for finitef declaration" >&5
64208 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64209 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64210 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64211 echo $ECHO_N "(cached) $ECHO_C" >&6
64212 else
64216 ac_ext=cc
64217 ac_cpp='$CXXCPP $CPPFLAGS'
64218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64222 cat >conftest.$ac_ext <<_ACEOF
64223 /* confdefs.h. */
64224 _ACEOF
64225 cat confdefs.h >>conftest.$ac_ext
64226 cat >>conftest.$ac_ext <<_ACEOF
64227 /* end confdefs.h. */
64228 #include <math.h>
64229 #ifdef HAVE_IEEEFP_H
64230 #include <ieeefp.h>
64231 #endif
64234 main ()
64236 finitef(0);
64238 return 0;
64240 _ACEOF
64241 rm -f conftest.$ac_objext
64242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64243 (eval $ac_compile) 2>conftest.er1
64244 ac_status=$?
64245 grep -v '^ *+' conftest.er1 >conftest.err
64246 rm -f conftest.er1
64247 cat conftest.err >&5
64248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64249 (exit $ac_status); } &&
64250 { ac_try='test -z "$ac_cxx_werror_flag"
64251 || test ! -s conftest.err'
64252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64253 (eval $ac_try) 2>&5
64254 ac_status=$?
64255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64256 (exit $ac_status); }; } &&
64257 { ac_try='test -s conftest.$ac_objext'
64258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64259 (eval $ac_try) 2>&5
64260 ac_status=$?
64261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64262 (exit $ac_status); }; }; then
64263 glibcxx_cv_func_finitef_use=yes
64264 else
64265 echo "$as_me: failed program was:" >&5
64266 sed 's/^/| /' conftest.$ac_ext >&5
64268 glibcxx_cv_func_finitef_use=no
64270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64271 ac_ext=c
64272 ac_cpp='$CPP $CPPFLAGS'
64273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64282 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64284 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64286 for ac_func in finitef
64288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64289 echo "$as_me:$LINENO: checking for $ac_func" >&5
64290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64291 if eval "test \"\${$as_ac_var+set}\" = set"; then
64292 echo $ECHO_N "(cached) $ECHO_C" >&6
64293 else
64294 if test x$gcc_no_link = xyes; then
64295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64297 { (exit 1); exit 1; }; }
64299 cat >conftest.$ac_ext <<_ACEOF
64300 /* confdefs.h. */
64301 _ACEOF
64302 cat confdefs.h >>conftest.$ac_ext
64303 cat >>conftest.$ac_ext <<_ACEOF
64304 /* end confdefs.h. */
64305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64307 #define $ac_func innocuous_$ac_func
64309 /* System header to define __stub macros and hopefully few prototypes,
64310 which can conflict with char $ac_func (); below.
64311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64312 <limits.h> exists even on freestanding compilers. */
64314 #ifdef __STDC__
64315 # include <limits.h>
64316 #else
64317 # include <assert.h>
64318 #endif
64320 #undef $ac_func
64322 /* Override any gcc2 internal prototype to avoid an error. */
64323 #ifdef __cplusplus
64324 extern "C"
64326 #endif
64327 /* We use char because int might match the return type of a gcc2
64328 builtin and then its argument prototype would still apply. */
64329 char $ac_func ();
64330 /* The GNU C library defines this for functions which it implements
64331 to always fail with ENOSYS. Some functions are actually named
64332 something starting with __ and the normal name is an alias. */
64333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64334 choke me
64335 #else
64336 char (*f) () = $ac_func;
64337 #endif
64338 #ifdef __cplusplus
64340 #endif
64343 main ()
64345 return f != $ac_func;
64347 return 0;
64349 _ACEOF
64350 rm -f conftest.$ac_objext conftest$ac_exeext
64351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64352 (eval $ac_link) 2>conftest.er1
64353 ac_status=$?
64354 grep -v '^ *+' conftest.er1 >conftest.err
64355 rm -f conftest.er1
64356 cat conftest.err >&5
64357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358 (exit $ac_status); } &&
64359 { ac_try='test -z "$ac_c_werror_flag"
64360 || test ! -s conftest.err'
64361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64362 (eval $ac_try) 2>&5
64363 ac_status=$?
64364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64365 (exit $ac_status); }; } &&
64366 { ac_try='test -s conftest$ac_exeext'
64367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64368 (eval $ac_try) 2>&5
64369 ac_status=$?
64370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64371 (exit $ac_status); }; }; then
64372 eval "$as_ac_var=yes"
64373 else
64374 echo "$as_me: failed program was:" >&5
64375 sed 's/^/| /' conftest.$ac_ext >&5
64377 eval "$as_ac_var=no"
64379 rm -f conftest.err conftest.$ac_objext \
64380 conftest$ac_exeext conftest.$ac_ext
64382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64384 if test `eval echo '${'$as_ac_var'}'` = yes; then
64385 cat >>confdefs.h <<_ACEOF
64386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64387 _ACEOF
64390 done
64392 else
64394 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64395 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64396 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64397 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64398 echo $ECHO_N "(cached) $ECHO_C" >&6
64399 else
64403 ac_ext=cc
64404 ac_cpp='$CXXCPP $CPPFLAGS'
64405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64409 cat >conftest.$ac_ext <<_ACEOF
64410 /* confdefs.h. */
64411 _ACEOF
64412 cat confdefs.h >>conftest.$ac_ext
64413 cat >>conftest.$ac_ext <<_ACEOF
64414 /* end confdefs.h. */
64415 #include <math.h>
64416 #ifdef HAVE_IEEEFP_H
64417 #include <ieeefp.h>
64418 #endif
64421 main ()
64423 _finitef(0);
64425 return 0;
64427 _ACEOF
64428 rm -f conftest.$ac_objext
64429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64430 (eval $ac_compile) 2>conftest.er1
64431 ac_status=$?
64432 grep -v '^ *+' conftest.er1 >conftest.err
64433 rm -f conftest.er1
64434 cat conftest.err >&5
64435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64436 (exit $ac_status); } &&
64437 { ac_try='test -z "$ac_cxx_werror_flag"
64438 || test ! -s conftest.err'
64439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64440 (eval $ac_try) 2>&5
64441 ac_status=$?
64442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64443 (exit $ac_status); }; } &&
64444 { ac_try='test -s conftest.$ac_objext'
64445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64446 (eval $ac_try) 2>&5
64447 ac_status=$?
64448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64449 (exit $ac_status); }; }; then
64450 glibcxx_cv_func__finitef_use=yes
64451 else
64452 echo "$as_me: failed program was:" >&5
64453 sed 's/^/| /' conftest.$ac_ext >&5
64455 glibcxx_cv_func__finitef_use=no
64457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64458 ac_ext=c
64459 ac_cpp='$CPP $CPPFLAGS'
64460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64469 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64471 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64473 for ac_func in _finitef
64475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64476 echo "$as_me:$LINENO: checking for $ac_func" >&5
64477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64478 if eval "test \"\${$as_ac_var+set}\" = set"; then
64479 echo $ECHO_N "(cached) $ECHO_C" >&6
64480 else
64481 if test x$gcc_no_link = xyes; then
64482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64484 { (exit 1); exit 1; }; }
64486 cat >conftest.$ac_ext <<_ACEOF
64487 /* confdefs.h. */
64488 _ACEOF
64489 cat confdefs.h >>conftest.$ac_ext
64490 cat >>conftest.$ac_ext <<_ACEOF
64491 /* end confdefs.h. */
64492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64494 #define $ac_func innocuous_$ac_func
64496 /* System header to define __stub macros and hopefully few prototypes,
64497 which can conflict with char $ac_func (); below.
64498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64499 <limits.h> exists even on freestanding compilers. */
64501 #ifdef __STDC__
64502 # include <limits.h>
64503 #else
64504 # include <assert.h>
64505 #endif
64507 #undef $ac_func
64509 /* Override any gcc2 internal prototype to avoid an error. */
64510 #ifdef __cplusplus
64511 extern "C"
64513 #endif
64514 /* We use char because int might match the return type of a gcc2
64515 builtin and then its argument prototype would still apply. */
64516 char $ac_func ();
64517 /* The GNU C library defines this for functions which it implements
64518 to always fail with ENOSYS. Some functions are actually named
64519 something starting with __ and the normal name is an alias. */
64520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64521 choke me
64522 #else
64523 char (*f) () = $ac_func;
64524 #endif
64525 #ifdef __cplusplus
64527 #endif
64530 main ()
64532 return f != $ac_func;
64534 return 0;
64536 _ACEOF
64537 rm -f conftest.$ac_objext conftest$ac_exeext
64538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64539 (eval $ac_link) 2>conftest.er1
64540 ac_status=$?
64541 grep -v '^ *+' conftest.er1 >conftest.err
64542 rm -f conftest.er1
64543 cat conftest.err >&5
64544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64545 (exit $ac_status); } &&
64546 { ac_try='test -z "$ac_c_werror_flag"
64547 || test ! -s conftest.err'
64548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64549 (eval $ac_try) 2>&5
64550 ac_status=$?
64551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64552 (exit $ac_status); }; } &&
64553 { ac_try='test -s conftest$ac_exeext'
64554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64555 (eval $ac_try) 2>&5
64556 ac_status=$?
64557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64558 (exit $ac_status); }; }; then
64559 eval "$as_ac_var=yes"
64560 else
64561 echo "$as_me: failed program was:" >&5
64562 sed 's/^/| /' conftest.$ac_ext >&5
64564 eval "$as_ac_var=no"
64566 rm -f conftest.err conftest.$ac_objext \
64567 conftest$ac_exeext conftest.$ac_ext
64569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64571 if test `eval echo '${'$as_ac_var'}'` = yes; then
64572 cat >>confdefs.h <<_ACEOF
64573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64574 _ACEOF
64577 done
64587 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64588 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64589 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64590 echo $ECHO_N "(cached) $ECHO_C" >&6
64591 else
64595 ac_ext=cc
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64601 cat >conftest.$ac_ext <<_ACEOF
64602 /* confdefs.h. */
64603 _ACEOF
64604 cat confdefs.h >>conftest.$ac_ext
64605 cat >>conftest.$ac_ext <<_ACEOF
64606 /* end confdefs.h. */
64607 #include <math.h>
64609 main ()
64611 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64613 return 0;
64615 _ACEOF
64616 rm -f conftest.$ac_objext
64617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64618 (eval $ac_compile) 2>conftest.er1
64619 ac_status=$?
64620 grep -v '^ *+' conftest.er1 >conftest.err
64621 rm -f conftest.er1
64622 cat conftest.err >&5
64623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64624 (exit $ac_status); } &&
64625 { ac_try='test -z "$ac_cxx_werror_flag"
64626 || test ! -s conftest.err'
64627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64628 (eval $ac_try) 2>&5
64629 ac_status=$?
64630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64631 (exit $ac_status); }; } &&
64632 { ac_try='test -s conftest.$ac_objext'
64633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64634 (eval $ac_try) 2>&5
64635 ac_status=$?
64636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64637 (exit $ac_status); }; }; then
64638 glibcxx_cv_func_long_double_trig_use=yes
64639 else
64640 echo "$as_me: failed program was:" >&5
64641 sed 's/^/| /' conftest.$ac_ext >&5
64643 glibcxx_cv_func_long_double_trig_use=no
64645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64646 ac_ext=c
64647 ac_cpp='$CPP $CPPFLAGS'
64648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64654 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64655 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64656 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64666 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64669 echo "$as_me:$LINENO: checking for $ac_func" >&5
64670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64671 if eval "test \"\${$as_ac_var+set}\" = set"; then
64672 echo $ECHO_N "(cached) $ECHO_C" >&6
64673 else
64674 if test x$gcc_no_link = xyes; then
64675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64677 { (exit 1); exit 1; }; }
64679 cat >conftest.$ac_ext <<_ACEOF
64680 /* confdefs.h. */
64681 _ACEOF
64682 cat confdefs.h >>conftest.$ac_ext
64683 cat >>conftest.$ac_ext <<_ACEOF
64684 /* end confdefs.h. */
64685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64687 #define $ac_func innocuous_$ac_func
64689 /* System header to define __stub macros and hopefully few prototypes,
64690 which can conflict with char $ac_func (); below.
64691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64692 <limits.h> exists even on freestanding compilers. */
64694 #ifdef __STDC__
64695 # include <limits.h>
64696 #else
64697 # include <assert.h>
64698 #endif
64700 #undef $ac_func
64702 /* Override any gcc2 internal prototype to avoid an error. */
64703 #ifdef __cplusplus
64704 extern "C"
64706 #endif
64707 /* We use char because int might match the return type of a gcc2
64708 builtin and then its argument prototype would still apply. */
64709 char $ac_func ();
64710 /* The GNU C library defines this for functions which it implements
64711 to always fail with ENOSYS. Some functions are actually named
64712 something starting with __ and the normal name is an alias. */
64713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64714 choke me
64715 #else
64716 char (*f) () = $ac_func;
64717 #endif
64718 #ifdef __cplusplus
64720 #endif
64723 main ()
64725 return f != $ac_func;
64727 return 0;
64729 _ACEOF
64730 rm -f conftest.$ac_objext conftest$ac_exeext
64731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64732 (eval $ac_link) 2>conftest.er1
64733 ac_status=$?
64734 grep -v '^ *+' conftest.er1 >conftest.err
64735 rm -f conftest.er1
64736 cat conftest.err >&5
64737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64738 (exit $ac_status); } &&
64739 { ac_try='test -z "$ac_c_werror_flag"
64740 || test ! -s conftest.err'
64741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64742 (eval $ac_try) 2>&5
64743 ac_status=$?
64744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64745 (exit $ac_status); }; } &&
64746 { ac_try='test -s conftest$ac_exeext'
64747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64748 (eval $ac_try) 2>&5
64749 ac_status=$?
64750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64751 (exit $ac_status); }; }; then
64752 eval "$as_ac_var=yes"
64753 else
64754 echo "$as_me: failed program was:" >&5
64755 sed 's/^/| /' conftest.$ac_ext >&5
64757 eval "$as_ac_var=no"
64759 rm -f conftest.err conftest.$ac_objext \
64760 conftest$ac_exeext conftest.$ac_ext
64762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64764 if test `eval echo '${'$as_ac_var'}'` = yes; then
64765 cat >>confdefs.h <<_ACEOF
64766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64767 _ACEOF
64770 done
64772 else
64773 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64774 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64775 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64776 echo $ECHO_N "(cached) $ECHO_C" >&6
64777 else
64781 ac_ext=cc
64782 ac_cpp='$CXXCPP $CPPFLAGS'
64783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64787 cat >conftest.$ac_ext <<_ACEOF
64788 /* confdefs.h. */
64789 _ACEOF
64790 cat confdefs.h >>conftest.$ac_ext
64791 cat >>conftest.$ac_ext <<_ACEOF
64792 /* end confdefs.h. */
64793 #include <math.h>
64795 main ()
64797 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64799 return 0;
64801 _ACEOF
64802 rm -f conftest.$ac_objext
64803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64804 (eval $ac_compile) 2>conftest.er1
64805 ac_status=$?
64806 grep -v '^ *+' conftest.er1 >conftest.err
64807 rm -f conftest.er1
64808 cat conftest.err >&5
64809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64810 (exit $ac_status); } &&
64811 { ac_try='test -z "$ac_cxx_werror_flag"
64812 || test ! -s conftest.err'
64813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64814 (eval $ac_try) 2>&5
64815 ac_status=$?
64816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64817 (exit $ac_status); }; } &&
64818 { ac_try='test -s conftest.$ac_objext'
64819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64820 (eval $ac_try) 2>&5
64821 ac_status=$?
64822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64823 (exit $ac_status); }; }; then
64824 glibcxx_cv_func__long_double_trig_use=yes
64825 else
64826 echo "$as_me: failed program was:" >&5
64827 sed 's/^/| /' conftest.$ac_ext >&5
64829 glibcxx_cv_func__long_double_trig_use=no
64831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64832 ac_ext=c
64833 ac_cpp='$CPP $CPPFLAGS'
64834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64841 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64842 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64852 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64855 echo "$as_me:$LINENO: checking for $ac_func" >&5
64856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64857 if eval "test \"\${$as_ac_var+set}\" = set"; then
64858 echo $ECHO_N "(cached) $ECHO_C" >&6
64859 else
64860 if test x$gcc_no_link = xyes; then
64861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64863 { (exit 1); exit 1; }; }
64865 cat >conftest.$ac_ext <<_ACEOF
64866 /* confdefs.h. */
64867 _ACEOF
64868 cat confdefs.h >>conftest.$ac_ext
64869 cat >>conftest.$ac_ext <<_ACEOF
64870 /* end confdefs.h. */
64871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64873 #define $ac_func innocuous_$ac_func
64875 /* System header to define __stub macros and hopefully few prototypes,
64876 which can conflict with char $ac_func (); below.
64877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64878 <limits.h> exists even on freestanding compilers. */
64880 #ifdef __STDC__
64881 # include <limits.h>
64882 #else
64883 # include <assert.h>
64884 #endif
64886 #undef $ac_func
64888 /* Override any gcc2 internal prototype to avoid an error. */
64889 #ifdef __cplusplus
64890 extern "C"
64892 #endif
64893 /* We use char because int might match the return type of a gcc2
64894 builtin and then its argument prototype would still apply. */
64895 char $ac_func ();
64896 /* The GNU C library defines this for functions which it implements
64897 to always fail with ENOSYS. Some functions are actually named
64898 something starting with __ and the normal name is an alias. */
64899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64900 choke me
64901 #else
64902 char (*f) () = $ac_func;
64903 #endif
64904 #ifdef __cplusplus
64906 #endif
64909 main ()
64911 return f != $ac_func;
64913 return 0;
64915 _ACEOF
64916 rm -f conftest.$ac_objext conftest$ac_exeext
64917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64918 (eval $ac_link) 2>conftest.er1
64919 ac_status=$?
64920 grep -v '^ *+' conftest.er1 >conftest.err
64921 rm -f conftest.er1
64922 cat conftest.err >&5
64923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64924 (exit $ac_status); } &&
64925 { ac_try='test -z "$ac_c_werror_flag"
64926 || test ! -s conftest.err'
64927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64928 (eval $ac_try) 2>&5
64929 ac_status=$?
64930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64931 (exit $ac_status); }; } &&
64932 { ac_try='test -s conftest$ac_exeext'
64933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64934 (eval $ac_try) 2>&5
64935 ac_status=$?
64936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64937 (exit $ac_status); }; }; then
64938 eval "$as_ac_var=yes"
64939 else
64940 echo "$as_me: failed program was:" >&5
64941 sed 's/^/| /' conftest.$ac_ext >&5
64943 eval "$as_ac_var=no"
64945 rm -f conftest.err conftest.$ac_objext \
64946 conftest$ac_exeext conftest.$ac_ext
64948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64950 if test `eval echo '${'$as_ac_var'}'` = yes; then
64951 cat >>confdefs.h <<_ACEOF
64952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64953 _ACEOF
64956 done
64974 echo "$as_me:$LINENO: checking for long double round functions" >&5
64975 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64976 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64977 echo $ECHO_N "(cached) $ECHO_C" >&6
64978 else
64982 ac_ext=cc
64983 ac_cpp='$CXXCPP $CPPFLAGS'
64984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64988 cat >conftest.$ac_ext <<_ACEOF
64989 /* confdefs.h. */
64990 _ACEOF
64991 cat confdefs.h >>conftest.$ac_ext
64992 cat >>conftest.$ac_ext <<_ACEOF
64993 /* end confdefs.h. */
64994 #include <math.h>
64996 main ()
64998 ceill (0); floorl (0);
65000 return 0;
65002 _ACEOF
65003 rm -f conftest.$ac_objext
65004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65005 (eval $ac_compile) 2>conftest.er1
65006 ac_status=$?
65007 grep -v '^ *+' conftest.er1 >conftest.err
65008 rm -f conftest.er1
65009 cat conftest.err >&5
65010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011 (exit $ac_status); } &&
65012 { ac_try='test -z "$ac_cxx_werror_flag"
65013 || test ! -s conftest.err'
65014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65015 (eval $ac_try) 2>&5
65016 ac_status=$?
65017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65018 (exit $ac_status); }; } &&
65019 { ac_try='test -s conftest.$ac_objext'
65020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65021 (eval $ac_try) 2>&5
65022 ac_status=$?
65023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65024 (exit $ac_status); }; }; then
65025 glibcxx_cv_func_long_double_round_use=yes
65026 else
65027 echo "$as_me: failed program was:" >&5
65028 sed 's/^/| /' conftest.$ac_ext >&5
65030 glibcxx_cv_func_long_double_round_use=no
65032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65033 ac_ext=c
65034 ac_cpp='$CPP $CPPFLAGS'
65035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65042 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65043 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65046 for ac_func in ceill floorl
65048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65049 echo "$as_me:$LINENO: checking for $ac_func" >&5
65050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65051 if eval "test \"\${$as_ac_var+set}\" = set"; then
65052 echo $ECHO_N "(cached) $ECHO_C" >&6
65053 else
65054 if test x$gcc_no_link = xyes; then
65055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65057 { (exit 1); exit 1; }; }
65059 cat >conftest.$ac_ext <<_ACEOF
65060 /* confdefs.h. */
65061 _ACEOF
65062 cat confdefs.h >>conftest.$ac_ext
65063 cat >>conftest.$ac_ext <<_ACEOF
65064 /* end confdefs.h. */
65065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65067 #define $ac_func innocuous_$ac_func
65069 /* System header to define __stub macros and hopefully few prototypes,
65070 which can conflict with char $ac_func (); below.
65071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65072 <limits.h> exists even on freestanding compilers. */
65074 #ifdef __STDC__
65075 # include <limits.h>
65076 #else
65077 # include <assert.h>
65078 #endif
65080 #undef $ac_func
65082 /* Override any gcc2 internal prototype to avoid an error. */
65083 #ifdef __cplusplus
65084 extern "C"
65086 #endif
65087 /* We use char because int might match the return type of a gcc2
65088 builtin and then its argument prototype would still apply. */
65089 char $ac_func ();
65090 /* The GNU C library defines this for functions which it implements
65091 to always fail with ENOSYS. Some functions are actually named
65092 something starting with __ and the normal name is an alias. */
65093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65094 choke me
65095 #else
65096 char (*f) () = $ac_func;
65097 #endif
65098 #ifdef __cplusplus
65100 #endif
65103 main ()
65105 return f != $ac_func;
65107 return 0;
65109 _ACEOF
65110 rm -f conftest.$ac_objext conftest$ac_exeext
65111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65112 (eval $ac_link) 2>conftest.er1
65113 ac_status=$?
65114 grep -v '^ *+' conftest.er1 >conftest.err
65115 rm -f conftest.er1
65116 cat conftest.err >&5
65117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65118 (exit $ac_status); } &&
65119 { ac_try='test -z "$ac_c_werror_flag"
65120 || test ! -s conftest.err'
65121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65122 (eval $ac_try) 2>&5
65123 ac_status=$?
65124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65125 (exit $ac_status); }; } &&
65126 { ac_try='test -s conftest$ac_exeext'
65127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65128 (eval $ac_try) 2>&5
65129 ac_status=$?
65130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65131 (exit $ac_status); }; }; then
65132 eval "$as_ac_var=yes"
65133 else
65134 echo "$as_me: failed program was:" >&5
65135 sed 's/^/| /' conftest.$ac_ext >&5
65137 eval "$as_ac_var=no"
65139 rm -f conftest.err conftest.$ac_objext \
65140 conftest$ac_exeext conftest.$ac_ext
65142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65144 if test `eval echo '${'$as_ac_var'}'` = yes; then
65145 cat >>confdefs.h <<_ACEOF
65146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65147 _ACEOF
65150 done
65152 else
65153 echo "$as_me:$LINENO: checking for _long double round functions" >&5
65154 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65155 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65156 echo $ECHO_N "(cached) $ECHO_C" >&6
65157 else
65161 ac_ext=cc
65162 ac_cpp='$CXXCPP $CPPFLAGS'
65163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65167 cat >conftest.$ac_ext <<_ACEOF
65168 /* confdefs.h. */
65169 _ACEOF
65170 cat confdefs.h >>conftest.$ac_ext
65171 cat >>conftest.$ac_ext <<_ACEOF
65172 /* end confdefs.h. */
65173 #include <math.h>
65175 main ()
65177 _ceill (0); _floorl (0);
65179 return 0;
65181 _ACEOF
65182 rm -f conftest.$ac_objext
65183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65184 (eval $ac_compile) 2>conftest.er1
65185 ac_status=$?
65186 grep -v '^ *+' conftest.er1 >conftest.err
65187 rm -f conftest.er1
65188 cat conftest.err >&5
65189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65190 (exit $ac_status); } &&
65191 { ac_try='test -z "$ac_cxx_werror_flag"
65192 || test ! -s conftest.err'
65193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65194 (eval $ac_try) 2>&5
65195 ac_status=$?
65196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65197 (exit $ac_status); }; } &&
65198 { ac_try='test -s conftest.$ac_objext'
65199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65200 (eval $ac_try) 2>&5
65201 ac_status=$?
65202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65203 (exit $ac_status); }; }; then
65204 glibcxx_cv_func__long_double_round_use=yes
65205 else
65206 echo "$as_me: failed program was:" >&5
65207 sed 's/^/| /' conftest.$ac_ext >&5
65209 glibcxx_cv_func__long_double_round_use=no
65211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65212 ac_ext=c
65213 ac_cpp='$CPP $CPPFLAGS'
65214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65221 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65222 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65225 for ac_func in _ceill _floorl
65227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65228 echo "$as_me:$LINENO: checking for $ac_func" >&5
65229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65230 if eval "test \"\${$as_ac_var+set}\" = set"; then
65231 echo $ECHO_N "(cached) $ECHO_C" >&6
65232 else
65233 if test x$gcc_no_link = xyes; then
65234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65236 { (exit 1); exit 1; }; }
65238 cat >conftest.$ac_ext <<_ACEOF
65239 /* confdefs.h. */
65240 _ACEOF
65241 cat confdefs.h >>conftest.$ac_ext
65242 cat >>conftest.$ac_ext <<_ACEOF
65243 /* end confdefs.h. */
65244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65246 #define $ac_func innocuous_$ac_func
65248 /* System header to define __stub macros and hopefully few prototypes,
65249 which can conflict with char $ac_func (); below.
65250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65251 <limits.h> exists even on freestanding compilers. */
65253 #ifdef __STDC__
65254 # include <limits.h>
65255 #else
65256 # include <assert.h>
65257 #endif
65259 #undef $ac_func
65261 /* Override any gcc2 internal prototype to avoid an error. */
65262 #ifdef __cplusplus
65263 extern "C"
65265 #endif
65266 /* We use char because int might match the return type of a gcc2
65267 builtin and then its argument prototype would still apply. */
65268 char $ac_func ();
65269 /* The GNU C library defines this for functions which it implements
65270 to always fail with ENOSYS. Some functions are actually named
65271 something starting with __ and the normal name is an alias. */
65272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65273 choke me
65274 #else
65275 char (*f) () = $ac_func;
65276 #endif
65277 #ifdef __cplusplus
65279 #endif
65282 main ()
65284 return f != $ac_func;
65286 return 0;
65288 _ACEOF
65289 rm -f conftest.$ac_objext conftest$ac_exeext
65290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65291 (eval $ac_link) 2>conftest.er1
65292 ac_status=$?
65293 grep -v '^ *+' conftest.er1 >conftest.err
65294 rm -f conftest.er1
65295 cat conftest.err >&5
65296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65297 (exit $ac_status); } &&
65298 { ac_try='test -z "$ac_c_werror_flag"
65299 || test ! -s conftest.err'
65300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65301 (eval $ac_try) 2>&5
65302 ac_status=$?
65303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65304 (exit $ac_status); }; } &&
65305 { ac_try='test -s conftest$ac_exeext'
65306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65307 (eval $ac_try) 2>&5
65308 ac_status=$?
65309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65310 (exit $ac_status); }; }; then
65311 eval "$as_ac_var=yes"
65312 else
65313 echo "$as_me: failed program was:" >&5
65314 sed 's/^/| /' conftest.$ac_ext >&5
65316 eval "$as_ac_var=no"
65318 rm -f conftest.err conftest.$ac_objext \
65319 conftest$ac_exeext conftest.$ac_ext
65321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65323 if test `eval echo '${'$as_ac_var'}'` = yes; then
65324 cat >>confdefs.h <<_ACEOF
65325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65326 _ACEOF
65329 done
65341 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65342 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65343 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65344 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65345 echo $ECHO_N "(cached) $ECHO_C" >&6
65346 else
65350 ac_ext=cc
65351 ac_cpp='$CXXCPP $CPPFLAGS'
65352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65356 cat >conftest.$ac_ext <<_ACEOF
65357 /* confdefs.h. */
65358 _ACEOF
65359 cat confdefs.h >>conftest.$ac_ext
65360 cat >>conftest.$ac_ext <<_ACEOF
65361 /* end confdefs.h. */
65362 #include <math.h>
65363 #ifdef HAVE_IEEEFP_H
65364 #include <ieeefp.h>
65365 #endif
65368 main ()
65370 isnanl(0);
65372 return 0;
65374 _ACEOF
65375 rm -f conftest.$ac_objext
65376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65377 (eval $ac_compile) 2>conftest.er1
65378 ac_status=$?
65379 grep -v '^ *+' conftest.er1 >conftest.err
65380 rm -f conftest.er1
65381 cat conftest.err >&5
65382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65383 (exit $ac_status); } &&
65384 { ac_try='test -z "$ac_cxx_werror_flag"
65385 || test ! -s conftest.err'
65386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65387 (eval $ac_try) 2>&5
65388 ac_status=$?
65389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65390 (exit $ac_status); }; } &&
65391 { ac_try='test -s conftest.$ac_objext'
65392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65393 (eval $ac_try) 2>&5
65394 ac_status=$?
65395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65396 (exit $ac_status); }; }; then
65397 glibcxx_cv_func_isnanl_use=yes
65398 else
65399 echo "$as_me: failed program was:" >&5
65400 sed 's/^/| /' conftest.$ac_ext >&5
65402 glibcxx_cv_func_isnanl_use=no
65404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65405 ac_ext=c
65406 ac_cpp='$CPP $CPPFLAGS'
65407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65416 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65418 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65420 for ac_func in isnanl
65422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65423 echo "$as_me:$LINENO: checking for $ac_func" >&5
65424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65425 if eval "test \"\${$as_ac_var+set}\" = set"; then
65426 echo $ECHO_N "(cached) $ECHO_C" >&6
65427 else
65428 if test x$gcc_no_link = xyes; then
65429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65431 { (exit 1); exit 1; }; }
65433 cat >conftest.$ac_ext <<_ACEOF
65434 /* confdefs.h. */
65435 _ACEOF
65436 cat confdefs.h >>conftest.$ac_ext
65437 cat >>conftest.$ac_ext <<_ACEOF
65438 /* end confdefs.h. */
65439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65441 #define $ac_func innocuous_$ac_func
65443 /* System header to define __stub macros and hopefully few prototypes,
65444 which can conflict with char $ac_func (); below.
65445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65446 <limits.h> exists even on freestanding compilers. */
65448 #ifdef __STDC__
65449 # include <limits.h>
65450 #else
65451 # include <assert.h>
65452 #endif
65454 #undef $ac_func
65456 /* Override any gcc2 internal prototype to avoid an error. */
65457 #ifdef __cplusplus
65458 extern "C"
65460 #endif
65461 /* We use char because int might match the return type of a gcc2
65462 builtin and then its argument prototype would still apply. */
65463 char $ac_func ();
65464 /* The GNU C library defines this for functions which it implements
65465 to always fail with ENOSYS. Some functions are actually named
65466 something starting with __ and the normal name is an alias. */
65467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65468 choke me
65469 #else
65470 char (*f) () = $ac_func;
65471 #endif
65472 #ifdef __cplusplus
65474 #endif
65477 main ()
65479 return f != $ac_func;
65481 return 0;
65483 _ACEOF
65484 rm -f conftest.$ac_objext conftest$ac_exeext
65485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65486 (eval $ac_link) 2>conftest.er1
65487 ac_status=$?
65488 grep -v '^ *+' conftest.er1 >conftest.err
65489 rm -f conftest.er1
65490 cat conftest.err >&5
65491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65492 (exit $ac_status); } &&
65493 { ac_try='test -z "$ac_c_werror_flag"
65494 || test ! -s conftest.err'
65495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65496 (eval $ac_try) 2>&5
65497 ac_status=$?
65498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65499 (exit $ac_status); }; } &&
65500 { ac_try='test -s conftest$ac_exeext'
65501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65502 (eval $ac_try) 2>&5
65503 ac_status=$?
65504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65505 (exit $ac_status); }; }; then
65506 eval "$as_ac_var=yes"
65507 else
65508 echo "$as_me: failed program was:" >&5
65509 sed 's/^/| /' conftest.$ac_ext >&5
65511 eval "$as_ac_var=no"
65513 rm -f conftest.err conftest.$ac_objext \
65514 conftest$ac_exeext conftest.$ac_ext
65516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65518 if test `eval echo '${'$as_ac_var'}'` = yes; then
65519 cat >>confdefs.h <<_ACEOF
65520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65521 _ACEOF
65524 done
65526 else
65528 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65529 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65530 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65531 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65532 echo $ECHO_N "(cached) $ECHO_C" >&6
65533 else
65537 ac_ext=cc
65538 ac_cpp='$CXXCPP $CPPFLAGS'
65539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65543 cat >conftest.$ac_ext <<_ACEOF
65544 /* confdefs.h. */
65545 _ACEOF
65546 cat confdefs.h >>conftest.$ac_ext
65547 cat >>conftest.$ac_ext <<_ACEOF
65548 /* end confdefs.h. */
65549 #include <math.h>
65550 #ifdef HAVE_IEEEFP_H
65551 #include <ieeefp.h>
65552 #endif
65555 main ()
65557 _isnanl(0);
65559 return 0;
65561 _ACEOF
65562 rm -f conftest.$ac_objext
65563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65564 (eval $ac_compile) 2>conftest.er1
65565 ac_status=$?
65566 grep -v '^ *+' conftest.er1 >conftest.err
65567 rm -f conftest.er1
65568 cat conftest.err >&5
65569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65570 (exit $ac_status); } &&
65571 { ac_try='test -z "$ac_cxx_werror_flag"
65572 || test ! -s conftest.err'
65573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65574 (eval $ac_try) 2>&5
65575 ac_status=$?
65576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65577 (exit $ac_status); }; } &&
65578 { ac_try='test -s conftest.$ac_objext'
65579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65580 (eval $ac_try) 2>&5
65581 ac_status=$?
65582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65583 (exit $ac_status); }; }; then
65584 glibcxx_cv_func__isnanl_use=yes
65585 else
65586 echo "$as_me: failed program was:" >&5
65587 sed 's/^/| /' conftest.$ac_ext >&5
65589 glibcxx_cv_func__isnanl_use=no
65591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65592 ac_ext=c
65593 ac_cpp='$CPP $CPPFLAGS'
65594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65602 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65603 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65605 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65607 for ac_func in _isnanl
65609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65610 echo "$as_me:$LINENO: checking for $ac_func" >&5
65611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65612 if eval "test \"\${$as_ac_var+set}\" = set"; then
65613 echo $ECHO_N "(cached) $ECHO_C" >&6
65614 else
65615 if test x$gcc_no_link = xyes; then
65616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65618 { (exit 1); exit 1; }; }
65620 cat >conftest.$ac_ext <<_ACEOF
65621 /* confdefs.h. */
65622 _ACEOF
65623 cat confdefs.h >>conftest.$ac_ext
65624 cat >>conftest.$ac_ext <<_ACEOF
65625 /* end confdefs.h. */
65626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65628 #define $ac_func innocuous_$ac_func
65630 /* System header to define __stub macros and hopefully few prototypes,
65631 which can conflict with char $ac_func (); below.
65632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65633 <limits.h> exists even on freestanding compilers. */
65635 #ifdef __STDC__
65636 # include <limits.h>
65637 #else
65638 # include <assert.h>
65639 #endif
65641 #undef $ac_func
65643 /* Override any gcc2 internal prototype to avoid an error. */
65644 #ifdef __cplusplus
65645 extern "C"
65647 #endif
65648 /* We use char because int might match the return type of a gcc2
65649 builtin and then its argument prototype would still apply. */
65650 char $ac_func ();
65651 /* The GNU C library defines this for functions which it implements
65652 to always fail with ENOSYS. Some functions are actually named
65653 something starting with __ and the normal name is an alias. */
65654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65655 choke me
65656 #else
65657 char (*f) () = $ac_func;
65658 #endif
65659 #ifdef __cplusplus
65661 #endif
65664 main ()
65666 return f != $ac_func;
65668 return 0;
65670 _ACEOF
65671 rm -f conftest.$ac_objext conftest$ac_exeext
65672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65673 (eval $ac_link) 2>conftest.er1
65674 ac_status=$?
65675 grep -v '^ *+' conftest.er1 >conftest.err
65676 rm -f conftest.er1
65677 cat conftest.err >&5
65678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65679 (exit $ac_status); } &&
65680 { ac_try='test -z "$ac_c_werror_flag"
65681 || test ! -s conftest.err'
65682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65683 (eval $ac_try) 2>&5
65684 ac_status=$?
65685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65686 (exit $ac_status); }; } &&
65687 { ac_try='test -s conftest$ac_exeext'
65688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65689 (eval $ac_try) 2>&5
65690 ac_status=$?
65691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65692 (exit $ac_status); }; }; then
65693 eval "$as_ac_var=yes"
65694 else
65695 echo "$as_me: failed program was:" >&5
65696 sed 's/^/| /' conftest.$ac_ext >&5
65698 eval "$as_ac_var=no"
65700 rm -f conftest.err conftest.$ac_objext \
65701 conftest$ac_exeext conftest.$ac_ext
65703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65705 if test `eval echo '${'$as_ac_var'}'` = yes; then
65706 cat >>confdefs.h <<_ACEOF
65707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65708 _ACEOF
65711 done
65721 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65722 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65723 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65724 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65725 echo $ECHO_N "(cached) $ECHO_C" >&6
65726 else
65730 ac_ext=cc
65731 ac_cpp='$CXXCPP $CPPFLAGS'
65732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65736 cat >conftest.$ac_ext <<_ACEOF
65737 /* confdefs.h. */
65738 _ACEOF
65739 cat confdefs.h >>conftest.$ac_ext
65740 cat >>conftest.$ac_ext <<_ACEOF
65741 /* end confdefs.h. */
65742 #include <math.h>
65743 #ifdef HAVE_IEEEFP_H
65744 #include <ieeefp.h>
65745 #endif
65748 main ()
65750 isinfl(0);
65752 return 0;
65754 _ACEOF
65755 rm -f conftest.$ac_objext
65756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65757 (eval $ac_compile) 2>conftest.er1
65758 ac_status=$?
65759 grep -v '^ *+' conftest.er1 >conftest.err
65760 rm -f conftest.er1
65761 cat conftest.err >&5
65762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65763 (exit $ac_status); } &&
65764 { ac_try='test -z "$ac_cxx_werror_flag"
65765 || test ! -s conftest.err'
65766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65767 (eval $ac_try) 2>&5
65768 ac_status=$?
65769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65770 (exit $ac_status); }; } &&
65771 { ac_try='test -s conftest.$ac_objext'
65772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65773 (eval $ac_try) 2>&5
65774 ac_status=$?
65775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65776 (exit $ac_status); }; }; then
65777 glibcxx_cv_func_isinfl_use=yes
65778 else
65779 echo "$as_me: failed program was:" >&5
65780 sed 's/^/| /' conftest.$ac_ext >&5
65782 glibcxx_cv_func_isinfl_use=no
65784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65785 ac_ext=c
65786 ac_cpp='$CPP $CPPFLAGS'
65787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65795 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65796 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65798 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65800 for ac_func in isinfl
65802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65803 echo "$as_me:$LINENO: checking for $ac_func" >&5
65804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65805 if eval "test \"\${$as_ac_var+set}\" = set"; then
65806 echo $ECHO_N "(cached) $ECHO_C" >&6
65807 else
65808 if test x$gcc_no_link = xyes; then
65809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65811 { (exit 1); exit 1; }; }
65813 cat >conftest.$ac_ext <<_ACEOF
65814 /* confdefs.h. */
65815 _ACEOF
65816 cat confdefs.h >>conftest.$ac_ext
65817 cat >>conftest.$ac_ext <<_ACEOF
65818 /* end confdefs.h. */
65819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65821 #define $ac_func innocuous_$ac_func
65823 /* System header to define __stub macros and hopefully few prototypes,
65824 which can conflict with char $ac_func (); below.
65825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65826 <limits.h> exists even on freestanding compilers. */
65828 #ifdef __STDC__
65829 # include <limits.h>
65830 #else
65831 # include <assert.h>
65832 #endif
65834 #undef $ac_func
65836 /* Override any gcc2 internal prototype to avoid an error. */
65837 #ifdef __cplusplus
65838 extern "C"
65840 #endif
65841 /* We use char because int might match the return type of a gcc2
65842 builtin and then its argument prototype would still apply. */
65843 char $ac_func ();
65844 /* The GNU C library defines this for functions which it implements
65845 to always fail with ENOSYS. Some functions are actually named
65846 something starting with __ and the normal name is an alias. */
65847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65848 choke me
65849 #else
65850 char (*f) () = $ac_func;
65851 #endif
65852 #ifdef __cplusplus
65854 #endif
65857 main ()
65859 return f != $ac_func;
65861 return 0;
65863 _ACEOF
65864 rm -f conftest.$ac_objext conftest$ac_exeext
65865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65866 (eval $ac_link) 2>conftest.er1
65867 ac_status=$?
65868 grep -v '^ *+' conftest.er1 >conftest.err
65869 rm -f conftest.er1
65870 cat conftest.err >&5
65871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65872 (exit $ac_status); } &&
65873 { ac_try='test -z "$ac_c_werror_flag"
65874 || test ! -s conftest.err'
65875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65876 (eval $ac_try) 2>&5
65877 ac_status=$?
65878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65879 (exit $ac_status); }; } &&
65880 { ac_try='test -s conftest$ac_exeext'
65881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65882 (eval $ac_try) 2>&5
65883 ac_status=$?
65884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65885 (exit $ac_status); }; }; then
65886 eval "$as_ac_var=yes"
65887 else
65888 echo "$as_me: failed program was:" >&5
65889 sed 's/^/| /' conftest.$ac_ext >&5
65891 eval "$as_ac_var=no"
65893 rm -f conftest.err conftest.$ac_objext \
65894 conftest$ac_exeext conftest.$ac_ext
65896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65898 if test `eval echo '${'$as_ac_var'}'` = yes; then
65899 cat >>confdefs.h <<_ACEOF
65900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65901 _ACEOF
65904 done
65906 else
65908 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65909 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65910 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65911 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65912 echo $ECHO_N "(cached) $ECHO_C" >&6
65913 else
65917 ac_ext=cc
65918 ac_cpp='$CXXCPP $CPPFLAGS'
65919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65923 cat >conftest.$ac_ext <<_ACEOF
65924 /* confdefs.h. */
65925 _ACEOF
65926 cat confdefs.h >>conftest.$ac_ext
65927 cat >>conftest.$ac_ext <<_ACEOF
65928 /* end confdefs.h. */
65929 #include <math.h>
65930 #ifdef HAVE_IEEEFP_H
65931 #include <ieeefp.h>
65932 #endif
65935 main ()
65937 _isinfl(0);
65939 return 0;
65941 _ACEOF
65942 rm -f conftest.$ac_objext
65943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65944 (eval $ac_compile) 2>conftest.er1
65945 ac_status=$?
65946 grep -v '^ *+' conftest.er1 >conftest.err
65947 rm -f conftest.er1
65948 cat conftest.err >&5
65949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65950 (exit $ac_status); } &&
65951 { ac_try='test -z "$ac_cxx_werror_flag"
65952 || test ! -s conftest.err'
65953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65954 (eval $ac_try) 2>&5
65955 ac_status=$?
65956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65957 (exit $ac_status); }; } &&
65958 { ac_try='test -s conftest.$ac_objext'
65959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65960 (eval $ac_try) 2>&5
65961 ac_status=$?
65962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65963 (exit $ac_status); }; }; then
65964 glibcxx_cv_func__isinfl_use=yes
65965 else
65966 echo "$as_me: failed program was:" >&5
65967 sed 's/^/| /' conftest.$ac_ext >&5
65969 glibcxx_cv_func__isinfl_use=no
65971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65972 ac_ext=c
65973 ac_cpp='$CPP $CPPFLAGS'
65974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65982 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65983 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65985 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65987 for ac_func in _isinfl
65989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65990 echo "$as_me:$LINENO: checking for $ac_func" >&5
65991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65992 if eval "test \"\${$as_ac_var+set}\" = set"; then
65993 echo $ECHO_N "(cached) $ECHO_C" >&6
65994 else
65995 if test x$gcc_no_link = xyes; then
65996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65998 { (exit 1); exit 1; }; }
66000 cat >conftest.$ac_ext <<_ACEOF
66001 /* confdefs.h. */
66002 _ACEOF
66003 cat confdefs.h >>conftest.$ac_ext
66004 cat >>conftest.$ac_ext <<_ACEOF
66005 /* end confdefs.h. */
66006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66008 #define $ac_func innocuous_$ac_func
66010 /* System header to define __stub macros and hopefully few prototypes,
66011 which can conflict with char $ac_func (); below.
66012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66013 <limits.h> exists even on freestanding compilers. */
66015 #ifdef __STDC__
66016 # include <limits.h>
66017 #else
66018 # include <assert.h>
66019 #endif
66021 #undef $ac_func
66023 /* Override any gcc2 internal prototype to avoid an error. */
66024 #ifdef __cplusplus
66025 extern "C"
66027 #endif
66028 /* We use char because int might match the return type of a gcc2
66029 builtin and then its argument prototype would still apply. */
66030 char $ac_func ();
66031 /* The GNU C library defines this for functions which it implements
66032 to always fail with ENOSYS. Some functions are actually named
66033 something starting with __ and the normal name is an alias. */
66034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66035 choke me
66036 #else
66037 char (*f) () = $ac_func;
66038 #endif
66039 #ifdef __cplusplus
66041 #endif
66044 main ()
66046 return f != $ac_func;
66048 return 0;
66050 _ACEOF
66051 rm -f conftest.$ac_objext conftest$ac_exeext
66052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66053 (eval $ac_link) 2>conftest.er1
66054 ac_status=$?
66055 grep -v '^ *+' conftest.er1 >conftest.err
66056 rm -f conftest.er1
66057 cat conftest.err >&5
66058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66059 (exit $ac_status); } &&
66060 { ac_try='test -z "$ac_c_werror_flag"
66061 || test ! -s conftest.err'
66062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66063 (eval $ac_try) 2>&5
66064 ac_status=$?
66065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66066 (exit $ac_status); }; } &&
66067 { ac_try='test -s conftest$ac_exeext'
66068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66069 (eval $ac_try) 2>&5
66070 ac_status=$?
66071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66072 (exit $ac_status); }; }; then
66073 eval "$as_ac_var=yes"
66074 else
66075 echo "$as_me: failed program was:" >&5
66076 sed 's/^/| /' conftest.$ac_ext >&5
66078 eval "$as_ac_var=no"
66080 rm -f conftest.err conftest.$ac_objext \
66081 conftest$ac_exeext conftest.$ac_ext
66083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66085 if test `eval echo '${'$as_ac_var'}'` = yes; then
66086 cat >>confdefs.h <<_ACEOF
66087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66088 _ACEOF
66091 done
66101 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66102 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66103 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66104 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66105 echo $ECHO_N "(cached) $ECHO_C" >&6
66106 else
66110 ac_ext=cc
66111 ac_cpp='$CXXCPP $CPPFLAGS'
66112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66116 cat >conftest.$ac_ext <<_ACEOF
66117 /* confdefs.h. */
66118 _ACEOF
66119 cat confdefs.h >>conftest.$ac_ext
66120 cat >>conftest.$ac_ext <<_ACEOF
66121 /* end confdefs.h. */
66122 #include <math.h>
66124 main ()
66126 copysignl(0, 0);
66128 return 0;
66130 _ACEOF
66131 rm -f conftest.$ac_objext
66132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66133 (eval $ac_compile) 2>conftest.er1
66134 ac_status=$?
66135 grep -v '^ *+' conftest.er1 >conftest.err
66136 rm -f conftest.er1
66137 cat conftest.err >&5
66138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66139 (exit $ac_status); } &&
66140 { ac_try='test -z "$ac_cxx_werror_flag"
66141 || test ! -s conftest.err'
66142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66143 (eval $ac_try) 2>&5
66144 ac_status=$?
66145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66146 (exit $ac_status); }; } &&
66147 { ac_try='test -s conftest.$ac_objext'
66148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66149 (eval $ac_try) 2>&5
66150 ac_status=$?
66151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66152 (exit $ac_status); }; }; then
66153 glibcxx_cv_func_copysignl_use=yes
66154 else
66155 echo "$as_me: failed program was:" >&5
66156 sed 's/^/| /' conftest.$ac_ext >&5
66158 glibcxx_cv_func_copysignl_use=no
66160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66161 ac_ext=c
66162 ac_cpp='$CPP $CPPFLAGS'
66163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66171 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66172 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66174 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66176 for ac_func in copysignl
66178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66179 echo "$as_me:$LINENO: checking for $ac_func" >&5
66180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66181 if eval "test \"\${$as_ac_var+set}\" = set"; then
66182 echo $ECHO_N "(cached) $ECHO_C" >&6
66183 else
66184 if test x$gcc_no_link = xyes; then
66185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66187 { (exit 1); exit 1; }; }
66189 cat >conftest.$ac_ext <<_ACEOF
66190 /* confdefs.h. */
66191 _ACEOF
66192 cat confdefs.h >>conftest.$ac_ext
66193 cat >>conftest.$ac_ext <<_ACEOF
66194 /* end confdefs.h. */
66195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66197 #define $ac_func innocuous_$ac_func
66199 /* System header to define __stub macros and hopefully few prototypes,
66200 which can conflict with char $ac_func (); below.
66201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66202 <limits.h> exists even on freestanding compilers. */
66204 #ifdef __STDC__
66205 # include <limits.h>
66206 #else
66207 # include <assert.h>
66208 #endif
66210 #undef $ac_func
66212 /* Override any gcc2 internal prototype to avoid an error. */
66213 #ifdef __cplusplus
66214 extern "C"
66216 #endif
66217 /* We use char because int might match the return type of a gcc2
66218 builtin and then its argument prototype would still apply. */
66219 char $ac_func ();
66220 /* The GNU C library defines this for functions which it implements
66221 to always fail with ENOSYS. Some functions are actually named
66222 something starting with __ and the normal name is an alias. */
66223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66224 choke me
66225 #else
66226 char (*f) () = $ac_func;
66227 #endif
66228 #ifdef __cplusplus
66230 #endif
66233 main ()
66235 return f != $ac_func;
66237 return 0;
66239 _ACEOF
66240 rm -f conftest.$ac_objext conftest$ac_exeext
66241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66242 (eval $ac_link) 2>conftest.er1
66243 ac_status=$?
66244 grep -v '^ *+' conftest.er1 >conftest.err
66245 rm -f conftest.er1
66246 cat conftest.err >&5
66247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66248 (exit $ac_status); } &&
66249 { ac_try='test -z "$ac_c_werror_flag"
66250 || test ! -s conftest.err'
66251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66252 (eval $ac_try) 2>&5
66253 ac_status=$?
66254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66255 (exit $ac_status); }; } &&
66256 { ac_try='test -s conftest$ac_exeext'
66257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66258 (eval $ac_try) 2>&5
66259 ac_status=$?
66260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66261 (exit $ac_status); }; }; then
66262 eval "$as_ac_var=yes"
66263 else
66264 echo "$as_me: failed program was:" >&5
66265 sed 's/^/| /' conftest.$ac_ext >&5
66267 eval "$as_ac_var=no"
66269 rm -f conftest.err conftest.$ac_objext \
66270 conftest$ac_exeext conftest.$ac_ext
66272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66274 if test `eval echo '${'$as_ac_var'}'` = yes; then
66275 cat >>confdefs.h <<_ACEOF
66276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66277 _ACEOF
66280 done
66282 else
66284 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66285 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66286 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66287 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66288 echo $ECHO_N "(cached) $ECHO_C" >&6
66289 else
66293 ac_ext=cc
66294 ac_cpp='$CXXCPP $CPPFLAGS'
66295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66299 cat >conftest.$ac_ext <<_ACEOF
66300 /* confdefs.h. */
66301 _ACEOF
66302 cat confdefs.h >>conftest.$ac_ext
66303 cat >>conftest.$ac_ext <<_ACEOF
66304 /* end confdefs.h. */
66305 #include <math.h>
66307 main ()
66309 _copysignl(0, 0);
66311 return 0;
66313 _ACEOF
66314 rm -f conftest.$ac_objext
66315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66316 (eval $ac_compile) 2>conftest.er1
66317 ac_status=$?
66318 grep -v '^ *+' conftest.er1 >conftest.err
66319 rm -f conftest.er1
66320 cat conftest.err >&5
66321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66322 (exit $ac_status); } &&
66323 { ac_try='test -z "$ac_cxx_werror_flag"
66324 || test ! -s conftest.err'
66325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66326 (eval $ac_try) 2>&5
66327 ac_status=$?
66328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66329 (exit $ac_status); }; } &&
66330 { ac_try='test -s conftest.$ac_objext'
66331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66332 (eval $ac_try) 2>&5
66333 ac_status=$?
66334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66335 (exit $ac_status); }; }; then
66336 glibcxx_cv_func__copysignl_use=yes
66337 else
66338 echo "$as_me: failed program was:" >&5
66339 sed 's/^/| /' conftest.$ac_ext >&5
66341 glibcxx_cv_func__copysignl_use=no
66343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66344 ac_ext=c
66345 ac_cpp='$CPP $CPPFLAGS'
66346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66355 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66357 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66359 for ac_func in _copysignl
66361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66362 echo "$as_me:$LINENO: checking for $ac_func" >&5
66363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66364 if eval "test \"\${$as_ac_var+set}\" = set"; then
66365 echo $ECHO_N "(cached) $ECHO_C" >&6
66366 else
66367 if test x$gcc_no_link = xyes; then
66368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66370 { (exit 1); exit 1; }; }
66372 cat >conftest.$ac_ext <<_ACEOF
66373 /* confdefs.h. */
66374 _ACEOF
66375 cat confdefs.h >>conftest.$ac_ext
66376 cat >>conftest.$ac_ext <<_ACEOF
66377 /* end confdefs.h. */
66378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66380 #define $ac_func innocuous_$ac_func
66382 /* System header to define __stub macros and hopefully few prototypes,
66383 which can conflict with char $ac_func (); below.
66384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66385 <limits.h> exists even on freestanding compilers. */
66387 #ifdef __STDC__
66388 # include <limits.h>
66389 #else
66390 # include <assert.h>
66391 #endif
66393 #undef $ac_func
66395 /* Override any gcc2 internal prototype to avoid an error. */
66396 #ifdef __cplusplus
66397 extern "C"
66399 #endif
66400 /* We use char because int might match the return type of a gcc2
66401 builtin and then its argument prototype would still apply. */
66402 char $ac_func ();
66403 /* The GNU C library defines this for functions which it implements
66404 to always fail with ENOSYS. Some functions are actually named
66405 something starting with __ and the normal name is an alias. */
66406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66407 choke me
66408 #else
66409 char (*f) () = $ac_func;
66410 #endif
66411 #ifdef __cplusplus
66413 #endif
66416 main ()
66418 return f != $ac_func;
66420 return 0;
66422 _ACEOF
66423 rm -f conftest.$ac_objext conftest$ac_exeext
66424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66425 (eval $ac_link) 2>conftest.er1
66426 ac_status=$?
66427 grep -v '^ *+' conftest.er1 >conftest.err
66428 rm -f conftest.er1
66429 cat conftest.err >&5
66430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66431 (exit $ac_status); } &&
66432 { ac_try='test -z "$ac_c_werror_flag"
66433 || test ! -s conftest.err'
66434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66435 (eval $ac_try) 2>&5
66436 ac_status=$?
66437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66438 (exit $ac_status); }; } &&
66439 { ac_try='test -s conftest$ac_exeext'
66440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66441 (eval $ac_try) 2>&5
66442 ac_status=$?
66443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66444 (exit $ac_status); }; }; then
66445 eval "$as_ac_var=yes"
66446 else
66447 echo "$as_me: failed program was:" >&5
66448 sed 's/^/| /' conftest.$ac_ext >&5
66450 eval "$as_ac_var=no"
66452 rm -f conftest.err conftest.$ac_objext \
66453 conftest$ac_exeext conftest.$ac_ext
66455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66457 if test `eval echo '${'$as_ac_var'}'` = yes; then
66458 cat >>confdefs.h <<_ACEOF
66459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66460 _ACEOF
66463 done
66473 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66474 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66475 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66476 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66477 echo $ECHO_N "(cached) $ECHO_C" >&6
66478 else
66482 ac_ext=cc
66483 ac_cpp='$CXXCPP $CPPFLAGS'
66484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66488 cat >conftest.$ac_ext <<_ACEOF
66489 /* confdefs.h. */
66490 _ACEOF
66491 cat confdefs.h >>conftest.$ac_ext
66492 cat >>conftest.$ac_ext <<_ACEOF
66493 /* end confdefs.h. */
66494 #include <math.h>
66496 main ()
66498 atan2l(0, 0);
66500 return 0;
66502 _ACEOF
66503 rm -f conftest.$ac_objext
66504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66505 (eval $ac_compile) 2>conftest.er1
66506 ac_status=$?
66507 grep -v '^ *+' conftest.er1 >conftest.err
66508 rm -f conftest.er1
66509 cat conftest.err >&5
66510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66511 (exit $ac_status); } &&
66512 { ac_try='test -z "$ac_cxx_werror_flag"
66513 || test ! -s conftest.err'
66514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66515 (eval $ac_try) 2>&5
66516 ac_status=$?
66517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66518 (exit $ac_status); }; } &&
66519 { ac_try='test -s conftest.$ac_objext'
66520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66521 (eval $ac_try) 2>&5
66522 ac_status=$?
66523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66524 (exit $ac_status); }; }; then
66525 glibcxx_cv_func_atan2l_use=yes
66526 else
66527 echo "$as_me: failed program was:" >&5
66528 sed 's/^/| /' conftest.$ac_ext >&5
66530 glibcxx_cv_func_atan2l_use=no
66532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66533 ac_ext=c
66534 ac_cpp='$CPP $CPPFLAGS'
66535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66544 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66546 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66548 for ac_func in atan2l
66550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66551 echo "$as_me:$LINENO: checking for $ac_func" >&5
66552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66553 if eval "test \"\${$as_ac_var+set}\" = set"; then
66554 echo $ECHO_N "(cached) $ECHO_C" >&6
66555 else
66556 if test x$gcc_no_link = xyes; then
66557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66559 { (exit 1); exit 1; }; }
66561 cat >conftest.$ac_ext <<_ACEOF
66562 /* confdefs.h. */
66563 _ACEOF
66564 cat confdefs.h >>conftest.$ac_ext
66565 cat >>conftest.$ac_ext <<_ACEOF
66566 /* end confdefs.h. */
66567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66569 #define $ac_func innocuous_$ac_func
66571 /* System header to define __stub macros and hopefully few prototypes,
66572 which can conflict with char $ac_func (); below.
66573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66574 <limits.h> exists even on freestanding compilers. */
66576 #ifdef __STDC__
66577 # include <limits.h>
66578 #else
66579 # include <assert.h>
66580 #endif
66582 #undef $ac_func
66584 /* Override any gcc2 internal prototype to avoid an error. */
66585 #ifdef __cplusplus
66586 extern "C"
66588 #endif
66589 /* We use char because int might match the return type of a gcc2
66590 builtin and then its argument prototype would still apply. */
66591 char $ac_func ();
66592 /* The GNU C library defines this for functions which it implements
66593 to always fail with ENOSYS. Some functions are actually named
66594 something starting with __ and the normal name is an alias. */
66595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66596 choke me
66597 #else
66598 char (*f) () = $ac_func;
66599 #endif
66600 #ifdef __cplusplus
66602 #endif
66605 main ()
66607 return f != $ac_func;
66609 return 0;
66611 _ACEOF
66612 rm -f conftest.$ac_objext conftest$ac_exeext
66613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66614 (eval $ac_link) 2>conftest.er1
66615 ac_status=$?
66616 grep -v '^ *+' conftest.er1 >conftest.err
66617 rm -f conftest.er1
66618 cat conftest.err >&5
66619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66620 (exit $ac_status); } &&
66621 { ac_try='test -z "$ac_c_werror_flag"
66622 || test ! -s conftest.err'
66623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66624 (eval $ac_try) 2>&5
66625 ac_status=$?
66626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66627 (exit $ac_status); }; } &&
66628 { ac_try='test -s conftest$ac_exeext'
66629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66630 (eval $ac_try) 2>&5
66631 ac_status=$?
66632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66633 (exit $ac_status); }; }; then
66634 eval "$as_ac_var=yes"
66635 else
66636 echo "$as_me: failed program was:" >&5
66637 sed 's/^/| /' conftest.$ac_ext >&5
66639 eval "$as_ac_var=no"
66641 rm -f conftest.err conftest.$ac_objext \
66642 conftest$ac_exeext conftest.$ac_ext
66644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66646 if test `eval echo '${'$as_ac_var'}'` = yes; then
66647 cat >>confdefs.h <<_ACEOF
66648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66649 _ACEOF
66652 done
66654 else
66656 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66657 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66658 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66659 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66660 echo $ECHO_N "(cached) $ECHO_C" >&6
66661 else
66665 ac_ext=cc
66666 ac_cpp='$CXXCPP $CPPFLAGS'
66667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66671 cat >conftest.$ac_ext <<_ACEOF
66672 /* confdefs.h. */
66673 _ACEOF
66674 cat confdefs.h >>conftest.$ac_ext
66675 cat >>conftest.$ac_ext <<_ACEOF
66676 /* end confdefs.h. */
66677 #include <math.h>
66679 main ()
66681 _atan2l(0, 0);
66683 return 0;
66685 _ACEOF
66686 rm -f conftest.$ac_objext
66687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66688 (eval $ac_compile) 2>conftest.er1
66689 ac_status=$?
66690 grep -v '^ *+' conftest.er1 >conftest.err
66691 rm -f conftest.er1
66692 cat conftest.err >&5
66693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66694 (exit $ac_status); } &&
66695 { ac_try='test -z "$ac_cxx_werror_flag"
66696 || test ! -s conftest.err'
66697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66698 (eval $ac_try) 2>&5
66699 ac_status=$?
66700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66701 (exit $ac_status); }; } &&
66702 { ac_try='test -s conftest.$ac_objext'
66703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66704 (eval $ac_try) 2>&5
66705 ac_status=$?
66706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66707 (exit $ac_status); }; }; then
66708 glibcxx_cv_func__atan2l_use=yes
66709 else
66710 echo "$as_me: failed program was:" >&5
66711 sed 's/^/| /' conftest.$ac_ext >&5
66713 glibcxx_cv_func__atan2l_use=no
66715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66716 ac_ext=c
66717 ac_cpp='$CPP $CPPFLAGS'
66718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66726 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66727 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66729 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66731 for ac_func in _atan2l
66733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66734 echo "$as_me:$LINENO: checking for $ac_func" >&5
66735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66736 if eval "test \"\${$as_ac_var+set}\" = set"; then
66737 echo $ECHO_N "(cached) $ECHO_C" >&6
66738 else
66739 if test x$gcc_no_link = xyes; then
66740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66742 { (exit 1); exit 1; }; }
66744 cat >conftest.$ac_ext <<_ACEOF
66745 /* confdefs.h. */
66746 _ACEOF
66747 cat confdefs.h >>conftest.$ac_ext
66748 cat >>conftest.$ac_ext <<_ACEOF
66749 /* end confdefs.h. */
66750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66752 #define $ac_func innocuous_$ac_func
66754 /* System header to define __stub macros and hopefully few prototypes,
66755 which can conflict with char $ac_func (); below.
66756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66757 <limits.h> exists even on freestanding compilers. */
66759 #ifdef __STDC__
66760 # include <limits.h>
66761 #else
66762 # include <assert.h>
66763 #endif
66765 #undef $ac_func
66767 /* Override any gcc2 internal prototype to avoid an error. */
66768 #ifdef __cplusplus
66769 extern "C"
66771 #endif
66772 /* We use char because int might match the return type of a gcc2
66773 builtin and then its argument prototype would still apply. */
66774 char $ac_func ();
66775 /* The GNU C library defines this for functions which it implements
66776 to always fail with ENOSYS. Some functions are actually named
66777 something starting with __ and the normal name is an alias. */
66778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66779 choke me
66780 #else
66781 char (*f) () = $ac_func;
66782 #endif
66783 #ifdef __cplusplus
66785 #endif
66788 main ()
66790 return f != $ac_func;
66792 return 0;
66794 _ACEOF
66795 rm -f conftest.$ac_objext conftest$ac_exeext
66796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66797 (eval $ac_link) 2>conftest.er1
66798 ac_status=$?
66799 grep -v '^ *+' conftest.er1 >conftest.err
66800 rm -f conftest.er1
66801 cat conftest.err >&5
66802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66803 (exit $ac_status); } &&
66804 { ac_try='test -z "$ac_c_werror_flag"
66805 || test ! -s conftest.err'
66806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66807 (eval $ac_try) 2>&5
66808 ac_status=$?
66809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66810 (exit $ac_status); }; } &&
66811 { ac_try='test -s conftest$ac_exeext'
66812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66813 (eval $ac_try) 2>&5
66814 ac_status=$?
66815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66816 (exit $ac_status); }; }; then
66817 eval "$as_ac_var=yes"
66818 else
66819 echo "$as_me: failed program was:" >&5
66820 sed 's/^/| /' conftest.$ac_ext >&5
66822 eval "$as_ac_var=no"
66824 rm -f conftest.err conftest.$ac_objext \
66825 conftest$ac_exeext conftest.$ac_ext
66827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66829 if test `eval echo '${'$as_ac_var'}'` = yes; then
66830 cat >>confdefs.h <<_ACEOF
66831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66832 _ACEOF
66835 done
66845 echo "$as_me:$LINENO: checking for expl declaration" >&5
66846 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66847 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66848 if test "${glibcxx_cv_func_expl_use+set}" = set; then
66849 echo $ECHO_N "(cached) $ECHO_C" >&6
66850 else
66854 ac_ext=cc
66855 ac_cpp='$CXXCPP $CPPFLAGS'
66856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66860 cat >conftest.$ac_ext <<_ACEOF
66861 /* confdefs.h. */
66862 _ACEOF
66863 cat confdefs.h >>conftest.$ac_ext
66864 cat >>conftest.$ac_ext <<_ACEOF
66865 /* end confdefs.h. */
66866 #include <math.h>
66867 #ifdef HAVE_IEEEFP_H
66868 #include <ieeefp.h>
66869 #endif
66872 main ()
66874 expl(0);
66876 return 0;
66878 _ACEOF
66879 rm -f conftest.$ac_objext
66880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66881 (eval $ac_compile) 2>conftest.er1
66882 ac_status=$?
66883 grep -v '^ *+' conftest.er1 >conftest.err
66884 rm -f conftest.er1
66885 cat conftest.err >&5
66886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66887 (exit $ac_status); } &&
66888 { ac_try='test -z "$ac_cxx_werror_flag"
66889 || test ! -s conftest.err'
66890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66891 (eval $ac_try) 2>&5
66892 ac_status=$?
66893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66894 (exit $ac_status); }; } &&
66895 { ac_try='test -s conftest.$ac_objext'
66896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66897 (eval $ac_try) 2>&5
66898 ac_status=$?
66899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66900 (exit $ac_status); }; }; then
66901 glibcxx_cv_func_expl_use=yes
66902 else
66903 echo "$as_me: failed program was:" >&5
66904 sed 's/^/| /' conftest.$ac_ext >&5
66906 glibcxx_cv_func_expl_use=no
66908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66909 ac_ext=c
66910 ac_cpp='$CPP $CPPFLAGS'
66911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66920 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66922 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66924 for ac_func in expl
66926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66927 echo "$as_me:$LINENO: checking for $ac_func" >&5
66928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66929 if eval "test \"\${$as_ac_var+set}\" = set"; then
66930 echo $ECHO_N "(cached) $ECHO_C" >&6
66931 else
66932 if test x$gcc_no_link = xyes; then
66933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66935 { (exit 1); exit 1; }; }
66937 cat >conftest.$ac_ext <<_ACEOF
66938 /* confdefs.h. */
66939 _ACEOF
66940 cat confdefs.h >>conftest.$ac_ext
66941 cat >>conftest.$ac_ext <<_ACEOF
66942 /* end confdefs.h. */
66943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66945 #define $ac_func innocuous_$ac_func
66947 /* System header to define __stub macros and hopefully few prototypes,
66948 which can conflict with char $ac_func (); below.
66949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66950 <limits.h> exists even on freestanding compilers. */
66952 #ifdef __STDC__
66953 # include <limits.h>
66954 #else
66955 # include <assert.h>
66956 #endif
66958 #undef $ac_func
66960 /* Override any gcc2 internal prototype to avoid an error. */
66961 #ifdef __cplusplus
66962 extern "C"
66964 #endif
66965 /* We use char because int might match the return type of a gcc2
66966 builtin and then its argument prototype would still apply. */
66967 char $ac_func ();
66968 /* The GNU C library defines this for functions which it implements
66969 to always fail with ENOSYS. Some functions are actually named
66970 something starting with __ and the normal name is an alias. */
66971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66972 choke me
66973 #else
66974 char (*f) () = $ac_func;
66975 #endif
66976 #ifdef __cplusplus
66978 #endif
66981 main ()
66983 return f != $ac_func;
66985 return 0;
66987 _ACEOF
66988 rm -f conftest.$ac_objext conftest$ac_exeext
66989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66990 (eval $ac_link) 2>conftest.er1
66991 ac_status=$?
66992 grep -v '^ *+' conftest.er1 >conftest.err
66993 rm -f conftest.er1
66994 cat conftest.err >&5
66995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66996 (exit $ac_status); } &&
66997 { ac_try='test -z "$ac_c_werror_flag"
66998 || test ! -s conftest.err'
66999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67000 (eval $ac_try) 2>&5
67001 ac_status=$?
67002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67003 (exit $ac_status); }; } &&
67004 { ac_try='test -s conftest$ac_exeext'
67005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67006 (eval $ac_try) 2>&5
67007 ac_status=$?
67008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67009 (exit $ac_status); }; }; then
67010 eval "$as_ac_var=yes"
67011 else
67012 echo "$as_me: failed program was:" >&5
67013 sed 's/^/| /' conftest.$ac_ext >&5
67015 eval "$as_ac_var=no"
67017 rm -f conftest.err conftest.$ac_objext \
67018 conftest$ac_exeext conftest.$ac_ext
67020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67022 if test `eval echo '${'$as_ac_var'}'` = yes; then
67023 cat >>confdefs.h <<_ACEOF
67024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67025 _ACEOF
67028 done
67030 else
67032 echo "$as_me:$LINENO: checking for _expl declaration" >&5
67033 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67034 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67035 if test "${glibcxx_cv_func__expl_use+set}" = set; then
67036 echo $ECHO_N "(cached) $ECHO_C" >&6
67037 else
67041 ac_ext=cc
67042 ac_cpp='$CXXCPP $CPPFLAGS'
67043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67047 cat >conftest.$ac_ext <<_ACEOF
67048 /* confdefs.h. */
67049 _ACEOF
67050 cat confdefs.h >>conftest.$ac_ext
67051 cat >>conftest.$ac_ext <<_ACEOF
67052 /* end confdefs.h. */
67053 #include <math.h>
67054 #ifdef HAVE_IEEEFP_H
67055 #include <ieeefp.h>
67056 #endif
67059 main ()
67061 _expl(0);
67063 return 0;
67065 _ACEOF
67066 rm -f conftest.$ac_objext
67067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67068 (eval $ac_compile) 2>conftest.er1
67069 ac_status=$?
67070 grep -v '^ *+' conftest.er1 >conftest.err
67071 rm -f conftest.er1
67072 cat conftest.err >&5
67073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67074 (exit $ac_status); } &&
67075 { ac_try='test -z "$ac_cxx_werror_flag"
67076 || test ! -s conftest.err'
67077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67078 (eval $ac_try) 2>&5
67079 ac_status=$?
67080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67081 (exit $ac_status); }; } &&
67082 { ac_try='test -s conftest.$ac_objext'
67083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67084 (eval $ac_try) 2>&5
67085 ac_status=$?
67086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67087 (exit $ac_status); }; }; then
67088 glibcxx_cv_func__expl_use=yes
67089 else
67090 echo "$as_me: failed program was:" >&5
67091 sed 's/^/| /' conftest.$ac_ext >&5
67093 glibcxx_cv_func__expl_use=no
67095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67096 ac_ext=c
67097 ac_cpp='$CPP $CPPFLAGS'
67098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67107 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67109 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67111 for ac_func in _expl
67113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67114 echo "$as_me:$LINENO: checking for $ac_func" >&5
67115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67116 if eval "test \"\${$as_ac_var+set}\" = set"; then
67117 echo $ECHO_N "(cached) $ECHO_C" >&6
67118 else
67119 if test x$gcc_no_link = xyes; then
67120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67122 { (exit 1); exit 1; }; }
67124 cat >conftest.$ac_ext <<_ACEOF
67125 /* confdefs.h. */
67126 _ACEOF
67127 cat confdefs.h >>conftest.$ac_ext
67128 cat >>conftest.$ac_ext <<_ACEOF
67129 /* end confdefs.h. */
67130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67132 #define $ac_func innocuous_$ac_func
67134 /* System header to define __stub macros and hopefully few prototypes,
67135 which can conflict with char $ac_func (); below.
67136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67137 <limits.h> exists even on freestanding compilers. */
67139 #ifdef __STDC__
67140 # include <limits.h>
67141 #else
67142 # include <assert.h>
67143 #endif
67145 #undef $ac_func
67147 /* Override any gcc2 internal prototype to avoid an error. */
67148 #ifdef __cplusplus
67149 extern "C"
67151 #endif
67152 /* We use char because int might match the return type of a gcc2
67153 builtin and then its argument prototype would still apply. */
67154 char $ac_func ();
67155 /* The GNU C library defines this for functions which it implements
67156 to always fail with ENOSYS. Some functions are actually named
67157 something starting with __ and the normal name is an alias. */
67158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67159 choke me
67160 #else
67161 char (*f) () = $ac_func;
67162 #endif
67163 #ifdef __cplusplus
67165 #endif
67168 main ()
67170 return f != $ac_func;
67172 return 0;
67174 _ACEOF
67175 rm -f conftest.$ac_objext conftest$ac_exeext
67176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67177 (eval $ac_link) 2>conftest.er1
67178 ac_status=$?
67179 grep -v '^ *+' conftest.er1 >conftest.err
67180 rm -f conftest.er1
67181 cat conftest.err >&5
67182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67183 (exit $ac_status); } &&
67184 { ac_try='test -z "$ac_c_werror_flag"
67185 || test ! -s conftest.err'
67186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67187 (eval $ac_try) 2>&5
67188 ac_status=$?
67189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67190 (exit $ac_status); }; } &&
67191 { ac_try='test -s conftest$ac_exeext'
67192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67193 (eval $ac_try) 2>&5
67194 ac_status=$?
67195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67196 (exit $ac_status); }; }; then
67197 eval "$as_ac_var=yes"
67198 else
67199 echo "$as_me: failed program was:" >&5
67200 sed 's/^/| /' conftest.$ac_ext >&5
67202 eval "$as_ac_var=no"
67204 rm -f conftest.err conftest.$ac_objext \
67205 conftest$ac_exeext conftest.$ac_ext
67207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67209 if test `eval echo '${'$as_ac_var'}'` = yes; then
67210 cat >>confdefs.h <<_ACEOF
67211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67212 _ACEOF
67215 done
67225 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67226 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67227 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67228 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67229 echo $ECHO_N "(cached) $ECHO_C" >&6
67230 else
67234 ac_ext=cc
67235 ac_cpp='$CXXCPP $CPPFLAGS'
67236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67240 cat >conftest.$ac_ext <<_ACEOF
67241 /* confdefs.h. */
67242 _ACEOF
67243 cat confdefs.h >>conftest.$ac_ext
67244 cat >>conftest.$ac_ext <<_ACEOF
67245 /* end confdefs.h. */
67246 #include <math.h>
67247 #ifdef HAVE_IEEEFP_H
67248 #include <ieeefp.h>
67249 #endif
67252 main ()
67254 fabsl(0);
67256 return 0;
67258 _ACEOF
67259 rm -f conftest.$ac_objext
67260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67261 (eval $ac_compile) 2>conftest.er1
67262 ac_status=$?
67263 grep -v '^ *+' conftest.er1 >conftest.err
67264 rm -f conftest.er1
67265 cat conftest.err >&5
67266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67267 (exit $ac_status); } &&
67268 { ac_try='test -z "$ac_cxx_werror_flag"
67269 || test ! -s conftest.err'
67270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67271 (eval $ac_try) 2>&5
67272 ac_status=$?
67273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67274 (exit $ac_status); }; } &&
67275 { ac_try='test -s conftest.$ac_objext'
67276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67277 (eval $ac_try) 2>&5
67278 ac_status=$?
67279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67280 (exit $ac_status); }; }; then
67281 glibcxx_cv_func_fabsl_use=yes
67282 else
67283 echo "$as_me: failed program was:" >&5
67284 sed 's/^/| /' conftest.$ac_ext >&5
67286 glibcxx_cv_func_fabsl_use=no
67288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67289 ac_ext=c
67290 ac_cpp='$CPP $CPPFLAGS'
67291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67300 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67302 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67304 for ac_func in fabsl
67306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67307 echo "$as_me:$LINENO: checking for $ac_func" >&5
67308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67309 if eval "test \"\${$as_ac_var+set}\" = set"; then
67310 echo $ECHO_N "(cached) $ECHO_C" >&6
67311 else
67312 if test x$gcc_no_link = xyes; then
67313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67315 { (exit 1); exit 1; }; }
67317 cat >conftest.$ac_ext <<_ACEOF
67318 /* confdefs.h. */
67319 _ACEOF
67320 cat confdefs.h >>conftest.$ac_ext
67321 cat >>conftest.$ac_ext <<_ACEOF
67322 /* end confdefs.h. */
67323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67325 #define $ac_func innocuous_$ac_func
67327 /* System header to define __stub macros and hopefully few prototypes,
67328 which can conflict with char $ac_func (); below.
67329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67330 <limits.h> exists even on freestanding compilers. */
67332 #ifdef __STDC__
67333 # include <limits.h>
67334 #else
67335 # include <assert.h>
67336 #endif
67338 #undef $ac_func
67340 /* Override any gcc2 internal prototype to avoid an error. */
67341 #ifdef __cplusplus
67342 extern "C"
67344 #endif
67345 /* We use char because int might match the return type of a gcc2
67346 builtin and then its argument prototype would still apply. */
67347 char $ac_func ();
67348 /* The GNU C library defines this for functions which it implements
67349 to always fail with ENOSYS. Some functions are actually named
67350 something starting with __ and the normal name is an alias. */
67351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67352 choke me
67353 #else
67354 char (*f) () = $ac_func;
67355 #endif
67356 #ifdef __cplusplus
67358 #endif
67361 main ()
67363 return f != $ac_func;
67365 return 0;
67367 _ACEOF
67368 rm -f conftest.$ac_objext conftest$ac_exeext
67369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67370 (eval $ac_link) 2>conftest.er1
67371 ac_status=$?
67372 grep -v '^ *+' conftest.er1 >conftest.err
67373 rm -f conftest.er1
67374 cat conftest.err >&5
67375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67376 (exit $ac_status); } &&
67377 { ac_try='test -z "$ac_c_werror_flag"
67378 || test ! -s conftest.err'
67379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67380 (eval $ac_try) 2>&5
67381 ac_status=$?
67382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67383 (exit $ac_status); }; } &&
67384 { ac_try='test -s conftest$ac_exeext'
67385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67386 (eval $ac_try) 2>&5
67387 ac_status=$?
67388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67389 (exit $ac_status); }; }; then
67390 eval "$as_ac_var=yes"
67391 else
67392 echo "$as_me: failed program was:" >&5
67393 sed 's/^/| /' conftest.$ac_ext >&5
67395 eval "$as_ac_var=no"
67397 rm -f conftest.err conftest.$ac_objext \
67398 conftest$ac_exeext conftest.$ac_ext
67400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67402 if test `eval echo '${'$as_ac_var'}'` = yes; then
67403 cat >>confdefs.h <<_ACEOF
67404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67405 _ACEOF
67408 done
67410 else
67412 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67413 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67414 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67415 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67416 echo $ECHO_N "(cached) $ECHO_C" >&6
67417 else
67421 ac_ext=cc
67422 ac_cpp='$CXXCPP $CPPFLAGS'
67423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67427 cat >conftest.$ac_ext <<_ACEOF
67428 /* confdefs.h. */
67429 _ACEOF
67430 cat confdefs.h >>conftest.$ac_ext
67431 cat >>conftest.$ac_ext <<_ACEOF
67432 /* end confdefs.h. */
67433 #include <math.h>
67434 #ifdef HAVE_IEEEFP_H
67435 #include <ieeefp.h>
67436 #endif
67439 main ()
67441 _fabsl(0);
67443 return 0;
67445 _ACEOF
67446 rm -f conftest.$ac_objext
67447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67448 (eval $ac_compile) 2>conftest.er1
67449 ac_status=$?
67450 grep -v '^ *+' conftest.er1 >conftest.err
67451 rm -f conftest.er1
67452 cat conftest.err >&5
67453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67454 (exit $ac_status); } &&
67455 { ac_try='test -z "$ac_cxx_werror_flag"
67456 || test ! -s conftest.err'
67457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67458 (eval $ac_try) 2>&5
67459 ac_status=$?
67460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67461 (exit $ac_status); }; } &&
67462 { ac_try='test -s conftest.$ac_objext'
67463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67464 (eval $ac_try) 2>&5
67465 ac_status=$?
67466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67467 (exit $ac_status); }; }; then
67468 glibcxx_cv_func__fabsl_use=yes
67469 else
67470 echo "$as_me: failed program was:" >&5
67471 sed 's/^/| /' conftest.$ac_ext >&5
67473 glibcxx_cv_func__fabsl_use=no
67475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67476 ac_ext=c
67477 ac_cpp='$CPP $CPPFLAGS'
67478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67487 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67489 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67491 for ac_func in _fabsl
67493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67494 echo "$as_me:$LINENO: checking for $ac_func" >&5
67495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67496 if eval "test \"\${$as_ac_var+set}\" = set"; then
67497 echo $ECHO_N "(cached) $ECHO_C" >&6
67498 else
67499 if test x$gcc_no_link = xyes; then
67500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67502 { (exit 1); exit 1; }; }
67504 cat >conftest.$ac_ext <<_ACEOF
67505 /* confdefs.h. */
67506 _ACEOF
67507 cat confdefs.h >>conftest.$ac_ext
67508 cat >>conftest.$ac_ext <<_ACEOF
67509 /* end confdefs.h. */
67510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67512 #define $ac_func innocuous_$ac_func
67514 /* System header to define __stub macros and hopefully few prototypes,
67515 which can conflict with char $ac_func (); below.
67516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67517 <limits.h> exists even on freestanding compilers. */
67519 #ifdef __STDC__
67520 # include <limits.h>
67521 #else
67522 # include <assert.h>
67523 #endif
67525 #undef $ac_func
67527 /* Override any gcc2 internal prototype to avoid an error. */
67528 #ifdef __cplusplus
67529 extern "C"
67531 #endif
67532 /* We use char because int might match the return type of a gcc2
67533 builtin and then its argument prototype would still apply. */
67534 char $ac_func ();
67535 /* The GNU C library defines this for functions which it implements
67536 to always fail with ENOSYS. Some functions are actually named
67537 something starting with __ and the normal name is an alias. */
67538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67539 choke me
67540 #else
67541 char (*f) () = $ac_func;
67542 #endif
67543 #ifdef __cplusplus
67545 #endif
67548 main ()
67550 return f != $ac_func;
67552 return 0;
67554 _ACEOF
67555 rm -f conftest.$ac_objext conftest$ac_exeext
67556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67557 (eval $ac_link) 2>conftest.er1
67558 ac_status=$?
67559 grep -v '^ *+' conftest.er1 >conftest.err
67560 rm -f conftest.er1
67561 cat conftest.err >&5
67562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67563 (exit $ac_status); } &&
67564 { ac_try='test -z "$ac_c_werror_flag"
67565 || test ! -s conftest.err'
67566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67567 (eval $ac_try) 2>&5
67568 ac_status=$?
67569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67570 (exit $ac_status); }; } &&
67571 { ac_try='test -s conftest$ac_exeext'
67572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67573 (eval $ac_try) 2>&5
67574 ac_status=$?
67575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67576 (exit $ac_status); }; }; then
67577 eval "$as_ac_var=yes"
67578 else
67579 echo "$as_me: failed program was:" >&5
67580 sed 's/^/| /' conftest.$ac_ext >&5
67582 eval "$as_ac_var=no"
67584 rm -f conftest.err conftest.$ac_objext \
67585 conftest$ac_exeext conftest.$ac_ext
67587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67589 if test `eval echo '${'$as_ac_var'}'` = yes; then
67590 cat >>confdefs.h <<_ACEOF
67591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67592 _ACEOF
67595 done
67605 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67606 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67607 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67608 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67609 echo $ECHO_N "(cached) $ECHO_C" >&6
67610 else
67614 ac_ext=cc
67615 ac_cpp='$CXXCPP $CPPFLAGS'
67616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67620 cat >conftest.$ac_ext <<_ACEOF
67621 /* confdefs.h. */
67622 _ACEOF
67623 cat confdefs.h >>conftest.$ac_ext
67624 cat >>conftest.$ac_ext <<_ACEOF
67625 /* end confdefs.h. */
67626 #include <math.h>
67628 main ()
67630 fmodl(0, 0);
67632 return 0;
67634 _ACEOF
67635 rm -f conftest.$ac_objext
67636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67637 (eval $ac_compile) 2>conftest.er1
67638 ac_status=$?
67639 grep -v '^ *+' conftest.er1 >conftest.err
67640 rm -f conftest.er1
67641 cat conftest.err >&5
67642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643 (exit $ac_status); } &&
67644 { ac_try='test -z "$ac_cxx_werror_flag"
67645 || test ! -s conftest.err'
67646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67647 (eval $ac_try) 2>&5
67648 ac_status=$?
67649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67650 (exit $ac_status); }; } &&
67651 { ac_try='test -s conftest.$ac_objext'
67652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67653 (eval $ac_try) 2>&5
67654 ac_status=$?
67655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67656 (exit $ac_status); }; }; then
67657 glibcxx_cv_func_fmodl_use=yes
67658 else
67659 echo "$as_me: failed program was:" >&5
67660 sed 's/^/| /' conftest.$ac_ext >&5
67662 glibcxx_cv_func_fmodl_use=no
67664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67665 ac_ext=c
67666 ac_cpp='$CPP $CPPFLAGS'
67667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67676 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67678 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67680 for ac_func in fmodl
67682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67683 echo "$as_me:$LINENO: checking for $ac_func" >&5
67684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67685 if eval "test \"\${$as_ac_var+set}\" = set"; then
67686 echo $ECHO_N "(cached) $ECHO_C" >&6
67687 else
67688 if test x$gcc_no_link = xyes; then
67689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67691 { (exit 1); exit 1; }; }
67693 cat >conftest.$ac_ext <<_ACEOF
67694 /* confdefs.h. */
67695 _ACEOF
67696 cat confdefs.h >>conftest.$ac_ext
67697 cat >>conftest.$ac_ext <<_ACEOF
67698 /* end confdefs.h. */
67699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67701 #define $ac_func innocuous_$ac_func
67703 /* System header to define __stub macros and hopefully few prototypes,
67704 which can conflict with char $ac_func (); below.
67705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67706 <limits.h> exists even on freestanding compilers. */
67708 #ifdef __STDC__
67709 # include <limits.h>
67710 #else
67711 # include <assert.h>
67712 #endif
67714 #undef $ac_func
67716 /* Override any gcc2 internal prototype to avoid an error. */
67717 #ifdef __cplusplus
67718 extern "C"
67720 #endif
67721 /* We use char because int might match the return type of a gcc2
67722 builtin and then its argument prototype would still apply. */
67723 char $ac_func ();
67724 /* The GNU C library defines this for functions which it implements
67725 to always fail with ENOSYS. Some functions are actually named
67726 something starting with __ and the normal name is an alias. */
67727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67728 choke me
67729 #else
67730 char (*f) () = $ac_func;
67731 #endif
67732 #ifdef __cplusplus
67734 #endif
67737 main ()
67739 return f != $ac_func;
67741 return 0;
67743 _ACEOF
67744 rm -f conftest.$ac_objext conftest$ac_exeext
67745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67746 (eval $ac_link) 2>conftest.er1
67747 ac_status=$?
67748 grep -v '^ *+' conftest.er1 >conftest.err
67749 rm -f conftest.er1
67750 cat conftest.err >&5
67751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752 (exit $ac_status); } &&
67753 { ac_try='test -z "$ac_c_werror_flag"
67754 || test ! -s conftest.err'
67755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756 (eval $ac_try) 2>&5
67757 ac_status=$?
67758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759 (exit $ac_status); }; } &&
67760 { ac_try='test -s conftest$ac_exeext'
67761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67762 (eval $ac_try) 2>&5
67763 ac_status=$?
67764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765 (exit $ac_status); }; }; then
67766 eval "$as_ac_var=yes"
67767 else
67768 echo "$as_me: failed program was:" >&5
67769 sed 's/^/| /' conftest.$ac_ext >&5
67771 eval "$as_ac_var=no"
67773 rm -f conftest.err conftest.$ac_objext \
67774 conftest$ac_exeext conftest.$ac_ext
67776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67778 if test `eval echo '${'$as_ac_var'}'` = yes; then
67779 cat >>confdefs.h <<_ACEOF
67780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67781 _ACEOF
67784 done
67786 else
67788 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67789 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67790 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67791 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67792 echo $ECHO_N "(cached) $ECHO_C" >&6
67793 else
67797 ac_ext=cc
67798 ac_cpp='$CXXCPP $CPPFLAGS'
67799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67803 cat >conftest.$ac_ext <<_ACEOF
67804 /* confdefs.h. */
67805 _ACEOF
67806 cat confdefs.h >>conftest.$ac_ext
67807 cat >>conftest.$ac_ext <<_ACEOF
67808 /* end confdefs.h. */
67809 #include <math.h>
67811 main ()
67813 _fmodl(0, 0);
67815 return 0;
67817 _ACEOF
67818 rm -f conftest.$ac_objext
67819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67820 (eval $ac_compile) 2>conftest.er1
67821 ac_status=$?
67822 grep -v '^ *+' conftest.er1 >conftest.err
67823 rm -f conftest.er1
67824 cat conftest.err >&5
67825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826 (exit $ac_status); } &&
67827 { ac_try='test -z "$ac_cxx_werror_flag"
67828 || test ! -s conftest.err'
67829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67830 (eval $ac_try) 2>&5
67831 ac_status=$?
67832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67833 (exit $ac_status); }; } &&
67834 { ac_try='test -s conftest.$ac_objext'
67835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67836 (eval $ac_try) 2>&5
67837 ac_status=$?
67838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67839 (exit $ac_status); }; }; then
67840 glibcxx_cv_func__fmodl_use=yes
67841 else
67842 echo "$as_me: failed program was:" >&5
67843 sed 's/^/| /' conftest.$ac_ext >&5
67845 glibcxx_cv_func__fmodl_use=no
67847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67848 ac_ext=c
67849 ac_cpp='$CPP $CPPFLAGS'
67850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67859 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67861 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67863 for ac_func in _fmodl
67865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67866 echo "$as_me:$LINENO: checking for $ac_func" >&5
67867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67868 if eval "test \"\${$as_ac_var+set}\" = set"; then
67869 echo $ECHO_N "(cached) $ECHO_C" >&6
67870 else
67871 if test x$gcc_no_link = xyes; then
67872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67874 { (exit 1); exit 1; }; }
67876 cat >conftest.$ac_ext <<_ACEOF
67877 /* confdefs.h. */
67878 _ACEOF
67879 cat confdefs.h >>conftest.$ac_ext
67880 cat >>conftest.$ac_ext <<_ACEOF
67881 /* end confdefs.h. */
67882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67884 #define $ac_func innocuous_$ac_func
67886 /* System header to define __stub macros and hopefully few prototypes,
67887 which can conflict with char $ac_func (); below.
67888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67889 <limits.h> exists even on freestanding compilers. */
67891 #ifdef __STDC__
67892 # include <limits.h>
67893 #else
67894 # include <assert.h>
67895 #endif
67897 #undef $ac_func
67899 /* Override any gcc2 internal prototype to avoid an error. */
67900 #ifdef __cplusplus
67901 extern "C"
67903 #endif
67904 /* We use char because int might match the return type of a gcc2
67905 builtin and then its argument prototype would still apply. */
67906 char $ac_func ();
67907 /* The GNU C library defines this for functions which it implements
67908 to always fail with ENOSYS. Some functions are actually named
67909 something starting with __ and the normal name is an alias. */
67910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67911 choke me
67912 #else
67913 char (*f) () = $ac_func;
67914 #endif
67915 #ifdef __cplusplus
67917 #endif
67920 main ()
67922 return f != $ac_func;
67924 return 0;
67926 _ACEOF
67927 rm -f conftest.$ac_objext conftest$ac_exeext
67928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67929 (eval $ac_link) 2>conftest.er1
67930 ac_status=$?
67931 grep -v '^ *+' conftest.er1 >conftest.err
67932 rm -f conftest.er1
67933 cat conftest.err >&5
67934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67935 (exit $ac_status); } &&
67936 { ac_try='test -z "$ac_c_werror_flag"
67937 || test ! -s conftest.err'
67938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67939 (eval $ac_try) 2>&5
67940 ac_status=$?
67941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67942 (exit $ac_status); }; } &&
67943 { ac_try='test -s conftest$ac_exeext'
67944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67945 (eval $ac_try) 2>&5
67946 ac_status=$?
67947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67948 (exit $ac_status); }; }; then
67949 eval "$as_ac_var=yes"
67950 else
67951 echo "$as_me: failed program was:" >&5
67952 sed 's/^/| /' conftest.$ac_ext >&5
67954 eval "$as_ac_var=no"
67956 rm -f conftest.err conftest.$ac_objext \
67957 conftest$ac_exeext conftest.$ac_ext
67959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67961 if test `eval echo '${'$as_ac_var'}'` = yes; then
67962 cat >>confdefs.h <<_ACEOF
67963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67964 _ACEOF
67967 done
67977 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67978 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67979 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67980 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67981 echo $ECHO_N "(cached) $ECHO_C" >&6
67982 else
67986 ac_ext=cc
67987 ac_cpp='$CXXCPP $CPPFLAGS'
67988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67992 cat >conftest.$ac_ext <<_ACEOF
67993 /* confdefs.h. */
67994 _ACEOF
67995 cat confdefs.h >>conftest.$ac_ext
67996 cat >>conftest.$ac_ext <<_ACEOF
67997 /* end confdefs.h. */
67998 #include <math.h>
68000 main ()
68002 frexpl(0, 0);
68004 return 0;
68006 _ACEOF
68007 rm -f conftest.$ac_objext
68008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68009 (eval $ac_compile) 2>conftest.er1
68010 ac_status=$?
68011 grep -v '^ *+' conftest.er1 >conftest.err
68012 rm -f conftest.er1
68013 cat conftest.err >&5
68014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68015 (exit $ac_status); } &&
68016 { ac_try='test -z "$ac_cxx_werror_flag"
68017 || test ! -s conftest.err'
68018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68019 (eval $ac_try) 2>&5
68020 ac_status=$?
68021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68022 (exit $ac_status); }; } &&
68023 { ac_try='test -s conftest.$ac_objext'
68024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68025 (eval $ac_try) 2>&5
68026 ac_status=$?
68027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68028 (exit $ac_status); }; }; then
68029 glibcxx_cv_func_frexpl_use=yes
68030 else
68031 echo "$as_me: failed program was:" >&5
68032 sed 's/^/| /' conftest.$ac_ext >&5
68034 glibcxx_cv_func_frexpl_use=no
68036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68037 ac_ext=c
68038 ac_cpp='$CPP $CPPFLAGS'
68039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68048 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68050 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68052 for ac_func in frexpl
68054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68055 echo "$as_me:$LINENO: checking for $ac_func" >&5
68056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68057 if eval "test \"\${$as_ac_var+set}\" = set"; then
68058 echo $ECHO_N "(cached) $ECHO_C" >&6
68059 else
68060 if test x$gcc_no_link = xyes; then
68061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68063 { (exit 1); exit 1; }; }
68065 cat >conftest.$ac_ext <<_ACEOF
68066 /* confdefs.h. */
68067 _ACEOF
68068 cat confdefs.h >>conftest.$ac_ext
68069 cat >>conftest.$ac_ext <<_ACEOF
68070 /* end confdefs.h. */
68071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68073 #define $ac_func innocuous_$ac_func
68075 /* System header to define __stub macros and hopefully few prototypes,
68076 which can conflict with char $ac_func (); below.
68077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68078 <limits.h> exists even on freestanding compilers. */
68080 #ifdef __STDC__
68081 # include <limits.h>
68082 #else
68083 # include <assert.h>
68084 #endif
68086 #undef $ac_func
68088 /* Override any gcc2 internal prototype to avoid an error. */
68089 #ifdef __cplusplus
68090 extern "C"
68092 #endif
68093 /* We use char because int might match the return type of a gcc2
68094 builtin and then its argument prototype would still apply. */
68095 char $ac_func ();
68096 /* The GNU C library defines this for functions which it implements
68097 to always fail with ENOSYS. Some functions are actually named
68098 something starting with __ and the normal name is an alias. */
68099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68100 choke me
68101 #else
68102 char (*f) () = $ac_func;
68103 #endif
68104 #ifdef __cplusplus
68106 #endif
68109 main ()
68111 return f != $ac_func;
68113 return 0;
68115 _ACEOF
68116 rm -f conftest.$ac_objext conftest$ac_exeext
68117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68118 (eval $ac_link) 2>conftest.er1
68119 ac_status=$?
68120 grep -v '^ *+' conftest.er1 >conftest.err
68121 rm -f conftest.er1
68122 cat conftest.err >&5
68123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68124 (exit $ac_status); } &&
68125 { ac_try='test -z "$ac_c_werror_flag"
68126 || test ! -s conftest.err'
68127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68128 (eval $ac_try) 2>&5
68129 ac_status=$?
68130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68131 (exit $ac_status); }; } &&
68132 { ac_try='test -s conftest$ac_exeext'
68133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68134 (eval $ac_try) 2>&5
68135 ac_status=$?
68136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68137 (exit $ac_status); }; }; then
68138 eval "$as_ac_var=yes"
68139 else
68140 echo "$as_me: failed program was:" >&5
68141 sed 's/^/| /' conftest.$ac_ext >&5
68143 eval "$as_ac_var=no"
68145 rm -f conftest.err conftest.$ac_objext \
68146 conftest$ac_exeext conftest.$ac_ext
68148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68150 if test `eval echo '${'$as_ac_var'}'` = yes; then
68151 cat >>confdefs.h <<_ACEOF
68152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68153 _ACEOF
68156 done
68158 else
68160 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68161 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68162 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68163 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68164 echo $ECHO_N "(cached) $ECHO_C" >&6
68165 else
68169 ac_ext=cc
68170 ac_cpp='$CXXCPP $CPPFLAGS'
68171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68175 cat >conftest.$ac_ext <<_ACEOF
68176 /* confdefs.h. */
68177 _ACEOF
68178 cat confdefs.h >>conftest.$ac_ext
68179 cat >>conftest.$ac_ext <<_ACEOF
68180 /* end confdefs.h. */
68181 #include <math.h>
68183 main ()
68185 _frexpl(0, 0);
68187 return 0;
68189 _ACEOF
68190 rm -f conftest.$ac_objext
68191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68192 (eval $ac_compile) 2>conftest.er1
68193 ac_status=$?
68194 grep -v '^ *+' conftest.er1 >conftest.err
68195 rm -f conftest.er1
68196 cat conftest.err >&5
68197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68198 (exit $ac_status); } &&
68199 { ac_try='test -z "$ac_cxx_werror_flag"
68200 || test ! -s conftest.err'
68201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68202 (eval $ac_try) 2>&5
68203 ac_status=$?
68204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68205 (exit $ac_status); }; } &&
68206 { ac_try='test -s conftest.$ac_objext'
68207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68208 (eval $ac_try) 2>&5
68209 ac_status=$?
68210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211 (exit $ac_status); }; }; then
68212 glibcxx_cv_func__frexpl_use=yes
68213 else
68214 echo "$as_me: failed program was:" >&5
68215 sed 's/^/| /' conftest.$ac_ext >&5
68217 glibcxx_cv_func__frexpl_use=no
68219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68220 ac_ext=c
68221 ac_cpp='$CPP $CPPFLAGS'
68222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68231 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68233 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68235 for ac_func in _frexpl
68237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68238 echo "$as_me:$LINENO: checking for $ac_func" >&5
68239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68240 if eval "test \"\${$as_ac_var+set}\" = set"; then
68241 echo $ECHO_N "(cached) $ECHO_C" >&6
68242 else
68243 if test x$gcc_no_link = xyes; then
68244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68246 { (exit 1); exit 1; }; }
68248 cat >conftest.$ac_ext <<_ACEOF
68249 /* confdefs.h. */
68250 _ACEOF
68251 cat confdefs.h >>conftest.$ac_ext
68252 cat >>conftest.$ac_ext <<_ACEOF
68253 /* end confdefs.h. */
68254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68256 #define $ac_func innocuous_$ac_func
68258 /* System header to define __stub macros and hopefully few prototypes,
68259 which can conflict with char $ac_func (); below.
68260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68261 <limits.h> exists even on freestanding compilers. */
68263 #ifdef __STDC__
68264 # include <limits.h>
68265 #else
68266 # include <assert.h>
68267 #endif
68269 #undef $ac_func
68271 /* Override any gcc2 internal prototype to avoid an error. */
68272 #ifdef __cplusplus
68273 extern "C"
68275 #endif
68276 /* We use char because int might match the return type of a gcc2
68277 builtin and then its argument prototype would still apply. */
68278 char $ac_func ();
68279 /* The GNU C library defines this for functions which it implements
68280 to always fail with ENOSYS. Some functions are actually named
68281 something starting with __ and the normal name is an alias. */
68282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68283 choke me
68284 #else
68285 char (*f) () = $ac_func;
68286 #endif
68287 #ifdef __cplusplus
68289 #endif
68292 main ()
68294 return f != $ac_func;
68296 return 0;
68298 _ACEOF
68299 rm -f conftest.$ac_objext conftest$ac_exeext
68300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68301 (eval $ac_link) 2>conftest.er1
68302 ac_status=$?
68303 grep -v '^ *+' conftest.er1 >conftest.err
68304 rm -f conftest.er1
68305 cat conftest.err >&5
68306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68307 (exit $ac_status); } &&
68308 { ac_try='test -z "$ac_c_werror_flag"
68309 || test ! -s conftest.err'
68310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68311 (eval $ac_try) 2>&5
68312 ac_status=$?
68313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68314 (exit $ac_status); }; } &&
68315 { ac_try='test -s conftest$ac_exeext'
68316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68317 (eval $ac_try) 2>&5
68318 ac_status=$?
68319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68320 (exit $ac_status); }; }; then
68321 eval "$as_ac_var=yes"
68322 else
68323 echo "$as_me: failed program was:" >&5
68324 sed 's/^/| /' conftest.$ac_ext >&5
68326 eval "$as_ac_var=no"
68328 rm -f conftest.err conftest.$ac_objext \
68329 conftest$ac_exeext conftest.$ac_ext
68331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68333 if test `eval echo '${'$as_ac_var'}'` = yes; then
68334 cat >>confdefs.h <<_ACEOF
68335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68336 _ACEOF
68339 done
68349 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68350 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68351 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68352 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68353 echo $ECHO_N "(cached) $ECHO_C" >&6
68354 else
68358 ac_ext=cc
68359 ac_cpp='$CXXCPP $CPPFLAGS'
68360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68364 cat >conftest.$ac_ext <<_ACEOF
68365 /* confdefs.h. */
68366 _ACEOF
68367 cat confdefs.h >>conftest.$ac_ext
68368 cat >>conftest.$ac_ext <<_ACEOF
68369 /* end confdefs.h. */
68370 #include <math.h>
68372 main ()
68374 hypotl(0, 0);
68376 return 0;
68378 _ACEOF
68379 rm -f conftest.$ac_objext
68380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68381 (eval $ac_compile) 2>conftest.er1
68382 ac_status=$?
68383 grep -v '^ *+' conftest.er1 >conftest.err
68384 rm -f conftest.er1
68385 cat conftest.err >&5
68386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68387 (exit $ac_status); } &&
68388 { ac_try='test -z "$ac_cxx_werror_flag"
68389 || test ! -s conftest.err'
68390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68391 (eval $ac_try) 2>&5
68392 ac_status=$?
68393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68394 (exit $ac_status); }; } &&
68395 { ac_try='test -s conftest.$ac_objext'
68396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68397 (eval $ac_try) 2>&5
68398 ac_status=$?
68399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68400 (exit $ac_status); }; }; then
68401 glibcxx_cv_func_hypotl_use=yes
68402 else
68403 echo "$as_me: failed program was:" >&5
68404 sed 's/^/| /' conftest.$ac_ext >&5
68406 glibcxx_cv_func_hypotl_use=no
68408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68409 ac_ext=c
68410 ac_cpp='$CPP $CPPFLAGS'
68411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68420 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68422 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68424 for ac_func in hypotl
68426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68427 echo "$as_me:$LINENO: checking for $ac_func" >&5
68428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68429 if eval "test \"\${$as_ac_var+set}\" = set"; then
68430 echo $ECHO_N "(cached) $ECHO_C" >&6
68431 else
68432 if test x$gcc_no_link = xyes; then
68433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68435 { (exit 1); exit 1; }; }
68437 cat >conftest.$ac_ext <<_ACEOF
68438 /* confdefs.h. */
68439 _ACEOF
68440 cat confdefs.h >>conftest.$ac_ext
68441 cat >>conftest.$ac_ext <<_ACEOF
68442 /* end confdefs.h. */
68443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68445 #define $ac_func innocuous_$ac_func
68447 /* System header to define __stub macros and hopefully few prototypes,
68448 which can conflict with char $ac_func (); below.
68449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68450 <limits.h> exists even on freestanding compilers. */
68452 #ifdef __STDC__
68453 # include <limits.h>
68454 #else
68455 # include <assert.h>
68456 #endif
68458 #undef $ac_func
68460 /* Override any gcc2 internal prototype to avoid an error. */
68461 #ifdef __cplusplus
68462 extern "C"
68464 #endif
68465 /* We use char because int might match the return type of a gcc2
68466 builtin and then its argument prototype would still apply. */
68467 char $ac_func ();
68468 /* The GNU C library defines this for functions which it implements
68469 to always fail with ENOSYS. Some functions are actually named
68470 something starting with __ and the normal name is an alias. */
68471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68472 choke me
68473 #else
68474 char (*f) () = $ac_func;
68475 #endif
68476 #ifdef __cplusplus
68478 #endif
68481 main ()
68483 return f != $ac_func;
68485 return 0;
68487 _ACEOF
68488 rm -f conftest.$ac_objext conftest$ac_exeext
68489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68490 (eval $ac_link) 2>conftest.er1
68491 ac_status=$?
68492 grep -v '^ *+' conftest.er1 >conftest.err
68493 rm -f conftest.er1
68494 cat conftest.err >&5
68495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68496 (exit $ac_status); } &&
68497 { ac_try='test -z "$ac_c_werror_flag"
68498 || test ! -s conftest.err'
68499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68500 (eval $ac_try) 2>&5
68501 ac_status=$?
68502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68503 (exit $ac_status); }; } &&
68504 { ac_try='test -s conftest$ac_exeext'
68505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68506 (eval $ac_try) 2>&5
68507 ac_status=$?
68508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68509 (exit $ac_status); }; }; then
68510 eval "$as_ac_var=yes"
68511 else
68512 echo "$as_me: failed program was:" >&5
68513 sed 's/^/| /' conftest.$ac_ext >&5
68515 eval "$as_ac_var=no"
68517 rm -f conftest.err conftest.$ac_objext \
68518 conftest$ac_exeext conftest.$ac_ext
68520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68522 if test `eval echo '${'$as_ac_var'}'` = yes; then
68523 cat >>confdefs.h <<_ACEOF
68524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68525 _ACEOF
68528 done
68530 else
68532 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68533 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68534 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68535 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68536 echo $ECHO_N "(cached) $ECHO_C" >&6
68537 else
68541 ac_ext=cc
68542 ac_cpp='$CXXCPP $CPPFLAGS'
68543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68547 cat >conftest.$ac_ext <<_ACEOF
68548 /* confdefs.h. */
68549 _ACEOF
68550 cat confdefs.h >>conftest.$ac_ext
68551 cat >>conftest.$ac_ext <<_ACEOF
68552 /* end confdefs.h. */
68553 #include <math.h>
68555 main ()
68557 _hypotl(0, 0);
68559 return 0;
68561 _ACEOF
68562 rm -f conftest.$ac_objext
68563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68564 (eval $ac_compile) 2>conftest.er1
68565 ac_status=$?
68566 grep -v '^ *+' conftest.er1 >conftest.err
68567 rm -f conftest.er1
68568 cat conftest.err >&5
68569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68570 (exit $ac_status); } &&
68571 { ac_try='test -z "$ac_cxx_werror_flag"
68572 || test ! -s conftest.err'
68573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68574 (eval $ac_try) 2>&5
68575 ac_status=$?
68576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68577 (exit $ac_status); }; } &&
68578 { ac_try='test -s conftest.$ac_objext'
68579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68580 (eval $ac_try) 2>&5
68581 ac_status=$?
68582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68583 (exit $ac_status); }; }; then
68584 glibcxx_cv_func__hypotl_use=yes
68585 else
68586 echo "$as_me: failed program was:" >&5
68587 sed 's/^/| /' conftest.$ac_ext >&5
68589 glibcxx_cv_func__hypotl_use=no
68591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68592 ac_ext=c
68593 ac_cpp='$CPP $CPPFLAGS'
68594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68602 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68603 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68605 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68607 for ac_func in _hypotl
68609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68610 echo "$as_me:$LINENO: checking for $ac_func" >&5
68611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68612 if eval "test \"\${$as_ac_var+set}\" = set"; then
68613 echo $ECHO_N "(cached) $ECHO_C" >&6
68614 else
68615 if test x$gcc_no_link = xyes; then
68616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68618 { (exit 1); exit 1; }; }
68620 cat >conftest.$ac_ext <<_ACEOF
68621 /* confdefs.h. */
68622 _ACEOF
68623 cat confdefs.h >>conftest.$ac_ext
68624 cat >>conftest.$ac_ext <<_ACEOF
68625 /* end confdefs.h. */
68626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68628 #define $ac_func innocuous_$ac_func
68630 /* System header to define __stub macros and hopefully few prototypes,
68631 which can conflict with char $ac_func (); below.
68632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68633 <limits.h> exists even on freestanding compilers. */
68635 #ifdef __STDC__
68636 # include <limits.h>
68637 #else
68638 # include <assert.h>
68639 #endif
68641 #undef $ac_func
68643 /* Override any gcc2 internal prototype to avoid an error. */
68644 #ifdef __cplusplus
68645 extern "C"
68647 #endif
68648 /* We use char because int might match the return type of a gcc2
68649 builtin and then its argument prototype would still apply. */
68650 char $ac_func ();
68651 /* The GNU C library defines this for functions which it implements
68652 to always fail with ENOSYS. Some functions are actually named
68653 something starting with __ and the normal name is an alias. */
68654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68655 choke me
68656 #else
68657 char (*f) () = $ac_func;
68658 #endif
68659 #ifdef __cplusplus
68661 #endif
68664 main ()
68666 return f != $ac_func;
68668 return 0;
68670 _ACEOF
68671 rm -f conftest.$ac_objext conftest$ac_exeext
68672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68673 (eval $ac_link) 2>conftest.er1
68674 ac_status=$?
68675 grep -v '^ *+' conftest.er1 >conftest.err
68676 rm -f conftest.er1
68677 cat conftest.err >&5
68678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68679 (exit $ac_status); } &&
68680 { ac_try='test -z "$ac_c_werror_flag"
68681 || test ! -s conftest.err'
68682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68683 (eval $ac_try) 2>&5
68684 ac_status=$?
68685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68686 (exit $ac_status); }; } &&
68687 { ac_try='test -s conftest$ac_exeext'
68688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68689 (eval $ac_try) 2>&5
68690 ac_status=$?
68691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68692 (exit $ac_status); }; }; then
68693 eval "$as_ac_var=yes"
68694 else
68695 echo "$as_me: failed program was:" >&5
68696 sed 's/^/| /' conftest.$ac_ext >&5
68698 eval "$as_ac_var=no"
68700 rm -f conftest.err conftest.$ac_objext \
68701 conftest$ac_exeext conftest.$ac_ext
68703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68705 if test `eval echo '${'$as_ac_var'}'` = yes; then
68706 cat >>confdefs.h <<_ACEOF
68707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68708 _ACEOF
68711 done
68721 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68722 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68723 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68724 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68725 echo $ECHO_N "(cached) $ECHO_C" >&6
68726 else
68730 ac_ext=cc
68731 ac_cpp='$CXXCPP $CPPFLAGS'
68732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68736 cat >conftest.$ac_ext <<_ACEOF
68737 /* confdefs.h. */
68738 _ACEOF
68739 cat confdefs.h >>conftest.$ac_ext
68740 cat >>conftest.$ac_ext <<_ACEOF
68741 /* end confdefs.h. */
68742 #include <math.h>
68744 main ()
68746 ldexpl(0, 0);
68748 return 0;
68750 _ACEOF
68751 rm -f conftest.$ac_objext
68752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68753 (eval $ac_compile) 2>conftest.er1
68754 ac_status=$?
68755 grep -v '^ *+' conftest.er1 >conftest.err
68756 rm -f conftest.er1
68757 cat conftest.err >&5
68758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68759 (exit $ac_status); } &&
68760 { ac_try='test -z "$ac_cxx_werror_flag"
68761 || test ! -s conftest.err'
68762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68763 (eval $ac_try) 2>&5
68764 ac_status=$?
68765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68766 (exit $ac_status); }; } &&
68767 { ac_try='test -s conftest.$ac_objext'
68768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68769 (eval $ac_try) 2>&5
68770 ac_status=$?
68771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68772 (exit $ac_status); }; }; then
68773 glibcxx_cv_func_ldexpl_use=yes
68774 else
68775 echo "$as_me: failed program was:" >&5
68776 sed 's/^/| /' conftest.$ac_ext >&5
68778 glibcxx_cv_func_ldexpl_use=no
68780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68781 ac_ext=c
68782 ac_cpp='$CPP $CPPFLAGS'
68783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68792 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68794 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68796 for ac_func in ldexpl
68798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68799 echo "$as_me:$LINENO: checking for $ac_func" >&5
68800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68801 if eval "test \"\${$as_ac_var+set}\" = set"; then
68802 echo $ECHO_N "(cached) $ECHO_C" >&6
68803 else
68804 if test x$gcc_no_link = xyes; then
68805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68807 { (exit 1); exit 1; }; }
68809 cat >conftest.$ac_ext <<_ACEOF
68810 /* confdefs.h. */
68811 _ACEOF
68812 cat confdefs.h >>conftest.$ac_ext
68813 cat >>conftest.$ac_ext <<_ACEOF
68814 /* end confdefs.h. */
68815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68817 #define $ac_func innocuous_$ac_func
68819 /* System header to define __stub macros and hopefully few prototypes,
68820 which can conflict with char $ac_func (); below.
68821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68822 <limits.h> exists even on freestanding compilers. */
68824 #ifdef __STDC__
68825 # include <limits.h>
68826 #else
68827 # include <assert.h>
68828 #endif
68830 #undef $ac_func
68832 /* Override any gcc2 internal prototype to avoid an error. */
68833 #ifdef __cplusplus
68834 extern "C"
68836 #endif
68837 /* We use char because int might match the return type of a gcc2
68838 builtin and then its argument prototype would still apply. */
68839 char $ac_func ();
68840 /* The GNU C library defines this for functions which it implements
68841 to always fail with ENOSYS. Some functions are actually named
68842 something starting with __ and the normal name is an alias. */
68843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68844 choke me
68845 #else
68846 char (*f) () = $ac_func;
68847 #endif
68848 #ifdef __cplusplus
68850 #endif
68853 main ()
68855 return f != $ac_func;
68857 return 0;
68859 _ACEOF
68860 rm -f conftest.$ac_objext conftest$ac_exeext
68861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68862 (eval $ac_link) 2>conftest.er1
68863 ac_status=$?
68864 grep -v '^ *+' conftest.er1 >conftest.err
68865 rm -f conftest.er1
68866 cat conftest.err >&5
68867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68868 (exit $ac_status); } &&
68869 { ac_try='test -z "$ac_c_werror_flag"
68870 || test ! -s conftest.err'
68871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68872 (eval $ac_try) 2>&5
68873 ac_status=$?
68874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68875 (exit $ac_status); }; } &&
68876 { ac_try='test -s conftest$ac_exeext'
68877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68878 (eval $ac_try) 2>&5
68879 ac_status=$?
68880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68881 (exit $ac_status); }; }; then
68882 eval "$as_ac_var=yes"
68883 else
68884 echo "$as_me: failed program was:" >&5
68885 sed 's/^/| /' conftest.$ac_ext >&5
68887 eval "$as_ac_var=no"
68889 rm -f conftest.err conftest.$ac_objext \
68890 conftest$ac_exeext conftest.$ac_ext
68892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68894 if test `eval echo '${'$as_ac_var'}'` = yes; then
68895 cat >>confdefs.h <<_ACEOF
68896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68897 _ACEOF
68900 done
68902 else
68904 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68905 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68906 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68907 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68908 echo $ECHO_N "(cached) $ECHO_C" >&6
68909 else
68913 ac_ext=cc
68914 ac_cpp='$CXXCPP $CPPFLAGS'
68915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68919 cat >conftest.$ac_ext <<_ACEOF
68920 /* confdefs.h. */
68921 _ACEOF
68922 cat confdefs.h >>conftest.$ac_ext
68923 cat >>conftest.$ac_ext <<_ACEOF
68924 /* end confdefs.h. */
68925 #include <math.h>
68927 main ()
68929 _ldexpl(0, 0);
68931 return 0;
68933 _ACEOF
68934 rm -f conftest.$ac_objext
68935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68936 (eval $ac_compile) 2>conftest.er1
68937 ac_status=$?
68938 grep -v '^ *+' conftest.er1 >conftest.err
68939 rm -f conftest.er1
68940 cat conftest.err >&5
68941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68942 (exit $ac_status); } &&
68943 { ac_try='test -z "$ac_cxx_werror_flag"
68944 || test ! -s conftest.err'
68945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68946 (eval $ac_try) 2>&5
68947 ac_status=$?
68948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68949 (exit $ac_status); }; } &&
68950 { ac_try='test -s conftest.$ac_objext'
68951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68952 (eval $ac_try) 2>&5
68953 ac_status=$?
68954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68955 (exit $ac_status); }; }; then
68956 glibcxx_cv_func__ldexpl_use=yes
68957 else
68958 echo "$as_me: failed program was:" >&5
68959 sed 's/^/| /' conftest.$ac_ext >&5
68961 glibcxx_cv_func__ldexpl_use=no
68963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68964 ac_ext=c
68965 ac_cpp='$CPP $CPPFLAGS'
68966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68975 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68977 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68979 for ac_func in _ldexpl
68981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68982 echo "$as_me:$LINENO: checking for $ac_func" >&5
68983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68984 if eval "test \"\${$as_ac_var+set}\" = set"; then
68985 echo $ECHO_N "(cached) $ECHO_C" >&6
68986 else
68987 if test x$gcc_no_link = xyes; then
68988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68990 { (exit 1); exit 1; }; }
68992 cat >conftest.$ac_ext <<_ACEOF
68993 /* confdefs.h. */
68994 _ACEOF
68995 cat confdefs.h >>conftest.$ac_ext
68996 cat >>conftest.$ac_ext <<_ACEOF
68997 /* end confdefs.h. */
68998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69000 #define $ac_func innocuous_$ac_func
69002 /* System header to define __stub macros and hopefully few prototypes,
69003 which can conflict with char $ac_func (); below.
69004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69005 <limits.h> exists even on freestanding compilers. */
69007 #ifdef __STDC__
69008 # include <limits.h>
69009 #else
69010 # include <assert.h>
69011 #endif
69013 #undef $ac_func
69015 /* Override any gcc2 internal prototype to avoid an error. */
69016 #ifdef __cplusplus
69017 extern "C"
69019 #endif
69020 /* We use char because int might match the return type of a gcc2
69021 builtin and then its argument prototype would still apply. */
69022 char $ac_func ();
69023 /* The GNU C library defines this for functions which it implements
69024 to always fail with ENOSYS. Some functions are actually named
69025 something starting with __ and the normal name is an alias. */
69026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69027 choke me
69028 #else
69029 char (*f) () = $ac_func;
69030 #endif
69031 #ifdef __cplusplus
69033 #endif
69036 main ()
69038 return f != $ac_func;
69040 return 0;
69042 _ACEOF
69043 rm -f conftest.$ac_objext conftest$ac_exeext
69044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69045 (eval $ac_link) 2>conftest.er1
69046 ac_status=$?
69047 grep -v '^ *+' conftest.er1 >conftest.err
69048 rm -f conftest.er1
69049 cat conftest.err >&5
69050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69051 (exit $ac_status); } &&
69052 { ac_try='test -z "$ac_c_werror_flag"
69053 || test ! -s conftest.err'
69054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69055 (eval $ac_try) 2>&5
69056 ac_status=$?
69057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69058 (exit $ac_status); }; } &&
69059 { ac_try='test -s conftest$ac_exeext'
69060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69061 (eval $ac_try) 2>&5
69062 ac_status=$?
69063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69064 (exit $ac_status); }; }; then
69065 eval "$as_ac_var=yes"
69066 else
69067 echo "$as_me: failed program was:" >&5
69068 sed 's/^/| /' conftest.$ac_ext >&5
69070 eval "$as_ac_var=no"
69072 rm -f conftest.err conftest.$ac_objext \
69073 conftest$ac_exeext conftest.$ac_ext
69075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69077 if test `eval echo '${'$as_ac_var'}'` = yes; then
69078 cat >>confdefs.h <<_ACEOF
69079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69080 _ACEOF
69083 done
69093 echo "$as_me:$LINENO: checking for logl declaration" >&5
69094 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69095 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69096 if test "${glibcxx_cv_func_logl_use+set}" = set; then
69097 echo $ECHO_N "(cached) $ECHO_C" >&6
69098 else
69102 ac_ext=cc
69103 ac_cpp='$CXXCPP $CPPFLAGS'
69104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69108 cat >conftest.$ac_ext <<_ACEOF
69109 /* confdefs.h. */
69110 _ACEOF
69111 cat confdefs.h >>conftest.$ac_ext
69112 cat >>conftest.$ac_ext <<_ACEOF
69113 /* end confdefs.h. */
69114 #include <math.h>
69115 #ifdef HAVE_IEEEFP_H
69116 #include <ieeefp.h>
69117 #endif
69120 main ()
69122 logl(0);
69124 return 0;
69126 _ACEOF
69127 rm -f conftest.$ac_objext
69128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69129 (eval $ac_compile) 2>conftest.er1
69130 ac_status=$?
69131 grep -v '^ *+' conftest.er1 >conftest.err
69132 rm -f conftest.er1
69133 cat conftest.err >&5
69134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69135 (exit $ac_status); } &&
69136 { ac_try='test -z "$ac_cxx_werror_flag"
69137 || test ! -s conftest.err'
69138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69139 (eval $ac_try) 2>&5
69140 ac_status=$?
69141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69142 (exit $ac_status); }; } &&
69143 { ac_try='test -s conftest.$ac_objext'
69144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69145 (eval $ac_try) 2>&5
69146 ac_status=$?
69147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69148 (exit $ac_status); }; }; then
69149 glibcxx_cv_func_logl_use=yes
69150 else
69151 echo "$as_me: failed program was:" >&5
69152 sed 's/^/| /' conftest.$ac_ext >&5
69154 glibcxx_cv_func_logl_use=no
69156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69157 ac_ext=c
69158 ac_cpp='$CPP $CPPFLAGS'
69159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69168 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69170 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69172 for ac_func in logl
69174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69175 echo "$as_me:$LINENO: checking for $ac_func" >&5
69176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69177 if eval "test \"\${$as_ac_var+set}\" = set"; then
69178 echo $ECHO_N "(cached) $ECHO_C" >&6
69179 else
69180 if test x$gcc_no_link = xyes; then
69181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69183 { (exit 1); exit 1; }; }
69185 cat >conftest.$ac_ext <<_ACEOF
69186 /* confdefs.h. */
69187 _ACEOF
69188 cat confdefs.h >>conftest.$ac_ext
69189 cat >>conftest.$ac_ext <<_ACEOF
69190 /* end confdefs.h. */
69191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69193 #define $ac_func innocuous_$ac_func
69195 /* System header to define __stub macros and hopefully few prototypes,
69196 which can conflict with char $ac_func (); below.
69197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69198 <limits.h> exists even on freestanding compilers. */
69200 #ifdef __STDC__
69201 # include <limits.h>
69202 #else
69203 # include <assert.h>
69204 #endif
69206 #undef $ac_func
69208 /* Override any gcc2 internal prototype to avoid an error. */
69209 #ifdef __cplusplus
69210 extern "C"
69212 #endif
69213 /* We use char because int might match the return type of a gcc2
69214 builtin and then its argument prototype would still apply. */
69215 char $ac_func ();
69216 /* The GNU C library defines this for functions which it implements
69217 to always fail with ENOSYS. Some functions are actually named
69218 something starting with __ and the normal name is an alias. */
69219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69220 choke me
69221 #else
69222 char (*f) () = $ac_func;
69223 #endif
69224 #ifdef __cplusplus
69226 #endif
69229 main ()
69231 return f != $ac_func;
69233 return 0;
69235 _ACEOF
69236 rm -f conftest.$ac_objext conftest$ac_exeext
69237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69238 (eval $ac_link) 2>conftest.er1
69239 ac_status=$?
69240 grep -v '^ *+' conftest.er1 >conftest.err
69241 rm -f conftest.er1
69242 cat conftest.err >&5
69243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69244 (exit $ac_status); } &&
69245 { ac_try='test -z "$ac_c_werror_flag"
69246 || test ! -s conftest.err'
69247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69248 (eval $ac_try) 2>&5
69249 ac_status=$?
69250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69251 (exit $ac_status); }; } &&
69252 { ac_try='test -s conftest$ac_exeext'
69253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69254 (eval $ac_try) 2>&5
69255 ac_status=$?
69256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69257 (exit $ac_status); }; }; then
69258 eval "$as_ac_var=yes"
69259 else
69260 echo "$as_me: failed program was:" >&5
69261 sed 's/^/| /' conftest.$ac_ext >&5
69263 eval "$as_ac_var=no"
69265 rm -f conftest.err conftest.$ac_objext \
69266 conftest$ac_exeext conftest.$ac_ext
69268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69270 if test `eval echo '${'$as_ac_var'}'` = yes; then
69271 cat >>confdefs.h <<_ACEOF
69272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69273 _ACEOF
69276 done
69278 else
69280 echo "$as_me:$LINENO: checking for _logl declaration" >&5
69281 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69282 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69283 if test "${glibcxx_cv_func__logl_use+set}" = set; then
69284 echo $ECHO_N "(cached) $ECHO_C" >&6
69285 else
69289 ac_ext=cc
69290 ac_cpp='$CXXCPP $CPPFLAGS'
69291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69295 cat >conftest.$ac_ext <<_ACEOF
69296 /* confdefs.h. */
69297 _ACEOF
69298 cat confdefs.h >>conftest.$ac_ext
69299 cat >>conftest.$ac_ext <<_ACEOF
69300 /* end confdefs.h. */
69301 #include <math.h>
69302 #ifdef HAVE_IEEEFP_H
69303 #include <ieeefp.h>
69304 #endif
69307 main ()
69309 _logl(0);
69311 return 0;
69313 _ACEOF
69314 rm -f conftest.$ac_objext
69315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69316 (eval $ac_compile) 2>conftest.er1
69317 ac_status=$?
69318 grep -v '^ *+' conftest.er1 >conftest.err
69319 rm -f conftest.er1
69320 cat conftest.err >&5
69321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69322 (exit $ac_status); } &&
69323 { ac_try='test -z "$ac_cxx_werror_flag"
69324 || test ! -s conftest.err'
69325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69326 (eval $ac_try) 2>&5
69327 ac_status=$?
69328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69329 (exit $ac_status); }; } &&
69330 { ac_try='test -s conftest.$ac_objext'
69331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69332 (eval $ac_try) 2>&5
69333 ac_status=$?
69334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69335 (exit $ac_status); }; }; then
69336 glibcxx_cv_func__logl_use=yes
69337 else
69338 echo "$as_me: failed program was:" >&5
69339 sed 's/^/| /' conftest.$ac_ext >&5
69341 glibcxx_cv_func__logl_use=no
69343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69344 ac_ext=c
69345 ac_cpp='$CPP $CPPFLAGS'
69346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69355 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69357 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69359 for ac_func in _logl
69361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69362 echo "$as_me:$LINENO: checking for $ac_func" >&5
69363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69364 if eval "test \"\${$as_ac_var+set}\" = set"; then
69365 echo $ECHO_N "(cached) $ECHO_C" >&6
69366 else
69367 if test x$gcc_no_link = xyes; then
69368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69370 { (exit 1); exit 1; }; }
69372 cat >conftest.$ac_ext <<_ACEOF
69373 /* confdefs.h. */
69374 _ACEOF
69375 cat confdefs.h >>conftest.$ac_ext
69376 cat >>conftest.$ac_ext <<_ACEOF
69377 /* end confdefs.h. */
69378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69380 #define $ac_func innocuous_$ac_func
69382 /* System header to define __stub macros and hopefully few prototypes,
69383 which can conflict with char $ac_func (); below.
69384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69385 <limits.h> exists even on freestanding compilers. */
69387 #ifdef __STDC__
69388 # include <limits.h>
69389 #else
69390 # include <assert.h>
69391 #endif
69393 #undef $ac_func
69395 /* Override any gcc2 internal prototype to avoid an error. */
69396 #ifdef __cplusplus
69397 extern "C"
69399 #endif
69400 /* We use char because int might match the return type of a gcc2
69401 builtin and then its argument prototype would still apply. */
69402 char $ac_func ();
69403 /* The GNU C library defines this for functions which it implements
69404 to always fail with ENOSYS. Some functions are actually named
69405 something starting with __ and the normal name is an alias. */
69406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69407 choke me
69408 #else
69409 char (*f) () = $ac_func;
69410 #endif
69411 #ifdef __cplusplus
69413 #endif
69416 main ()
69418 return f != $ac_func;
69420 return 0;
69422 _ACEOF
69423 rm -f conftest.$ac_objext conftest$ac_exeext
69424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69425 (eval $ac_link) 2>conftest.er1
69426 ac_status=$?
69427 grep -v '^ *+' conftest.er1 >conftest.err
69428 rm -f conftest.er1
69429 cat conftest.err >&5
69430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69431 (exit $ac_status); } &&
69432 { ac_try='test -z "$ac_c_werror_flag"
69433 || test ! -s conftest.err'
69434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69435 (eval $ac_try) 2>&5
69436 ac_status=$?
69437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69438 (exit $ac_status); }; } &&
69439 { ac_try='test -s conftest$ac_exeext'
69440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69441 (eval $ac_try) 2>&5
69442 ac_status=$?
69443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69444 (exit $ac_status); }; }; then
69445 eval "$as_ac_var=yes"
69446 else
69447 echo "$as_me: failed program was:" >&5
69448 sed 's/^/| /' conftest.$ac_ext >&5
69450 eval "$as_ac_var=no"
69452 rm -f conftest.err conftest.$ac_objext \
69453 conftest$ac_exeext conftest.$ac_ext
69455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69457 if test `eval echo '${'$as_ac_var'}'` = yes; then
69458 cat >>confdefs.h <<_ACEOF
69459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69460 _ACEOF
69463 done
69473 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69474 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69475 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69476 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69477 echo $ECHO_N "(cached) $ECHO_C" >&6
69478 else
69482 ac_ext=cc
69483 ac_cpp='$CXXCPP $CPPFLAGS'
69484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69488 cat >conftest.$ac_ext <<_ACEOF
69489 /* confdefs.h. */
69490 _ACEOF
69491 cat confdefs.h >>conftest.$ac_ext
69492 cat >>conftest.$ac_ext <<_ACEOF
69493 /* end confdefs.h. */
69494 #include <math.h>
69495 #ifdef HAVE_IEEEFP_H
69496 #include <ieeefp.h>
69497 #endif
69500 main ()
69502 log10l(0);
69504 return 0;
69506 _ACEOF
69507 rm -f conftest.$ac_objext
69508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69509 (eval $ac_compile) 2>conftest.er1
69510 ac_status=$?
69511 grep -v '^ *+' conftest.er1 >conftest.err
69512 rm -f conftest.er1
69513 cat conftest.err >&5
69514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69515 (exit $ac_status); } &&
69516 { ac_try='test -z "$ac_cxx_werror_flag"
69517 || test ! -s conftest.err'
69518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69519 (eval $ac_try) 2>&5
69520 ac_status=$?
69521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69522 (exit $ac_status); }; } &&
69523 { ac_try='test -s conftest.$ac_objext'
69524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69525 (eval $ac_try) 2>&5
69526 ac_status=$?
69527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69528 (exit $ac_status); }; }; then
69529 glibcxx_cv_func_log10l_use=yes
69530 else
69531 echo "$as_me: failed program was:" >&5
69532 sed 's/^/| /' conftest.$ac_ext >&5
69534 glibcxx_cv_func_log10l_use=no
69536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69537 ac_ext=c
69538 ac_cpp='$CPP $CPPFLAGS'
69539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69548 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69550 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69552 for ac_func in log10l
69554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69555 echo "$as_me:$LINENO: checking for $ac_func" >&5
69556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69557 if eval "test \"\${$as_ac_var+set}\" = set"; then
69558 echo $ECHO_N "(cached) $ECHO_C" >&6
69559 else
69560 if test x$gcc_no_link = xyes; then
69561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69563 { (exit 1); exit 1; }; }
69565 cat >conftest.$ac_ext <<_ACEOF
69566 /* confdefs.h. */
69567 _ACEOF
69568 cat confdefs.h >>conftest.$ac_ext
69569 cat >>conftest.$ac_ext <<_ACEOF
69570 /* end confdefs.h. */
69571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69573 #define $ac_func innocuous_$ac_func
69575 /* System header to define __stub macros and hopefully few prototypes,
69576 which can conflict with char $ac_func (); below.
69577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69578 <limits.h> exists even on freestanding compilers. */
69580 #ifdef __STDC__
69581 # include <limits.h>
69582 #else
69583 # include <assert.h>
69584 #endif
69586 #undef $ac_func
69588 /* Override any gcc2 internal prototype to avoid an error. */
69589 #ifdef __cplusplus
69590 extern "C"
69592 #endif
69593 /* We use char because int might match the return type of a gcc2
69594 builtin and then its argument prototype would still apply. */
69595 char $ac_func ();
69596 /* The GNU C library defines this for functions which it implements
69597 to always fail with ENOSYS. Some functions are actually named
69598 something starting with __ and the normal name is an alias. */
69599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69600 choke me
69601 #else
69602 char (*f) () = $ac_func;
69603 #endif
69604 #ifdef __cplusplus
69606 #endif
69609 main ()
69611 return f != $ac_func;
69613 return 0;
69615 _ACEOF
69616 rm -f conftest.$ac_objext conftest$ac_exeext
69617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69618 (eval $ac_link) 2>conftest.er1
69619 ac_status=$?
69620 grep -v '^ *+' conftest.er1 >conftest.err
69621 rm -f conftest.er1
69622 cat conftest.err >&5
69623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69624 (exit $ac_status); } &&
69625 { ac_try='test -z "$ac_c_werror_flag"
69626 || test ! -s conftest.err'
69627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69628 (eval $ac_try) 2>&5
69629 ac_status=$?
69630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69631 (exit $ac_status); }; } &&
69632 { ac_try='test -s conftest$ac_exeext'
69633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69634 (eval $ac_try) 2>&5
69635 ac_status=$?
69636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69637 (exit $ac_status); }; }; then
69638 eval "$as_ac_var=yes"
69639 else
69640 echo "$as_me: failed program was:" >&5
69641 sed 's/^/| /' conftest.$ac_ext >&5
69643 eval "$as_ac_var=no"
69645 rm -f conftest.err conftest.$ac_objext \
69646 conftest$ac_exeext conftest.$ac_ext
69648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69650 if test `eval echo '${'$as_ac_var'}'` = yes; then
69651 cat >>confdefs.h <<_ACEOF
69652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69653 _ACEOF
69656 done
69658 else
69660 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69661 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69662 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69663 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69664 echo $ECHO_N "(cached) $ECHO_C" >&6
69665 else
69669 ac_ext=cc
69670 ac_cpp='$CXXCPP $CPPFLAGS'
69671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69675 cat >conftest.$ac_ext <<_ACEOF
69676 /* confdefs.h. */
69677 _ACEOF
69678 cat confdefs.h >>conftest.$ac_ext
69679 cat >>conftest.$ac_ext <<_ACEOF
69680 /* end confdefs.h. */
69681 #include <math.h>
69682 #ifdef HAVE_IEEEFP_H
69683 #include <ieeefp.h>
69684 #endif
69687 main ()
69689 _log10l(0);
69691 return 0;
69693 _ACEOF
69694 rm -f conftest.$ac_objext
69695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69696 (eval $ac_compile) 2>conftest.er1
69697 ac_status=$?
69698 grep -v '^ *+' conftest.er1 >conftest.err
69699 rm -f conftest.er1
69700 cat conftest.err >&5
69701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69702 (exit $ac_status); } &&
69703 { ac_try='test -z "$ac_cxx_werror_flag"
69704 || test ! -s conftest.err'
69705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69706 (eval $ac_try) 2>&5
69707 ac_status=$?
69708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69709 (exit $ac_status); }; } &&
69710 { ac_try='test -s conftest.$ac_objext'
69711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69712 (eval $ac_try) 2>&5
69713 ac_status=$?
69714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69715 (exit $ac_status); }; }; then
69716 glibcxx_cv_func__log10l_use=yes
69717 else
69718 echo "$as_me: failed program was:" >&5
69719 sed 's/^/| /' conftest.$ac_ext >&5
69721 glibcxx_cv_func__log10l_use=no
69723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69724 ac_ext=c
69725 ac_cpp='$CPP $CPPFLAGS'
69726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69735 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69737 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69739 for ac_func in _log10l
69741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69742 echo "$as_me:$LINENO: checking for $ac_func" >&5
69743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69744 if eval "test \"\${$as_ac_var+set}\" = set"; then
69745 echo $ECHO_N "(cached) $ECHO_C" >&6
69746 else
69747 if test x$gcc_no_link = xyes; then
69748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69750 { (exit 1); exit 1; }; }
69752 cat >conftest.$ac_ext <<_ACEOF
69753 /* confdefs.h. */
69754 _ACEOF
69755 cat confdefs.h >>conftest.$ac_ext
69756 cat >>conftest.$ac_ext <<_ACEOF
69757 /* end confdefs.h. */
69758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69760 #define $ac_func innocuous_$ac_func
69762 /* System header to define __stub macros and hopefully few prototypes,
69763 which can conflict with char $ac_func (); below.
69764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69765 <limits.h> exists even on freestanding compilers. */
69767 #ifdef __STDC__
69768 # include <limits.h>
69769 #else
69770 # include <assert.h>
69771 #endif
69773 #undef $ac_func
69775 /* Override any gcc2 internal prototype to avoid an error. */
69776 #ifdef __cplusplus
69777 extern "C"
69779 #endif
69780 /* We use char because int might match the return type of a gcc2
69781 builtin and then its argument prototype would still apply. */
69782 char $ac_func ();
69783 /* The GNU C library defines this for functions which it implements
69784 to always fail with ENOSYS. Some functions are actually named
69785 something starting with __ and the normal name is an alias. */
69786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69787 choke me
69788 #else
69789 char (*f) () = $ac_func;
69790 #endif
69791 #ifdef __cplusplus
69793 #endif
69796 main ()
69798 return f != $ac_func;
69800 return 0;
69802 _ACEOF
69803 rm -f conftest.$ac_objext conftest$ac_exeext
69804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69805 (eval $ac_link) 2>conftest.er1
69806 ac_status=$?
69807 grep -v '^ *+' conftest.er1 >conftest.err
69808 rm -f conftest.er1
69809 cat conftest.err >&5
69810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69811 (exit $ac_status); } &&
69812 { ac_try='test -z "$ac_c_werror_flag"
69813 || test ! -s conftest.err'
69814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69815 (eval $ac_try) 2>&5
69816 ac_status=$?
69817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69818 (exit $ac_status); }; } &&
69819 { ac_try='test -s conftest$ac_exeext'
69820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69821 (eval $ac_try) 2>&5
69822 ac_status=$?
69823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69824 (exit $ac_status); }; }; then
69825 eval "$as_ac_var=yes"
69826 else
69827 echo "$as_me: failed program was:" >&5
69828 sed 's/^/| /' conftest.$ac_ext >&5
69830 eval "$as_ac_var=no"
69832 rm -f conftest.err conftest.$ac_objext \
69833 conftest$ac_exeext conftest.$ac_ext
69835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69837 if test `eval echo '${'$as_ac_var'}'` = yes; then
69838 cat >>confdefs.h <<_ACEOF
69839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69840 _ACEOF
69843 done
69853 echo "$as_me:$LINENO: checking for modfl declaration" >&5
69854 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69855 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69856 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69857 echo $ECHO_N "(cached) $ECHO_C" >&6
69858 else
69862 ac_ext=cc
69863 ac_cpp='$CXXCPP $CPPFLAGS'
69864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69868 cat >conftest.$ac_ext <<_ACEOF
69869 /* confdefs.h. */
69870 _ACEOF
69871 cat confdefs.h >>conftest.$ac_ext
69872 cat >>conftest.$ac_ext <<_ACEOF
69873 /* end confdefs.h. */
69874 #include <math.h>
69876 main ()
69878 modfl(0, 0);
69880 return 0;
69882 _ACEOF
69883 rm -f conftest.$ac_objext
69884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69885 (eval $ac_compile) 2>conftest.er1
69886 ac_status=$?
69887 grep -v '^ *+' conftest.er1 >conftest.err
69888 rm -f conftest.er1
69889 cat conftest.err >&5
69890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69891 (exit $ac_status); } &&
69892 { ac_try='test -z "$ac_cxx_werror_flag"
69893 || test ! -s conftest.err'
69894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69895 (eval $ac_try) 2>&5
69896 ac_status=$?
69897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69898 (exit $ac_status); }; } &&
69899 { ac_try='test -s conftest.$ac_objext'
69900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69901 (eval $ac_try) 2>&5
69902 ac_status=$?
69903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69904 (exit $ac_status); }; }; then
69905 glibcxx_cv_func_modfl_use=yes
69906 else
69907 echo "$as_me: failed program was:" >&5
69908 sed 's/^/| /' conftest.$ac_ext >&5
69910 glibcxx_cv_func_modfl_use=no
69912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69913 ac_ext=c
69914 ac_cpp='$CPP $CPPFLAGS'
69915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69924 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69926 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69928 for ac_func in modfl
69930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69931 echo "$as_me:$LINENO: checking for $ac_func" >&5
69932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69933 if eval "test \"\${$as_ac_var+set}\" = set"; then
69934 echo $ECHO_N "(cached) $ECHO_C" >&6
69935 else
69936 if test x$gcc_no_link = xyes; then
69937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69939 { (exit 1); exit 1; }; }
69941 cat >conftest.$ac_ext <<_ACEOF
69942 /* confdefs.h. */
69943 _ACEOF
69944 cat confdefs.h >>conftest.$ac_ext
69945 cat >>conftest.$ac_ext <<_ACEOF
69946 /* end confdefs.h. */
69947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69949 #define $ac_func innocuous_$ac_func
69951 /* System header to define __stub macros and hopefully few prototypes,
69952 which can conflict with char $ac_func (); below.
69953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69954 <limits.h> exists even on freestanding compilers. */
69956 #ifdef __STDC__
69957 # include <limits.h>
69958 #else
69959 # include <assert.h>
69960 #endif
69962 #undef $ac_func
69964 /* Override any gcc2 internal prototype to avoid an error. */
69965 #ifdef __cplusplus
69966 extern "C"
69968 #endif
69969 /* We use char because int might match the return type of a gcc2
69970 builtin and then its argument prototype would still apply. */
69971 char $ac_func ();
69972 /* The GNU C library defines this for functions which it implements
69973 to always fail with ENOSYS. Some functions are actually named
69974 something starting with __ and the normal name is an alias. */
69975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69976 choke me
69977 #else
69978 char (*f) () = $ac_func;
69979 #endif
69980 #ifdef __cplusplus
69982 #endif
69985 main ()
69987 return f != $ac_func;
69989 return 0;
69991 _ACEOF
69992 rm -f conftest.$ac_objext conftest$ac_exeext
69993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69994 (eval $ac_link) 2>conftest.er1
69995 ac_status=$?
69996 grep -v '^ *+' conftest.er1 >conftest.err
69997 rm -f conftest.er1
69998 cat conftest.err >&5
69999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70000 (exit $ac_status); } &&
70001 { ac_try='test -z "$ac_c_werror_flag"
70002 || test ! -s conftest.err'
70003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70004 (eval $ac_try) 2>&5
70005 ac_status=$?
70006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70007 (exit $ac_status); }; } &&
70008 { ac_try='test -s conftest$ac_exeext'
70009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70010 (eval $ac_try) 2>&5
70011 ac_status=$?
70012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70013 (exit $ac_status); }; }; then
70014 eval "$as_ac_var=yes"
70015 else
70016 echo "$as_me: failed program was:" >&5
70017 sed 's/^/| /' conftest.$ac_ext >&5
70019 eval "$as_ac_var=no"
70021 rm -f conftest.err conftest.$ac_objext \
70022 conftest$ac_exeext conftest.$ac_ext
70024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70026 if test `eval echo '${'$as_ac_var'}'` = yes; then
70027 cat >>confdefs.h <<_ACEOF
70028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70029 _ACEOF
70032 done
70034 else
70036 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70037 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70038 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70039 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70040 echo $ECHO_N "(cached) $ECHO_C" >&6
70041 else
70045 ac_ext=cc
70046 ac_cpp='$CXXCPP $CPPFLAGS'
70047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70051 cat >conftest.$ac_ext <<_ACEOF
70052 /* confdefs.h. */
70053 _ACEOF
70054 cat confdefs.h >>conftest.$ac_ext
70055 cat >>conftest.$ac_ext <<_ACEOF
70056 /* end confdefs.h. */
70057 #include <math.h>
70059 main ()
70061 _modfl(0, 0);
70063 return 0;
70065 _ACEOF
70066 rm -f conftest.$ac_objext
70067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70068 (eval $ac_compile) 2>conftest.er1
70069 ac_status=$?
70070 grep -v '^ *+' conftest.er1 >conftest.err
70071 rm -f conftest.er1
70072 cat conftest.err >&5
70073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70074 (exit $ac_status); } &&
70075 { ac_try='test -z "$ac_cxx_werror_flag"
70076 || test ! -s conftest.err'
70077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70078 (eval $ac_try) 2>&5
70079 ac_status=$?
70080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70081 (exit $ac_status); }; } &&
70082 { ac_try='test -s conftest.$ac_objext'
70083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70084 (eval $ac_try) 2>&5
70085 ac_status=$?
70086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70087 (exit $ac_status); }; }; then
70088 glibcxx_cv_func__modfl_use=yes
70089 else
70090 echo "$as_me: failed program was:" >&5
70091 sed 's/^/| /' conftest.$ac_ext >&5
70093 glibcxx_cv_func__modfl_use=no
70095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70096 ac_ext=c
70097 ac_cpp='$CPP $CPPFLAGS'
70098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70107 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70109 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70111 for ac_func in _modfl
70113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70114 echo "$as_me:$LINENO: checking for $ac_func" >&5
70115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70116 if eval "test \"\${$as_ac_var+set}\" = set"; then
70117 echo $ECHO_N "(cached) $ECHO_C" >&6
70118 else
70119 if test x$gcc_no_link = xyes; then
70120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70122 { (exit 1); exit 1; }; }
70124 cat >conftest.$ac_ext <<_ACEOF
70125 /* confdefs.h. */
70126 _ACEOF
70127 cat confdefs.h >>conftest.$ac_ext
70128 cat >>conftest.$ac_ext <<_ACEOF
70129 /* end confdefs.h. */
70130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70132 #define $ac_func innocuous_$ac_func
70134 /* System header to define __stub macros and hopefully few prototypes,
70135 which can conflict with char $ac_func (); below.
70136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70137 <limits.h> exists even on freestanding compilers. */
70139 #ifdef __STDC__
70140 # include <limits.h>
70141 #else
70142 # include <assert.h>
70143 #endif
70145 #undef $ac_func
70147 /* Override any gcc2 internal prototype to avoid an error. */
70148 #ifdef __cplusplus
70149 extern "C"
70151 #endif
70152 /* We use char because int might match the return type of a gcc2
70153 builtin and then its argument prototype would still apply. */
70154 char $ac_func ();
70155 /* The GNU C library defines this for functions which it implements
70156 to always fail with ENOSYS. Some functions are actually named
70157 something starting with __ and the normal name is an alias. */
70158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70159 choke me
70160 #else
70161 char (*f) () = $ac_func;
70162 #endif
70163 #ifdef __cplusplus
70165 #endif
70168 main ()
70170 return f != $ac_func;
70172 return 0;
70174 _ACEOF
70175 rm -f conftest.$ac_objext conftest$ac_exeext
70176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70177 (eval $ac_link) 2>conftest.er1
70178 ac_status=$?
70179 grep -v '^ *+' conftest.er1 >conftest.err
70180 rm -f conftest.er1
70181 cat conftest.err >&5
70182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70183 (exit $ac_status); } &&
70184 { ac_try='test -z "$ac_c_werror_flag"
70185 || test ! -s conftest.err'
70186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70187 (eval $ac_try) 2>&5
70188 ac_status=$?
70189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70190 (exit $ac_status); }; } &&
70191 { ac_try='test -s conftest$ac_exeext'
70192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70193 (eval $ac_try) 2>&5
70194 ac_status=$?
70195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70196 (exit $ac_status); }; }; then
70197 eval "$as_ac_var=yes"
70198 else
70199 echo "$as_me: failed program was:" >&5
70200 sed 's/^/| /' conftest.$ac_ext >&5
70202 eval "$as_ac_var=no"
70204 rm -f conftest.err conftest.$ac_objext \
70205 conftest$ac_exeext conftest.$ac_ext
70207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70209 if test `eval echo '${'$as_ac_var'}'` = yes; then
70210 cat >>confdefs.h <<_ACEOF
70211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70212 _ACEOF
70215 done
70225 echo "$as_me:$LINENO: checking for powl declaration" >&5
70226 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70227 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70228 if test "${glibcxx_cv_func_powl_use+set}" = set; then
70229 echo $ECHO_N "(cached) $ECHO_C" >&6
70230 else
70234 ac_ext=cc
70235 ac_cpp='$CXXCPP $CPPFLAGS'
70236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70240 cat >conftest.$ac_ext <<_ACEOF
70241 /* confdefs.h. */
70242 _ACEOF
70243 cat confdefs.h >>conftest.$ac_ext
70244 cat >>conftest.$ac_ext <<_ACEOF
70245 /* end confdefs.h. */
70246 #include <math.h>
70248 main ()
70250 powl(0, 0);
70252 return 0;
70254 _ACEOF
70255 rm -f conftest.$ac_objext
70256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70257 (eval $ac_compile) 2>conftest.er1
70258 ac_status=$?
70259 grep -v '^ *+' conftest.er1 >conftest.err
70260 rm -f conftest.er1
70261 cat conftest.err >&5
70262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70263 (exit $ac_status); } &&
70264 { ac_try='test -z "$ac_cxx_werror_flag"
70265 || test ! -s conftest.err'
70266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70267 (eval $ac_try) 2>&5
70268 ac_status=$?
70269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70270 (exit $ac_status); }; } &&
70271 { ac_try='test -s conftest.$ac_objext'
70272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70273 (eval $ac_try) 2>&5
70274 ac_status=$?
70275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70276 (exit $ac_status); }; }; then
70277 glibcxx_cv_func_powl_use=yes
70278 else
70279 echo "$as_me: failed program was:" >&5
70280 sed 's/^/| /' conftest.$ac_ext >&5
70282 glibcxx_cv_func_powl_use=no
70284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70285 ac_ext=c
70286 ac_cpp='$CPP $CPPFLAGS'
70287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70296 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70298 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70300 for ac_func in powl
70302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70303 echo "$as_me:$LINENO: checking for $ac_func" >&5
70304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70305 if eval "test \"\${$as_ac_var+set}\" = set"; then
70306 echo $ECHO_N "(cached) $ECHO_C" >&6
70307 else
70308 if test x$gcc_no_link = xyes; then
70309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70311 { (exit 1); exit 1; }; }
70313 cat >conftest.$ac_ext <<_ACEOF
70314 /* confdefs.h. */
70315 _ACEOF
70316 cat confdefs.h >>conftest.$ac_ext
70317 cat >>conftest.$ac_ext <<_ACEOF
70318 /* end confdefs.h. */
70319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70321 #define $ac_func innocuous_$ac_func
70323 /* System header to define __stub macros and hopefully few prototypes,
70324 which can conflict with char $ac_func (); below.
70325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70326 <limits.h> exists even on freestanding compilers. */
70328 #ifdef __STDC__
70329 # include <limits.h>
70330 #else
70331 # include <assert.h>
70332 #endif
70334 #undef $ac_func
70336 /* Override any gcc2 internal prototype to avoid an error. */
70337 #ifdef __cplusplus
70338 extern "C"
70340 #endif
70341 /* We use char because int might match the return type of a gcc2
70342 builtin and then its argument prototype would still apply. */
70343 char $ac_func ();
70344 /* The GNU C library defines this for functions which it implements
70345 to always fail with ENOSYS. Some functions are actually named
70346 something starting with __ and the normal name is an alias. */
70347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70348 choke me
70349 #else
70350 char (*f) () = $ac_func;
70351 #endif
70352 #ifdef __cplusplus
70354 #endif
70357 main ()
70359 return f != $ac_func;
70361 return 0;
70363 _ACEOF
70364 rm -f conftest.$ac_objext conftest$ac_exeext
70365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70366 (eval $ac_link) 2>conftest.er1
70367 ac_status=$?
70368 grep -v '^ *+' conftest.er1 >conftest.err
70369 rm -f conftest.er1
70370 cat conftest.err >&5
70371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70372 (exit $ac_status); } &&
70373 { ac_try='test -z "$ac_c_werror_flag"
70374 || test ! -s conftest.err'
70375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70376 (eval $ac_try) 2>&5
70377 ac_status=$?
70378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70379 (exit $ac_status); }; } &&
70380 { ac_try='test -s conftest$ac_exeext'
70381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70382 (eval $ac_try) 2>&5
70383 ac_status=$?
70384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70385 (exit $ac_status); }; }; then
70386 eval "$as_ac_var=yes"
70387 else
70388 echo "$as_me: failed program was:" >&5
70389 sed 's/^/| /' conftest.$ac_ext >&5
70391 eval "$as_ac_var=no"
70393 rm -f conftest.err conftest.$ac_objext \
70394 conftest$ac_exeext conftest.$ac_ext
70396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70398 if test `eval echo '${'$as_ac_var'}'` = yes; then
70399 cat >>confdefs.h <<_ACEOF
70400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70401 _ACEOF
70404 done
70406 else
70408 echo "$as_me:$LINENO: checking for _powl declaration" >&5
70409 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70410 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70411 if test "${glibcxx_cv_func__powl_use+set}" = set; then
70412 echo $ECHO_N "(cached) $ECHO_C" >&6
70413 else
70417 ac_ext=cc
70418 ac_cpp='$CXXCPP $CPPFLAGS'
70419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70423 cat >conftest.$ac_ext <<_ACEOF
70424 /* confdefs.h. */
70425 _ACEOF
70426 cat confdefs.h >>conftest.$ac_ext
70427 cat >>conftest.$ac_ext <<_ACEOF
70428 /* end confdefs.h. */
70429 #include <math.h>
70431 main ()
70433 _powl(0, 0);
70435 return 0;
70437 _ACEOF
70438 rm -f conftest.$ac_objext
70439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70440 (eval $ac_compile) 2>conftest.er1
70441 ac_status=$?
70442 grep -v '^ *+' conftest.er1 >conftest.err
70443 rm -f conftest.er1
70444 cat conftest.err >&5
70445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70446 (exit $ac_status); } &&
70447 { ac_try='test -z "$ac_cxx_werror_flag"
70448 || test ! -s conftest.err'
70449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70450 (eval $ac_try) 2>&5
70451 ac_status=$?
70452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70453 (exit $ac_status); }; } &&
70454 { ac_try='test -s conftest.$ac_objext'
70455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70456 (eval $ac_try) 2>&5
70457 ac_status=$?
70458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70459 (exit $ac_status); }; }; then
70460 glibcxx_cv_func__powl_use=yes
70461 else
70462 echo "$as_me: failed program was:" >&5
70463 sed 's/^/| /' conftest.$ac_ext >&5
70465 glibcxx_cv_func__powl_use=no
70467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70468 ac_ext=c
70469 ac_cpp='$CPP $CPPFLAGS'
70470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70479 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70481 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70483 for ac_func in _powl
70485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70486 echo "$as_me:$LINENO: checking for $ac_func" >&5
70487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70488 if eval "test \"\${$as_ac_var+set}\" = set"; then
70489 echo $ECHO_N "(cached) $ECHO_C" >&6
70490 else
70491 if test x$gcc_no_link = xyes; then
70492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70494 { (exit 1); exit 1; }; }
70496 cat >conftest.$ac_ext <<_ACEOF
70497 /* confdefs.h. */
70498 _ACEOF
70499 cat confdefs.h >>conftest.$ac_ext
70500 cat >>conftest.$ac_ext <<_ACEOF
70501 /* end confdefs.h. */
70502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70504 #define $ac_func innocuous_$ac_func
70506 /* System header to define __stub macros and hopefully few prototypes,
70507 which can conflict with char $ac_func (); below.
70508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70509 <limits.h> exists even on freestanding compilers. */
70511 #ifdef __STDC__
70512 # include <limits.h>
70513 #else
70514 # include <assert.h>
70515 #endif
70517 #undef $ac_func
70519 /* Override any gcc2 internal prototype to avoid an error. */
70520 #ifdef __cplusplus
70521 extern "C"
70523 #endif
70524 /* We use char because int might match the return type of a gcc2
70525 builtin and then its argument prototype would still apply. */
70526 char $ac_func ();
70527 /* The GNU C library defines this for functions which it implements
70528 to always fail with ENOSYS. Some functions are actually named
70529 something starting with __ and the normal name is an alias. */
70530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70531 choke me
70532 #else
70533 char (*f) () = $ac_func;
70534 #endif
70535 #ifdef __cplusplus
70537 #endif
70540 main ()
70542 return f != $ac_func;
70544 return 0;
70546 _ACEOF
70547 rm -f conftest.$ac_objext conftest$ac_exeext
70548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70549 (eval $ac_link) 2>conftest.er1
70550 ac_status=$?
70551 grep -v '^ *+' conftest.er1 >conftest.err
70552 rm -f conftest.er1
70553 cat conftest.err >&5
70554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70555 (exit $ac_status); } &&
70556 { ac_try='test -z "$ac_c_werror_flag"
70557 || test ! -s conftest.err'
70558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70559 (eval $ac_try) 2>&5
70560 ac_status=$?
70561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70562 (exit $ac_status); }; } &&
70563 { ac_try='test -s conftest$ac_exeext'
70564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70565 (eval $ac_try) 2>&5
70566 ac_status=$?
70567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70568 (exit $ac_status); }; }; then
70569 eval "$as_ac_var=yes"
70570 else
70571 echo "$as_me: failed program was:" >&5
70572 sed 's/^/| /' conftest.$ac_ext >&5
70574 eval "$as_ac_var=no"
70576 rm -f conftest.err conftest.$ac_objext \
70577 conftest$ac_exeext conftest.$ac_ext
70579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70581 if test `eval echo '${'$as_ac_var'}'` = yes; then
70582 cat >>confdefs.h <<_ACEOF
70583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70584 _ACEOF
70587 done
70597 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70598 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70599 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70600 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70601 echo $ECHO_N "(cached) $ECHO_C" >&6
70602 else
70606 ac_ext=cc
70607 ac_cpp='$CXXCPP $CPPFLAGS'
70608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70612 cat >conftest.$ac_ext <<_ACEOF
70613 /* confdefs.h. */
70614 _ACEOF
70615 cat confdefs.h >>conftest.$ac_ext
70616 cat >>conftest.$ac_ext <<_ACEOF
70617 /* end confdefs.h. */
70618 #include <math.h>
70619 #ifdef HAVE_IEEEFP_H
70620 #include <ieeefp.h>
70621 #endif
70624 main ()
70626 sqrtl(0);
70628 return 0;
70630 _ACEOF
70631 rm -f conftest.$ac_objext
70632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70633 (eval $ac_compile) 2>conftest.er1
70634 ac_status=$?
70635 grep -v '^ *+' conftest.er1 >conftest.err
70636 rm -f conftest.er1
70637 cat conftest.err >&5
70638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70639 (exit $ac_status); } &&
70640 { ac_try='test -z "$ac_cxx_werror_flag"
70641 || test ! -s conftest.err'
70642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70643 (eval $ac_try) 2>&5
70644 ac_status=$?
70645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70646 (exit $ac_status); }; } &&
70647 { ac_try='test -s conftest.$ac_objext'
70648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70649 (eval $ac_try) 2>&5
70650 ac_status=$?
70651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70652 (exit $ac_status); }; }; then
70653 glibcxx_cv_func_sqrtl_use=yes
70654 else
70655 echo "$as_me: failed program was:" >&5
70656 sed 's/^/| /' conftest.$ac_ext >&5
70658 glibcxx_cv_func_sqrtl_use=no
70660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70661 ac_ext=c
70662 ac_cpp='$CPP $CPPFLAGS'
70663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70672 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70674 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70676 for ac_func in sqrtl
70678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70679 echo "$as_me:$LINENO: checking for $ac_func" >&5
70680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70681 if eval "test \"\${$as_ac_var+set}\" = set"; then
70682 echo $ECHO_N "(cached) $ECHO_C" >&6
70683 else
70684 if test x$gcc_no_link = xyes; then
70685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70687 { (exit 1); exit 1; }; }
70689 cat >conftest.$ac_ext <<_ACEOF
70690 /* confdefs.h. */
70691 _ACEOF
70692 cat confdefs.h >>conftest.$ac_ext
70693 cat >>conftest.$ac_ext <<_ACEOF
70694 /* end confdefs.h. */
70695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70697 #define $ac_func innocuous_$ac_func
70699 /* System header to define __stub macros and hopefully few prototypes,
70700 which can conflict with char $ac_func (); below.
70701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70702 <limits.h> exists even on freestanding compilers. */
70704 #ifdef __STDC__
70705 # include <limits.h>
70706 #else
70707 # include <assert.h>
70708 #endif
70710 #undef $ac_func
70712 /* Override any gcc2 internal prototype to avoid an error. */
70713 #ifdef __cplusplus
70714 extern "C"
70716 #endif
70717 /* We use char because int might match the return type of a gcc2
70718 builtin and then its argument prototype would still apply. */
70719 char $ac_func ();
70720 /* The GNU C library defines this for functions which it implements
70721 to always fail with ENOSYS. Some functions are actually named
70722 something starting with __ and the normal name is an alias. */
70723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70724 choke me
70725 #else
70726 char (*f) () = $ac_func;
70727 #endif
70728 #ifdef __cplusplus
70730 #endif
70733 main ()
70735 return f != $ac_func;
70737 return 0;
70739 _ACEOF
70740 rm -f conftest.$ac_objext conftest$ac_exeext
70741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70742 (eval $ac_link) 2>conftest.er1
70743 ac_status=$?
70744 grep -v '^ *+' conftest.er1 >conftest.err
70745 rm -f conftest.er1
70746 cat conftest.err >&5
70747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70748 (exit $ac_status); } &&
70749 { ac_try='test -z "$ac_c_werror_flag"
70750 || test ! -s conftest.err'
70751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70752 (eval $ac_try) 2>&5
70753 ac_status=$?
70754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70755 (exit $ac_status); }; } &&
70756 { ac_try='test -s conftest$ac_exeext'
70757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70758 (eval $ac_try) 2>&5
70759 ac_status=$?
70760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70761 (exit $ac_status); }; }; then
70762 eval "$as_ac_var=yes"
70763 else
70764 echo "$as_me: failed program was:" >&5
70765 sed 's/^/| /' conftest.$ac_ext >&5
70767 eval "$as_ac_var=no"
70769 rm -f conftest.err conftest.$ac_objext \
70770 conftest$ac_exeext conftest.$ac_ext
70772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70774 if test `eval echo '${'$as_ac_var'}'` = yes; then
70775 cat >>confdefs.h <<_ACEOF
70776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70777 _ACEOF
70780 done
70782 else
70784 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70785 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70786 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70787 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70788 echo $ECHO_N "(cached) $ECHO_C" >&6
70789 else
70793 ac_ext=cc
70794 ac_cpp='$CXXCPP $CPPFLAGS'
70795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70799 cat >conftest.$ac_ext <<_ACEOF
70800 /* confdefs.h. */
70801 _ACEOF
70802 cat confdefs.h >>conftest.$ac_ext
70803 cat >>conftest.$ac_ext <<_ACEOF
70804 /* end confdefs.h. */
70805 #include <math.h>
70806 #ifdef HAVE_IEEEFP_H
70807 #include <ieeefp.h>
70808 #endif
70811 main ()
70813 _sqrtl(0);
70815 return 0;
70817 _ACEOF
70818 rm -f conftest.$ac_objext
70819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70820 (eval $ac_compile) 2>conftest.er1
70821 ac_status=$?
70822 grep -v '^ *+' conftest.er1 >conftest.err
70823 rm -f conftest.er1
70824 cat conftest.err >&5
70825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70826 (exit $ac_status); } &&
70827 { ac_try='test -z "$ac_cxx_werror_flag"
70828 || test ! -s conftest.err'
70829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70830 (eval $ac_try) 2>&5
70831 ac_status=$?
70832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70833 (exit $ac_status); }; } &&
70834 { ac_try='test -s conftest.$ac_objext'
70835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70836 (eval $ac_try) 2>&5
70837 ac_status=$?
70838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70839 (exit $ac_status); }; }; then
70840 glibcxx_cv_func__sqrtl_use=yes
70841 else
70842 echo "$as_me: failed program was:" >&5
70843 sed 's/^/| /' conftest.$ac_ext >&5
70845 glibcxx_cv_func__sqrtl_use=no
70847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70848 ac_ext=c
70849 ac_cpp='$CPP $CPPFLAGS'
70850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70859 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70861 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70863 for ac_func in _sqrtl
70865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70866 echo "$as_me:$LINENO: checking for $ac_func" >&5
70867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70868 if eval "test \"\${$as_ac_var+set}\" = set"; then
70869 echo $ECHO_N "(cached) $ECHO_C" >&6
70870 else
70871 if test x$gcc_no_link = xyes; then
70872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70874 { (exit 1); exit 1; }; }
70876 cat >conftest.$ac_ext <<_ACEOF
70877 /* confdefs.h. */
70878 _ACEOF
70879 cat confdefs.h >>conftest.$ac_ext
70880 cat >>conftest.$ac_ext <<_ACEOF
70881 /* end confdefs.h. */
70882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70884 #define $ac_func innocuous_$ac_func
70886 /* System header to define __stub macros and hopefully few prototypes,
70887 which can conflict with char $ac_func (); below.
70888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70889 <limits.h> exists even on freestanding compilers. */
70891 #ifdef __STDC__
70892 # include <limits.h>
70893 #else
70894 # include <assert.h>
70895 #endif
70897 #undef $ac_func
70899 /* Override any gcc2 internal prototype to avoid an error. */
70900 #ifdef __cplusplus
70901 extern "C"
70903 #endif
70904 /* We use char because int might match the return type of a gcc2
70905 builtin and then its argument prototype would still apply. */
70906 char $ac_func ();
70907 /* The GNU C library defines this for functions which it implements
70908 to always fail with ENOSYS. Some functions are actually named
70909 something starting with __ and the normal name is an alias. */
70910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70911 choke me
70912 #else
70913 char (*f) () = $ac_func;
70914 #endif
70915 #ifdef __cplusplus
70917 #endif
70920 main ()
70922 return f != $ac_func;
70924 return 0;
70926 _ACEOF
70927 rm -f conftest.$ac_objext conftest$ac_exeext
70928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70929 (eval $ac_link) 2>conftest.er1
70930 ac_status=$?
70931 grep -v '^ *+' conftest.er1 >conftest.err
70932 rm -f conftest.er1
70933 cat conftest.err >&5
70934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70935 (exit $ac_status); } &&
70936 { ac_try='test -z "$ac_c_werror_flag"
70937 || test ! -s conftest.err'
70938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70939 (eval $ac_try) 2>&5
70940 ac_status=$?
70941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70942 (exit $ac_status); }; } &&
70943 { ac_try='test -s conftest$ac_exeext'
70944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70945 (eval $ac_try) 2>&5
70946 ac_status=$?
70947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70948 (exit $ac_status); }; }; then
70949 eval "$as_ac_var=yes"
70950 else
70951 echo "$as_me: failed program was:" >&5
70952 sed 's/^/| /' conftest.$ac_ext >&5
70954 eval "$as_ac_var=no"
70956 rm -f conftest.err conftest.$ac_objext \
70957 conftest$ac_exeext conftest.$ac_ext
70959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70961 if test `eval echo '${'$as_ac_var'}'` = yes; then
70962 cat >>confdefs.h <<_ACEOF
70963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70964 _ACEOF
70967 done
70977 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70978 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70979 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70980 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70981 echo $ECHO_N "(cached) $ECHO_C" >&6
70982 else
70986 ac_ext=cc
70987 ac_cpp='$CXXCPP $CPPFLAGS'
70988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70992 cat >conftest.$ac_ext <<_ACEOF
70993 /* confdefs.h. */
70994 _ACEOF
70995 cat confdefs.h >>conftest.$ac_ext
70996 cat >>conftest.$ac_ext <<_ACEOF
70997 /* end confdefs.h. */
70998 #include <math.h>
71000 main ()
71002 sincosl(0, 0, 0);
71004 return 0;
71006 _ACEOF
71007 rm -f conftest.$ac_objext
71008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71009 (eval $ac_compile) 2>conftest.er1
71010 ac_status=$?
71011 grep -v '^ *+' conftest.er1 >conftest.err
71012 rm -f conftest.er1
71013 cat conftest.err >&5
71014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71015 (exit $ac_status); } &&
71016 { ac_try='test -z "$ac_cxx_werror_flag"
71017 || test ! -s conftest.err'
71018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71019 (eval $ac_try) 2>&5
71020 ac_status=$?
71021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71022 (exit $ac_status); }; } &&
71023 { ac_try='test -s conftest.$ac_objext'
71024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71025 (eval $ac_try) 2>&5
71026 ac_status=$?
71027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71028 (exit $ac_status); }; }; then
71029 glibcxx_cv_func_sincosl_use=yes
71030 else
71031 echo "$as_me: failed program was:" >&5
71032 sed 's/^/| /' conftest.$ac_ext >&5
71034 glibcxx_cv_func_sincosl_use=no
71036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71037 ac_ext=c
71038 ac_cpp='$CPP $CPPFLAGS'
71039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71048 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71050 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71052 for ac_func in sincosl
71054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71055 echo "$as_me:$LINENO: checking for $ac_func" >&5
71056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71057 if eval "test \"\${$as_ac_var+set}\" = set"; then
71058 echo $ECHO_N "(cached) $ECHO_C" >&6
71059 else
71060 if test x$gcc_no_link = xyes; then
71061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71063 { (exit 1); exit 1; }; }
71065 cat >conftest.$ac_ext <<_ACEOF
71066 /* confdefs.h. */
71067 _ACEOF
71068 cat confdefs.h >>conftest.$ac_ext
71069 cat >>conftest.$ac_ext <<_ACEOF
71070 /* end confdefs.h. */
71071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71073 #define $ac_func innocuous_$ac_func
71075 /* System header to define __stub macros and hopefully few prototypes,
71076 which can conflict with char $ac_func (); below.
71077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71078 <limits.h> exists even on freestanding compilers. */
71080 #ifdef __STDC__
71081 # include <limits.h>
71082 #else
71083 # include <assert.h>
71084 #endif
71086 #undef $ac_func
71088 /* Override any gcc2 internal prototype to avoid an error. */
71089 #ifdef __cplusplus
71090 extern "C"
71092 #endif
71093 /* We use char because int might match the return type of a gcc2
71094 builtin and then its argument prototype would still apply. */
71095 char $ac_func ();
71096 /* The GNU C library defines this for functions which it implements
71097 to always fail with ENOSYS. Some functions are actually named
71098 something starting with __ and the normal name is an alias. */
71099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71100 choke me
71101 #else
71102 char (*f) () = $ac_func;
71103 #endif
71104 #ifdef __cplusplus
71106 #endif
71109 main ()
71111 return f != $ac_func;
71113 return 0;
71115 _ACEOF
71116 rm -f conftest.$ac_objext conftest$ac_exeext
71117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71118 (eval $ac_link) 2>conftest.er1
71119 ac_status=$?
71120 grep -v '^ *+' conftest.er1 >conftest.err
71121 rm -f conftest.er1
71122 cat conftest.err >&5
71123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71124 (exit $ac_status); } &&
71125 { ac_try='test -z "$ac_c_werror_flag"
71126 || test ! -s conftest.err'
71127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71128 (eval $ac_try) 2>&5
71129 ac_status=$?
71130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71131 (exit $ac_status); }; } &&
71132 { ac_try='test -s conftest$ac_exeext'
71133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71134 (eval $ac_try) 2>&5
71135 ac_status=$?
71136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71137 (exit $ac_status); }; }; then
71138 eval "$as_ac_var=yes"
71139 else
71140 echo "$as_me: failed program was:" >&5
71141 sed 's/^/| /' conftest.$ac_ext >&5
71143 eval "$as_ac_var=no"
71145 rm -f conftest.err conftest.$ac_objext \
71146 conftest$ac_exeext conftest.$ac_ext
71148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71150 if test `eval echo '${'$as_ac_var'}'` = yes; then
71151 cat >>confdefs.h <<_ACEOF
71152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71153 _ACEOF
71156 done
71158 else
71160 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71161 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71162 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71163 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71164 echo $ECHO_N "(cached) $ECHO_C" >&6
71165 else
71169 ac_ext=cc
71170 ac_cpp='$CXXCPP $CPPFLAGS'
71171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71175 cat >conftest.$ac_ext <<_ACEOF
71176 /* confdefs.h. */
71177 _ACEOF
71178 cat confdefs.h >>conftest.$ac_ext
71179 cat >>conftest.$ac_ext <<_ACEOF
71180 /* end confdefs.h. */
71181 #include <math.h>
71183 main ()
71185 _sincosl(0, 0, 0);
71187 return 0;
71189 _ACEOF
71190 rm -f conftest.$ac_objext
71191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71192 (eval $ac_compile) 2>conftest.er1
71193 ac_status=$?
71194 grep -v '^ *+' conftest.er1 >conftest.err
71195 rm -f conftest.er1
71196 cat conftest.err >&5
71197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71198 (exit $ac_status); } &&
71199 { ac_try='test -z "$ac_cxx_werror_flag"
71200 || test ! -s conftest.err'
71201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71202 (eval $ac_try) 2>&5
71203 ac_status=$?
71204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71205 (exit $ac_status); }; } &&
71206 { ac_try='test -s conftest.$ac_objext'
71207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71208 (eval $ac_try) 2>&5
71209 ac_status=$?
71210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71211 (exit $ac_status); }; }; then
71212 glibcxx_cv_func__sincosl_use=yes
71213 else
71214 echo "$as_me: failed program was:" >&5
71215 sed 's/^/| /' conftest.$ac_ext >&5
71217 glibcxx_cv_func__sincosl_use=no
71219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71220 ac_ext=c
71221 ac_cpp='$CPP $CPPFLAGS'
71222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71231 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71233 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71235 for ac_func in _sincosl
71237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71238 echo "$as_me:$LINENO: checking for $ac_func" >&5
71239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71240 if eval "test \"\${$as_ac_var+set}\" = set"; then
71241 echo $ECHO_N "(cached) $ECHO_C" >&6
71242 else
71243 if test x$gcc_no_link = xyes; then
71244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71246 { (exit 1); exit 1; }; }
71248 cat >conftest.$ac_ext <<_ACEOF
71249 /* confdefs.h. */
71250 _ACEOF
71251 cat confdefs.h >>conftest.$ac_ext
71252 cat >>conftest.$ac_ext <<_ACEOF
71253 /* end confdefs.h. */
71254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71256 #define $ac_func innocuous_$ac_func
71258 /* System header to define __stub macros and hopefully few prototypes,
71259 which can conflict with char $ac_func (); below.
71260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71261 <limits.h> exists even on freestanding compilers. */
71263 #ifdef __STDC__
71264 # include <limits.h>
71265 #else
71266 # include <assert.h>
71267 #endif
71269 #undef $ac_func
71271 /* Override any gcc2 internal prototype to avoid an error. */
71272 #ifdef __cplusplus
71273 extern "C"
71275 #endif
71276 /* We use char because int might match the return type of a gcc2
71277 builtin and then its argument prototype would still apply. */
71278 char $ac_func ();
71279 /* The GNU C library defines this for functions which it implements
71280 to always fail with ENOSYS. Some functions are actually named
71281 something starting with __ and the normal name is an alias. */
71282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71283 choke me
71284 #else
71285 char (*f) () = $ac_func;
71286 #endif
71287 #ifdef __cplusplus
71289 #endif
71292 main ()
71294 return f != $ac_func;
71296 return 0;
71298 _ACEOF
71299 rm -f conftest.$ac_objext conftest$ac_exeext
71300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71301 (eval $ac_link) 2>conftest.er1
71302 ac_status=$?
71303 grep -v '^ *+' conftest.er1 >conftest.err
71304 rm -f conftest.er1
71305 cat conftest.err >&5
71306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71307 (exit $ac_status); } &&
71308 { ac_try='test -z "$ac_c_werror_flag"
71309 || test ! -s conftest.err'
71310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71311 (eval $ac_try) 2>&5
71312 ac_status=$?
71313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71314 (exit $ac_status); }; } &&
71315 { ac_try='test -s conftest$ac_exeext'
71316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71317 (eval $ac_try) 2>&5
71318 ac_status=$?
71319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71320 (exit $ac_status); }; }; then
71321 eval "$as_ac_var=yes"
71322 else
71323 echo "$as_me: failed program was:" >&5
71324 sed 's/^/| /' conftest.$ac_ext >&5
71326 eval "$as_ac_var=no"
71328 rm -f conftest.err conftest.$ac_objext \
71329 conftest$ac_exeext conftest.$ac_ext
71331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71333 if test `eval echo '${'$as_ac_var'}'` = yes; then
71334 cat >>confdefs.h <<_ACEOF
71335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71336 _ACEOF
71339 done
71349 echo "$as_me:$LINENO: checking for finitel declaration" >&5
71350 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71351 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71352 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71353 echo $ECHO_N "(cached) $ECHO_C" >&6
71354 else
71358 ac_ext=cc
71359 ac_cpp='$CXXCPP $CPPFLAGS'
71360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71364 cat >conftest.$ac_ext <<_ACEOF
71365 /* confdefs.h. */
71366 _ACEOF
71367 cat confdefs.h >>conftest.$ac_ext
71368 cat >>conftest.$ac_ext <<_ACEOF
71369 /* end confdefs.h. */
71370 #include <math.h>
71371 #ifdef HAVE_IEEEFP_H
71372 #include <ieeefp.h>
71373 #endif
71376 main ()
71378 finitel(0);
71380 return 0;
71382 _ACEOF
71383 rm -f conftest.$ac_objext
71384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71385 (eval $ac_compile) 2>conftest.er1
71386 ac_status=$?
71387 grep -v '^ *+' conftest.er1 >conftest.err
71388 rm -f conftest.er1
71389 cat conftest.err >&5
71390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71391 (exit $ac_status); } &&
71392 { ac_try='test -z "$ac_cxx_werror_flag"
71393 || test ! -s conftest.err'
71394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71395 (eval $ac_try) 2>&5
71396 ac_status=$?
71397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71398 (exit $ac_status); }; } &&
71399 { ac_try='test -s conftest.$ac_objext'
71400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71401 (eval $ac_try) 2>&5
71402 ac_status=$?
71403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71404 (exit $ac_status); }; }; then
71405 glibcxx_cv_func_finitel_use=yes
71406 else
71407 echo "$as_me: failed program was:" >&5
71408 sed 's/^/| /' conftest.$ac_ext >&5
71410 glibcxx_cv_func_finitel_use=no
71412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71413 ac_ext=c
71414 ac_cpp='$CPP $CPPFLAGS'
71415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71424 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71426 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71428 for ac_func in finitel
71430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71431 echo "$as_me:$LINENO: checking for $ac_func" >&5
71432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71433 if eval "test \"\${$as_ac_var+set}\" = set"; then
71434 echo $ECHO_N "(cached) $ECHO_C" >&6
71435 else
71436 if test x$gcc_no_link = xyes; then
71437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71439 { (exit 1); exit 1; }; }
71441 cat >conftest.$ac_ext <<_ACEOF
71442 /* confdefs.h. */
71443 _ACEOF
71444 cat confdefs.h >>conftest.$ac_ext
71445 cat >>conftest.$ac_ext <<_ACEOF
71446 /* end confdefs.h. */
71447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71449 #define $ac_func innocuous_$ac_func
71451 /* System header to define __stub macros and hopefully few prototypes,
71452 which can conflict with char $ac_func (); below.
71453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71454 <limits.h> exists even on freestanding compilers. */
71456 #ifdef __STDC__
71457 # include <limits.h>
71458 #else
71459 # include <assert.h>
71460 #endif
71462 #undef $ac_func
71464 /* Override any gcc2 internal prototype to avoid an error. */
71465 #ifdef __cplusplus
71466 extern "C"
71468 #endif
71469 /* We use char because int might match the return type of a gcc2
71470 builtin and then its argument prototype would still apply. */
71471 char $ac_func ();
71472 /* The GNU C library defines this for functions which it implements
71473 to always fail with ENOSYS. Some functions are actually named
71474 something starting with __ and the normal name is an alias. */
71475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71476 choke me
71477 #else
71478 char (*f) () = $ac_func;
71479 #endif
71480 #ifdef __cplusplus
71482 #endif
71485 main ()
71487 return f != $ac_func;
71489 return 0;
71491 _ACEOF
71492 rm -f conftest.$ac_objext conftest$ac_exeext
71493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71494 (eval $ac_link) 2>conftest.er1
71495 ac_status=$?
71496 grep -v '^ *+' conftest.er1 >conftest.err
71497 rm -f conftest.er1
71498 cat conftest.err >&5
71499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71500 (exit $ac_status); } &&
71501 { ac_try='test -z "$ac_c_werror_flag"
71502 || test ! -s conftest.err'
71503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71504 (eval $ac_try) 2>&5
71505 ac_status=$?
71506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71507 (exit $ac_status); }; } &&
71508 { ac_try='test -s conftest$ac_exeext'
71509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71510 (eval $ac_try) 2>&5
71511 ac_status=$?
71512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71513 (exit $ac_status); }; }; then
71514 eval "$as_ac_var=yes"
71515 else
71516 echo "$as_me: failed program was:" >&5
71517 sed 's/^/| /' conftest.$ac_ext >&5
71519 eval "$as_ac_var=no"
71521 rm -f conftest.err conftest.$ac_objext \
71522 conftest$ac_exeext conftest.$ac_ext
71524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71526 if test `eval echo '${'$as_ac_var'}'` = yes; then
71527 cat >>confdefs.h <<_ACEOF
71528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71529 _ACEOF
71532 done
71534 else
71536 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71537 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71538 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71539 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71540 echo $ECHO_N "(cached) $ECHO_C" >&6
71541 else
71545 ac_ext=cc
71546 ac_cpp='$CXXCPP $CPPFLAGS'
71547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71551 cat >conftest.$ac_ext <<_ACEOF
71552 /* confdefs.h. */
71553 _ACEOF
71554 cat confdefs.h >>conftest.$ac_ext
71555 cat >>conftest.$ac_ext <<_ACEOF
71556 /* end confdefs.h. */
71557 #include <math.h>
71558 #ifdef HAVE_IEEEFP_H
71559 #include <ieeefp.h>
71560 #endif
71563 main ()
71565 _finitel(0);
71567 return 0;
71569 _ACEOF
71570 rm -f conftest.$ac_objext
71571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71572 (eval $ac_compile) 2>conftest.er1
71573 ac_status=$?
71574 grep -v '^ *+' conftest.er1 >conftest.err
71575 rm -f conftest.er1
71576 cat conftest.err >&5
71577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71578 (exit $ac_status); } &&
71579 { ac_try='test -z "$ac_cxx_werror_flag"
71580 || test ! -s conftest.err'
71581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71582 (eval $ac_try) 2>&5
71583 ac_status=$?
71584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71585 (exit $ac_status); }; } &&
71586 { ac_try='test -s conftest.$ac_objext'
71587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71588 (eval $ac_try) 2>&5
71589 ac_status=$?
71590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71591 (exit $ac_status); }; }; then
71592 glibcxx_cv_func__finitel_use=yes
71593 else
71594 echo "$as_me: failed program was:" >&5
71595 sed 's/^/| /' conftest.$ac_ext >&5
71597 glibcxx_cv_func__finitel_use=no
71599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71600 ac_ext=c
71601 ac_cpp='$CPP $CPPFLAGS'
71602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71610 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71611 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71613 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71615 for ac_func in _finitel
71617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71618 echo "$as_me:$LINENO: checking for $ac_func" >&5
71619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71620 if eval "test \"\${$as_ac_var+set}\" = set"; then
71621 echo $ECHO_N "(cached) $ECHO_C" >&6
71622 else
71623 if test x$gcc_no_link = xyes; then
71624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71626 { (exit 1); exit 1; }; }
71628 cat >conftest.$ac_ext <<_ACEOF
71629 /* confdefs.h. */
71630 _ACEOF
71631 cat confdefs.h >>conftest.$ac_ext
71632 cat >>conftest.$ac_ext <<_ACEOF
71633 /* end confdefs.h. */
71634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71636 #define $ac_func innocuous_$ac_func
71638 /* System header to define __stub macros and hopefully few prototypes,
71639 which can conflict with char $ac_func (); below.
71640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71641 <limits.h> exists even on freestanding compilers. */
71643 #ifdef __STDC__
71644 # include <limits.h>
71645 #else
71646 # include <assert.h>
71647 #endif
71649 #undef $ac_func
71651 /* Override any gcc2 internal prototype to avoid an error. */
71652 #ifdef __cplusplus
71653 extern "C"
71655 #endif
71656 /* We use char because int might match the return type of a gcc2
71657 builtin and then its argument prototype would still apply. */
71658 char $ac_func ();
71659 /* The GNU C library defines this for functions which it implements
71660 to always fail with ENOSYS. Some functions are actually named
71661 something starting with __ and the normal name is an alias. */
71662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71663 choke me
71664 #else
71665 char (*f) () = $ac_func;
71666 #endif
71667 #ifdef __cplusplus
71669 #endif
71672 main ()
71674 return f != $ac_func;
71676 return 0;
71678 _ACEOF
71679 rm -f conftest.$ac_objext conftest$ac_exeext
71680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71681 (eval $ac_link) 2>conftest.er1
71682 ac_status=$?
71683 grep -v '^ *+' conftest.er1 >conftest.err
71684 rm -f conftest.er1
71685 cat conftest.err >&5
71686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71687 (exit $ac_status); } &&
71688 { ac_try='test -z "$ac_c_werror_flag"
71689 || test ! -s conftest.err'
71690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71691 (eval $ac_try) 2>&5
71692 ac_status=$?
71693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71694 (exit $ac_status); }; } &&
71695 { ac_try='test -s conftest$ac_exeext'
71696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71697 (eval $ac_try) 2>&5
71698 ac_status=$?
71699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71700 (exit $ac_status); }; }; then
71701 eval "$as_ac_var=yes"
71702 else
71703 echo "$as_me: failed program was:" >&5
71704 sed 's/^/| /' conftest.$ac_ext >&5
71706 eval "$as_ac_var=no"
71708 rm -f conftest.err conftest.$ac_objext \
71709 conftest$ac_exeext conftest.$ac_ext
71711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71713 if test `eval echo '${'$as_ac_var'}'` = yes; then
71714 cat >>confdefs.h <<_ACEOF
71715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71716 _ACEOF
71719 done
71728 LIBS="$ac_save_LIBS"
71729 CXXFLAGS="$ac_save_CXXFLAGS"
71733 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71734 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71735 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71736 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71737 echo $ECHO_N "(cached) $ECHO_C" >&6
71738 else
71742 ac_ext=cc
71743 ac_cpp='$CXXCPP $CPPFLAGS'
71744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71748 cat >conftest.$ac_ext <<_ACEOF
71749 /* confdefs.h. */
71750 _ACEOF
71751 cat confdefs.h >>conftest.$ac_ext
71752 cat >>conftest.$ac_ext <<_ACEOF
71753 /* end confdefs.h. */
71754 #include <math.h>
71756 main ()
71758 __builtin_abs(0);
71760 return 0;
71762 _ACEOF
71763 rm -f conftest.$ac_objext
71764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71765 (eval $ac_compile) 2>conftest.er1
71766 ac_status=$?
71767 grep -v '^ *+' conftest.er1 >conftest.err
71768 rm -f conftest.er1
71769 cat conftest.err >&5
71770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771 (exit $ac_status); } &&
71772 { ac_try='test -z "$ac_cxx_werror_flag"
71773 || test ! -s conftest.err'
71774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71775 (eval $ac_try) 2>&5
71776 ac_status=$?
71777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71778 (exit $ac_status); }; } &&
71779 { ac_try='test -s conftest.$ac_objext'
71780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71781 (eval $ac_try) 2>&5
71782 ac_status=$?
71783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71784 (exit $ac_status); }; }; then
71785 glibcxx_cv_func___builtin_abs_use=yes
71786 else
71787 echo "$as_me: failed program was:" >&5
71788 sed 's/^/| /' conftest.$ac_ext >&5
71790 glibcxx_cv_func___builtin_abs_use=no
71792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71793 ac_ext=c
71794 ac_cpp='$CPP $CPPFLAGS'
71795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71804 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71805 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71806 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71807 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71808 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71809 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71810 echo $ECHO_N "(cached) $ECHO_C" >&6
71811 else
71813 if test x$gcc_no_link = xyes; then
71814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71816 { (exit 1); exit 1; }; }
71818 cat >conftest.$ac_ext <<_ACEOF
71819 /* confdefs.h. */
71820 _ACEOF
71821 cat confdefs.h >>conftest.$ac_ext
71822 cat >>conftest.$ac_ext <<_ACEOF
71823 /* end confdefs.h. */
71824 #include <math.h>
71826 main ()
71828 __builtin_abs(0);
71830 return 0;
71832 _ACEOF
71833 rm -f conftest.$ac_objext conftest$ac_exeext
71834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71835 (eval $ac_link) 2>conftest.er1
71836 ac_status=$?
71837 grep -v '^ *+' conftest.er1 >conftest.err
71838 rm -f conftest.er1
71839 cat conftest.err >&5
71840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841 (exit $ac_status); } &&
71842 { ac_try='test -z "$ac_c_werror_flag"
71843 || test ! -s conftest.err'
71844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71845 (eval $ac_try) 2>&5
71846 ac_status=$?
71847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71848 (exit $ac_status); }; } &&
71849 { ac_try='test -s conftest$ac_exeext'
71850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71851 (eval $ac_try) 2>&5
71852 ac_status=$?
71853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71854 (exit $ac_status); }; }; then
71855 glibcxx_cv_func___builtin_abs_link=yes
71856 else
71857 echo "$as_me: failed program was:" >&5
71858 sed 's/^/| /' conftest.$ac_ext >&5
71860 glibcxx_cv_func___builtin_abs_link=no
71862 rm -f conftest.err conftest.$ac_objext \
71863 conftest$ac_exeext conftest.$ac_ext
71868 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71869 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71871 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71873 cat >>confdefs.h <<\_ACEOF
71874 #define HAVE___BUILTIN_ABS 1
71875 _ACEOF
71882 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71883 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71884 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71885 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71886 echo $ECHO_N "(cached) $ECHO_C" >&6
71887 else
71891 ac_ext=cc
71892 ac_cpp='$CXXCPP $CPPFLAGS'
71893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71897 cat >conftest.$ac_ext <<_ACEOF
71898 /* confdefs.h. */
71899 _ACEOF
71900 cat confdefs.h >>conftest.$ac_ext
71901 cat >>conftest.$ac_ext <<_ACEOF
71902 /* end confdefs.h. */
71903 #include <math.h>
71905 main ()
71907 __builtin_fabsf(0);
71909 return 0;
71911 _ACEOF
71912 rm -f conftest.$ac_objext
71913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71914 (eval $ac_compile) 2>conftest.er1
71915 ac_status=$?
71916 grep -v '^ *+' conftest.er1 >conftest.err
71917 rm -f conftest.er1
71918 cat conftest.err >&5
71919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71920 (exit $ac_status); } &&
71921 { ac_try='test -z "$ac_cxx_werror_flag"
71922 || test ! -s conftest.err'
71923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71924 (eval $ac_try) 2>&5
71925 ac_status=$?
71926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71927 (exit $ac_status); }; } &&
71928 { ac_try='test -s conftest.$ac_objext'
71929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71930 (eval $ac_try) 2>&5
71931 ac_status=$?
71932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71933 (exit $ac_status); }; }; then
71934 glibcxx_cv_func___builtin_fabsf_use=yes
71935 else
71936 echo "$as_me: failed program was:" >&5
71937 sed 's/^/| /' conftest.$ac_ext >&5
71939 glibcxx_cv_func___builtin_fabsf_use=no
71941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71942 ac_ext=c
71943 ac_cpp='$CPP $CPPFLAGS'
71944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71953 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71954 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71955 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71956 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71957 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71958 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71959 echo $ECHO_N "(cached) $ECHO_C" >&6
71960 else
71962 if test x$gcc_no_link = xyes; then
71963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71965 { (exit 1); exit 1; }; }
71967 cat >conftest.$ac_ext <<_ACEOF
71968 /* confdefs.h. */
71969 _ACEOF
71970 cat confdefs.h >>conftest.$ac_ext
71971 cat >>conftest.$ac_ext <<_ACEOF
71972 /* end confdefs.h. */
71973 #include <math.h>
71975 main ()
71977 __builtin_fabsf(0);
71979 return 0;
71981 _ACEOF
71982 rm -f conftest.$ac_objext conftest$ac_exeext
71983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71984 (eval $ac_link) 2>conftest.er1
71985 ac_status=$?
71986 grep -v '^ *+' conftest.er1 >conftest.err
71987 rm -f conftest.er1
71988 cat conftest.err >&5
71989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71990 (exit $ac_status); } &&
71991 { ac_try='test -z "$ac_c_werror_flag"
71992 || test ! -s conftest.err'
71993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71994 (eval $ac_try) 2>&5
71995 ac_status=$?
71996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71997 (exit $ac_status); }; } &&
71998 { ac_try='test -s conftest$ac_exeext'
71999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72000 (eval $ac_try) 2>&5
72001 ac_status=$?
72002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72003 (exit $ac_status); }; }; then
72004 glibcxx_cv_func___builtin_fabsf_link=yes
72005 else
72006 echo "$as_me: failed program was:" >&5
72007 sed 's/^/| /' conftest.$ac_ext >&5
72009 glibcxx_cv_func___builtin_fabsf_link=no
72011 rm -f conftest.err conftest.$ac_objext \
72012 conftest$ac_exeext conftest.$ac_ext
72017 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72018 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72020 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72022 cat >>confdefs.h <<\_ACEOF
72023 #define HAVE___BUILTIN_FABSF 1
72024 _ACEOF
72031 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72032 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72033 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72034 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72035 echo $ECHO_N "(cached) $ECHO_C" >&6
72036 else
72040 ac_ext=cc
72041 ac_cpp='$CXXCPP $CPPFLAGS'
72042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72046 cat >conftest.$ac_ext <<_ACEOF
72047 /* confdefs.h. */
72048 _ACEOF
72049 cat confdefs.h >>conftest.$ac_ext
72050 cat >>conftest.$ac_ext <<_ACEOF
72051 /* end confdefs.h. */
72052 #include <math.h>
72054 main ()
72056 __builtin_fabs(0);
72058 return 0;
72060 _ACEOF
72061 rm -f conftest.$ac_objext
72062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72063 (eval $ac_compile) 2>conftest.er1
72064 ac_status=$?
72065 grep -v '^ *+' conftest.er1 >conftest.err
72066 rm -f conftest.er1
72067 cat conftest.err >&5
72068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72069 (exit $ac_status); } &&
72070 { ac_try='test -z "$ac_cxx_werror_flag"
72071 || test ! -s conftest.err'
72072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72073 (eval $ac_try) 2>&5
72074 ac_status=$?
72075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72076 (exit $ac_status); }; } &&
72077 { ac_try='test -s conftest.$ac_objext'
72078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72079 (eval $ac_try) 2>&5
72080 ac_status=$?
72081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72082 (exit $ac_status); }; }; then
72083 glibcxx_cv_func___builtin_fabs_use=yes
72084 else
72085 echo "$as_me: failed program was:" >&5
72086 sed 's/^/| /' conftest.$ac_ext >&5
72088 glibcxx_cv_func___builtin_fabs_use=no
72090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72091 ac_ext=c
72092 ac_cpp='$CPP $CPPFLAGS'
72093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72102 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72103 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72104 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72105 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72106 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72107 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72108 echo $ECHO_N "(cached) $ECHO_C" >&6
72109 else
72111 if test x$gcc_no_link = xyes; then
72112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72114 { (exit 1); exit 1; }; }
72116 cat >conftest.$ac_ext <<_ACEOF
72117 /* confdefs.h. */
72118 _ACEOF
72119 cat confdefs.h >>conftest.$ac_ext
72120 cat >>conftest.$ac_ext <<_ACEOF
72121 /* end confdefs.h. */
72122 #include <math.h>
72124 main ()
72126 __builtin_fabs(0);
72128 return 0;
72130 _ACEOF
72131 rm -f conftest.$ac_objext conftest$ac_exeext
72132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72133 (eval $ac_link) 2>conftest.er1
72134 ac_status=$?
72135 grep -v '^ *+' conftest.er1 >conftest.err
72136 rm -f conftest.er1
72137 cat conftest.err >&5
72138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72139 (exit $ac_status); } &&
72140 { ac_try='test -z "$ac_c_werror_flag"
72141 || test ! -s conftest.err'
72142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72143 (eval $ac_try) 2>&5
72144 ac_status=$?
72145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72146 (exit $ac_status); }; } &&
72147 { ac_try='test -s conftest$ac_exeext'
72148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72149 (eval $ac_try) 2>&5
72150 ac_status=$?
72151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72152 (exit $ac_status); }; }; then
72153 glibcxx_cv_func___builtin_fabs_link=yes
72154 else
72155 echo "$as_me: failed program was:" >&5
72156 sed 's/^/| /' conftest.$ac_ext >&5
72158 glibcxx_cv_func___builtin_fabs_link=no
72160 rm -f conftest.err conftest.$ac_objext \
72161 conftest$ac_exeext conftest.$ac_ext
72166 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72167 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72169 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72171 cat >>confdefs.h <<\_ACEOF
72172 #define HAVE___BUILTIN_FABS 1
72173 _ACEOF
72180 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72181 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72182 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72183 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72184 echo $ECHO_N "(cached) $ECHO_C" >&6
72185 else
72189 ac_ext=cc
72190 ac_cpp='$CXXCPP $CPPFLAGS'
72191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72195 cat >conftest.$ac_ext <<_ACEOF
72196 /* confdefs.h. */
72197 _ACEOF
72198 cat confdefs.h >>conftest.$ac_ext
72199 cat >>conftest.$ac_ext <<_ACEOF
72200 /* end confdefs.h. */
72201 #include <math.h>
72203 main ()
72205 __builtin_fabsl(0);
72207 return 0;
72209 _ACEOF
72210 rm -f conftest.$ac_objext
72211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72212 (eval $ac_compile) 2>conftest.er1
72213 ac_status=$?
72214 grep -v '^ *+' conftest.er1 >conftest.err
72215 rm -f conftest.er1
72216 cat conftest.err >&5
72217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72218 (exit $ac_status); } &&
72219 { ac_try='test -z "$ac_cxx_werror_flag"
72220 || test ! -s conftest.err'
72221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72222 (eval $ac_try) 2>&5
72223 ac_status=$?
72224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72225 (exit $ac_status); }; } &&
72226 { ac_try='test -s conftest.$ac_objext'
72227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72228 (eval $ac_try) 2>&5
72229 ac_status=$?
72230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72231 (exit $ac_status); }; }; then
72232 glibcxx_cv_func___builtin_fabsl_use=yes
72233 else
72234 echo "$as_me: failed program was:" >&5
72235 sed 's/^/| /' conftest.$ac_ext >&5
72237 glibcxx_cv_func___builtin_fabsl_use=no
72239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72240 ac_ext=c
72241 ac_cpp='$CPP $CPPFLAGS'
72242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72250 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72251 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72252 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72253 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72254 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72255 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72256 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72257 echo $ECHO_N "(cached) $ECHO_C" >&6
72258 else
72260 if test x$gcc_no_link = xyes; then
72261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72263 { (exit 1); exit 1; }; }
72265 cat >conftest.$ac_ext <<_ACEOF
72266 /* confdefs.h. */
72267 _ACEOF
72268 cat confdefs.h >>conftest.$ac_ext
72269 cat >>conftest.$ac_ext <<_ACEOF
72270 /* end confdefs.h. */
72271 #include <math.h>
72273 main ()
72275 __builtin_fabsl(0);
72277 return 0;
72279 _ACEOF
72280 rm -f conftest.$ac_objext conftest$ac_exeext
72281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72282 (eval $ac_link) 2>conftest.er1
72283 ac_status=$?
72284 grep -v '^ *+' conftest.er1 >conftest.err
72285 rm -f conftest.er1
72286 cat conftest.err >&5
72287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72288 (exit $ac_status); } &&
72289 { ac_try='test -z "$ac_c_werror_flag"
72290 || test ! -s conftest.err'
72291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72292 (eval $ac_try) 2>&5
72293 ac_status=$?
72294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72295 (exit $ac_status); }; } &&
72296 { ac_try='test -s conftest$ac_exeext'
72297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72298 (eval $ac_try) 2>&5
72299 ac_status=$?
72300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72301 (exit $ac_status); }; }; then
72302 glibcxx_cv_func___builtin_fabsl_link=yes
72303 else
72304 echo "$as_me: failed program was:" >&5
72305 sed 's/^/| /' conftest.$ac_ext >&5
72307 glibcxx_cv_func___builtin_fabsl_link=no
72309 rm -f conftest.err conftest.$ac_objext \
72310 conftest$ac_exeext conftest.$ac_ext
72315 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72316 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72318 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72320 cat >>confdefs.h <<\_ACEOF
72321 #define HAVE___BUILTIN_FABSL 1
72322 _ACEOF
72329 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72330 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72331 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72332 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72333 echo $ECHO_N "(cached) $ECHO_C" >&6
72334 else
72338 ac_ext=cc
72339 ac_cpp='$CXXCPP $CPPFLAGS'
72340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72344 cat >conftest.$ac_ext <<_ACEOF
72345 /* confdefs.h. */
72346 _ACEOF
72347 cat confdefs.h >>conftest.$ac_ext
72348 cat >>conftest.$ac_ext <<_ACEOF
72349 /* end confdefs.h. */
72350 #include <math.h>
72352 main ()
72354 __builtin_labs(0);
72356 return 0;
72358 _ACEOF
72359 rm -f conftest.$ac_objext
72360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72361 (eval $ac_compile) 2>conftest.er1
72362 ac_status=$?
72363 grep -v '^ *+' conftest.er1 >conftest.err
72364 rm -f conftest.er1
72365 cat conftest.err >&5
72366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72367 (exit $ac_status); } &&
72368 { ac_try='test -z "$ac_cxx_werror_flag"
72369 || test ! -s conftest.err'
72370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72371 (eval $ac_try) 2>&5
72372 ac_status=$?
72373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374 (exit $ac_status); }; } &&
72375 { ac_try='test -s conftest.$ac_objext'
72376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72377 (eval $ac_try) 2>&5
72378 ac_status=$?
72379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380 (exit $ac_status); }; }; then
72381 glibcxx_cv_func___builtin_labs_use=yes
72382 else
72383 echo "$as_me: failed program was:" >&5
72384 sed 's/^/| /' conftest.$ac_ext >&5
72386 glibcxx_cv_func___builtin_labs_use=no
72388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72389 ac_ext=c
72390 ac_cpp='$CPP $CPPFLAGS'
72391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72400 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72401 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72402 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72403 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72404 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72405 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72406 echo $ECHO_N "(cached) $ECHO_C" >&6
72407 else
72409 if test x$gcc_no_link = xyes; then
72410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72412 { (exit 1); exit 1; }; }
72414 cat >conftest.$ac_ext <<_ACEOF
72415 /* confdefs.h. */
72416 _ACEOF
72417 cat confdefs.h >>conftest.$ac_ext
72418 cat >>conftest.$ac_ext <<_ACEOF
72419 /* end confdefs.h. */
72420 #include <math.h>
72422 main ()
72424 __builtin_labs(0);
72426 return 0;
72428 _ACEOF
72429 rm -f conftest.$ac_objext conftest$ac_exeext
72430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72431 (eval $ac_link) 2>conftest.er1
72432 ac_status=$?
72433 grep -v '^ *+' conftest.er1 >conftest.err
72434 rm -f conftest.er1
72435 cat conftest.err >&5
72436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72437 (exit $ac_status); } &&
72438 { ac_try='test -z "$ac_c_werror_flag"
72439 || test ! -s conftest.err'
72440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72441 (eval $ac_try) 2>&5
72442 ac_status=$?
72443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72444 (exit $ac_status); }; } &&
72445 { ac_try='test -s conftest$ac_exeext'
72446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72447 (eval $ac_try) 2>&5
72448 ac_status=$?
72449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72450 (exit $ac_status); }; }; then
72451 glibcxx_cv_func___builtin_labs_link=yes
72452 else
72453 echo "$as_me: failed program was:" >&5
72454 sed 's/^/| /' conftest.$ac_ext >&5
72456 glibcxx_cv_func___builtin_labs_link=no
72458 rm -f conftest.err conftest.$ac_objext \
72459 conftest$ac_exeext conftest.$ac_ext
72464 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72465 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72467 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72469 cat >>confdefs.h <<\_ACEOF
72470 #define HAVE___BUILTIN_LABS 1
72471 _ACEOF
72479 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72480 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72481 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72482 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72483 echo $ECHO_N "(cached) $ECHO_C" >&6
72484 else
72488 ac_ext=cc
72489 ac_cpp='$CXXCPP $CPPFLAGS'
72490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72494 cat >conftest.$ac_ext <<_ACEOF
72495 /* confdefs.h. */
72496 _ACEOF
72497 cat confdefs.h >>conftest.$ac_ext
72498 cat >>conftest.$ac_ext <<_ACEOF
72499 /* end confdefs.h. */
72500 #include <math.h>
72502 main ()
72504 __builtin_sqrtf(0);
72506 return 0;
72508 _ACEOF
72509 rm -f conftest.$ac_objext
72510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72511 (eval $ac_compile) 2>conftest.er1
72512 ac_status=$?
72513 grep -v '^ *+' conftest.er1 >conftest.err
72514 rm -f conftest.er1
72515 cat conftest.err >&5
72516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72517 (exit $ac_status); } &&
72518 { ac_try='test -z "$ac_cxx_werror_flag"
72519 || test ! -s conftest.err'
72520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72521 (eval $ac_try) 2>&5
72522 ac_status=$?
72523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72524 (exit $ac_status); }; } &&
72525 { ac_try='test -s conftest.$ac_objext'
72526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72527 (eval $ac_try) 2>&5
72528 ac_status=$?
72529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72530 (exit $ac_status); }; }; then
72531 glibcxx_cv_func___builtin_sqrtf_use=yes
72532 else
72533 echo "$as_me: failed program was:" >&5
72534 sed 's/^/| /' conftest.$ac_ext >&5
72536 glibcxx_cv_func___builtin_sqrtf_use=no
72538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72539 ac_ext=c
72540 ac_cpp='$CPP $CPPFLAGS'
72541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72550 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72551 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72552 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72553 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72554 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72555 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72556 echo $ECHO_N "(cached) $ECHO_C" >&6
72557 else
72559 if test x$gcc_no_link = xyes; then
72560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72562 { (exit 1); exit 1; }; }
72564 cat >conftest.$ac_ext <<_ACEOF
72565 /* confdefs.h. */
72566 _ACEOF
72567 cat confdefs.h >>conftest.$ac_ext
72568 cat >>conftest.$ac_ext <<_ACEOF
72569 /* end confdefs.h. */
72570 #include <math.h>
72572 main ()
72574 __builtin_sqrtf(0);
72576 return 0;
72578 _ACEOF
72579 rm -f conftest.$ac_objext conftest$ac_exeext
72580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72581 (eval $ac_link) 2>conftest.er1
72582 ac_status=$?
72583 grep -v '^ *+' conftest.er1 >conftest.err
72584 rm -f conftest.er1
72585 cat conftest.err >&5
72586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72587 (exit $ac_status); } &&
72588 { ac_try='test -z "$ac_c_werror_flag"
72589 || test ! -s conftest.err'
72590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72591 (eval $ac_try) 2>&5
72592 ac_status=$?
72593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72594 (exit $ac_status); }; } &&
72595 { ac_try='test -s conftest$ac_exeext'
72596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72597 (eval $ac_try) 2>&5
72598 ac_status=$?
72599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72600 (exit $ac_status); }; }; then
72601 glibcxx_cv_func___builtin_sqrtf_link=yes
72602 else
72603 echo "$as_me: failed program was:" >&5
72604 sed 's/^/| /' conftest.$ac_ext >&5
72606 glibcxx_cv_func___builtin_sqrtf_link=no
72608 rm -f conftest.err conftest.$ac_objext \
72609 conftest$ac_exeext conftest.$ac_ext
72614 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72615 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72617 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72619 cat >>confdefs.h <<\_ACEOF
72620 #define HAVE___BUILTIN_SQRTF 1
72621 _ACEOF
72628 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72629 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72630 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72631 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72632 echo $ECHO_N "(cached) $ECHO_C" >&6
72633 else
72637 ac_ext=cc
72638 ac_cpp='$CXXCPP $CPPFLAGS'
72639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72643 cat >conftest.$ac_ext <<_ACEOF
72644 /* confdefs.h. */
72645 _ACEOF
72646 cat confdefs.h >>conftest.$ac_ext
72647 cat >>conftest.$ac_ext <<_ACEOF
72648 /* end confdefs.h. */
72649 #include <math.h>
72651 main ()
72653 __builtin_sqrt(0);
72655 return 0;
72657 _ACEOF
72658 rm -f conftest.$ac_objext
72659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72660 (eval $ac_compile) 2>conftest.er1
72661 ac_status=$?
72662 grep -v '^ *+' conftest.er1 >conftest.err
72663 rm -f conftest.er1
72664 cat conftest.err >&5
72665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72666 (exit $ac_status); } &&
72667 { ac_try='test -z "$ac_cxx_werror_flag"
72668 || test ! -s conftest.err'
72669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72670 (eval $ac_try) 2>&5
72671 ac_status=$?
72672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72673 (exit $ac_status); }; } &&
72674 { ac_try='test -s conftest.$ac_objext'
72675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72676 (eval $ac_try) 2>&5
72677 ac_status=$?
72678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72679 (exit $ac_status); }; }; then
72680 glibcxx_cv_func___builtin_sqrt_use=yes
72681 else
72682 echo "$as_me: failed program was:" >&5
72683 sed 's/^/| /' conftest.$ac_ext >&5
72685 glibcxx_cv_func___builtin_sqrt_use=no
72687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72688 ac_ext=c
72689 ac_cpp='$CPP $CPPFLAGS'
72690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72698 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72699 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72700 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72701 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72702 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72703 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72704 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72705 echo $ECHO_N "(cached) $ECHO_C" >&6
72706 else
72708 if test x$gcc_no_link = xyes; then
72709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72711 { (exit 1); exit 1; }; }
72713 cat >conftest.$ac_ext <<_ACEOF
72714 /* confdefs.h. */
72715 _ACEOF
72716 cat confdefs.h >>conftest.$ac_ext
72717 cat >>conftest.$ac_ext <<_ACEOF
72718 /* end confdefs.h. */
72719 #include <math.h>
72721 main ()
72723 __builtin_sqrt(0);
72725 return 0;
72727 _ACEOF
72728 rm -f conftest.$ac_objext conftest$ac_exeext
72729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72730 (eval $ac_link) 2>conftest.er1
72731 ac_status=$?
72732 grep -v '^ *+' conftest.er1 >conftest.err
72733 rm -f conftest.er1
72734 cat conftest.err >&5
72735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72736 (exit $ac_status); } &&
72737 { ac_try='test -z "$ac_c_werror_flag"
72738 || test ! -s conftest.err'
72739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72740 (eval $ac_try) 2>&5
72741 ac_status=$?
72742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72743 (exit $ac_status); }; } &&
72744 { ac_try='test -s conftest$ac_exeext'
72745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72746 (eval $ac_try) 2>&5
72747 ac_status=$?
72748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72749 (exit $ac_status); }; }; then
72750 glibcxx_cv_func___builtin_sqrt_link=yes
72751 else
72752 echo "$as_me: failed program was:" >&5
72753 sed 's/^/| /' conftest.$ac_ext >&5
72755 glibcxx_cv_func___builtin_sqrt_link=no
72757 rm -f conftest.err conftest.$ac_objext \
72758 conftest$ac_exeext conftest.$ac_ext
72763 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72764 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72766 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72768 cat >>confdefs.h <<\_ACEOF
72769 #define HAVE___BUILTIN_SQRT 1
72770 _ACEOF
72777 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72778 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72779 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72780 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72781 echo $ECHO_N "(cached) $ECHO_C" >&6
72782 else
72786 ac_ext=cc
72787 ac_cpp='$CXXCPP $CPPFLAGS'
72788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72792 cat >conftest.$ac_ext <<_ACEOF
72793 /* confdefs.h. */
72794 _ACEOF
72795 cat confdefs.h >>conftest.$ac_ext
72796 cat >>conftest.$ac_ext <<_ACEOF
72797 /* end confdefs.h. */
72798 #include <math.h>
72800 main ()
72802 __builtin_sqrtl(0);
72804 return 0;
72806 _ACEOF
72807 rm -f conftest.$ac_objext
72808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72809 (eval $ac_compile) 2>conftest.er1
72810 ac_status=$?
72811 grep -v '^ *+' conftest.er1 >conftest.err
72812 rm -f conftest.er1
72813 cat conftest.err >&5
72814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72815 (exit $ac_status); } &&
72816 { ac_try='test -z "$ac_cxx_werror_flag"
72817 || test ! -s conftest.err'
72818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72819 (eval $ac_try) 2>&5
72820 ac_status=$?
72821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72822 (exit $ac_status); }; } &&
72823 { ac_try='test -s conftest.$ac_objext'
72824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72825 (eval $ac_try) 2>&5
72826 ac_status=$?
72827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72828 (exit $ac_status); }; }; then
72829 glibcxx_cv_func___builtin_sqrtl_use=yes
72830 else
72831 echo "$as_me: failed program was:" >&5
72832 sed 's/^/| /' conftest.$ac_ext >&5
72834 glibcxx_cv_func___builtin_sqrtl_use=no
72836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72837 ac_ext=c
72838 ac_cpp='$CPP $CPPFLAGS'
72839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72849 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72850 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72851 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72852 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72853 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72854 echo $ECHO_N "(cached) $ECHO_C" >&6
72855 else
72857 if test x$gcc_no_link = xyes; then
72858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72860 { (exit 1); exit 1; }; }
72862 cat >conftest.$ac_ext <<_ACEOF
72863 /* confdefs.h. */
72864 _ACEOF
72865 cat confdefs.h >>conftest.$ac_ext
72866 cat >>conftest.$ac_ext <<_ACEOF
72867 /* end confdefs.h. */
72868 #include <math.h>
72870 main ()
72872 __builtin_sqrtl(0);
72874 return 0;
72876 _ACEOF
72877 rm -f conftest.$ac_objext conftest$ac_exeext
72878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72879 (eval $ac_link) 2>conftest.er1
72880 ac_status=$?
72881 grep -v '^ *+' conftest.er1 >conftest.err
72882 rm -f conftest.er1
72883 cat conftest.err >&5
72884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72885 (exit $ac_status); } &&
72886 { ac_try='test -z "$ac_c_werror_flag"
72887 || test ! -s conftest.err'
72888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72889 (eval $ac_try) 2>&5
72890 ac_status=$?
72891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72892 (exit $ac_status); }; } &&
72893 { ac_try='test -s conftest$ac_exeext'
72894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72895 (eval $ac_try) 2>&5
72896 ac_status=$?
72897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72898 (exit $ac_status); }; }; then
72899 glibcxx_cv_func___builtin_sqrtl_link=yes
72900 else
72901 echo "$as_me: failed program was:" >&5
72902 sed 's/^/| /' conftest.$ac_ext >&5
72904 glibcxx_cv_func___builtin_sqrtl_link=no
72906 rm -f conftest.err conftest.$ac_objext \
72907 conftest$ac_exeext conftest.$ac_ext
72912 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72913 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72915 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72917 cat >>confdefs.h <<\_ACEOF
72918 #define HAVE___BUILTIN_SQRTL 1
72919 _ACEOF
72927 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72928 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72929 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72930 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72931 echo $ECHO_N "(cached) $ECHO_C" >&6
72932 else
72936 ac_ext=cc
72937 ac_cpp='$CXXCPP $CPPFLAGS'
72938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72942 cat >conftest.$ac_ext <<_ACEOF
72943 /* confdefs.h. */
72944 _ACEOF
72945 cat confdefs.h >>conftest.$ac_ext
72946 cat >>conftest.$ac_ext <<_ACEOF
72947 /* end confdefs.h. */
72948 #include <math.h>
72950 main ()
72952 __builtin_sinf(0);
72954 return 0;
72956 _ACEOF
72957 rm -f conftest.$ac_objext
72958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72959 (eval $ac_compile) 2>conftest.er1
72960 ac_status=$?
72961 grep -v '^ *+' conftest.er1 >conftest.err
72962 rm -f conftest.er1
72963 cat conftest.err >&5
72964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72965 (exit $ac_status); } &&
72966 { ac_try='test -z "$ac_cxx_werror_flag"
72967 || test ! -s conftest.err'
72968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72969 (eval $ac_try) 2>&5
72970 ac_status=$?
72971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72972 (exit $ac_status); }; } &&
72973 { ac_try='test -s conftest.$ac_objext'
72974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72975 (eval $ac_try) 2>&5
72976 ac_status=$?
72977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72978 (exit $ac_status); }; }; then
72979 glibcxx_cv_func___builtin_sinf_use=yes
72980 else
72981 echo "$as_me: failed program was:" >&5
72982 sed 's/^/| /' conftest.$ac_ext >&5
72984 glibcxx_cv_func___builtin_sinf_use=no
72986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72987 ac_ext=c
72988 ac_cpp='$CPP $CPPFLAGS'
72989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72997 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
72998 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
72999 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73000 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73001 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73002 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73003 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73004 echo $ECHO_N "(cached) $ECHO_C" >&6
73005 else
73007 if test x$gcc_no_link = xyes; then
73008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73010 { (exit 1); exit 1; }; }
73012 cat >conftest.$ac_ext <<_ACEOF
73013 /* confdefs.h. */
73014 _ACEOF
73015 cat confdefs.h >>conftest.$ac_ext
73016 cat >>conftest.$ac_ext <<_ACEOF
73017 /* end confdefs.h. */
73018 #include <math.h>
73020 main ()
73022 __builtin_sinf(0);
73024 return 0;
73026 _ACEOF
73027 rm -f conftest.$ac_objext conftest$ac_exeext
73028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73029 (eval $ac_link) 2>conftest.er1
73030 ac_status=$?
73031 grep -v '^ *+' conftest.er1 >conftest.err
73032 rm -f conftest.er1
73033 cat conftest.err >&5
73034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73035 (exit $ac_status); } &&
73036 { ac_try='test -z "$ac_c_werror_flag"
73037 || test ! -s conftest.err'
73038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73039 (eval $ac_try) 2>&5
73040 ac_status=$?
73041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73042 (exit $ac_status); }; } &&
73043 { ac_try='test -s conftest$ac_exeext'
73044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73045 (eval $ac_try) 2>&5
73046 ac_status=$?
73047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73048 (exit $ac_status); }; }; then
73049 glibcxx_cv_func___builtin_sinf_link=yes
73050 else
73051 echo "$as_me: failed program was:" >&5
73052 sed 's/^/| /' conftest.$ac_ext >&5
73054 glibcxx_cv_func___builtin_sinf_link=no
73056 rm -f conftest.err conftest.$ac_objext \
73057 conftest$ac_exeext conftest.$ac_ext
73062 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73063 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73065 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73067 cat >>confdefs.h <<\_ACEOF
73068 #define HAVE___BUILTIN_SINF 1
73069 _ACEOF
73076 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73077 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73078 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73079 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73080 echo $ECHO_N "(cached) $ECHO_C" >&6
73081 else
73085 ac_ext=cc
73086 ac_cpp='$CXXCPP $CPPFLAGS'
73087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73091 cat >conftest.$ac_ext <<_ACEOF
73092 /* confdefs.h. */
73093 _ACEOF
73094 cat confdefs.h >>conftest.$ac_ext
73095 cat >>conftest.$ac_ext <<_ACEOF
73096 /* end confdefs.h. */
73097 #include <math.h>
73099 main ()
73101 __builtin_sin(0);
73103 return 0;
73105 _ACEOF
73106 rm -f conftest.$ac_objext
73107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73108 (eval $ac_compile) 2>conftest.er1
73109 ac_status=$?
73110 grep -v '^ *+' conftest.er1 >conftest.err
73111 rm -f conftest.er1
73112 cat conftest.err >&5
73113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73114 (exit $ac_status); } &&
73115 { ac_try='test -z "$ac_cxx_werror_flag"
73116 || test ! -s conftest.err'
73117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73118 (eval $ac_try) 2>&5
73119 ac_status=$?
73120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73121 (exit $ac_status); }; } &&
73122 { ac_try='test -s conftest.$ac_objext'
73123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73124 (eval $ac_try) 2>&5
73125 ac_status=$?
73126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73127 (exit $ac_status); }; }; then
73128 glibcxx_cv_func___builtin_sin_use=yes
73129 else
73130 echo "$as_me: failed program was:" >&5
73131 sed 's/^/| /' conftest.$ac_ext >&5
73133 glibcxx_cv_func___builtin_sin_use=no
73135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73136 ac_ext=c
73137 ac_cpp='$CPP $CPPFLAGS'
73138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73146 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73147 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73148 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73149 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73150 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73151 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73152 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73153 echo $ECHO_N "(cached) $ECHO_C" >&6
73154 else
73156 if test x$gcc_no_link = xyes; then
73157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73159 { (exit 1); exit 1; }; }
73161 cat >conftest.$ac_ext <<_ACEOF
73162 /* confdefs.h. */
73163 _ACEOF
73164 cat confdefs.h >>conftest.$ac_ext
73165 cat >>conftest.$ac_ext <<_ACEOF
73166 /* end confdefs.h. */
73167 #include <math.h>
73169 main ()
73171 __builtin_sin(0);
73173 return 0;
73175 _ACEOF
73176 rm -f conftest.$ac_objext conftest$ac_exeext
73177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73178 (eval $ac_link) 2>conftest.er1
73179 ac_status=$?
73180 grep -v '^ *+' conftest.er1 >conftest.err
73181 rm -f conftest.er1
73182 cat conftest.err >&5
73183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73184 (exit $ac_status); } &&
73185 { ac_try='test -z "$ac_c_werror_flag"
73186 || test ! -s conftest.err'
73187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73188 (eval $ac_try) 2>&5
73189 ac_status=$?
73190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73191 (exit $ac_status); }; } &&
73192 { ac_try='test -s conftest$ac_exeext'
73193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73194 (eval $ac_try) 2>&5
73195 ac_status=$?
73196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73197 (exit $ac_status); }; }; then
73198 glibcxx_cv_func___builtin_sin_link=yes
73199 else
73200 echo "$as_me: failed program was:" >&5
73201 sed 's/^/| /' conftest.$ac_ext >&5
73203 glibcxx_cv_func___builtin_sin_link=no
73205 rm -f conftest.err conftest.$ac_objext \
73206 conftest$ac_exeext conftest.$ac_ext
73211 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73212 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73214 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73216 cat >>confdefs.h <<\_ACEOF
73217 #define HAVE___BUILTIN_SIN 1
73218 _ACEOF
73225 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73226 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73227 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73228 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73229 echo $ECHO_N "(cached) $ECHO_C" >&6
73230 else
73234 ac_ext=cc
73235 ac_cpp='$CXXCPP $CPPFLAGS'
73236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73240 cat >conftest.$ac_ext <<_ACEOF
73241 /* confdefs.h. */
73242 _ACEOF
73243 cat confdefs.h >>conftest.$ac_ext
73244 cat >>conftest.$ac_ext <<_ACEOF
73245 /* end confdefs.h. */
73246 #include <math.h>
73248 main ()
73250 __builtin_sinl(0);
73252 return 0;
73254 _ACEOF
73255 rm -f conftest.$ac_objext
73256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73257 (eval $ac_compile) 2>conftest.er1
73258 ac_status=$?
73259 grep -v '^ *+' conftest.er1 >conftest.err
73260 rm -f conftest.er1
73261 cat conftest.err >&5
73262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73263 (exit $ac_status); } &&
73264 { ac_try='test -z "$ac_cxx_werror_flag"
73265 || test ! -s conftest.err'
73266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73267 (eval $ac_try) 2>&5
73268 ac_status=$?
73269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73270 (exit $ac_status); }; } &&
73271 { ac_try='test -s conftest.$ac_objext'
73272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73273 (eval $ac_try) 2>&5
73274 ac_status=$?
73275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73276 (exit $ac_status); }; }; then
73277 glibcxx_cv_func___builtin_sinl_use=yes
73278 else
73279 echo "$as_me: failed program was:" >&5
73280 sed 's/^/| /' conftest.$ac_ext >&5
73282 glibcxx_cv_func___builtin_sinl_use=no
73284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73285 ac_ext=c
73286 ac_cpp='$CPP $CPPFLAGS'
73287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73295 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73296 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73297 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73298 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73299 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73300 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73301 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73302 echo $ECHO_N "(cached) $ECHO_C" >&6
73303 else
73305 if test x$gcc_no_link = xyes; then
73306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73308 { (exit 1); exit 1; }; }
73310 cat >conftest.$ac_ext <<_ACEOF
73311 /* confdefs.h. */
73312 _ACEOF
73313 cat confdefs.h >>conftest.$ac_ext
73314 cat >>conftest.$ac_ext <<_ACEOF
73315 /* end confdefs.h. */
73316 #include <math.h>
73318 main ()
73320 __builtin_sinl(0);
73322 return 0;
73324 _ACEOF
73325 rm -f conftest.$ac_objext conftest$ac_exeext
73326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73327 (eval $ac_link) 2>conftest.er1
73328 ac_status=$?
73329 grep -v '^ *+' conftest.er1 >conftest.err
73330 rm -f conftest.er1
73331 cat conftest.err >&5
73332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73333 (exit $ac_status); } &&
73334 { ac_try='test -z "$ac_c_werror_flag"
73335 || test ! -s conftest.err'
73336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73337 (eval $ac_try) 2>&5
73338 ac_status=$?
73339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73340 (exit $ac_status); }; } &&
73341 { ac_try='test -s conftest$ac_exeext'
73342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73343 (eval $ac_try) 2>&5
73344 ac_status=$?
73345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73346 (exit $ac_status); }; }; then
73347 glibcxx_cv_func___builtin_sinl_link=yes
73348 else
73349 echo "$as_me: failed program was:" >&5
73350 sed 's/^/| /' conftest.$ac_ext >&5
73352 glibcxx_cv_func___builtin_sinl_link=no
73354 rm -f conftest.err conftest.$ac_objext \
73355 conftest$ac_exeext conftest.$ac_ext
73360 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73361 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73363 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73365 cat >>confdefs.h <<\_ACEOF
73366 #define HAVE___BUILTIN_SINL 1
73367 _ACEOF
73375 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73376 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73377 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73378 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73379 echo $ECHO_N "(cached) $ECHO_C" >&6
73380 else
73384 ac_ext=cc
73385 ac_cpp='$CXXCPP $CPPFLAGS'
73386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73390 cat >conftest.$ac_ext <<_ACEOF
73391 /* confdefs.h. */
73392 _ACEOF
73393 cat confdefs.h >>conftest.$ac_ext
73394 cat >>conftest.$ac_ext <<_ACEOF
73395 /* end confdefs.h. */
73396 #include <math.h>
73398 main ()
73400 __builtin_cosf(0);
73402 return 0;
73404 _ACEOF
73405 rm -f conftest.$ac_objext
73406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73407 (eval $ac_compile) 2>conftest.er1
73408 ac_status=$?
73409 grep -v '^ *+' conftest.er1 >conftest.err
73410 rm -f conftest.er1
73411 cat conftest.err >&5
73412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73413 (exit $ac_status); } &&
73414 { ac_try='test -z "$ac_cxx_werror_flag"
73415 || test ! -s conftest.err'
73416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73417 (eval $ac_try) 2>&5
73418 ac_status=$?
73419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73420 (exit $ac_status); }; } &&
73421 { ac_try='test -s conftest.$ac_objext'
73422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73423 (eval $ac_try) 2>&5
73424 ac_status=$?
73425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73426 (exit $ac_status); }; }; then
73427 glibcxx_cv_func___builtin_cosf_use=yes
73428 else
73429 echo "$as_me: failed program was:" >&5
73430 sed 's/^/| /' conftest.$ac_ext >&5
73432 glibcxx_cv_func___builtin_cosf_use=no
73434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73435 ac_ext=c
73436 ac_cpp='$CPP $CPPFLAGS'
73437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73446 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73447 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73448 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73449 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73450 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73451 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73452 echo $ECHO_N "(cached) $ECHO_C" >&6
73453 else
73455 if test x$gcc_no_link = xyes; then
73456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73458 { (exit 1); exit 1; }; }
73460 cat >conftest.$ac_ext <<_ACEOF
73461 /* confdefs.h. */
73462 _ACEOF
73463 cat confdefs.h >>conftest.$ac_ext
73464 cat >>conftest.$ac_ext <<_ACEOF
73465 /* end confdefs.h. */
73466 #include <math.h>
73468 main ()
73470 __builtin_cosf(0);
73472 return 0;
73474 _ACEOF
73475 rm -f conftest.$ac_objext conftest$ac_exeext
73476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73477 (eval $ac_link) 2>conftest.er1
73478 ac_status=$?
73479 grep -v '^ *+' conftest.er1 >conftest.err
73480 rm -f conftest.er1
73481 cat conftest.err >&5
73482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73483 (exit $ac_status); } &&
73484 { ac_try='test -z "$ac_c_werror_flag"
73485 || test ! -s conftest.err'
73486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73487 (eval $ac_try) 2>&5
73488 ac_status=$?
73489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73490 (exit $ac_status); }; } &&
73491 { ac_try='test -s conftest$ac_exeext'
73492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73493 (eval $ac_try) 2>&5
73494 ac_status=$?
73495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73496 (exit $ac_status); }; }; then
73497 glibcxx_cv_func___builtin_cosf_link=yes
73498 else
73499 echo "$as_me: failed program was:" >&5
73500 sed 's/^/| /' conftest.$ac_ext >&5
73502 glibcxx_cv_func___builtin_cosf_link=no
73504 rm -f conftest.err conftest.$ac_objext \
73505 conftest$ac_exeext conftest.$ac_ext
73510 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73511 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73513 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73515 cat >>confdefs.h <<\_ACEOF
73516 #define HAVE___BUILTIN_COSF 1
73517 _ACEOF
73524 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73525 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73526 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73527 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73528 echo $ECHO_N "(cached) $ECHO_C" >&6
73529 else
73533 ac_ext=cc
73534 ac_cpp='$CXXCPP $CPPFLAGS'
73535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73539 cat >conftest.$ac_ext <<_ACEOF
73540 /* confdefs.h. */
73541 _ACEOF
73542 cat confdefs.h >>conftest.$ac_ext
73543 cat >>conftest.$ac_ext <<_ACEOF
73544 /* end confdefs.h. */
73545 #include <math.h>
73547 main ()
73549 __builtin_cos(0);
73551 return 0;
73553 _ACEOF
73554 rm -f conftest.$ac_objext
73555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73556 (eval $ac_compile) 2>conftest.er1
73557 ac_status=$?
73558 grep -v '^ *+' conftest.er1 >conftest.err
73559 rm -f conftest.er1
73560 cat conftest.err >&5
73561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73562 (exit $ac_status); } &&
73563 { ac_try='test -z "$ac_cxx_werror_flag"
73564 || test ! -s conftest.err'
73565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73566 (eval $ac_try) 2>&5
73567 ac_status=$?
73568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73569 (exit $ac_status); }; } &&
73570 { ac_try='test -s conftest.$ac_objext'
73571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73572 (eval $ac_try) 2>&5
73573 ac_status=$?
73574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73575 (exit $ac_status); }; }; then
73576 glibcxx_cv_func___builtin_cos_use=yes
73577 else
73578 echo "$as_me: failed program was:" >&5
73579 sed 's/^/| /' conftest.$ac_ext >&5
73581 glibcxx_cv_func___builtin_cos_use=no
73583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73584 ac_ext=c
73585 ac_cpp='$CPP $CPPFLAGS'
73586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73594 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73595 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73596 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73597 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73598 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73599 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73600 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73601 echo $ECHO_N "(cached) $ECHO_C" >&6
73602 else
73604 if test x$gcc_no_link = xyes; then
73605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73607 { (exit 1); exit 1; }; }
73609 cat >conftest.$ac_ext <<_ACEOF
73610 /* confdefs.h. */
73611 _ACEOF
73612 cat confdefs.h >>conftest.$ac_ext
73613 cat >>conftest.$ac_ext <<_ACEOF
73614 /* end confdefs.h. */
73615 #include <math.h>
73617 main ()
73619 __builtin_cos(0);
73621 return 0;
73623 _ACEOF
73624 rm -f conftest.$ac_objext conftest$ac_exeext
73625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73626 (eval $ac_link) 2>conftest.er1
73627 ac_status=$?
73628 grep -v '^ *+' conftest.er1 >conftest.err
73629 rm -f conftest.er1
73630 cat conftest.err >&5
73631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73632 (exit $ac_status); } &&
73633 { ac_try='test -z "$ac_c_werror_flag"
73634 || test ! -s conftest.err'
73635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73636 (eval $ac_try) 2>&5
73637 ac_status=$?
73638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73639 (exit $ac_status); }; } &&
73640 { ac_try='test -s conftest$ac_exeext'
73641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73642 (eval $ac_try) 2>&5
73643 ac_status=$?
73644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73645 (exit $ac_status); }; }; then
73646 glibcxx_cv_func___builtin_cos_link=yes
73647 else
73648 echo "$as_me: failed program was:" >&5
73649 sed 's/^/| /' conftest.$ac_ext >&5
73651 glibcxx_cv_func___builtin_cos_link=no
73653 rm -f conftest.err conftest.$ac_objext \
73654 conftest$ac_exeext conftest.$ac_ext
73659 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73660 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73662 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73664 cat >>confdefs.h <<\_ACEOF
73665 #define HAVE___BUILTIN_COS 1
73666 _ACEOF
73673 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73674 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73675 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73676 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73677 echo $ECHO_N "(cached) $ECHO_C" >&6
73678 else
73682 ac_ext=cc
73683 ac_cpp='$CXXCPP $CPPFLAGS'
73684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73688 cat >conftest.$ac_ext <<_ACEOF
73689 /* confdefs.h. */
73690 _ACEOF
73691 cat confdefs.h >>conftest.$ac_ext
73692 cat >>conftest.$ac_ext <<_ACEOF
73693 /* end confdefs.h. */
73694 #include <math.h>
73696 main ()
73698 __builtin_cosl(0);
73700 return 0;
73702 _ACEOF
73703 rm -f conftest.$ac_objext
73704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73705 (eval $ac_compile) 2>conftest.er1
73706 ac_status=$?
73707 grep -v '^ *+' conftest.er1 >conftest.err
73708 rm -f conftest.er1
73709 cat conftest.err >&5
73710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73711 (exit $ac_status); } &&
73712 { ac_try='test -z "$ac_cxx_werror_flag"
73713 || test ! -s conftest.err'
73714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73715 (eval $ac_try) 2>&5
73716 ac_status=$?
73717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73718 (exit $ac_status); }; } &&
73719 { ac_try='test -s conftest.$ac_objext'
73720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73721 (eval $ac_try) 2>&5
73722 ac_status=$?
73723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73724 (exit $ac_status); }; }; then
73725 glibcxx_cv_func___builtin_cosl_use=yes
73726 else
73727 echo "$as_me: failed program was:" >&5
73728 sed 's/^/| /' conftest.$ac_ext >&5
73730 glibcxx_cv_func___builtin_cosl_use=no
73732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73733 ac_ext=c
73734 ac_cpp='$CPP $CPPFLAGS'
73735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73743 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73744 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73745 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73746 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73747 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73748 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73749 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73750 echo $ECHO_N "(cached) $ECHO_C" >&6
73751 else
73753 if test x$gcc_no_link = xyes; then
73754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73756 { (exit 1); exit 1; }; }
73758 cat >conftest.$ac_ext <<_ACEOF
73759 /* confdefs.h. */
73760 _ACEOF
73761 cat confdefs.h >>conftest.$ac_ext
73762 cat >>conftest.$ac_ext <<_ACEOF
73763 /* end confdefs.h. */
73764 #include <math.h>
73766 main ()
73768 __builtin_cosl(0);
73770 return 0;
73772 _ACEOF
73773 rm -f conftest.$ac_objext conftest$ac_exeext
73774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73775 (eval $ac_link) 2>conftest.er1
73776 ac_status=$?
73777 grep -v '^ *+' conftest.er1 >conftest.err
73778 rm -f conftest.er1
73779 cat conftest.err >&5
73780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73781 (exit $ac_status); } &&
73782 { ac_try='test -z "$ac_c_werror_flag"
73783 || test ! -s conftest.err'
73784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73785 (eval $ac_try) 2>&5
73786 ac_status=$?
73787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73788 (exit $ac_status); }; } &&
73789 { ac_try='test -s conftest$ac_exeext'
73790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73791 (eval $ac_try) 2>&5
73792 ac_status=$?
73793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73794 (exit $ac_status); }; }; then
73795 glibcxx_cv_func___builtin_cosl_link=yes
73796 else
73797 echo "$as_me: failed program was:" >&5
73798 sed 's/^/| /' conftest.$ac_ext >&5
73800 glibcxx_cv_func___builtin_cosl_link=no
73802 rm -f conftest.err conftest.$ac_objext \
73803 conftest$ac_exeext conftest.$ac_ext
73808 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73809 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73811 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73813 cat >>confdefs.h <<\_ACEOF
73814 #define HAVE___BUILTIN_COSL 1
73815 _ACEOF
73824 echo "$as_me:$LINENO: checking for main in -lm" >&5
73825 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73826 if test "${ac_cv_lib_m_main+set}" = set; then
73827 echo $ECHO_N "(cached) $ECHO_C" >&6
73828 else
73829 ac_check_lib_save_LIBS=$LIBS
73830 LIBS="-lm $LIBS"
73831 if test x$gcc_no_link = xyes; then
73832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73834 { (exit 1); exit 1; }; }
73836 cat >conftest.$ac_ext <<_ACEOF
73837 /* confdefs.h. */
73838 _ACEOF
73839 cat confdefs.h >>conftest.$ac_ext
73840 cat >>conftest.$ac_ext <<_ACEOF
73841 /* end confdefs.h. */
73845 main ()
73847 main ();
73849 return 0;
73851 _ACEOF
73852 rm -f conftest.$ac_objext conftest$ac_exeext
73853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73854 (eval $ac_link) 2>conftest.er1
73855 ac_status=$?
73856 grep -v '^ *+' conftest.er1 >conftest.err
73857 rm -f conftest.er1
73858 cat conftest.err >&5
73859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73860 (exit $ac_status); } &&
73861 { ac_try='test -z "$ac_c_werror_flag"
73862 || test ! -s conftest.err'
73863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73864 (eval $ac_try) 2>&5
73865 ac_status=$?
73866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73867 (exit $ac_status); }; } &&
73868 { ac_try='test -s conftest$ac_exeext'
73869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73870 (eval $ac_try) 2>&5
73871 ac_status=$?
73872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73873 (exit $ac_status); }; }; then
73874 ac_cv_lib_m_main=yes
73875 else
73876 echo "$as_me: failed program was:" >&5
73877 sed 's/^/| /' conftest.$ac_ext >&5
73879 ac_cv_lib_m_main=no
73881 rm -f conftest.err conftest.$ac_objext \
73882 conftest$ac_exeext conftest.$ac_ext
73883 LIBS=$ac_check_lib_save_LIBS
73885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73886 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73887 if test $ac_cv_lib_m_main = yes; then
73888 cat >>confdefs.h <<_ACEOF
73889 #define HAVE_LIBM 1
73890 _ACEOF
73892 LIBS="-lm $LIBS"
73897 for ac_func in copysignf
73899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73900 echo "$as_me:$LINENO: checking for $ac_func" >&5
73901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73902 if eval "test \"\${$as_ac_var+set}\" = set"; then
73903 echo $ECHO_N "(cached) $ECHO_C" >&6
73904 else
73905 if test x$gcc_no_link = xyes; then
73906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73908 { (exit 1); exit 1; }; }
73910 cat >conftest.$ac_ext <<_ACEOF
73911 /* confdefs.h. */
73912 _ACEOF
73913 cat confdefs.h >>conftest.$ac_ext
73914 cat >>conftest.$ac_ext <<_ACEOF
73915 /* end confdefs.h. */
73916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73918 #define $ac_func innocuous_$ac_func
73920 /* System header to define __stub macros and hopefully few prototypes,
73921 which can conflict with char $ac_func (); below.
73922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73923 <limits.h> exists even on freestanding compilers. */
73925 #ifdef __STDC__
73926 # include <limits.h>
73927 #else
73928 # include <assert.h>
73929 #endif
73931 #undef $ac_func
73933 /* Override any gcc2 internal prototype to avoid an error. */
73934 #ifdef __cplusplus
73935 extern "C"
73937 #endif
73938 /* We use char because int might match the return type of a gcc2
73939 builtin and then its argument prototype would still apply. */
73940 char $ac_func ();
73941 /* The GNU C library defines this for functions which it implements
73942 to always fail with ENOSYS. Some functions are actually named
73943 something starting with __ and the normal name is an alias. */
73944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73945 choke me
73946 #else
73947 char (*f) () = $ac_func;
73948 #endif
73949 #ifdef __cplusplus
73951 #endif
73954 main ()
73956 return f != $ac_func;
73958 return 0;
73960 _ACEOF
73961 rm -f conftest.$ac_objext conftest$ac_exeext
73962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73963 (eval $ac_link) 2>conftest.er1
73964 ac_status=$?
73965 grep -v '^ *+' conftest.er1 >conftest.err
73966 rm -f conftest.er1
73967 cat conftest.err >&5
73968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73969 (exit $ac_status); } &&
73970 { ac_try='test -z "$ac_c_werror_flag"
73971 || test ! -s conftest.err'
73972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73973 (eval $ac_try) 2>&5
73974 ac_status=$?
73975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73976 (exit $ac_status); }; } &&
73977 { ac_try='test -s conftest$ac_exeext'
73978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73979 (eval $ac_try) 2>&5
73980 ac_status=$?
73981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73982 (exit $ac_status); }; }; then
73983 eval "$as_ac_var=yes"
73984 else
73985 echo "$as_me: failed program was:" >&5
73986 sed 's/^/| /' conftest.$ac_ext >&5
73988 eval "$as_ac_var=no"
73990 rm -f conftest.err conftest.$ac_objext \
73991 conftest$ac_exeext conftest.$ac_ext
73993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73995 if test `eval echo '${'$as_ac_var'}'` = yes; then
73996 cat >>confdefs.h <<_ACEOF
73997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73998 _ACEOF
74000 else
74001 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74003 done
74007 for ac_func in __signbit
74009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74010 echo "$as_me:$LINENO: checking for $ac_func" >&5
74011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74012 if eval "test \"\${$as_ac_var+set}\" = set"; then
74013 echo $ECHO_N "(cached) $ECHO_C" >&6
74014 else
74015 if test x$gcc_no_link = xyes; then
74016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74018 { (exit 1); exit 1; }; }
74020 cat >conftest.$ac_ext <<_ACEOF
74021 /* confdefs.h. */
74022 _ACEOF
74023 cat confdefs.h >>conftest.$ac_ext
74024 cat >>conftest.$ac_ext <<_ACEOF
74025 /* end confdefs.h. */
74026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74028 #define $ac_func innocuous_$ac_func
74030 /* System header to define __stub macros and hopefully few prototypes,
74031 which can conflict with char $ac_func (); below.
74032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74033 <limits.h> exists even on freestanding compilers. */
74035 #ifdef __STDC__
74036 # include <limits.h>
74037 #else
74038 # include <assert.h>
74039 #endif
74041 #undef $ac_func
74043 /* Override any gcc2 internal prototype to avoid an error. */
74044 #ifdef __cplusplus
74045 extern "C"
74047 #endif
74048 /* We use char because int might match the return type of a gcc2
74049 builtin and then its argument prototype would still apply. */
74050 char $ac_func ();
74051 /* The GNU C library defines this for functions which it implements
74052 to always fail with ENOSYS. Some functions are actually named
74053 something starting with __ and the normal name is an alias. */
74054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74055 choke me
74056 #else
74057 char (*f) () = $ac_func;
74058 #endif
74059 #ifdef __cplusplus
74061 #endif
74064 main ()
74066 return f != $ac_func;
74068 return 0;
74070 _ACEOF
74071 rm -f conftest.$ac_objext conftest$ac_exeext
74072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74073 (eval $ac_link) 2>conftest.er1
74074 ac_status=$?
74075 grep -v '^ *+' conftest.er1 >conftest.err
74076 rm -f conftest.er1
74077 cat conftest.err >&5
74078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74079 (exit $ac_status); } &&
74080 { ac_try='test -z "$ac_c_werror_flag"
74081 || test ! -s conftest.err'
74082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74083 (eval $ac_try) 2>&5
74084 ac_status=$?
74085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74086 (exit $ac_status); }; } &&
74087 { ac_try='test -s conftest$ac_exeext'
74088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74089 (eval $ac_try) 2>&5
74090 ac_status=$?
74091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74092 (exit $ac_status); }; }; then
74093 eval "$as_ac_var=yes"
74094 else
74095 echo "$as_me: failed program was:" >&5
74096 sed 's/^/| /' conftest.$ac_ext >&5
74098 eval "$as_ac_var=no"
74100 rm -f conftest.err conftest.$ac_objext \
74101 conftest$ac_exeext conftest.$ac_ext
74103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74105 if test `eval echo '${'$as_ac_var'}'` = yes; then
74106 cat >>confdefs.h <<_ACEOF
74107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74108 _ACEOF
74110 else
74111 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74113 done
74117 for ac_func in __signbitf
74119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74120 echo "$as_me:$LINENO: checking for $ac_func" >&5
74121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74122 if eval "test \"\${$as_ac_var+set}\" = set"; then
74123 echo $ECHO_N "(cached) $ECHO_C" >&6
74124 else
74125 if test x$gcc_no_link = xyes; then
74126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74128 { (exit 1); exit 1; }; }
74130 cat >conftest.$ac_ext <<_ACEOF
74131 /* confdefs.h. */
74132 _ACEOF
74133 cat confdefs.h >>conftest.$ac_ext
74134 cat >>conftest.$ac_ext <<_ACEOF
74135 /* end confdefs.h. */
74136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74138 #define $ac_func innocuous_$ac_func
74140 /* System header to define __stub macros and hopefully few prototypes,
74141 which can conflict with char $ac_func (); below.
74142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74143 <limits.h> exists even on freestanding compilers. */
74145 #ifdef __STDC__
74146 # include <limits.h>
74147 #else
74148 # include <assert.h>
74149 #endif
74151 #undef $ac_func
74153 /* Override any gcc2 internal prototype to avoid an error. */
74154 #ifdef __cplusplus
74155 extern "C"
74157 #endif
74158 /* We use char because int might match the return type of a gcc2
74159 builtin and then its argument prototype would still apply. */
74160 char $ac_func ();
74161 /* The GNU C library defines this for functions which it implements
74162 to always fail with ENOSYS. Some functions are actually named
74163 something starting with __ and the normal name is an alias. */
74164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74165 choke me
74166 #else
74167 char (*f) () = $ac_func;
74168 #endif
74169 #ifdef __cplusplus
74171 #endif
74174 main ()
74176 return f != $ac_func;
74178 return 0;
74180 _ACEOF
74181 rm -f conftest.$ac_objext conftest$ac_exeext
74182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74183 (eval $ac_link) 2>conftest.er1
74184 ac_status=$?
74185 grep -v '^ *+' conftest.er1 >conftest.err
74186 rm -f conftest.er1
74187 cat conftest.err >&5
74188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74189 (exit $ac_status); } &&
74190 { ac_try='test -z "$ac_c_werror_flag"
74191 || test ! -s conftest.err'
74192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74193 (eval $ac_try) 2>&5
74194 ac_status=$?
74195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74196 (exit $ac_status); }; } &&
74197 { ac_try='test -s conftest$ac_exeext'
74198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74199 (eval $ac_try) 2>&5
74200 ac_status=$?
74201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74202 (exit $ac_status); }; }; then
74203 eval "$as_ac_var=yes"
74204 else
74205 echo "$as_me: failed program was:" >&5
74206 sed 's/^/| /' conftest.$ac_ext >&5
74208 eval "$as_ac_var=no"
74210 rm -f conftest.err conftest.$ac_objext \
74211 conftest$ac_exeext conftest.$ac_ext
74213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74215 if test `eval echo '${'$as_ac_var'}'` = yes; then
74216 cat >>confdefs.h <<_ACEOF
74217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74218 _ACEOF
74220 else
74221 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74223 done
74226 if test x$ac_cv_func_copysignl = x"yes"; then
74228 for ac_func in __signbitl
74230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74231 echo "$as_me:$LINENO: checking for $ac_func" >&5
74232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74233 if eval "test \"\${$as_ac_var+set}\" = set"; then
74234 echo $ECHO_N "(cached) $ECHO_C" >&6
74235 else
74236 if test x$gcc_no_link = xyes; then
74237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74239 { (exit 1); exit 1; }; }
74241 cat >conftest.$ac_ext <<_ACEOF
74242 /* confdefs.h. */
74243 _ACEOF
74244 cat confdefs.h >>conftest.$ac_ext
74245 cat >>conftest.$ac_ext <<_ACEOF
74246 /* end confdefs.h. */
74247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74249 #define $ac_func innocuous_$ac_func
74251 /* System header to define __stub macros and hopefully few prototypes,
74252 which can conflict with char $ac_func (); below.
74253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74254 <limits.h> exists even on freestanding compilers. */
74256 #ifdef __STDC__
74257 # include <limits.h>
74258 #else
74259 # include <assert.h>
74260 #endif
74262 #undef $ac_func
74264 /* Override any gcc2 internal prototype to avoid an error. */
74265 #ifdef __cplusplus
74266 extern "C"
74268 #endif
74269 /* We use char because int might match the return type of a gcc2
74270 builtin and then its argument prototype would still apply. */
74271 char $ac_func ();
74272 /* The GNU C library defines this for functions which it implements
74273 to always fail with ENOSYS. Some functions are actually named
74274 something starting with __ and the normal name is an alias. */
74275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74276 choke me
74277 #else
74278 char (*f) () = $ac_func;
74279 #endif
74280 #ifdef __cplusplus
74282 #endif
74285 main ()
74287 return f != $ac_func;
74289 return 0;
74291 _ACEOF
74292 rm -f conftest.$ac_objext conftest$ac_exeext
74293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74294 (eval $ac_link) 2>conftest.er1
74295 ac_status=$?
74296 grep -v '^ *+' conftest.er1 >conftest.err
74297 rm -f conftest.er1
74298 cat conftest.err >&5
74299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74300 (exit $ac_status); } &&
74301 { ac_try='test -z "$ac_c_werror_flag"
74302 || test ! -s conftest.err'
74303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74304 (eval $ac_try) 2>&5
74305 ac_status=$?
74306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74307 (exit $ac_status); }; } &&
74308 { ac_try='test -s conftest$ac_exeext'
74309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74310 (eval $ac_try) 2>&5
74311 ac_status=$?
74312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74313 (exit $ac_status); }; }; then
74314 eval "$as_ac_var=yes"
74315 else
74316 echo "$as_me: failed program was:" >&5
74317 sed 's/^/| /' conftest.$ac_ext >&5
74319 eval "$as_ac_var=no"
74321 rm -f conftest.err conftest.$ac_objext \
74322 conftest$ac_exeext conftest.$ac_ext
74324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74326 if test `eval echo '${'$as_ac_var'}'` = yes; then
74327 cat >>confdefs.h <<_ACEOF
74328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74329 _ACEOF
74331 else
74332 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74334 done
74338 # Used in libmath/Makefile.am.
74339 if test -n "$LIBMATHOBJS"; then
74340 need_libmath=yes
74345 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74346 ac_save_CXXFLAGS="$CXXFLAGS"
74347 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74350 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74351 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74352 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74353 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74354 echo $ECHO_N "(cached) $ECHO_C" >&6
74355 else
74359 ac_ext=cc
74360 ac_cpp='$CXXCPP $CPPFLAGS'
74361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74365 cat >conftest.$ac_ext <<_ACEOF
74366 /* confdefs.h. */
74367 _ACEOF
74368 cat confdefs.h >>conftest.$ac_ext
74369 cat >>conftest.$ac_ext <<_ACEOF
74370 /* end confdefs.h. */
74371 #include <stdlib.h>
74373 main ()
74375 strtold(0, 0);
74377 return 0;
74379 _ACEOF
74380 rm -f conftest.$ac_objext
74381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74382 (eval $ac_compile) 2>conftest.er1
74383 ac_status=$?
74384 grep -v '^ *+' conftest.er1 >conftest.err
74385 rm -f conftest.er1
74386 cat conftest.err >&5
74387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74388 (exit $ac_status); } &&
74389 { ac_try='test -z "$ac_cxx_werror_flag"
74390 || test ! -s conftest.err'
74391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74392 (eval $ac_try) 2>&5
74393 ac_status=$?
74394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74395 (exit $ac_status); }; } &&
74396 { ac_try='test -s conftest.$ac_objext'
74397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74398 (eval $ac_try) 2>&5
74399 ac_status=$?
74400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74401 (exit $ac_status); }; }; then
74402 glibcxx_cv_func_strtold_use=yes
74403 else
74404 echo "$as_me: failed program was:" >&5
74405 sed 's/^/| /' conftest.$ac_ext >&5
74407 glibcxx_cv_func_strtold_use=no
74409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74410 ac_ext=c
74411 ac_cpp='$CPP $CPPFLAGS'
74412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74421 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74422 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74424 for ac_func in strtold
74426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74427 echo "$as_me:$LINENO: checking for $ac_func" >&5
74428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74429 if eval "test \"\${$as_ac_var+set}\" = set"; then
74430 echo $ECHO_N "(cached) $ECHO_C" >&6
74431 else
74432 if test x$gcc_no_link = xyes; then
74433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74435 { (exit 1); exit 1; }; }
74437 cat >conftest.$ac_ext <<_ACEOF
74438 /* confdefs.h. */
74439 _ACEOF
74440 cat confdefs.h >>conftest.$ac_ext
74441 cat >>conftest.$ac_ext <<_ACEOF
74442 /* end confdefs.h. */
74443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74445 #define $ac_func innocuous_$ac_func
74447 /* System header to define __stub macros and hopefully few prototypes,
74448 which can conflict with char $ac_func (); below.
74449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74450 <limits.h> exists even on freestanding compilers. */
74452 #ifdef __STDC__
74453 # include <limits.h>
74454 #else
74455 # include <assert.h>
74456 #endif
74458 #undef $ac_func
74460 /* Override any gcc2 internal prototype to avoid an error. */
74461 #ifdef __cplusplus
74462 extern "C"
74464 #endif
74465 /* We use char because int might match the return type of a gcc2
74466 builtin and then its argument prototype would still apply. */
74467 char $ac_func ();
74468 /* The GNU C library defines this for functions which it implements
74469 to always fail with ENOSYS. Some functions are actually named
74470 something starting with __ and the normal name is an alias. */
74471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74472 choke me
74473 #else
74474 char (*f) () = $ac_func;
74475 #endif
74476 #ifdef __cplusplus
74478 #endif
74481 main ()
74483 return f != $ac_func;
74485 return 0;
74487 _ACEOF
74488 rm -f conftest.$ac_objext conftest$ac_exeext
74489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74490 (eval $ac_link) 2>conftest.er1
74491 ac_status=$?
74492 grep -v '^ *+' conftest.er1 >conftest.err
74493 rm -f conftest.er1
74494 cat conftest.err >&5
74495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74496 (exit $ac_status); } &&
74497 { ac_try='test -z "$ac_c_werror_flag"
74498 || test ! -s conftest.err'
74499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74500 (eval $ac_try) 2>&5
74501 ac_status=$?
74502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74503 (exit $ac_status); }; } &&
74504 { ac_try='test -s conftest$ac_exeext'
74505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74506 (eval $ac_try) 2>&5
74507 ac_status=$?
74508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74509 (exit $ac_status); }; }; then
74510 eval "$as_ac_var=yes"
74511 else
74512 echo "$as_me: failed program was:" >&5
74513 sed 's/^/| /' conftest.$ac_ext >&5
74515 eval "$as_ac_var=no"
74517 rm -f conftest.err conftest.$ac_objext \
74518 conftest$ac_exeext conftest.$ac_ext
74520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74522 if test `eval echo '${'$as_ac_var'}'` = yes; then
74523 cat >>confdefs.h <<_ACEOF
74524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74525 _ACEOF
74528 done
74536 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74537 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74538 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74539 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74540 echo $ECHO_N "(cached) $ECHO_C" >&6
74541 else
74545 ac_ext=cc
74546 ac_cpp='$CXXCPP $CPPFLAGS'
74547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74551 cat >conftest.$ac_ext <<_ACEOF
74552 /* confdefs.h. */
74553 _ACEOF
74554 cat confdefs.h >>conftest.$ac_ext
74555 cat >>conftest.$ac_ext <<_ACEOF
74556 /* end confdefs.h. */
74557 #include <stdlib.h>
74559 main ()
74561 strtof(0, 0);
74563 return 0;
74565 _ACEOF
74566 rm -f conftest.$ac_objext
74567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74568 (eval $ac_compile) 2>conftest.er1
74569 ac_status=$?
74570 grep -v '^ *+' conftest.er1 >conftest.err
74571 rm -f conftest.er1
74572 cat conftest.err >&5
74573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74574 (exit $ac_status); } &&
74575 { ac_try='test -z "$ac_cxx_werror_flag"
74576 || test ! -s conftest.err'
74577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74578 (eval $ac_try) 2>&5
74579 ac_status=$?
74580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74581 (exit $ac_status); }; } &&
74582 { ac_try='test -s conftest.$ac_objext'
74583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74584 (eval $ac_try) 2>&5
74585 ac_status=$?
74586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74587 (exit $ac_status); }; }; then
74588 glibcxx_cv_func_strtof_use=yes
74589 else
74590 echo "$as_me: failed program was:" >&5
74591 sed 's/^/| /' conftest.$ac_ext >&5
74593 glibcxx_cv_func_strtof_use=no
74595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74596 ac_ext=c
74597 ac_cpp='$CPP $CPPFLAGS'
74598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74607 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74608 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74610 for ac_func in strtof
74612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74613 echo "$as_me:$LINENO: checking for $ac_func" >&5
74614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74615 if eval "test \"\${$as_ac_var+set}\" = set"; then
74616 echo $ECHO_N "(cached) $ECHO_C" >&6
74617 else
74618 if test x$gcc_no_link = xyes; then
74619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74621 { (exit 1); exit 1; }; }
74623 cat >conftest.$ac_ext <<_ACEOF
74624 /* confdefs.h. */
74625 _ACEOF
74626 cat confdefs.h >>conftest.$ac_ext
74627 cat >>conftest.$ac_ext <<_ACEOF
74628 /* end confdefs.h. */
74629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74631 #define $ac_func innocuous_$ac_func
74633 /* System header to define __stub macros and hopefully few prototypes,
74634 which can conflict with char $ac_func (); below.
74635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74636 <limits.h> exists even on freestanding compilers. */
74638 #ifdef __STDC__
74639 # include <limits.h>
74640 #else
74641 # include <assert.h>
74642 #endif
74644 #undef $ac_func
74646 /* Override any gcc2 internal prototype to avoid an error. */
74647 #ifdef __cplusplus
74648 extern "C"
74650 #endif
74651 /* We use char because int might match the return type of a gcc2
74652 builtin and then its argument prototype would still apply. */
74653 char $ac_func ();
74654 /* The GNU C library defines this for functions which it implements
74655 to always fail with ENOSYS. Some functions are actually named
74656 something starting with __ and the normal name is an alias. */
74657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74658 choke me
74659 #else
74660 char (*f) () = $ac_func;
74661 #endif
74662 #ifdef __cplusplus
74664 #endif
74667 main ()
74669 return f != $ac_func;
74671 return 0;
74673 _ACEOF
74674 rm -f conftest.$ac_objext conftest$ac_exeext
74675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74676 (eval $ac_link) 2>conftest.er1
74677 ac_status=$?
74678 grep -v '^ *+' conftest.er1 >conftest.err
74679 rm -f conftest.er1
74680 cat conftest.err >&5
74681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74682 (exit $ac_status); } &&
74683 { ac_try='test -z "$ac_c_werror_flag"
74684 || test ! -s conftest.err'
74685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74686 (eval $ac_try) 2>&5
74687 ac_status=$?
74688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74689 (exit $ac_status); }; } &&
74690 { ac_try='test -s conftest$ac_exeext'
74691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74692 (eval $ac_try) 2>&5
74693 ac_status=$?
74694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74695 (exit $ac_status); }; }; then
74696 eval "$as_ac_var=yes"
74697 else
74698 echo "$as_me: failed program was:" >&5
74699 sed 's/^/| /' conftest.$ac_ext >&5
74701 eval "$as_ac_var=no"
74703 rm -f conftest.err conftest.$ac_objext \
74704 conftest$ac_exeext conftest.$ac_ext
74706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74708 if test `eval echo '${'$as_ac_var'}'` = yes; then
74709 cat >>confdefs.h <<_ACEOF
74710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74711 _ACEOF
74714 done
74722 CXXFLAGS="$ac_save_CXXFLAGS"
74725 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74726 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74727 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74728 echo $ECHO_N "(cached) $ECHO_C" >&6
74729 else
74731 if test x$gcc_no_link = xyes; then
74732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74734 { (exit 1); exit 1; }; }
74736 cat >conftest.$ac_ext <<_ACEOF
74737 /* confdefs.h. */
74738 _ACEOF
74739 cat confdefs.h >>conftest.$ac_ext
74740 cat >>conftest.$ac_ext <<_ACEOF
74741 /* end confdefs.h. */
74742 #include <sys/stat.h>
74744 main ()
74746 struct stat buffer;
74747 fstat(0, &buffer);
74748 S_ISREG(buffer.st_mode);
74750 return 0;
74752 _ACEOF
74753 rm -f conftest.$ac_objext conftest$ac_exeext
74754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74755 (eval $ac_link) 2>conftest.er1
74756 ac_status=$?
74757 grep -v '^ *+' conftest.er1 >conftest.err
74758 rm -f conftest.er1
74759 cat conftest.err >&5
74760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74761 (exit $ac_status); } &&
74762 { ac_try='test -z "$ac_c_werror_flag"
74763 || test ! -s conftest.err'
74764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74765 (eval $ac_try) 2>&5
74766 ac_status=$?
74767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74768 (exit $ac_status); }; } &&
74769 { ac_try='test -s conftest$ac_exeext'
74770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74771 (eval $ac_try) 2>&5
74772 ac_status=$?
74773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74774 (exit $ac_status); }; }; then
74775 glibcxx_cv_S_ISREG=yes
74776 else
74777 echo "$as_me: failed program was:" >&5
74778 sed 's/^/| /' conftest.$ac_ext >&5
74780 glibcxx_cv_S_ISREG=no
74782 rm -f conftest.err conftest.$ac_objext \
74783 conftest$ac_exeext conftest.$ac_ext
74787 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74788 echo $ECHO_N "(cached) $ECHO_C" >&6
74789 else
74791 if test x$gcc_no_link = xyes; then
74792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74794 { (exit 1); exit 1; }; }
74796 cat >conftest.$ac_ext <<_ACEOF
74797 /* confdefs.h. */
74798 _ACEOF
74799 cat confdefs.h >>conftest.$ac_ext
74800 cat >>conftest.$ac_ext <<_ACEOF
74801 /* end confdefs.h. */
74802 #include <sys/stat.h>
74804 main ()
74806 struct stat buffer;
74807 fstat(0, &buffer);
74808 S_IFREG & buffer.st_mode;
74810 return 0;
74812 _ACEOF
74813 rm -f conftest.$ac_objext conftest$ac_exeext
74814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74815 (eval $ac_link) 2>conftest.er1
74816 ac_status=$?
74817 grep -v '^ *+' conftest.er1 >conftest.err
74818 rm -f conftest.er1
74819 cat conftest.err >&5
74820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74821 (exit $ac_status); } &&
74822 { ac_try='test -z "$ac_c_werror_flag"
74823 || test ! -s conftest.err'
74824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74825 (eval $ac_try) 2>&5
74826 ac_status=$?
74827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74828 (exit $ac_status); }; } &&
74829 { ac_try='test -s conftest$ac_exeext'
74830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74831 (eval $ac_try) 2>&5
74832 ac_status=$?
74833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74834 (exit $ac_status); }; }; then
74835 glibcxx_cv_S_IFREG=yes
74836 else
74837 echo "$as_me: failed program was:" >&5
74838 sed 's/^/| /' conftest.$ac_ext >&5
74840 glibcxx_cv_S_IFREG=no
74842 rm -f conftest.err conftest.$ac_objext \
74843 conftest$ac_exeext conftest.$ac_ext
74847 res=no
74848 if test $glibcxx_cv_S_ISREG = yes; then
74850 cat >>confdefs.h <<\_ACEOF
74851 #define HAVE_S_ISREG 1
74852 _ACEOF
74854 res=S_ISREG
74855 elif test $glibcxx_cv_S_IFREG = yes; then
74857 cat >>confdefs.h <<\_ACEOF
74858 #define HAVE_S_IFREG 1
74859 _ACEOF
74861 res=S_IFREG
74863 echo "$as_me:$LINENO: result: $res" >&5
74864 echo "${ECHO_T}$res" >&6
74866 cat >>confdefs.h <<\_ACEOF
74867 #define HAVE_WRITEV 1
74868 _ACEOF
74872 *-freebsd*)
74889 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74890 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74891 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74892 sys/time.h unistd.h
74894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74896 echo "$as_me:$LINENO: checking for $ac_header" >&5
74897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74899 echo $ECHO_N "(cached) $ECHO_C" >&6
74901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74903 else
74904 # Is the header compilable?
74905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74907 cat >conftest.$ac_ext <<_ACEOF
74908 /* confdefs.h. */
74909 _ACEOF
74910 cat confdefs.h >>conftest.$ac_ext
74911 cat >>conftest.$ac_ext <<_ACEOF
74912 /* end confdefs.h. */
74913 $ac_includes_default
74914 #include <$ac_header>
74915 _ACEOF
74916 rm -f conftest.$ac_objext
74917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74918 (eval $ac_compile) 2>conftest.er1
74919 ac_status=$?
74920 grep -v '^ *+' conftest.er1 >conftest.err
74921 rm -f conftest.er1
74922 cat conftest.err >&5
74923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74924 (exit $ac_status); } &&
74925 { ac_try='test -z "$ac_c_werror_flag"
74926 || test ! -s conftest.err'
74927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74928 (eval $ac_try) 2>&5
74929 ac_status=$?
74930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74931 (exit $ac_status); }; } &&
74932 { ac_try='test -s conftest.$ac_objext'
74933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74934 (eval $ac_try) 2>&5
74935 ac_status=$?
74936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74937 (exit $ac_status); }; }; then
74938 ac_header_compiler=yes
74939 else
74940 echo "$as_me: failed program was:" >&5
74941 sed 's/^/| /' conftest.$ac_ext >&5
74943 ac_header_compiler=no
74945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74947 echo "${ECHO_T}$ac_header_compiler" >&6
74949 # Is the header present?
74950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74952 cat >conftest.$ac_ext <<_ACEOF
74953 /* confdefs.h. */
74954 _ACEOF
74955 cat confdefs.h >>conftest.$ac_ext
74956 cat >>conftest.$ac_ext <<_ACEOF
74957 /* end confdefs.h. */
74958 #include <$ac_header>
74959 _ACEOF
74960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74962 ac_status=$?
74963 grep -v '^ *+' conftest.er1 >conftest.err
74964 rm -f conftest.er1
74965 cat conftest.err >&5
74966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967 (exit $ac_status); } >/dev/null; then
74968 if test -s conftest.err; then
74969 ac_cpp_err=$ac_c_preproc_warn_flag
74970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74971 else
74972 ac_cpp_err=
74974 else
74975 ac_cpp_err=yes
74977 if test -z "$ac_cpp_err"; then
74978 ac_header_preproc=yes
74979 else
74980 echo "$as_me: failed program was:" >&5
74981 sed 's/^/| /' conftest.$ac_ext >&5
74983 ac_header_preproc=no
74985 rm -f conftest.err conftest.$ac_ext
74986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74987 echo "${ECHO_T}$ac_header_preproc" >&6
74989 # So? What about this header?
74990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74991 yes:no: )
74992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74996 ac_header_preproc=yes
74998 no:yes:* )
74999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75012 cat <<\_ASBOX
75013 ## ----------------------------------------- ##
75014 ## Report this to the package-unused lists. ##
75015 ## ----------------------------------------- ##
75016 _ASBOX
75018 sed "s/^/$as_me: WARNING: /" >&2
75020 esac
75021 echo "$as_me:$LINENO: checking for $ac_header" >&5
75022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75024 echo $ECHO_N "(cached) $ECHO_C" >&6
75025 else
75026 eval "$as_ac_Header=\$ac_header_preproc"
75028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75033 cat >>confdefs.h <<_ACEOF
75034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75035 _ACEOF
75039 done
75041 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75044 # If we're not using GNU ld, then there's no point in even trying these
75045 # tests. Check for that first. We should have already tested for gld
75046 # by now (in libtool), but require it now just to be safe...
75047 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75048 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75052 # The name set by libtool depends on the version of libtool. Shame on us
75053 # for depending on an impl detail, but c'est la vie. Older versions used
75054 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75055 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75056 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75057 # set (hence we're using an older libtool), then set it.
75058 if test x${with_gnu_ld+set} != xset; then
75059 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75060 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75061 with_gnu_ld=no
75062 else
75063 with_gnu_ld=$ac_cv_prog_gnu_ld
75067 # Start by getting the version number. I think the libtool test already
75068 # does some of this, but throws away the result.
75069 if test x"$with_gnu_ld" = x"yes"; then
75070 echo "$as_me:$LINENO: checking for ld version" >&5
75071 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75073 ldver=`$LD --version 2>/dev/null | head -1 | \
75074 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75076 glibcxx_gnu_ld_version=`echo $ldver | \
75077 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75078 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75079 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75082 # Set --gc-sections.
75083 glibcxx_gcsections_min_ld=21602
75084 if test x"$with_gnu_ld" = x"yes" &&
75085 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75087 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
75088 # NB: This flag only works reliably after 2.16.1. Configure tests
75089 # for this are difficult, so hard wire a value that should work.
75091 # All these tests are for C++, but run with the "C" compiler driver.
75092 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75093 ac_test_CFLAGS="${CFLAGS+set}"
75094 ac_save_CFLAGS="$CFLAGS"
75095 CFLAGS='-x c++ -Wl,--gc-sections'
75097 # Check for -Wl,--gc-sections
75098 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75099 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75100 if test x$gcc_no_link = xyes; then
75101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75103 { (exit 1); exit 1; }; }
75105 cat >conftest.$ac_ext <<_ACEOF
75106 /* confdefs.h. */
75107 _ACEOF
75108 cat confdefs.h >>conftest.$ac_ext
75109 cat >>conftest.$ac_ext <<_ACEOF
75110 /* end confdefs.h. */
75111 int one(void) { return 1; }
75112 int two(void) { return 2; }
75115 main ()
75117 two();
75119 return 0;
75121 _ACEOF
75122 rm -f conftest.$ac_objext conftest$ac_exeext
75123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75124 (eval $ac_link) 2>conftest.er1
75125 ac_status=$?
75126 grep -v '^ *+' conftest.er1 >conftest.err
75127 rm -f conftest.er1
75128 cat conftest.err >&5
75129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75130 (exit $ac_status); } &&
75131 { ac_try='test -z "$ac_c_werror_flag"
75132 || test ! -s conftest.err'
75133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75134 (eval $ac_try) 2>&5
75135 ac_status=$?
75136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75137 (exit $ac_status); }; } &&
75138 { ac_try='test -s conftest$ac_exeext'
75139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75140 (eval $ac_try) 2>&5
75141 ac_status=$?
75142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75143 (exit $ac_status); }; }; then
75144 ac_gcsections=yes
75145 else
75146 echo "$as_me: failed program was:" >&5
75147 sed 's/^/| /' conftest.$ac_ext >&5
75149 ac_gcsections=no
75151 rm -f conftest.err conftest.$ac_objext \
75152 conftest$ac_exeext conftest.$ac_ext
75153 if test "$ac_gcsections" = "yes"; then
75154 rm -f conftest.c
75155 touch conftest.c
75156 if $CC -c conftest.c; then
75157 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75158 grep "Warning: gc-sections option ignored" > /dev/null; then
75159 ac_gcsections=no
75162 rm -f conftest.c conftest.o conftest
75164 if test "$ac_gcsections" = "yes"; then
75165 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75167 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75168 echo "${ECHO_T}$ac_gcsections" >&6
75170 if test "$ac_test_CFLAGS" = set; then
75171 CFLAGS="$ac_save_CFLAGS"
75172 else
75173 # this is the suspicious part
75174 CFLAGS=''
75178 # Set -z,relro.
75179 # Note this is only for shared objects.
75180 ac_ld_relro=no
75181 if test x"$with_gnu_ld" = x"yes"; then
75182 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75183 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75184 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75185 if test -n "$cxx_z_relo"; then
75186 OPT_LDFLAGS="-Wl,-z,relro"
75187 ac_ld_relro=yes
75189 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75190 echo "${ECHO_T}$ac_ld_relro" >&6
75193 # Set linker optimization flags.
75194 if test x"$with_gnu_ld" = x"yes"; then
75195 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75203 echo "$as_me:$LINENO: checking for main in -lm" >&5
75204 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75205 if test "${ac_cv_lib_m_main+set}" = set; then
75206 echo $ECHO_N "(cached) $ECHO_C" >&6
75207 else
75208 ac_check_lib_save_LIBS=$LIBS
75209 LIBS="-lm $LIBS"
75210 if test x$gcc_no_link = xyes; then
75211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75213 { (exit 1); exit 1; }; }
75215 cat >conftest.$ac_ext <<_ACEOF
75216 /* confdefs.h. */
75217 _ACEOF
75218 cat confdefs.h >>conftest.$ac_ext
75219 cat >>conftest.$ac_ext <<_ACEOF
75220 /* end confdefs.h. */
75224 main ()
75226 main ();
75228 return 0;
75230 _ACEOF
75231 rm -f conftest.$ac_objext conftest$ac_exeext
75232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75233 (eval $ac_link) 2>conftest.er1
75234 ac_status=$?
75235 grep -v '^ *+' conftest.er1 >conftest.err
75236 rm -f conftest.er1
75237 cat conftest.err >&5
75238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75239 (exit $ac_status); } &&
75240 { ac_try='test -z "$ac_c_werror_flag"
75241 || test ! -s conftest.err'
75242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75243 (eval $ac_try) 2>&5
75244 ac_status=$?
75245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75246 (exit $ac_status); }; } &&
75247 { ac_try='test -s conftest$ac_exeext'
75248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75249 (eval $ac_try) 2>&5
75250 ac_status=$?
75251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75252 (exit $ac_status); }; }; then
75253 ac_cv_lib_m_main=yes
75254 else
75255 echo "$as_me: failed program was:" >&5
75256 sed 's/^/| /' conftest.$ac_ext >&5
75258 ac_cv_lib_m_main=no
75260 rm -f conftest.err conftest.$ac_objext \
75261 conftest$ac_exeext conftest.$ac_ext
75262 LIBS=$ac_check_lib_save_LIBS
75264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75265 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75266 if test $ac_cv_lib_m_main = yes; then
75267 cat >>confdefs.h <<_ACEOF
75268 #define HAVE_LIBM 1
75269 _ACEOF
75271 LIBS="-lm $LIBS"
75276 for ac_func in copysignf
75278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75279 echo "$as_me:$LINENO: checking for $ac_func" >&5
75280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75281 if eval "test \"\${$as_ac_var+set}\" = set"; then
75282 echo $ECHO_N "(cached) $ECHO_C" >&6
75283 else
75284 if test x$gcc_no_link = xyes; then
75285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75287 { (exit 1); exit 1; }; }
75289 cat >conftest.$ac_ext <<_ACEOF
75290 /* confdefs.h. */
75291 _ACEOF
75292 cat confdefs.h >>conftest.$ac_ext
75293 cat >>conftest.$ac_ext <<_ACEOF
75294 /* end confdefs.h. */
75295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75297 #define $ac_func innocuous_$ac_func
75299 /* System header to define __stub macros and hopefully few prototypes,
75300 which can conflict with char $ac_func (); below.
75301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75302 <limits.h> exists even on freestanding compilers. */
75304 #ifdef __STDC__
75305 # include <limits.h>
75306 #else
75307 # include <assert.h>
75308 #endif
75310 #undef $ac_func
75312 /* Override any gcc2 internal prototype to avoid an error. */
75313 #ifdef __cplusplus
75314 extern "C"
75316 #endif
75317 /* We use char because int might match the return type of a gcc2
75318 builtin and then its argument prototype would still apply. */
75319 char $ac_func ();
75320 /* The GNU C library defines this for functions which it implements
75321 to always fail with ENOSYS. Some functions are actually named
75322 something starting with __ and the normal name is an alias. */
75323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75324 choke me
75325 #else
75326 char (*f) () = $ac_func;
75327 #endif
75328 #ifdef __cplusplus
75330 #endif
75333 main ()
75335 return f != $ac_func;
75337 return 0;
75339 _ACEOF
75340 rm -f conftest.$ac_objext conftest$ac_exeext
75341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75342 (eval $ac_link) 2>conftest.er1
75343 ac_status=$?
75344 grep -v '^ *+' conftest.er1 >conftest.err
75345 rm -f conftest.er1
75346 cat conftest.err >&5
75347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75348 (exit $ac_status); } &&
75349 { ac_try='test -z "$ac_c_werror_flag"
75350 || test ! -s conftest.err'
75351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75352 (eval $ac_try) 2>&5
75353 ac_status=$?
75354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75355 (exit $ac_status); }; } &&
75356 { ac_try='test -s conftest$ac_exeext'
75357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75358 (eval $ac_try) 2>&5
75359 ac_status=$?
75360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75361 (exit $ac_status); }; }; then
75362 eval "$as_ac_var=yes"
75363 else
75364 echo "$as_me: failed program was:" >&5
75365 sed 's/^/| /' conftest.$ac_ext >&5
75367 eval "$as_ac_var=no"
75369 rm -f conftest.err conftest.$ac_objext \
75370 conftest$ac_exeext conftest.$ac_ext
75372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75374 if test `eval echo '${'$as_ac_var'}'` = yes; then
75375 cat >>confdefs.h <<_ACEOF
75376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75377 _ACEOF
75379 else
75380 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75382 done
75386 for ac_func in __signbit
75388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75389 echo "$as_me:$LINENO: checking for $ac_func" >&5
75390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75391 if eval "test \"\${$as_ac_var+set}\" = set"; then
75392 echo $ECHO_N "(cached) $ECHO_C" >&6
75393 else
75394 if test x$gcc_no_link = xyes; then
75395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75397 { (exit 1); exit 1; }; }
75399 cat >conftest.$ac_ext <<_ACEOF
75400 /* confdefs.h. */
75401 _ACEOF
75402 cat confdefs.h >>conftest.$ac_ext
75403 cat >>conftest.$ac_ext <<_ACEOF
75404 /* end confdefs.h. */
75405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75407 #define $ac_func innocuous_$ac_func
75409 /* System header to define __stub macros and hopefully few prototypes,
75410 which can conflict with char $ac_func (); below.
75411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75412 <limits.h> exists even on freestanding compilers. */
75414 #ifdef __STDC__
75415 # include <limits.h>
75416 #else
75417 # include <assert.h>
75418 #endif
75420 #undef $ac_func
75422 /* Override any gcc2 internal prototype to avoid an error. */
75423 #ifdef __cplusplus
75424 extern "C"
75426 #endif
75427 /* We use char because int might match the return type of a gcc2
75428 builtin and then its argument prototype would still apply. */
75429 char $ac_func ();
75430 /* The GNU C library defines this for functions which it implements
75431 to always fail with ENOSYS. Some functions are actually named
75432 something starting with __ and the normal name is an alias. */
75433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75434 choke me
75435 #else
75436 char (*f) () = $ac_func;
75437 #endif
75438 #ifdef __cplusplus
75440 #endif
75443 main ()
75445 return f != $ac_func;
75447 return 0;
75449 _ACEOF
75450 rm -f conftest.$ac_objext conftest$ac_exeext
75451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75452 (eval $ac_link) 2>conftest.er1
75453 ac_status=$?
75454 grep -v '^ *+' conftest.er1 >conftest.err
75455 rm -f conftest.er1
75456 cat conftest.err >&5
75457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75458 (exit $ac_status); } &&
75459 { ac_try='test -z "$ac_c_werror_flag"
75460 || test ! -s conftest.err'
75461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75462 (eval $ac_try) 2>&5
75463 ac_status=$?
75464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75465 (exit $ac_status); }; } &&
75466 { ac_try='test -s conftest$ac_exeext'
75467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75468 (eval $ac_try) 2>&5
75469 ac_status=$?
75470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75471 (exit $ac_status); }; }; then
75472 eval "$as_ac_var=yes"
75473 else
75474 echo "$as_me: failed program was:" >&5
75475 sed 's/^/| /' conftest.$ac_ext >&5
75477 eval "$as_ac_var=no"
75479 rm -f conftest.err conftest.$ac_objext \
75480 conftest$ac_exeext conftest.$ac_ext
75482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75484 if test `eval echo '${'$as_ac_var'}'` = yes; then
75485 cat >>confdefs.h <<_ACEOF
75486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75487 _ACEOF
75489 else
75490 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75492 done
75496 for ac_func in __signbitf
75498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75499 echo "$as_me:$LINENO: checking for $ac_func" >&5
75500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75501 if eval "test \"\${$as_ac_var+set}\" = set"; then
75502 echo $ECHO_N "(cached) $ECHO_C" >&6
75503 else
75504 if test x$gcc_no_link = xyes; then
75505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75507 { (exit 1); exit 1; }; }
75509 cat >conftest.$ac_ext <<_ACEOF
75510 /* confdefs.h. */
75511 _ACEOF
75512 cat confdefs.h >>conftest.$ac_ext
75513 cat >>conftest.$ac_ext <<_ACEOF
75514 /* end confdefs.h. */
75515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75517 #define $ac_func innocuous_$ac_func
75519 /* System header to define __stub macros and hopefully few prototypes,
75520 which can conflict with char $ac_func (); below.
75521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75522 <limits.h> exists even on freestanding compilers. */
75524 #ifdef __STDC__
75525 # include <limits.h>
75526 #else
75527 # include <assert.h>
75528 #endif
75530 #undef $ac_func
75532 /* Override any gcc2 internal prototype to avoid an error. */
75533 #ifdef __cplusplus
75534 extern "C"
75536 #endif
75537 /* We use char because int might match the return type of a gcc2
75538 builtin and then its argument prototype would still apply. */
75539 char $ac_func ();
75540 /* The GNU C library defines this for functions which it implements
75541 to always fail with ENOSYS. Some functions are actually named
75542 something starting with __ and the normal name is an alias. */
75543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75544 choke me
75545 #else
75546 char (*f) () = $ac_func;
75547 #endif
75548 #ifdef __cplusplus
75550 #endif
75553 main ()
75555 return f != $ac_func;
75557 return 0;
75559 _ACEOF
75560 rm -f conftest.$ac_objext conftest$ac_exeext
75561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75562 (eval $ac_link) 2>conftest.er1
75563 ac_status=$?
75564 grep -v '^ *+' conftest.er1 >conftest.err
75565 rm -f conftest.er1
75566 cat conftest.err >&5
75567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75568 (exit $ac_status); } &&
75569 { ac_try='test -z "$ac_c_werror_flag"
75570 || test ! -s conftest.err'
75571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75572 (eval $ac_try) 2>&5
75573 ac_status=$?
75574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75575 (exit $ac_status); }; } &&
75576 { ac_try='test -s conftest$ac_exeext'
75577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75578 (eval $ac_try) 2>&5
75579 ac_status=$?
75580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75581 (exit $ac_status); }; }; then
75582 eval "$as_ac_var=yes"
75583 else
75584 echo "$as_me: failed program was:" >&5
75585 sed 's/^/| /' conftest.$ac_ext >&5
75587 eval "$as_ac_var=no"
75589 rm -f conftest.err conftest.$ac_objext \
75590 conftest$ac_exeext conftest.$ac_ext
75592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75594 if test `eval echo '${'$as_ac_var'}'` = yes; then
75595 cat >>confdefs.h <<_ACEOF
75596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75597 _ACEOF
75599 else
75600 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75602 done
75605 if test x$ac_cv_func_copysignl = x"yes"; then
75607 for ac_func in __signbitl
75609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75610 echo "$as_me:$LINENO: checking for $ac_func" >&5
75611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75612 if eval "test \"\${$as_ac_var+set}\" = set"; then
75613 echo $ECHO_N "(cached) $ECHO_C" >&6
75614 else
75615 if test x$gcc_no_link = xyes; then
75616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75618 { (exit 1); exit 1; }; }
75620 cat >conftest.$ac_ext <<_ACEOF
75621 /* confdefs.h. */
75622 _ACEOF
75623 cat confdefs.h >>conftest.$ac_ext
75624 cat >>conftest.$ac_ext <<_ACEOF
75625 /* end confdefs.h. */
75626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75628 #define $ac_func innocuous_$ac_func
75630 /* System header to define __stub macros and hopefully few prototypes,
75631 which can conflict with char $ac_func (); below.
75632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75633 <limits.h> exists even on freestanding compilers. */
75635 #ifdef __STDC__
75636 # include <limits.h>
75637 #else
75638 # include <assert.h>
75639 #endif
75641 #undef $ac_func
75643 /* Override any gcc2 internal prototype to avoid an error. */
75644 #ifdef __cplusplus
75645 extern "C"
75647 #endif
75648 /* We use char because int might match the return type of a gcc2
75649 builtin and then its argument prototype would still apply. */
75650 char $ac_func ();
75651 /* The GNU C library defines this for functions which it implements
75652 to always fail with ENOSYS. Some functions are actually named
75653 something starting with __ and the normal name is an alias. */
75654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75655 choke me
75656 #else
75657 char (*f) () = $ac_func;
75658 #endif
75659 #ifdef __cplusplus
75661 #endif
75664 main ()
75666 return f != $ac_func;
75668 return 0;
75670 _ACEOF
75671 rm -f conftest.$ac_objext conftest$ac_exeext
75672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75673 (eval $ac_link) 2>conftest.er1
75674 ac_status=$?
75675 grep -v '^ *+' conftest.er1 >conftest.err
75676 rm -f conftest.er1
75677 cat conftest.err >&5
75678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75679 (exit $ac_status); } &&
75680 { ac_try='test -z "$ac_c_werror_flag"
75681 || test ! -s conftest.err'
75682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75683 (eval $ac_try) 2>&5
75684 ac_status=$?
75685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75686 (exit $ac_status); }; } &&
75687 { ac_try='test -s conftest$ac_exeext'
75688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75689 (eval $ac_try) 2>&5
75690 ac_status=$?
75691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75692 (exit $ac_status); }; }; then
75693 eval "$as_ac_var=yes"
75694 else
75695 echo "$as_me: failed program was:" >&5
75696 sed 's/^/| /' conftest.$ac_ext >&5
75698 eval "$as_ac_var=no"
75700 rm -f conftest.err conftest.$ac_objext \
75701 conftest$ac_exeext conftest.$ac_ext
75703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75705 if test `eval echo '${'$as_ac_var'}'` = yes; then
75706 cat >>confdefs.h <<_ACEOF
75707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75708 _ACEOF
75710 else
75711 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75713 done
75717 # Used in libmath/Makefile.am.
75718 if test -n "$LIBMATHOBJS"; then
75719 need_libmath=yes
75723 cat >>confdefs.h <<\_ACEOF
75724 #define HAVE_LC_MESSAGES 1
75725 _ACEOF
75727 cat >>confdefs.h <<\_ACEOF
75728 #define HAVE_GETPAGESIZE 1
75729 _ACEOF
75731 cat >>confdefs.h <<\_ACEOF
75732 #define HAVE_SETENV 1
75733 _ACEOF
75735 cat >>confdefs.h <<\_ACEOF
75736 #define HAVE_SIGSETJMP 1
75737 _ACEOF
75739 cat >>confdefs.h <<\_ACEOF
75740 #define HAVE_COPYSIGN 1
75741 _ACEOF
75743 cat >>confdefs.h <<\_ACEOF
75744 #define HAVE_COPYSIGNF 1
75745 _ACEOF
75747 cat >>confdefs.h <<\_ACEOF
75748 #define HAVE_FINITEF 1
75749 _ACEOF
75751 cat >>confdefs.h <<\_ACEOF
75752 #define HAVE_FINITE 1
75753 _ACEOF
75755 cat >>confdefs.h <<\_ACEOF
75756 #define HAVE_FREXPF 1
75757 _ACEOF
75759 cat >>confdefs.h <<\_ACEOF
75760 #define HAVE_HYPOT 1
75761 _ACEOF
75763 cat >>confdefs.h <<\_ACEOF
75764 #define HAVE_HYPOTF 1
75765 _ACEOF
75767 cat >>confdefs.h <<\_ACEOF
75768 #define HAVE_ISINF 1
75769 _ACEOF
75771 cat >>confdefs.h <<\_ACEOF
75772 #define HAVE_ISNAN 1
75773 _ACEOF
75775 cat >>confdefs.h <<\_ACEOF
75776 #define HAVE_ISNANF 1
75777 _ACEOF
75780 cat >>confdefs.h <<\_ACEOF
75781 #define HAVE_MMAP 1
75782 _ACEOF
75784 cat >>confdefs.h <<\_ACEOF
75785 #define HAVE_ACOSF 1
75786 _ACEOF
75788 cat >>confdefs.h <<\_ACEOF
75789 #define HAVE_ASINF 1
75790 _ACEOF
75792 cat >>confdefs.h <<\_ACEOF
75793 #define HAVE_ATAN2F 1
75794 _ACEOF
75796 cat >>confdefs.h <<\_ACEOF
75797 #define HAVE_ATANF 1
75798 _ACEOF
75800 cat >>confdefs.h <<\_ACEOF
75801 #define HAVE_CEILF 1
75802 _ACEOF
75804 cat >>confdefs.h <<\_ACEOF
75805 #define HAVE_COPYSIGN 1
75806 _ACEOF
75808 cat >>confdefs.h <<\_ACEOF
75809 #define HAVE_COPYSIGNF 1
75810 _ACEOF
75812 cat >>confdefs.h <<\_ACEOF
75813 #define HAVE_COSF 1
75814 _ACEOF
75816 cat >>confdefs.h <<\_ACEOF
75817 #define HAVE_COSHF 1
75818 _ACEOF
75820 cat >>confdefs.h <<\_ACEOF
75821 #define HAVE_EXPF 1
75822 _ACEOF
75824 cat >>confdefs.h <<\_ACEOF
75825 #define HAVE_FABSF 1
75826 _ACEOF
75828 cat >>confdefs.h <<\_ACEOF
75829 #define HAVE_FLOORF 1
75830 _ACEOF
75832 cat >>confdefs.h <<\_ACEOF
75833 #define HAVE_FMODF 1
75834 _ACEOF
75836 cat >>confdefs.h <<\_ACEOF
75837 #define HAVE_FREXPF 1
75838 _ACEOF
75840 cat >>confdefs.h <<\_ACEOF
75841 #define HAVE_LDEXPF 1
75842 _ACEOF
75844 cat >>confdefs.h <<\_ACEOF
75845 #define HAVE_LOG10F 1
75846 _ACEOF
75848 cat >>confdefs.h <<\_ACEOF
75849 #define HAVE_LOGF 1
75850 _ACEOF
75852 cat >>confdefs.h <<\_ACEOF
75853 #define HAVE_MODFF 1
75854 _ACEOF
75856 cat >>confdefs.h <<\_ACEOF
75857 #define HAVE_POWF 1
75858 _ACEOF
75860 cat >>confdefs.h <<\_ACEOF
75861 #define HAVE_SINF 1
75862 _ACEOF
75864 cat >>confdefs.h <<\_ACEOF
75865 #define HAVE_SINHF 1
75866 _ACEOF
75868 cat >>confdefs.h <<\_ACEOF
75869 #define HAVE_SQRTF 1
75870 _ACEOF
75872 cat >>confdefs.h <<\_ACEOF
75873 #define HAVE_TANF 1
75874 _ACEOF
75876 cat >>confdefs.h <<\_ACEOF
75877 #define HAVE_TANHF 1
75878 _ACEOF
75880 if test x"long_double_math_on_this_cpu" = x"yes"; then
75881 cat >>confdefs.h <<\_ACEOF
75882 #define HAVE_FINITEL 1
75883 _ACEOF
75885 cat >>confdefs.h <<\_ACEOF
75886 #define HAVE_ISINFL 1
75887 _ACEOF
75889 cat >>confdefs.h <<\_ACEOF
75890 #define HAVE_ISNANL 1
75891 _ACEOF
75895 *-hpux*)
75908 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75909 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75910 fp.h locale.h float.h inttypes.h
75912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75914 echo "$as_me:$LINENO: checking for $ac_header" >&5
75915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75917 echo $ECHO_N "(cached) $ECHO_C" >&6
75919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75921 else
75922 # Is the header compilable?
75923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75925 cat >conftest.$ac_ext <<_ACEOF
75926 /* confdefs.h. */
75927 _ACEOF
75928 cat confdefs.h >>conftest.$ac_ext
75929 cat >>conftest.$ac_ext <<_ACEOF
75930 /* end confdefs.h. */
75931 $ac_includes_default
75932 #include <$ac_header>
75933 _ACEOF
75934 rm -f conftest.$ac_objext
75935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75936 (eval $ac_compile) 2>conftest.er1
75937 ac_status=$?
75938 grep -v '^ *+' conftest.er1 >conftest.err
75939 rm -f conftest.er1
75940 cat conftest.err >&5
75941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75942 (exit $ac_status); } &&
75943 { ac_try='test -z "$ac_c_werror_flag"
75944 || test ! -s conftest.err'
75945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75946 (eval $ac_try) 2>&5
75947 ac_status=$?
75948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75949 (exit $ac_status); }; } &&
75950 { ac_try='test -s conftest.$ac_objext'
75951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75952 (eval $ac_try) 2>&5
75953 ac_status=$?
75954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75955 (exit $ac_status); }; }; then
75956 ac_header_compiler=yes
75957 else
75958 echo "$as_me: failed program was:" >&5
75959 sed 's/^/| /' conftest.$ac_ext >&5
75961 ac_header_compiler=no
75963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75965 echo "${ECHO_T}$ac_header_compiler" >&6
75967 # Is the header present?
75968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75970 cat >conftest.$ac_ext <<_ACEOF
75971 /* confdefs.h. */
75972 _ACEOF
75973 cat confdefs.h >>conftest.$ac_ext
75974 cat >>conftest.$ac_ext <<_ACEOF
75975 /* end confdefs.h. */
75976 #include <$ac_header>
75977 _ACEOF
75978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75980 ac_status=$?
75981 grep -v '^ *+' conftest.er1 >conftest.err
75982 rm -f conftest.er1
75983 cat conftest.err >&5
75984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75985 (exit $ac_status); } >/dev/null; then
75986 if test -s conftest.err; then
75987 ac_cpp_err=$ac_c_preproc_warn_flag
75988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75989 else
75990 ac_cpp_err=
75992 else
75993 ac_cpp_err=yes
75995 if test -z "$ac_cpp_err"; then
75996 ac_header_preproc=yes
75997 else
75998 echo "$as_me: failed program was:" >&5
75999 sed 's/^/| /' conftest.$ac_ext >&5
76001 ac_header_preproc=no
76003 rm -f conftest.err conftest.$ac_ext
76004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76005 echo "${ECHO_T}$ac_header_preproc" >&6
76007 # So? What about this header?
76008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76009 yes:no: )
76010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76014 ac_header_preproc=yes
76016 no:yes:* )
76017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76030 cat <<\_ASBOX
76031 ## ----------------------------------------- ##
76032 ## Report this to the package-unused lists. ##
76033 ## ----------------------------------------- ##
76034 _ASBOX
76036 sed "s/^/$as_me: WARNING: /" >&2
76038 esac
76039 echo "$as_me:$LINENO: checking for $ac_header" >&5
76040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76042 echo $ECHO_N "(cached) $ECHO_C" >&6
76043 else
76044 eval "$as_ac_Header=\$ac_header_preproc"
76046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76051 cat >>confdefs.h <<_ACEOF
76052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76053 _ACEOF
76057 done
76059 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76062 # If we're not using GNU ld, then there's no point in even trying these
76063 # tests. Check for that first. We should have already tested for gld
76064 # by now (in libtool), but require it now just to be safe...
76065 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76066 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76070 # The name set by libtool depends on the version of libtool. Shame on us
76071 # for depending on an impl detail, but c'est la vie. Older versions used
76072 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76073 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76074 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76075 # set (hence we're using an older libtool), then set it.
76076 if test x${with_gnu_ld+set} != xset; then
76077 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76078 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76079 with_gnu_ld=no
76080 else
76081 with_gnu_ld=$ac_cv_prog_gnu_ld
76085 # Start by getting the version number. I think the libtool test already
76086 # does some of this, but throws away the result.
76087 if test x"$with_gnu_ld" = x"yes"; then
76088 echo "$as_me:$LINENO: checking for ld version" >&5
76089 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76091 ldver=`$LD --version 2>/dev/null | head -1 | \
76092 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76094 glibcxx_gnu_ld_version=`echo $ldver | \
76095 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76096 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76097 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76100 # Set --gc-sections.
76101 glibcxx_gcsections_min_ld=21602
76102 if test x"$with_gnu_ld" = x"yes" &&
76103 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76105 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
76106 # NB: This flag only works reliably after 2.16.1. Configure tests
76107 # for this are difficult, so hard wire a value that should work.
76109 # All these tests are for C++, but run with the "C" compiler driver.
76110 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
76111 ac_test_CFLAGS="${CFLAGS+set}"
76112 ac_save_CFLAGS="$CFLAGS"
76113 CFLAGS='-x c++ -Wl,--gc-sections'
76115 # Check for -Wl,--gc-sections
76116 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76117 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76118 if test x$gcc_no_link = xyes; then
76119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76121 { (exit 1); exit 1; }; }
76123 cat >conftest.$ac_ext <<_ACEOF
76124 /* confdefs.h. */
76125 _ACEOF
76126 cat confdefs.h >>conftest.$ac_ext
76127 cat >>conftest.$ac_ext <<_ACEOF
76128 /* end confdefs.h. */
76129 int one(void) { return 1; }
76130 int two(void) { return 2; }
76133 main ()
76135 two();
76137 return 0;
76139 _ACEOF
76140 rm -f conftest.$ac_objext conftest$ac_exeext
76141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76142 (eval $ac_link) 2>conftest.er1
76143 ac_status=$?
76144 grep -v '^ *+' conftest.er1 >conftest.err
76145 rm -f conftest.er1
76146 cat conftest.err >&5
76147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76148 (exit $ac_status); } &&
76149 { ac_try='test -z "$ac_c_werror_flag"
76150 || test ! -s conftest.err'
76151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76152 (eval $ac_try) 2>&5
76153 ac_status=$?
76154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76155 (exit $ac_status); }; } &&
76156 { ac_try='test -s conftest$ac_exeext'
76157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76158 (eval $ac_try) 2>&5
76159 ac_status=$?
76160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76161 (exit $ac_status); }; }; then
76162 ac_gcsections=yes
76163 else
76164 echo "$as_me: failed program was:" >&5
76165 sed 's/^/| /' conftest.$ac_ext >&5
76167 ac_gcsections=no
76169 rm -f conftest.err conftest.$ac_objext \
76170 conftest$ac_exeext conftest.$ac_ext
76171 if test "$ac_gcsections" = "yes"; then
76172 rm -f conftest.c
76173 touch conftest.c
76174 if $CC -c conftest.c; then
76175 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76176 grep "Warning: gc-sections option ignored" > /dev/null; then
76177 ac_gcsections=no
76180 rm -f conftest.c conftest.o conftest
76182 if test "$ac_gcsections" = "yes"; then
76183 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76185 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76186 echo "${ECHO_T}$ac_gcsections" >&6
76188 if test "$ac_test_CFLAGS" = set; then
76189 CFLAGS="$ac_save_CFLAGS"
76190 else
76191 # this is the suspicious part
76192 CFLAGS=''
76196 # Set -z,relro.
76197 # Note this is only for shared objects.
76198 ac_ld_relro=no
76199 if test x"$with_gnu_ld" = x"yes"; then
76200 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76201 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76202 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76203 if test -n "$cxx_z_relo"; then
76204 OPT_LDFLAGS="-Wl,-z,relro"
76205 ac_ld_relro=yes
76207 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76208 echo "${ECHO_T}$ac_ld_relro" >&6
76211 # Set linker optimization flags.
76212 if test x"$with_gnu_ld" = x"yes"; then
76213 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76221 echo "$as_me:$LINENO: checking for main in -lm" >&5
76222 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76223 if test "${ac_cv_lib_m_main+set}" = set; then
76224 echo $ECHO_N "(cached) $ECHO_C" >&6
76225 else
76226 ac_check_lib_save_LIBS=$LIBS
76227 LIBS="-lm $LIBS"
76228 if test x$gcc_no_link = xyes; then
76229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76231 { (exit 1); exit 1; }; }
76233 cat >conftest.$ac_ext <<_ACEOF
76234 /* confdefs.h. */
76235 _ACEOF
76236 cat confdefs.h >>conftest.$ac_ext
76237 cat >>conftest.$ac_ext <<_ACEOF
76238 /* end confdefs.h. */
76242 main ()
76244 main ();
76246 return 0;
76248 _ACEOF
76249 rm -f conftest.$ac_objext conftest$ac_exeext
76250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76251 (eval $ac_link) 2>conftest.er1
76252 ac_status=$?
76253 grep -v '^ *+' conftest.er1 >conftest.err
76254 rm -f conftest.er1
76255 cat conftest.err >&5
76256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76257 (exit $ac_status); } &&
76258 { ac_try='test -z "$ac_c_werror_flag"
76259 || test ! -s conftest.err'
76260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76261 (eval $ac_try) 2>&5
76262 ac_status=$?
76263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76264 (exit $ac_status); }; } &&
76265 { ac_try='test -s conftest$ac_exeext'
76266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76267 (eval $ac_try) 2>&5
76268 ac_status=$?
76269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76270 (exit $ac_status); }; }; then
76271 ac_cv_lib_m_main=yes
76272 else
76273 echo "$as_me: failed program was:" >&5
76274 sed 's/^/| /' conftest.$ac_ext >&5
76276 ac_cv_lib_m_main=no
76278 rm -f conftest.err conftest.$ac_objext \
76279 conftest$ac_exeext conftest.$ac_ext
76280 LIBS=$ac_check_lib_save_LIBS
76282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76283 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76284 if test $ac_cv_lib_m_main = yes; then
76285 cat >>confdefs.h <<_ACEOF
76286 #define HAVE_LIBM 1
76287 _ACEOF
76289 LIBS="-lm $LIBS"
76294 for ac_func in copysignf
76296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76297 echo "$as_me:$LINENO: checking for $ac_func" >&5
76298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76299 if eval "test \"\${$as_ac_var+set}\" = set"; then
76300 echo $ECHO_N "(cached) $ECHO_C" >&6
76301 else
76302 if test x$gcc_no_link = xyes; then
76303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76305 { (exit 1); exit 1; }; }
76307 cat >conftest.$ac_ext <<_ACEOF
76308 /* confdefs.h. */
76309 _ACEOF
76310 cat confdefs.h >>conftest.$ac_ext
76311 cat >>conftest.$ac_ext <<_ACEOF
76312 /* end confdefs.h. */
76313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76315 #define $ac_func innocuous_$ac_func
76317 /* System header to define __stub macros and hopefully few prototypes,
76318 which can conflict with char $ac_func (); below.
76319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76320 <limits.h> exists even on freestanding compilers. */
76322 #ifdef __STDC__
76323 # include <limits.h>
76324 #else
76325 # include <assert.h>
76326 #endif
76328 #undef $ac_func
76330 /* Override any gcc2 internal prototype to avoid an error. */
76331 #ifdef __cplusplus
76332 extern "C"
76334 #endif
76335 /* We use char because int might match the return type of a gcc2
76336 builtin and then its argument prototype would still apply. */
76337 char $ac_func ();
76338 /* The GNU C library defines this for functions which it implements
76339 to always fail with ENOSYS. Some functions are actually named
76340 something starting with __ and the normal name is an alias. */
76341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76342 choke me
76343 #else
76344 char (*f) () = $ac_func;
76345 #endif
76346 #ifdef __cplusplus
76348 #endif
76351 main ()
76353 return f != $ac_func;
76355 return 0;
76357 _ACEOF
76358 rm -f conftest.$ac_objext conftest$ac_exeext
76359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76360 (eval $ac_link) 2>conftest.er1
76361 ac_status=$?
76362 grep -v '^ *+' conftest.er1 >conftest.err
76363 rm -f conftest.er1
76364 cat conftest.err >&5
76365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76366 (exit $ac_status); } &&
76367 { ac_try='test -z "$ac_c_werror_flag"
76368 || test ! -s conftest.err'
76369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76370 (eval $ac_try) 2>&5
76371 ac_status=$?
76372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76373 (exit $ac_status); }; } &&
76374 { ac_try='test -s conftest$ac_exeext'
76375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76376 (eval $ac_try) 2>&5
76377 ac_status=$?
76378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76379 (exit $ac_status); }; }; then
76380 eval "$as_ac_var=yes"
76381 else
76382 echo "$as_me: failed program was:" >&5
76383 sed 's/^/| /' conftest.$ac_ext >&5
76385 eval "$as_ac_var=no"
76387 rm -f conftest.err conftest.$ac_objext \
76388 conftest$ac_exeext conftest.$ac_ext
76390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76392 if test `eval echo '${'$as_ac_var'}'` = yes; then
76393 cat >>confdefs.h <<_ACEOF
76394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76395 _ACEOF
76397 else
76398 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76400 done
76404 for ac_func in __signbit
76406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76407 echo "$as_me:$LINENO: checking for $ac_func" >&5
76408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76409 if eval "test \"\${$as_ac_var+set}\" = set"; then
76410 echo $ECHO_N "(cached) $ECHO_C" >&6
76411 else
76412 if test x$gcc_no_link = xyes; then
76413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76415 { (exit 1); exit 1; }; }
76417 cat >conftest.$ac_ext <<_ACEOF
76418 /* confdefs.h. */
76419 _ACEOF
76420 cat confdefs.h >>conftest.$ac_ext
76421 cat >>conftest.$ac_ext <<_ACEOF
76422 /* end confdefs.h. */
76423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76425 #define $ac_func innocuous_$ac_func
76427 /* System header to define __stub macros and hopefully few prototypes,
76428 which can conflict with char $ac_func (); below.
76429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76430 <limits.h> exists even on freestanding compilers. */
76432 #ifdef __STDC__
76433 # include <limits.h>
76434 #else
76435 # include <assert.h>
76436 #endif
76438 #undef $ac_func
76440 /* Override any gcc2 internal prototype to avoid an error. */
76441 #ifdef __cplusplus
76442 extern "C"
76444 #endif
76445 /* We use char because int might match the return type of a gcc2
76446 builtin and then its argument prototype would still apply. */
76447 char $ac_func ();
76448 /* The GNU C library defines this for functions which it implements
76449 to always fail with ENOSYS. Some functions are actually named
76450 something starting with __ and the normal name is an alias. */
76451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76452 choke me
76453 #else
76454 char (*f) () = $ac_func;
76455 #endif
76456 #ifdef __cplusplus
76458 #endif
76461 main ()
76463 return f != $ac_func;
76465 return 0;
76467 _ACEOF
76468 rm -f conftest.$ac_objext conftest$ac_exeext
76469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76470 (eval $ac_link) 2>conftest.er1
76471 ac_status=$?
76472 grep -v '^ *+' conftest.er1 >conftest.err
76473 rm -f conftest.er1
76474 cat conftest.err >&5
76475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76476 (exit $ac_status); } &&
76477 { ac_try='test -z "$ac_c_werror_flag"
76478 || test ! -s conftest.err'
76479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76480 (eval $ac_try) 2>&5
76481 ac_status=$?
76482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76483 (exit $ac_status); }; } &&
76484 { ac_try='test -s conftest$ac_exeext'
76485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76486 (eval $ac_try) 2>&5
76487 ac_status=$?
76488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76489 (exit $ac_status); }; }; then
76490 eval "$as_ac_var=yes"
76491 else
76492 echo "$as_me: failed program was:" >&5
76493 sed 's/^/| /' conftest.$ac_ext >&5
76495 eval "$as_ac_var=no"
76497 rm -f conftest.err conftest.$ac_objext \
76498 conftest$ac_exeext conftest.$ac_ext
76500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76502 if test `eval echo '${'$as_ac_var'}'` = yes; then
76503 cat >>confdefs.h <<_ACEOF
76504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76505 _ACEOF
76507 else
76508 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76510 done
76514 for ac_func in __signbitf
76516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76517 echo "$as_me:$LINENO: checking for $ac_func" >&5
76518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76519 if eval "test \"\${$as_ac_var+set}\" = set"; then
76520 echo $ECHO_N "(cached) $ECHO_C" >&6
76521 else
76522 if test x$gcc_no_link = xyes; then
76523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76525 { (exit 1); exit 1; }; }
76527 cat >conftest.$ac_ext <<_ACEOF
76528 /* confdefs.h. */
76529 _ACEOF
76530 cat confdefs.h >>conftest.$ac_ext
76531 cat >>conftest.$ac_ext <<_ACEOF
76532 /* end confdefs.h. */
76533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76535 #define $ac_func innocuous_$ac_func
76537 /* System header to define __stub macros and hopefully few prototypes,
76538 which can conflict with char $ac_func (); below.
76539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76540 <limits.h> exists even on freestanding compilers. */
76542 #ifdef __STDC__
76543 # include <limits.h>
76544 #else
76545 # include <assert.h>
76546 #endif
76548 #undef $ac_func
76550 /* Override any gcc2 internal prototype to avoid an error. */
76551 #ifdef __cplusplus
76552 extern "C"
76554 #endif
76555 /* We use char because int might match the return type of a gcc2
76556 builtin and then its argument prototype would still apply. */
76557 char $ac_func ();
76558 /* The GNU C library defines this for functions which it implements
76559 to always fail with ENOSYS. Some functions are actually named
76560 something starting with __ and the normal name is an alias. */
76561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76562 choke me
76563 #else
76564 char (*f) () = $ac_func;
76565 #endif
76566 #ifdef __cplusplus
76568 #endif
76571 main ()
76573 return f != $ac_func;
76575 return 0;
76577 _ACEOF
76578 rm -f conftest.$ac_objext conftest$ac_exeext
76579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76580 (eval $ac_link) 2>conftest.er1
76581 ac_status=$?
76582 grep -v '^ *+' conftest.er1 >conftest.err
76583 rm -f conftest.er1
76584 cat conftest.err >&5
76585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76586 (exit $ac_status); } &&
76587 { ac_try='test -z "$ac_c_werror_flag"
76588 || test ! -s conftest.err'
76589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76590 (eval $ac_try) 2>&5
76591 ac_status=$?
76592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76593 (exit $ac_status); }; } &&
76594 { ac_try='test -s conftest$ac_exeext'
76595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76596 (eval $ac_try) 2>&5
76597 ac_status=$?
76598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76599 (exit $ac_status); }; }; then
76600 eval "$as_ac_var=yes"
76601 else
76602 echo "$as_me: failed program was:" >&5
76603 sed 's/^/| /' conftest.$ac_ext >&5
76605 eval "$as_ac_var=no"
76607 rm -f conftest.err conftest.$ac_objext \
76608 conftest$ac_exeext conftest.$ac_ext
76610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76612 if test `eval echo '${'$as_ac_var'}'` = yes; then
76613 cat >>confdefs.h <<_ACEOF
76614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76615 _ACEOF
76617 else
76618 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76620 done
76623 if test x$ac_cv_func_copysignl = x"yes"; then
76625 for ac_func in __signbitl
76627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76628 echo "$as_me:$LINENO: checking for $ac_func" >&5
76629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76630 if eval "test \"\${$as_ac_var+set}\" = set"; then
76631 echo $ECHO_N "(cached) $ECHO_C" >&6
76632 else
76633 if test x$gcc_no_link = xyes; then
76634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76636 { (exit 1); exit 1; }; }
76638 cat >conftest.$ac_ext <<_ACEOF
76639 /* confdefs.h. */
76640 _ACEOF
76641 cat confdefs.h >>conftest.$ac_ext
76642 cat >>conftest.$ac_ext <<_ACEOF
76643 /* end confdefs.h. */
76644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76646 #define $ac_func innocuous_$ac_func
76648 /* System header to define __stub macros and hopefully few prototypes,
76649 which can conflict with char $ac_func (); below.
76650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76651 <limits.h> exists even on freestanding compilers. */
76653 #ifdef __STDC__
76654 # include <limits.h>
76655 #else
76656 # include <assert.h>
76657 #endif
76659 #undef $ac_func
76661 /* Override any gcc2 internal prototype to avoid an error. */
76662 #ifdef __cplusplus
76663 extern "C"
76665 #endif
76666 /* We use char because int might match the return type of a gcc2
76667 builtin and then its argument prototype would still apply. */
76668 char $ac_func ();
76669 /* The GNU C library defines this for functions which it implements
76670 to always fail with ENOSYS. Some functions are actually named
76671 something starting with __ and the normal name is an alias. */
76672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76673 choke me
76674 #else
76675 char (*f) () = $ac_func;
76676 #endif
76677 #ifdef __cplusplus
76679 #endif
76682 main ()
76684 return f != $ac_func;
76686 return 0;
76688 _ACEOF
76689 rm -f conftest.$ac_objext conftest$ac_exeext
76690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76691 (eval $ac_link) 2>conftest.er1
76692 ac_status=$?
76693 grep -v '^ *+' conftest.er1 >conftest.err
76694 rm -f conftest.er1
76695 cat conftest.err >&5
76696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76697 (exit $ac_status); } &&
76698 { ac_try='test -z "$ac_c_werror_flag"
76699 || test ! -s conftest.err'
76700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76701 (eval $ac_try) 2>&5
76702 ac_status=$?
76703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76704 (exit $ac_status); }; } &&
76705 { ac_try='test -s conftest$ac_exeext'
76706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76707 (eval $ac_try) 2>&5
76708 ac_status=$?
76709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76710 (exit $ac_status); }; }; then
76711 eval "$as_ac_var=yes"
76712 else
76713 echo "$as_me: failed program was:" >&5
76714 sed 's/^/| /' conftest.$ac_ext >&5
76716 eval "$as_ac_var=no"
76718 rm -f conftest.err conftest.$ac_objext \
76719 conftest$ac_exeext conftest.$ac_ext
76721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76723 if test `eval echo '${'$as_ac_var'}'` = yes; then
76724 cat >>confdefs.h <<_ACEOF
76725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76726 _ACEOF
76728 else
76729 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76731 done
76735 # Used in libmath/Makefile.am.
76736 if test -n "$LIBMATHOBJS"; then
76737 need_libmath=yes
76741 cat >>confdefs.h <<\_ACEOF
76742 #define HAVE_COPYSIGN 1
76743 _ACEOF
76745 cat >>confdefs.h <<\_ACEOF
76746 #define HAVE_COPYSIGNF 1
76747 _ACEOF
76749 cat >>confdefs.h <<\_ACEOF
76750 #define HAVE_FREXPF 1
76751 _ACEOF
76753 cat >>confdefs.h <<\_ACEOF
76754 #define HAVE_HYPOT 1
76755 _ACEOF
76757 case "$target" in
76758 *-hpux10*)
76759 cat >>confdefs.h <<\_ACEOF
76760 #define HAVE_FINITE 1
76761 _ACEOF
76763 cat >>confdefs.h <<\_ACEOF
76764 #define HAVE_FINITEF 1
76765 _ACEOF
76767 cat >>confdefs.h <<\_ACEOF
76768 #define HAVE_ISINF 1
76769 _ACEOF
76771 cat >>confdefs.h <<\_ACEOF
76772 #define HAVE_ISINFF 1
76773 _ACEOF
76775 cat >>confdefs.h <<\_ACEOF
76776 #define HAVE_ISNAN 1
76777 _ACEOF
76779 cat >>confdefs.h <<\_ACEOF
76780 #define HAVE_ISNANF 1
76781 _ACEOF
76784 esac
76786 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76802 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76803 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76804 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76808 echo "$as_me:$LINENO: checking for $ac_header" >&5
76809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76811 echo $ECHO_N "(cached) $ECHO_C" >&6
76813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76815 else
76816 # Is the header compilable?
76817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76819 cat >conftest.$ac_ext <<_ACEOF
76820 /* confdefs.h. */
76821 _ACEOF
76822 cat confdefs.h >>conftest.$ac_ext
76823 cat >>conftest.$ac_ext <<_ACEOF
76824 /* end confdefs.h. */
76825 $ac_includes_default
76826 #include <$ac_header>
76827 _ACEOF
76828 rm -f conftest.$ac_objext
76829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76830 (eval $ac_compile) 2>conftest.er1
76831 ac_status=$?
76832 grep -v '^ *+' conftest.er1 >conftest.err
76833 rm -f conftest.er1
76834 cat conftest.err >&5
76835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76836 (exit $ac_status); } &&
76837 { ac_try='test -z "$ac_c_werror_flag"
76838 || test ! -s conftest.err'
76839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76840 (eval $ac_try) 2>&5
76841 ac_status=$?
76842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76843 (exit $ac_status); }; } &&
76844 { ac_try='test -s conftest.$ac_objext'
76845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76846 (eval $ac_try) 2>&5
76847 ac_status=$?
76848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76849 (exit $ac_status); }; }; then
76850 ac_header_compiler=yes
76851 else
76852 echo "$as_me: failed program was:" >&5
76853 sed 's/^/| /' conftest.$ac_ext >&5
76855 ac_header_compiler=no
76857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76859 echo "${ECHO_T}$ac_header_compiler" >&6
76861 # Is the header present?
76862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76864 cat >conftest.$ac_ext <<_ACEOF
76865 /* confdefs.h. */
76866 _ACEOF
76867 cat confdefs.h >>conftest.$ac_ext
76868 cat >>conftest.$ac_ext <<_ACEOF
76869 /* end confdefs.h. */
76870 #include <$ac_header>
76871 _ACEOF
76872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76874 ac_status=$?
76875 grep -v '^ *+' conftest.er1 >conftest.err
76876 rm -f conftest.er1
76877 cat conftest.err >&5
76878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76879 (exit $ac_status); } >/dev/null; then
76880 if test -s conftest.err; then
76881 ac_cpp_err=$ac_c_preproc_warn_flag
76882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76883 else
76884 ac_cpp_err=
76886 else
76887 ac_cpp_err=yes
76889 if test -z "$ac_cpp_err"; then
76890 ac_header_preproc=yes
76891 else
76892 echo "$as_me: failed program was:" >&5
76893 sed 's/^/| /' conftest.$ac_ext >&5
76895 ac_header_preproc=no
76897 rm -f conftest.err conftest.$ac_ext
76898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76899 echo "${ECHO_T}$ac_header_preproc" >&6
76901 # So? What about this header?
76902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76903 yes:no: )
76904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76908 ac_header_preproc=yes
76910 no:yes:* )
76911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76915 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76917 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76918 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76921 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76924 cat <<\_ASBOX
76925 ## ----------------------------------------- ##
76926 ## Report this to the package-unused lists. ##
76927 ## ----------------------------------------- ##
76928 _ASBOX
76930 sed "s/^/$as_me: WARNING: /" >&2
76932 esac
76933 echo "$as_me:$LINENO: checking for $ac_header" >&5
76934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76936 echo $ECHO_N "(cached) $ECHO_C" >&6
76937 else
76938 eval "$as_ac_Header=\$ac_header_preproc"
76940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76945 cat >>confdefs.h <<_ACEOF
76946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76947 _ACEOF
76951 done
76953 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76956 # All these tests are for C++; save the language and the compiler flags.
76957 # The CXXFLAGS thing is suspicious, but based on similar bits previously
76958 # found in GLIBCXX_CONFIGURE.
76961 ac_ext=cc
76962 ac_cpp='$CXXCPP $CPPFLAGS'
76963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76967 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76968 ac_save_CXXFLAGS="$CXXFLAGS"
76970 # Check for maintainer-mode bits.
76971 if test x"$USE_MAINTAINER_MODE" = xno; then
76972 WERROR=''
76973 else
76974 WERROR='-Werror'
76977 # Check for -ffunction-sections -fdata-sections
76978 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
76979 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
76980 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
76981 cat >conftest.$ac_ext <<_ACEOF
76982 /* confdefs.h. */
76983 _ACEOF
76984 cat confdefs.h >>conftest.$ac_ext
76985 cat >>conftest.$ac_ext <<_ACEOF
76986 /* end confdefs.h. */
76989 main ()
76991 int foo;
76993 return 0;
76995 _ACEOF
76996 rm -f conftest.$ac_objext
76997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76998 (eval $ac_compile) 2>conftest.er1
76999 ac_status=$?
77000 grep -v '^ *+' conftest.er1 >conftest.err
77001 rm -f conftest.er1
77002 cat conftest.err >&5
77003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77004 (exit $ac_status); } &&
77005 { ac_try='test -z "$ac_cxx_werror_flag"
77006 || test ! -s conftest.err'
77007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77008 (eval $ac_try) 2>&5
77009 ac_status=$?
77010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77011 (exit $ac_status); }; } &&
77012 { ac_try='test -s conftest.$ac_objext'
77013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77014 (eval $ac_try) 2>&5
77015 ac_status=$?
77016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77017 (exit $ac_status); }; }; then
77018 ac_fdsections=yes
77019 else
77020 echo "$as_me: failed program was:" >&5
77021 sed 's/^/| /' conftest.$ac_ext >&5
77023 ac_fdsections=no
77025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77026 if test "$ac_test_CXXFLAGS" = set; then
77027 CXXFLAGS="$ac_save_CXXFLAGS"
77028 else
77029 # this is the suspicious part
77030 CXXFLAGS=''
77032 if test x"$ac_fdsections" = x"yes"; then
77033 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77035 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
77036 echo "${ECHO_T}$ac_fdsections" >&6
77038 ac_ext=c
77039 ac_cpp='$CPP $CPPFLAGS'
77040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77048 # If we're not using GNU ld, then there's no point in even trying these
77049 # tests. Check for that first. We should have already tested for gld
77050 # by now (in libtool), but require it now just to be safe...
77051 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77052 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77056 # The name set by libtool depends on the version of libtool. Shame on us
77057 # for depending on an impl detail, but c'est la vie. Older versions used
77058 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77059 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77060 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77061 # set (hence we're using an older libtool), then set it.
77062 if test x${with_gnu_ld+set} != xset; then
77063 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77064 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77065 with_gnu_ld=no
77066 else
77067 with_gnu_ld=$ac_cv_prog_gnu_ld
77071 # Start by getting the version number. I think the libtool test already
77072 # does some of this, but throws away the result.
77073 if test x"$with_gnu_ld" = x"yes"; then
77074 echo "$as_me:$LINENO: checking for ld version" >&5
77075 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77077 ldver=`$LD --version 2>/dev/null | head -1 | \
77078 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77080 glibcxx_gnu_ld_version=`echo $ldver | \
77081 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77082 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77083 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77086 # Set --gc-sections.
77087 glibcxx_gcsections_min_ld=21602
77088 if test x"$with_gnu_ld" = x"yes" &&
77089 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77091 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77092 # NB: This flag only works reliably after 2.16.1. Configure tests
77093 # for this are difficult, so hard wire a value that should work.
77095 # All these tests are for C++, but run with the "C" compiler driver.
77096 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77097 ac_test_CFLAGS="${CFLAGS+set}"
77098 ac_save_CFLAGS="$CFLAGS"
77099 CFLAGS='-x c++ -Wl,--gc-sections'
77101 # Check for -Wl,--gc-sections
77102 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77103 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77104 if test x$gcc_no_link = xyes; then
77105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77107 { (exit 1); exit 1; }; }
77109 cat >conftest.$ac_ext <<_ACEOF
77110 /* confdefs.h. */
77111 _ACEOF
77112 cat confdefs.h >>conftest.$ac_ext
77113 cat >>conftest.$ac_ext <<_ACEOF
77114 /* end confdefs.h. */
77115 int one(void) { return 1; }
77116 int two(void) { return 2; }
77119 main ()
77121 two();
77123 return 0;
77125 _ACEOF
77126 rm -f conftest.$ac_objext conftest$ac_exeext
77127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77128 (eval $ac_link) 2>conftest.er1
77129 ac_status=$?
77130 grep -v '^ *+' conftest.er1 >conftest.err
77131 rm -f conftest.er1
77132 cat conftest.err >&5
77133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77134 (exit $ac_status); } &&
77135 { ac_try='test -z "$ac_c_werror_flag"
77136 || test ! -s conftest.err'
77137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77138 (eval $ac_try) 2>&5
77139 ac_status=$?
77140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77141 (exit $ac_status); }; } &&
77142 { ac_try='test -s conftest$ac_exeext'
77143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77144 (eval $ac_try) 2>&5
77145 ac_status=$?
77146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77147 (exit $ac_status); }; }; then
77148 ac_gcsections=yes
77149 else
77150 echo "$as_me: failed program was:" >&5
77151 sed 's/^/| /' conftest.$ac_ext >&5
77153 ac_gcsections=no
77155 rm -f conftest.err conftest.$ac_objext \
77156 conftest$ac_exeext conftest.$ac_ext
77157 if test "$ac_gcsections" = "yes"; then
77158 rm -f conftest.c
77159 touch conftest.c
77160 if $CC -c conftest.c; then
77161 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77162 grep "Warning: gc-sections option ignored" > /dev/null; then
77163 ac_gcsections=no
77166 rm -f conftest.c conftest.o conftest
77168 if test "$ac_gcsections" = "yes"; then
77169 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77171 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77172 echo "${ECHO_T}$ac_gcsections" >&6
77174 if test "$ac_test_CFLAGS" = set; then
77175 CFLAGS="$ac_save_CFLAGS"
77176 else
77177 # this is the suspicious part
77178 CFLAGS=''
77182 # Set -z,relro.
77183 # Note this is only for shared objects.
77184 ac_ld_relro=no
77185 if test x"$with_gnu_ld" = x"yes"; then
77186 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77187 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77188 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77189 if test -n "$cxx_z_relo"; then
77190 OPT_LDFLAGS="-Wl,-z,relro"
77191 ac_ld_relro=yes
77193 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77194 echo "${ECHO_T}$ac_ld_relro" >&6
77197 # Set linker optimization flags.
77198 if test x"$with_gnu_ld" = x"yes"; then
77199 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77206 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77207 ac_save_CXXFLAGS="$CXXFLAGS"
77208 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77210 echo "$as_me:$LINENO: checking for sin in -lm" >&5
77211 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
77212 if test "${ac_cv_lib_m_sin+set}" = set; then
77213 echo $ECHO_N "(cached) $ECHO_C" >&6
77214 else
77215 ac_check_lib_save_LIBS=$LIBS
77216 LIBS="-lm $LIBS"
77217 if test x$gcc_no_link = xyes; then
77218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77220 { (exit 1); exit 1; }; }
77222 cat >conftest.$ac_ext <<_ACEOF
77223 /* confdefs.h. */
77224 _ACEOF
77225 cat confdefs.h >>conftest.$ac_ext
77226 cat >>conftest.$ac_ext <<_ACEOF
77227 /* end confdefs.h. */
77229 /* Override any gcc2 internal prototype to avoid an error. */
77230 #ifdef __cplusplus
77231 extern "C"
77232 #endif
77233 /* We use char because int might match the return type of a gcc2
77234 builtin and then its argument prototype would still apply. */
77235 char sin ();
77237 main ()
77239 sin ();
77241 return 0;
77243 _ACEOF
77244 rm -f conftest.$ac_objext conftest$ac_exeext
77245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77246 (eval $ac_link) 2>conftest.er1
77247 ac_status=$?
77248 grep -v '^ *+' conftest.er1 >conftest.err
77249 rm -f conftest.er1
77250 cat conftest.err >&5
77251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77252 (exit $ac_status); } &&
77253 { ac_try='test -z "$ac_c_werror_flag"
77254 || test ! -s conftest.err'
77255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77256 (eval $ac_try) 2>&5
77257 ac_status=$?
77258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77259 (exit $ac_status); }; } &&
77260 { ac_try='test -s conftest$ac_exeext'
77261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77262 (eval $ac_try) 2>&5
77263 ac_status=$?
77264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77265 (exit $ac_status); }; }; then
77266 ac_cv_lib_m_sin=yes
77267 else
77268 echo "$as_me: failed program was:" >&5
77269 sed 's/^/| /' conftest.$ac_ext >&5
77271 ac_cv_lib_m_sin=no
77273 rm -f conftest.err conftest.$ac_objext \
77274 conftest$ac_exeext conftest.$ac_ext
77275 LIBS=$ac_check_lib_save_LIBS
77277 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
77278 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
77279 if test $ac_cv_lib_m_sin = yes; then
77280 libm="-lm"
77283 ac_save_LIBS="$LIBS"
77284 LIBS="$LIBS $libm"
77288 echo "$as_me:$LINENO: checking for isinf declaration" >&5
77289 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
77290 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
77291 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
77292 echo $ECHO_N "(cached) $ECHO_C" >&6
77293 else
77297 ac_ext=cc
77298 ac_cpp='$CXXCPP $CPPFLAGS'
77299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77303 cat >conftest.$ac_ext <<_ACEOF
77304 /* confdefs.h. */
77305 _ACEOF
77306 cat confdefs.h >>conftest.$ac_ext
77307 cat >>conftest.$ac_ext <<_ACEOF
77308 /* end confdefs.h. */
77309 #include <math.h>
77310 #ifdef HAVE_IEEEFP_H
77311 #include <ieeefp.h>
77312 #endif
77315 main ()
77317 isinf(0);
77319 return 0;
77321 _ACEOF
77322 rm -f conftest.$ac_objext
77323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77324 (eval $ac_compile) 2>conftest.er1
77325 ac_status=$?
77326 grep -v '^ *+' conftest.er1 >conftest.err
77327 rm -f conftest.er1
77328 cat conftest.err >&5
77329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77330 (exit $ac_status); } &&
77331 { ac_try='test -z "$ac_cxx_werror_flag"
77332 || test ! -s conftest.err'
77333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77334 (eval $ac_try) 2>&5
77335 ac_status=$?
77336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77337 (exit $ac_status); }; } &&
77338 { ac_try='test -s conftest.$ac_objext'
77339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77340 (eval $ac_try) 2>&5
77341 ac_status=$?
77342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77343 (exit $ac_status); }; }; then
77344 glibcxx_cv_func_isinf_use=yes
77345 else
77346 echo "$as_me: failed program was:" >&5
77347 sed 's/^/| /' conftest.$ac_ext >&5
77349 glibcxx_cv_func_isinf_use=no
77351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77352 ac_ext=c
77353 ac_cpp='$CPP $CPPFLAGS'
77354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
77363 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
77365 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
77367 for ac_func in isinf
77369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77370 echo "$as_me:$LINENO: checking for $ac_func" >&5
77371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77372 if eval "test \"\${$as_ac_var+set}\" = set"; then
77373 echo $ECHO_N "(cached) $ECHO_C" >&6
77374 else
77375 if test x$gcc_no_link = xyes; then
77376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77378 { (exit 1); exit 1; }; }
77380 cat >conftest.$ac_ext <<_ACEOF
77381 /* confdefs.h. */
77382 _ACEOF
77383 cat confdefs.h >>conftest.$ac_ext
77384 cat >>conftest.$ac_ext <<_ACEOF
77385 /* end confdefs.h. */
77386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77388 #define $ac_func innocuous_$ac_func
77390 /* System header to define __stub macros and hopefully few prototypes,
77391 which can conflict with char $ac_func (); below.
77392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77393 <limits.h> exists even on freestanding compilers. */
77395 #ifdef __STDC__
77396 # include <limits.h>
77397 #else
77398 # include <assert.h>
77399 #endif
77401 #undef $ac_func
77403 /* Override any gcc2 internal prototype to avoid an error. */
77404 #ifdef __cplusplus
77405 extern "C"
77407 #endif
77408 /* We use char because int might match the return type of a gcc2
77409 builtin and then its argument prototype would still apply. */
77410 char $ac_func ();
77411 /* The GNU C library defines this for functions which it implements
77412 to always fail with ENOSYS. Some functions are actually named
77413 something starting with __ and the normal name is an alias. */
77414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77415 choke me
77416 #else
77417 char (*f) () = $ac_func;
77418 #endif
77419 #ifdef __cplusplus
77421 #endif
77424 main ()
77426 return f != $ac_func;
77428 return 0;
77430 _ACEOF
77431 rm -f conftest.$ac_objext conftest$ac_exeext
77432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77433 (eval $ac_link) 2>conftest.er1
77434 ac_status=$?
77435 grep -v '^ *+' conftest.er1 >conftest.err
77436 rm -f conftest.er1
77437 cat conftest.err >&5
77438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77439 (exit $ac_status); } &&
77440 { ac_try='test -z "$ac_c_werror_flag"
77441 || test ! -s conftest.err'
77442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77443 (eval $ac_try) 2>&5
77444 ac_status=$?
77445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77446 (exit $ac_status); }; } &&
77447 { ac_try='test -s conftest$ac_exeext'
77448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77449 (eval $ac_try) 2>&5
77450 ac_status=$?
77451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77452 (exit $ac_status); }; }; then
77453 eval "$as_ac_var=yes"
77454 else
77455 echo "$as_me: failed program was:" >&5
77456 sed 's/^/| /' conftest.$ac_ext >&5
77458 eval "$as_ac_var=no"
77460 rm -f conftest.err conftest.$ac_objext \
77461 conftest$ac_exeext conftest.$ac_ext
77463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77465 if test `eval echo '${'$as_ac_var'}'` = yes; then
77466 cat >>confdefs.h <<_ACEOF
77467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77468 _ACEOF
77471 done
77473 else
77475 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
77476 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
77477 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
77478 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
77479 echo $ECHO_N "(cached) $ECHO_C" >&6
77480 else
77484 ac_ext=cc
77485 ac_cpp='$CXXCPP $CPPFLAGS'
77486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77490 cat >conftest.$ac_ext <<_ACEOF
77491 /* confdefs.h. */
77492 _ACEOF
77493 cat confdefs.h >>conftest.$ac_ext
77494 cat >>conftest.$ac_ext <<_ACEOF
77495 /* end confdefs.h. */
77496 #include <math.h>
77497 #ifdef HAVE_IEEEFP_H
77498 #include <ieeefp.h>
77499 #endif
77502 main ()
77504 _isinf(0);
77506 return 0;
77508 _ACEOF
77509 rm -f conftest.$ac_objext
77510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77511 (eval $ac_compile) 2>conftest.er1
77512 ac_status=$?
77513 grep -v '^ *+' conftest.er1 >conftest.err
77514 rm -f conftest.er1
77515 cat conftest.err >&5
77516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77517 (exit $ac_status); } &&
77518 { ac_try='test -z "$ac_cxx_werror_flag"
77519 || test ! -s conftest.err'
77520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77521 (eval $ac_try) 2>&5
77522 ac_status=$?
77523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77524 (exit $ac_status); }; } &&
77525 { ac_try='test -s conftest.$ac_objext'
77526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77527 (eval $ac_try) 2>&5
77528 ac_status=$?
77529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77530 (exit $ac_status); }; }; then
77531 glibcxx_cv_func__isinf_use=yes
77532 else
77533 echo "$as_me: failed program was:" >&5
77534 sed 's/^/| /' conftest.$ac_ext >&5
77536 glibcxx_cv_func__isinf_use=no
77538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77539 ac_ext=c
77540 ac_cpp='$CPP $CPPFLAGS'
77541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
77550 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
77552 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
77554 for ac_func in _isinf
77556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77557 echo "$as_me:$LINENO: checking for $ac_func" >&5
77558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77559 if eval "test \"\${$as_ac_var+set}\" = set"; then
77560 echo $ECHO_N "(cached) $ECHO_C" >&6
77561 else
77562 if test x$gcc_no_link = xyes; then
77563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77565 { (exit 1); exit 1; }; }
77567 cat >conftest.$ac_ext <<_ACEOF
77568 /* confdefs.h. */
77569 _ACEOF
77570 cat confdefs.h >>conftest.$ac_ext
77571 cat >>conftest.$ac_ext <<_ACEOF
77572 /* end confdefs.h. */
77573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77575 #define $ac_func innocuous_$ac_func
77577 /* System header to define __stub macros and hopefully few prototypes,
77578 which can conflict with char $ac_func (); below.
77579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77580 <limits.h> exists even on freestanding compilers. */
77582 #ifdef __STDC__
77583 # include <limits.h>
77584 #else
77585 # include <assert.h>
77586 #endif
77588 #undef $ac_func
77590 /* Override any gcc2 internal prototype to avoid an error. */
77591 #ifdef __cplusplus
77592 extern "C"
77594 #endif
77595 /* We use char because int might match the return type of a gcc2
77596 builtin and then its argument prototype would still apply. */
77597 char $ac_func ();
77598 /* The GNU C library defines this for functions which it implements
77599 to always fail with ENOSYS. Some functions are actually named
77600 something starting with __ and the normal name is an alias. */
77601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77602 choke me
77603 #else
77604 char (*f) () = $ac_func;
77605 #endif
77606 #ifdef __cplusplus
77608 #endif
77611 main ()
77613 return f != $ac_func;
77615 return 0;
77617 _ACEOF
77618 rm -f conftest.$ac_objext conftest$ac_exeext
77619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77620 (eval $ac_link) 2>conftest.er1
77621 ac_status=$?
77622 grep -v '^ *+' conftest.er1 >conftest.err
77623 rm -f conftest.er1
77624 cat conftest.err >&5
77625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77626 (exit $ac_status); } &&
77627 { ac_try='test -z "$ac_c_werror_flag"
77628 || test ! -s conftest.err'
77629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77630 (eval $ac_try) 2>&5
77631 ac_status=$?
77632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77633 (exit $ac_status); }; } &&
77634 { ac_try='test -s conftest$ac_exeext'
77635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77636 (eval $ac_try) 2>&5
77637 ac_status=$?
77638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77639 (exit $ac_status); }; }; then
77640 eval "$as_ac_var=yes"
77641 else
77642 echo "$as_me: failed program was:" >&5
77643 sed 's/^/| /' conftest.$ac_ext >&5
77645 eval "$as_ac_var=no"
77647 rm -f conftest.err conftest.$ac_objext \
77648 conftest$ac_exeext conftest.$ac_ext
77650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77652 if test `eval echo '${'$as_ac_var'}'` = yes; then
77653 cat >>confdefs.h <<_ACEOF
77654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77655 _ACEOF
77658 done
77668 echo "$as_me:$LINENO: checking for isnan declaration" >&5
77669 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
77670 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
77671 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
77672 echo $ECHO_N "(cached) $ECHO_C" >&6
77673 else
77677 ac_ext=cc
77678 ac_cpp='$CXXCPP $CPPFLAGS'
77679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77683 cat >conftest.$ac_ext <<_ACEOF
77684 /* confdefs.h. */
77685 _ACEOF
77686 cat confdefs.h >>conftest.$ac_ext
77687 cat >>conftest.$ac_ext <<_ACEOF
77688 /* end confdefs.h. */
77689 #include <math.h>
77690 #ifdef HAVE_IEEEFP_H
77691 #include <ieeefp.h>
77692 #endif
77695 main ()
77697 isnan(0);
77699 return 0;
77701 _ACEOF
77702 rm -f conftest.$ac_objext
77703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77704 (eval $ac_compile) 2>conftest.er1
77705 ac_status=$?
77706 grep -v '^ *+' conftest.er1 >conftest.err
77707 rm -f conftest.er1
77708 cat conftest.err >&5
77709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77710 (exit $ac_status); } &&
77711 { ac_try='test -z "$ac_cxx_werror_flag"
77712 || test ! -s conftest.err'
77713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77714 (eval $ac_try) 2>&5
77715 ac_status=$?
77716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77717 (exit $ac_status); }; } &&
77718 { ac_try='test -s conftest.$ac_objext'
77719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77720 (eval $ac_try) 2>&5
77721 ac_status=$?
77722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77723 (exit $ac_status); }; }; then
77724 glibcxx_cv_func_isnan_use=yes
77725 else
77726 echo "$as_me: failed program was:" >&5
77727 sed 's/^/| /' conftest.$ac_ext >&5
77729 glibcxx_cv_func_isnan_use=no
77731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77732 ac_ext=c
77733 ac_cpp='$CPP $CPPFLAGS'
77734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
77743 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
77745 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
77747 for ac_func in isnan
77749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77750 echo "$as_me:$LINENO: checking for $ac_func" >&5
77751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77752 if eval "test \"\${$as_ac_var+set}\" = set"; then
77753 echo $ECHO_N "(cached) $ECHO_C" >&6
77754 else
77755 if test x$gcc_no_link = xyes; then
77756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77758 { (exit 1); exit 1; }; }
77760 cat >conftest.$ac_ext <<_ACEOF
77761 /* confdefs.h. */
77762 _ACEOF
77763 cat confdefs.h >>conftest.$ac_ext
77764 cat >>conftest.$ac_ext <<_ACEOF
77765 /* end confdefs.h. */
77766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77768 #define $ac_func innocuous_$ac_func
77770 /* System header to define __stub macros and hopefully few prototypes,
77771 which can conflict with char $ac_func (); below.
77772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77773 <limits.h> exists even on freestanding compilers. */
77775 #ifdef __STDC__
77776 # include <limits.h>
77777 #else
77778 # include <assert.h>
77779 #endif
77781 #undef $ac_func
77783 /* Override any gcc2 internal prototype to avoid an error. */
77784 #ifdef __cplusplus
77785 extern "C"
77787 #endif
77788 /* We use char because int might match the return type of a gcc2
77789 builtin and then its argument prototype would still apply. */
77790 char $ac_func ();
77791 /* The GNU C library defines this for functions which it implements
77792 to always fail with ENOSYS. Some functions are actually named
77793 something starting with __ and the normal name is an alias. */
77794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77795 choke me
77796 #else
77797 char (*f) () = $ac_func;
77798 #endif
77799 #ifdef __cplusplus
77801 #endif
77804 main ()
77806 return f != $ac_func;
77808 return 0;
77810 _ACEOF
77811 rm -f conftest.$ac_objext conftest$ac_exeext
77812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77813 (eval $ac_link) 2>conftest.er1
77814 ac_status=$?
77815 grep -v '^ *+' conftest.er1 >conftest.err
77816 rm -f conftest.er1
77817 cat conftest.err >&5
77818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77819 (exit $ac_status); } &&
77820 { ac_try='test -z "$ac_c_werror_flag"
77821 || test ! -s conftest.err'
77822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77823 (eval $ac_try) 2>&5
77824 ac_status=$?
77825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77826 (exit $ac_status); }; } &&
77827 { ac_try='test -s conftest$ac_exeext'
77828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77829 (eval $ac_try) 2>&5
77830 ac_status=$?
77831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77832 (exit $ac_status); }; }; then
77833 eval "$as_ac_var=yes"
77834 else
77835 echo "$as_me: failed program was:" >&5
77836 sed 's/^/| /' conftest.$ac_ext >&5
77838 eval "$as_ac_var=no"
77840 rm -f conftest.err conftest.$ac_objext \
77841 conftest$ac_exeext conftest.$ac_ext
77843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77845 if test `eval echo '${'$as_ac_var'}'` = yes; then
77846 cat >>confdefs.h <<_ACEOF
77847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77848 _ACEOF
77851 done
77853 else
77855 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
77856 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
77857 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
77858 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
77859 echo $ECHO_N "(cached) $ECHO_C" >&6
77860 else
77864 ac_ext=cc
77865 ac_cpp='$CXXCPP $CPPFLAGS'
77866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77870 cat >conftest.$ac_ext <<_ACEOF
77871 /* confdefs.h. */
77872 _ACEOF
77873 cat confdefs.h >>conftest.$ac_ext
77874 cat >>conftest.$ac_ext <<_ACEOF
77875 /* end confdefs.h. */
77876 #include <math.h>
77877 #ifdef HAVE_IEEEFP_H
77878 #include <ieeefp.h>
77879 #endif
77882 main ()
77884 _isnan(0);
77886 return 0;
77888 _ACEOF
77889 rm -f conftest.$ac_objext
77890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77891 (eval $ac_compile) 2>conftest.er1
77892 ac_status=$?
77893 grep -v '^ *+' conftest.er1 >conftest.err
77894 rm -f conftest.er1
77895 cat conftest.err >&5
77896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77897 (exit $ac_status); } &&
77898 { ac_try='test -z "$ac_cxx_werror_flag"
77899 || test ! -s conftest.err'
77900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77901 (eval $ac_try) 2>&5
77902 ac_status=$?
77903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77904 (exit $ac_status); }; } &&
77905 { ac_try='test -s conftest.$ac_objext'
77906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77907 (eval $ac_try) 2>&5
77908 ac_status=$?
77909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77910 (exit $ac_status); }; }; then
77911 glibcxx_cv_func__isnan_use=yes
77912 else
77913 echo "$as_me: failed program was:" >&5
77914 sed 's/^/| /' conftest.$ac_ext >&5
77916 glibcxx_cv_func__isnan_use=no
77918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77919 ac_ext=c
77920 ac_cpp='$CPP $CPPFLAGS'
77921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
77930 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
77932 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
77934 for ac_func in _isnan
77936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77937 echo "$as_me:$LINENO: checking for $ac_func" >&5
77938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77939 if eval "test \"\${$as_ac_var+set}\" = set"; then
77940 echo $ECHO_N "(cached) $ECHO_C" >&6
77941 else
77942 if test x$gcc_no_link = xyes; then
77943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77945 { (exit 1); exit 1; }; }
77947 cat >conftest.$ac_ext <<_ACEOF
77948 /* confdefs.h. */
77949 _ACEOF
77950 cat confdefs.h >>conftest.$ac_ext
77951 cat >>conftest.$ac_ext <<_ACEOF
77952 /* end confdefs.h. */
77953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77955 #define $ac_func innocuous_$ac_func
77957 /* System header to define __stub macros and hopefully few prototypes,
77958 which can conflict with char $ac_func (); below.
77959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77960 <limits.h> exists even on freestanding compilers. */
77962 #ifdef __STDC__
77963 # include <limits.h>
77964 #else
77965 # include <assert.h>
77966 #endif
77968 #undef $ac_func
77970 /* Override any gcc2 internal prototype to avoid an error. */
77971 #ifdef __cplusplus
77972 extern "C"
77974 #endif
77975 /* We use char because int might match the return type of a gcc2
77976 builtin and then its argument prototype would still apply. */
77977 char $ac_func ();
77978 /* The GNU C library defines this for functions which it implements
77979 to always fail with ENOSYS. Some functions are actually named
77980 something starting with __ and the normal name is an alias. */
77981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77982 choke me
77983 #else
77984 char (*f) () = $ac_func;
77985 #endif
77986 #ifdef __cplusplus
77988 #endif
77991 main ()
77993 return f != $ac_func;
77995 return 0;
77997 _ACEOF
77998 rm -f conftest.$ac_objext conftest$ac_exeext
77999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78000 (eval $ac_link) 2>conftest.er1
78001 ac_status=$?
78002 grep -v '^ *+' conftest.er1 >conftest.err
78003 rm -f conftest.er1
78004 cat conftest.err >&5
78005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78006 (exit $ac_status); } &&
78007 { ac_try='test -z "$ac_c_werror_flag"
78008 || test ! -s conftest.err'
78009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78010 (eval $ac_try) 2>&5
78011 ac_status=$?
78012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78013 (exit $ac_status); }; } &&
78014 { ac_try='test -s conftest$ac_exeext'
78015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78016 (eval $ac_try) 2>&5
78017 ac_status=$?
78018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78019 (exit $ac_status); }; }; then
78020 eval "$as_ac_var=yes"
78021 else
78022 echo "$as_me: failed program was:" >&5
78023 sed 's/^/| /' conftest.$ac_ext >&5
78025 eval "$as_ac_var=no"
78027 rm -f conftest.err conftest.$ac_objext \
78028 conftest$ac_exeext conftest.$ac_ext
78030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78032 if test `eval echo '${'$as_ac_var'}'` = yes; then
78033 cat >>confdefs.h <<_ACEOF
78034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78035 _ACEOF
78038 done
78048 echo "$as_me:$LINENO: checking for finite declaration" >&5
78049 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
78050 if test x${glibcxx_cv_func_finite_use+set} != xset; then
78051 if test "${glibcxx_cv_func_finite_use+set}" = set; then
78052 echo $ECHO_N "(cached) $ECHO_C" >&6
78053 else
78057 ac_ext=cc
78058 ac_cpp='$CXXCPP $CPPFLAGS'
78059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78063 cat >conftest.$ac_ext <<_ACEOF
78064 /* confdefs.h. */
78065 _ACEOF
78066 cat confdefs.h >>conftest.$ac_ext
78067 cat >>conftest.$ac_ext <<_ACEOF
78068 /* end confdefs.h. */
78069 #include <math.h>
78070 #ifdef HAVE_IEEEFP_H
78071 #include <ieeefp.h>
78072 #endif
78075 main ()
78077 finite(0);
78079 return 0;
78081 _ACEOF
78082 rm -f conftest.$ac_objext
78083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78084 (eval $ac_compile) 2>conftest.er1
78085 ac_status=$?
78086 grep -v '^ *+' conftest.er1 >conftest.err
78087 rm -f conftest.er1
78088 cat conftest.err >&5
78089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78090 (exit $ac_status); } &&
78091 { ac_try='test -z "$ac_cxx_werror_flag"
78092 || test ! -s conftest.err'
78093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78094 (eval $ac_try) 2>&5
78095 ac_status=$?
78096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78097 (exit $ac_status); }; } &&
78098 { ac_try='test -s conftest.$ac_objext'
78099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78100 (eval $ac_try) 2>&5
78101 ac_status=$?
78102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78103 (exit $ac_status); }; }; then
78104 glibcxx_cv_func_finite_use=yes
78105 else
78106 echo "$as_me: failed program was:" >&5
78107 sed 's/^/| /' conftest.$ac_ext >&5
78109 glibcxx_cv_func_finite_use=no
78111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78112 ac_ext=c
78113 ac_cpp='$CPP $CPPFLAGS'
78114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
78123 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
78125 if test x$glibcxx_cv_func_finite_use = x"yes"; then
78127 for ac_func in finite
78129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78130 echo "$as_me:$LINENO: checking for $ac_func" >&5
78131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78132 if eval "test \"\${$as_ac_var+set}\" = set"; then
78133 echo $ECHO_N "(cached) $ECHO_C" >&6
78134 else
78135 if test x$gcc_no_link = xyes; then
78136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78138 { (exit 1); exit 1; }; }
78140 cat >conftest.$ac_ext <<_ACEOF
78141 /* confdefs.h. */
78142 _ACEOF
78143 cat confdefs.h >>conftest.$ac_ext
78144 cat >>conftest.$ac_ext <<_ACEOF
78145 /* end confdefs.h. */
78146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78148 #define $ac_func innocuous_$ac_func
78150 /* System header to define __stub macros and hopefully few prototypes,
78151 which can conflict with char $ac_func (); below.
78152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78153 <limits.h> exists even on freestanding compilers. */
78155 #ifdef __STDC__
78156 # include <limits.h>
78157 #else
78158 # include <assert.h>
78159 #endif
78161 #undef $ac_func
78163 /* Override any gcc2 internal prototype to avoid an error. */
78164 #ifdef __cplusplus
78165 extern "C"
78167 #endif
78168 /* We use char because int might match the return type of a gcc2
78169 builtin and then its argument prototype would still apply. */
78170 char $ac_func ();
78171 /* The GNU C library defines this for functions which it implements
78172 to always fail with ENOSYS. Some functions are actually named
78173 something starting with __ and the normal name is an alias. */
78174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78175 choke me
78176 #else
78177 char (*f) () = $ac_func;
78178 #endif
78179 #ifdef __cplusplus
78181 #endif
78184 main ()
78186 return f != $ac_func;
78188 return 0;
78190 _ACEOF
78191 rm -f conftest.$ac_objext conftest$ac_exeext
78192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78193 (eval $ac_link) 2>conftest.er1
78194 ac_status=$?
78195 grep -v '^ *+' conftest.er1 >conftest.err
78196 rm -f conftest.er1
78197 cat conftest.err >&5
78198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78199 (exit $ac_status); } &&
78200 { ac_try='test -z "$ac_c_werror_flag"
78201 || test ! -s conftest.err'
78202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78203 (eval $ac_try) 2>&5
78204 ac_status=$?
78205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78206 (exit $ac_status); }; } &&
78207 { ac_try='test -s conftest$ac_exeext'
78208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78209 (eval $ac_try) 2>&5
78210 ac_status=$?
78211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78212 (exit $ac_status); }; }; then
78213 eval "$as_ac_var=yes"
78214 else
78215 echo "$as_me: failed program was:" >&5
78216 sed 's/^/| /' conftest.$ac_ext >&5
78218 eval "$as_ac_var=no"
78220 rm -f conftest.err conftest.$ac_objext \
78221 conftest$ac_exeext conftest.$ac_ext
78223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78225 if test `eval echo '${'$as_ac_var'}'` = yes; then
78226 cat >>confdefs.h <<_ACEOF
78227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78228 _ACEOF
78231 done
78233 else
78235 echo "$as_me:$LINENO: checking for _finite declaration" >&5
78236 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
78237 if test x${glibcxx_cv_func__finite_use+set} != xset; then
78238 if test "${glibcxx_cv_func__finite_use+set}" = set; then
78239 echo $ECHO_N "(cached) $ECHO_C" >&6
78240 else
78244 ac_ext=cc
78245 ac_cpp='$CXXCPP $CPPFLAGS'
78246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78250 cat >conftest.$ac_ext <<_ACEOF
78251 /* confdefs.h. */
78252 _ACEOF
78253 cat confdefs.h >>conftest.$ac_ext
78254 cat >>conftest.$ac_ext <<_ACEOF
78255 /* end confdefs.h. */
78256 #include <math.h>
78257 #ifdef HAVE_IEEEFP_H
78258 #include <ieeefp.h>
78259 #endif
78262 main ()
78264 _finite(0);
78266 return 0;
78268 _ACEOF
78269 rm -f conftest.$ac_objext
78270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78271 (eval $ac_compile) 2>conftest.er1
78272 ac_status=$?
78273 grep -v '^ *+' conftest.er1 >conftest.err
78274 rm -f conftest.er1
78275 cat conftest.err >&5
78276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78277 (exit $ac_status); } &&
78278 { ac_try='test -z "$ac_cxx_werror_flag"
78279 || test ! -s conftest.err'
78280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78281 (eval $ac_try) 2>&5
78282 ac_status=$?
78283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78284 (exit $ac_status); }; } &&
78285 { ac_try='test -s conftest.$ac_objext'
78286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78287 (eval $ac_try) 2>&5
78288 ac_status=$?
78289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78290 (exit $ac_status); }; }; then
78291 glibcxx_cv_func__finite_use=yes
78292 else
78293 echo "$as_me: failed program was:" >&5
78294 sed 's/^/| /' conftest.$ac_ext >&5
78296 glibcxx_cv_func__finite_use=no
78298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78299 ac_ext=c
78300 ac_cpp='$CPP $CPPFLAGS'
78301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
78310 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
78312 if test x$glibcxx_cv_func__finite_use = x"yes"; then
78314 for ac_func in _finite
78316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78317 echo "$as_me:$LINENO: checking for $ac_func" >&5
78318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78319 if eval "test \"\${$as_ac_var+set}\" = set"; then
78320 echo $ECHO_N "(cached) $ECHO_C" >&6
78321 else
78322 if test x$gcc_no_link = xyes; then
78323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78325 { (exit 1); exit 1; }; }
78327 cat >conftest.$ac_ext <<_ACEOF
78328 /* confdefs.h. */
78329 _ACEOF
78330 cat confdefs.h >>conftest.$ac_ext
78331 cat >>conftest.$ac_ext <<_ACEOF
78332 /* end confdefs.h. */
78333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78335 #define $ac_func innocuous_$ac_func
78337 /* System header to define __stub macros and hopefully few prototypes,
78338 which can conflict with char $ac_func (); below.
78339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78340 <limits.h> exists even on freestanding compilers. */
78342 #ifdef __STDC__
78343 # include <limits.h>
78344 #else
78345 # include <assert.h>
78346 #endif
78348 #undef $ac_func
78350 /* Override any gcc2 internal prototype to avoid an error. */
78351 #ifdef __cplusplus
78352 extern "C"
78354 #endif
78355 /* We use char because int might match the return type of a gcc2
78356 builtin and then its argument prototype would still apply. */
78357 char $ac_func ();
78358 /* The GNU C library defines this for functions which it implements
78359 to always fail with ENOSYS. Some functions are actually named
78360 something starting with __ and the normal name is an alias. */
78361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78362 choke me
78363 #else
78364 char (*f) () = $ac_func;
78365 #endif
78366 #ifdef __cplusplus
78368 #endif
78371 main ()
78373 return f != $ac_func;
78375 return 0;
78377 _ACEOF
78378 rm -f conftest.$ac_objext conftest$ac_exeext
78379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78380 (eval $ac_link) 2>conftest.er1
78381 ac_status=$?
78382 grep -v '^ *+' conftest.er1 >conftest.err
78383 rm -f conftest.er1
78384 cat conftest.err >&5
78385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78386 (exit $ac_status); } &&
78387 { ac_try='test -z "$ac_c_werror_flag"
78388 || test ! -s conftest.err'
78389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78390 (eval $ac_try) 2>&5
78391 ac_status=$?
78392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78393 (exit $ac_status); }; } &&
78394 { ac_try='test -s conftest$ac_exeext'
78395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78396 (eval $ac_try) 2>&5
78397 ac_status=$?
78398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78399 (exit $ac_status); }; }; then
78400 eval "$as_ac_var=yes"
78401 else
78402 echo "$as_me: failed program was:" >&5
78403 sed 's/^/| /' conftest.$ac_ext >&5
78405 eval "$as_ac_var=no"
78407 rm -f conftest.err conftest.$ac_objext \
78408 conftest$ac_exeext conftest.$ac_ext
78410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78412 if test `eval echo '${'$as_ac_var'}'` = yes; then
78413 cat >>confdefs.h <<_ACEOF
78414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78415 _ACEOF
78418 done
78428 echo "$as_me:$LINENO: checking for copysign declaration" >&5
78429 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
78430 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
78431 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
78432 echo $ECHO_N "(cached) $ECHO_C" >&6
78433 else
78437 ac_ext=cc
78438 ac_cpp='$CXXCPP $CPPFLAGS'
78439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78443 cat >conftest.$ac_ext <<_ACEOF
78444 /* confdefs.h. */
78445 _ACEOF
78446 cat confdefs.h >>conftest.$ac_ext
78447 cat >>conftest.$ac_ext <<_ACEOF
78448 /* end confdefs.h. */
78449 #include <math.h>
78451 main ()
78453 copysign(0, 0);
78455 return 0;
78457 _ACEOF
78458 rm -f conftest.$ac_objext
78459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78460 (eval $ac_compile) 2>conftest.er1
78461 ac_status=$?
78462 grep -v '^ *+' conftest.er1 >conftest.err
78463 rm -f conftest.er1
78464 cat conftest.err >&5
78465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78466 (exit $ac_status); } &&
78467 { ac_try='test -z "$ac_cxx_werror_flag"
78468 || test ! -s conftest.err'
78469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78470 (eval $ac_try) 2>&5
78471 ac_status=$?
78472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78473 (exit $ac_status); }; } &&
78474 { ac_try='test -s conftest.$ac_objext'
78475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78476 (eval $ac_try) 2>&5
78477 ac_status=$?
78478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78479 (exit $ac_status); }; }; then
78480 glibcxx_cv_func_copysign_use=yes
78481 else
78482 echo "$as_me: failed program was:" >&5
78483 sed 's/^/| /' conftest.$ac_ext >&5
78485 glibcxx_cv_func_copysign_use=no
78487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78488 ac_ext=c
78489 ac_cpp='$CPP $CPPFLAGS'
78490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
78499 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
78501 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
78503 for ac_func in copysign
78505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78506 echo "$as_me:$LINENO: checking for $ac_func" >&5
78507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78508 if eval "test \"\${$as_ac_var+set}\" = set"; then
78509 echo $ECHO_N "(cached) $ECHO_C" >&6
78510 else
78511 if test x$gcc_no_link = xyes; then
78512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78514 { (exit 1); exit 1; }; }
78516 cat >conftest.$ac_ext <<_ACEOF
78517 /* confdefs.h. */
78518 _ACEOF
78519 cat confdefs.h >>conftest.$ac_ext
78520 cat >>conftest.$ac_ext <<_ACEOF
78521 /* end confdefs.h. */
78522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78524 #define $ac_func innocuous_$ac_func
78526 /* System header to define __stub macros and hopefully few prototypes,
78527 which can conflict with char $ac_func (); below.
78528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78529 <limits.h> exists even on freestanding compilers. */
78531 #ifdef __STDC__
78532 # include <limits.h>
78533 #else
78534 # include <assert.h>
78535 #endif
78537 #undef $ac_func
78539 /* Override any gcc2 internal prototype to avoid an error. */
78540 #ifdef __cplusplus
78541 extern "C"
78543 #endif
78544 /* We use char because int might match the return type of a gcc2
78545 builtin and then its argument prototype would still apply. */
78546 char $ac_func ();
78547 /* The GNU C library defines this for functions which it implements
78548 to always fail with ENOSYS. Some functions are actually named
78549 something starting with __ and the normal name is an alias. */
78550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78551 choke me
78552 #else
78553 char (*f) () = $ac_func;
78554 #endif
78555 #ifdef __cplusplus
78557 #endif
78560 main ()
78562 return f != $ac_func;
78564 return 0;
78566 _ACEOF
78567 rm -f conftest.$ac_objext conftest$ac_exeext
78568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78569 (eval $ac_link) 2>conftest.er1
78570 ac_status=$?
78571 grep -v '^ *+' conftest.er1 >conftest.err
78572 rm -f conftest.er1
78573 cat conftest.err >&5
78574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78575 (exit $ac_status); } &&
78576 { ac_try='test -z "$ac_c_werror_flag"
78577 || test ! -s conftest.err'
78578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78579 (eval $ac_try) 2>&5
78580 ac_status=$?
78581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78582 (exit $ac_status); }; } &&
78583 { ac_try='test -s conftest$ac_exeext'
78584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78585 (eval $ac_try) 2>&5
78586 ac_status=$?
78587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78588 (exit $ac_status); }; }; then
78589 eval "$as_ac_var=yes"
78590 else
78591 echo "$as_me: failed program was:" >&5
78592 sed 's/^/| /' conftest.$ac_ext >&5
78594 eval "$as_ac_var=no"
78596 rm -f conftest.err conftest.$ac_objext \
78597 conftest$ac_exeext conftest.$ac_ext
78599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78601 if test `eval echo '${'$as_ac_var'}'` = yes; then
78602 cat >>confdefs.h <<_ACEOF
78603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78604 _ACEOF
78607 done
78609 else
78611 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
78612 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
78613 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
78614 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
78615 echo $ECHO_N "(cached) $ECHO_C" >&6
78616 else
78620 ac_ext=cc
78621 ac_cpp='$CXXCPP $CPPFLAGS'
78622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78626 cat >conftest.$ac_ext <<_ACEOF
78627 /* confdefs.h. */
78628 _ACEOF
78629 cat confdefs.h >>conftest.$ac_ext
78630 cat >>conftest.$ac_ext <<_ACEOF
78631 /* end confdefs.h. */
78632 #include <math.h>
78634 main ()
78636 _copysign(0, 0);
78638 return 0;
78640 _ACEOF
78641 rm -f conftest.$ac_objext
78642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78643 (eval $ac_compile) 2>conftest.er1
78644 ac_status=$?
78645 grep -v '^ *+' conftest.er1 >conftest.err
78646 rm -f conftest.er1
78647 cat conftest.err >&5
78648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78649 (exit $ac_status); } &&
78650 { ac_try='test -z "$ac_cxx_werror_flag"
78651 || test ! -s conftest.err'
78652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78653 (eval $ac_try) 2>&5
78654 ac_status=$?
78655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78656 (exit $ac_status); }; } &&
78657 { ac_try='test -s conftest.$ac_objext'
78658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78659 (eval $ac_try) 2>&5
78660 ac_status=$?
78661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78662 (exit $ac_status); }; }; then
78663 glibcxx_cv_func__copysign_use=yes
78664 else
78665 echo "$as_me: failed program was:" >&5
78666 sed 's/^/| /' conftest.$ac_ext >&5
78668 glibcxx_cv_func__copysign_use=no
78670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78671 ac_ext=c
78672 ac_cpp='$CPP $CPPFLAGS'
78673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
78682 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
78684 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
78686 for ac_func in _copysign
78688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78689 echo "$as_me:$LINENO: checking for $ac_func" >&5
78690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78691 if eval "test \"\${$as_ac_var+set}\" = set"; then
78692 echo $ECHO_N "(cached) $ECHO_C" >&6
78693 else
78694 if test x$gcc_no_link = xyes; then
78695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78697 { (exit 1); exit 1; }; }
78699 cat >conftest.$ac_ext <<_ACEOF
78700 /* confdefs.h. */
78701 _ACEOF
78702 cat confdefs.h >>conftest.$ac_ext
78703 cat >>conftest.$ac_ext <<_ACEOF
78704 /* end confdefs.h. */
78705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78707 #define $ac_func innocuous_$ac_func
78709 /* System header to define __stub macros and hopefully few prototypes,
78710 which can conflict with char $ac_func (); below.
78711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78712 <limits.h> exists even on freestanding compilers. */
78714 #ifdef __STDC__
78715 # include <limits.h>
78716 #else
78717 # include <assert.h>
78718 #endif
78720 #undef $ac_func
78722 /* Override any gcc2 internal prototype to avoid an error. */
78723 #ifdef __cplusplus
78724 extern "C"
78726 #endif
78727 /* We use char because int might match the return type of a gcc2
78728 builtin and then its argument prototype would still apply. */
78729 char $ac_func ();
78730 /* The GNU C library defines this for functions which it implements
78731 to always fail with ENOSYS. Some functions are actually named
78732 something starting with __ and the normal name is an alias. */
78733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78734 choke me
78735 #else
78736 char (*f) () = $ac_func;
78737 #endif
78738 #ifdef __cplusplus
78740 #endif
78743 main ()
78745 return f != $ac_func;
78747 return 0;
78749 _ACEOF
78750 rm -f conftest.$ac_objext conftest$ac_exeext
78751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78752 (eval $ac_link) 2>conftest.er1
78753 ac_status=$?
78754 grep -v '^ *+' conftest.er1 >conftest.err
78755 rm -f conftest.er1
78756 cat conftest.err >&5
78757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758 (exit $ac_status); } &&
78759 { ac_try='test -z "$ac_c_werror_flag"
78760 || test ! -s conftest.err'
78761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78762 (eval $ac_try) 2>&5
78763 ac_status=$?
78764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78765 (exit $ac_status); }; } &&
78766 { ac_try='test -s conftest$ac_exeext'
78767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78768 (eval $ac_try) 2>&5
78769 ac_status=$?
78770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78771 (exit $ac_status); }; }; then
78772 eval "$as_ac_var=yes"
78773 else
78774 echo "$as_me: failed program was:" >&5
78775 sed 's/^/| /' conftest.$ac_ext >&5
78777 eval "$as_ac_var=no"
78779 rm -f conftest.err conftest.$ac_objext \
78780 conftest$ac_exeext conftest.$ac_ext
78782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78784 if test `eval echo '${'$as_ac_var'}'` = yes; then
78785 cat >>confdefs.h <<_ACEOF
78786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78787 _ACEOF
78790 done
78800 echo "$as_me:$LINENO: checking for sincos declaration" >&5
78801 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
78802 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
78803 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
78804 echo $ECHO_N "(cached) $ECHO_C" >&6
78805 else
78809 ac_ext=cc
78810 ac_cpp='$CXXCPP $CPPFLAGS'
78811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78815 cat >conftest.$ac_ext <<_ACEOF
78816 /* confdefs.h. */
78817 _ACEOF
78818 cat confdefs.h >>conftest.$ac_ext
78819 cat >>conftest.$ac_ext <<_ACEOF
78820 /* end confdefs.h. */
78821 #include <math.h>
78823 main ()
78825 sincos(0, 0, 0);
78827 return 0;
78829 _ACEOF
78830 rm -f conftest.$ac_objext
78831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78832 (eval $ac_compile) 2>conftest.er1
78833 ac_status=$?
78834 grep -v '^ *+' conftest.er1 >conftest.err
78835 rm -f conftest.er1
78836 cat conftest.err >&5
78837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78838 (exit $ac_status); } &&
78839 { ac_try='test -z "$ac_cxx_werror_flag"
78840 || test ! -s conftest.err'
78841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78842 (eval $ac_try) 2>&5
78843 ac_status=$?
78844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78845 (exit $ac_status); }; } &&
78846 { ac_try='test -s conftest.$ac_objext'
78847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78848 (eval $ac_try) 2>&5
78849 ac_status=$?
78850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78851 (exit $ac_status); }; }; then
78852 glibcxx_cv_func_sincos_use=yes
78853 else
78854 echo "$as_me: failed program was:" >&5
78855 sed 's/^/| /' conftest.$ac_ext >&5
78857 glibcxx_cv_func_sincos_use=no
78859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78860 ac_ext=c
78861 ac_cpp='$CPP $CPPFLAGS'
78862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
78871 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
78873 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
78875 for ac_func in sincos
78877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78878 echo "$as_me:$LINENO: checking for $ac_func" >&5
78879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78880 if eval "test \"\${$as_ac_var+set}\" = set"; then
78881 echo $ECHO_N "(cached) $ECHO_C" >&6
78882 else
78883 if test x$gcc_no_link = xyes; then
78884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78886 { (exit 1); exit 1; }; }
78888 cat >conftest.$ac_ext <<_ACEOF
78889 /* confdefs.h. */
78890 _ACEOF
78891 cat confdefs.h >>conftest.$ac_ext
78892 cat >>conftest.$ac_ext <<_ACEOF
78893 /* end confdefs.h. */
78894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78896 #define $ac_func innocuous_$ac_func
78898 /* System header to define __stub macros and hopefully few prototypes,
78899 which can conflict with char $ac_func (); below.
78900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78901 <limits.h> exists even on freestanding compilers. */
78903 #ifdef __STDC__
78904 # include <limits.h>
78905 #else
78906 # include <assert.h>
78907 #endif
78909 #undef $ac_func
78911 /* Override any gcc2 internal prototype to avoid an error. */
78912 #ifdef __cplusplus
78913 extern "C"
78915 #endif
78916 /* We use char because int might match the return type of a gcc2
78917 builtin and then its argument prototype would still apply. */
78918 char $ac_func ();
78919 /* The GNU C library defines this for functions which it implements
78920 to always fail with ENOSYS. Some functions are actually named
78921 something starting with __ and the normal name is an alias. */
78922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78923 choke me
78924 #else
78925 char (*f) () = $ac_func;
78926 #endif
78927 #ifdef __cplusplus
78929 #endif
78932 main ()
78934 return f != $ac_func;
78936 return 0;
78938 _ACEOF
78939 rm -f conftest.$ac_objext conftest$ac_exeext
78940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78941 (eval $ac_link) 2>conftest.er1
78942 ac_status=$?
78943 grep -v '^ *+' conftest.er1 >conftest.err
78944 rm -f conftest.er1
78945 cat conftest.err >&5
78946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78947 (exit $ac_status); } &&
78948 { ac_try='test -z "$ac_c_werror_flag"
78949 || test ! -s conftest.err'
78950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78951 (eval $ac_try) 2>&5
78952 ac_status=$?
78953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78954 (exit $ac_status); }; } &&
78955 { ac_try='test -s conftest$ac_exeext'
78956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78957 (eval $ac_try) 2>&5
78958 ac_status=$?
78959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78960 (exit $ac_status); }; }; then
78961 eval "$as_ac_var=yes"
78962 else
78963 echo "$as_me: failed program was:" >&5
78964 sed 's/^/| /' conftest.$ac_ext >&5
78966 eval "$as_ac_var=no"
78968 rm -f conftest.err conftest.$ac_objext \
78969 conftest$ac_exeext conftest.$ac_ext
78971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78973 if test `eval echo '${'$as_ac_var'}'` = yes; then
78974 cat >>confdefs.h <<_ACEOF
78975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78976 _ACEOF
78979 done
78981 else
78983 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
78984 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
78985 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
78986 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
78987 echo $ECHO_N "(cached) $ECHO_C" >&6
78988 else
78992 ac_ext=cc
78993 ac_cpp='$CXXCPP $CPPFLAGS'
78994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78998 cat >conftest.$ac_ext <<_ACEOF
78999 /* confdefs.h. */
79000 _ACEOF
79001 cat confdefs.h >>conftest.$ac_ext
79002 cat >>conftest.$ac_ext <<_ACEOF
79003 /* end confdefs.h. */
79004 #include <math.h>
79006 main ()
79008 _sincos(0, 0, 0);
79010 return 0;
79012 _ACEOF
79013 rm -f conftest.$ac_objext
79014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79015 (eval $ac_compile) 2>conftest.er1
79016 ac_status=$?
79017 grep -v '^ *+' conftest.er1 >conftest.err
79018 rm -f conftest.er1
79019 cat conftest.err >&5
79020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79021 (exit $ac_status); } &&
79022 { ac_try='test -z "$ac_cxx_werror_flag"
79023 || test ! -s conftest.err'
79024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79025 (eval $ac_try) 2>&5
79026 ac_status=$?
79027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79028 (exit $ac_status); }; } &&
79029 { ac_try='test -s conftest.$ac_objext'
79030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79031 (eval $ac_try) 2>&5
79032 ac_status=$?
79033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79034 (exit $ac_status); }; }; then
79035 glibcxx_cv_func__sincos_use=yes
79036 else
79037 echo "$as_me: failed program was:" >&5
79038 sed 's/^/| /' conftest.$ac_ext >&5
79040 glibcxx_cv_func__sincos_use=no
79042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79043 ac_ext=c
79044 ac_cpp='$CPP $CPPFLAGS'
79045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
79054 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
79056 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
79058 for ac_func in _sincos
79060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79061 echo "$as_me:$LINENO: checking for $ac_func" >&5
79062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79063 if eval "test \"\${$as_ac_var+set}\" = set"; then
79064 echo $ECHO_N "(cached) $ECHO_C" >&6
79065 else
79066 if test x$gcc_no_link = xyes; then
79067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79069 { (exit 1); exit 1; }; }
79071 cat >conftest.$ac_ext <<_ACEOF
79072 /* confdefs.h. */
79073 _ACEOF
79074 cat confdefs.h >>conftest.$ac_ext
79075 cat >>conftest.$ac_ext <<_ACEOF
79076 /* end confdefs.h. */
79077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79079 #define $ac_func innocuous_$ac_func
79081 /* System header to define __stub macros and hopefully few prototypes,
79082 which can conflict with char $ac_func (); below.
79083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79084 <limits.h> exists even on freestanding compilers. */
79086 #ifdef __STDC__
79087 # include <limits.h>
79088 #else
79089 # include <assert.h>
79090 #endif
79092 #undef $ac_func
79094 /* Override any gcc2 internal prototype to avoid an error. */
79095 #ifdef __cplusplus
79096 extern "C"
79098 #endif
79099 /* We use char because int might match the return type of a gcc2
79100 builtin and then its argument prototype would still apply. */
79101 char $ac_func ();
79102 /* The GNU C library defines this for functions which it implements
79103 to always fail with ENOSYS. Some functions are actually named
79104 something starting with __ and the normal name is an alias. */
79105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79106 choke me
79107 #else
79108 char (*f) () = $ac_func;
79109 #endif
79110 #ifdef __cplusplus
79112 #endif
79115 main ()
79117 return f != $ac_func;
79119 return 0;
79121 _ACEOF
79122 rm -f conftest.$ac_objext conftest$ac_exeext
79123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79124 (eval $ac_link) 2>conftest.er1
79125 ac_status=$?
79126 grep -v '^ *+' conftest.er1 >conftest.err
79127 rm -f conftest.er1
79128 cat conftest.err >&5
79129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79130 (exit $ac_status); } &&
79131 { ac_try='test -z "$ac_c_werror_flag"
79132 || test ! -s conftest.err'
79133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79134 (eval $ac_try) 2>&5
79135 ac_status=$?
79136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79137 (exit $ac_status); }; } &&
79138 { ac_try='test -s conftest$ac_exeext'
79139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79140 (eval $ac_try) 2>&5
79141 ac_status=$?
79142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79143 (exit $ac_status); }; }; then
79144 eval "$as_ac_var=yes"
79145 else
79146 echo "$as_me: failed program was:" >&5
79147 sed 's/^/| /' conftest.$ac_ext >&5
79149 eval "$as_ac_var=no"
79151 rm -f conftest.err conftest.$ac_objext \
79152 conftest$ac_exeext conftest.$ac_ext
79154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79156 if test `eval echo '${'$as_ac_var'}'` = yes; then
79157 cat >>confdefs.h <<_ACEOF
79158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79159 _ACEOF
79162 done
79172 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
79173 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
79174 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
79175 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
79176 echo $ECHO_N "(cached) $ECHO_C" >&6
79177 else
79181 ac_ext=cc
79182 ac_cpp='$CXXCPP $CPPFLAGS'
79183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79187 cat >conftest.$ac_ext <<_ACEOF
79188 /* confdefs.h. */
79189 _ACEOF
79190 cat confdefs.h >>conftest.$ac_ext
79191 cat >>conftest.$ac_ext <<_ACEOF
79192 /* end confdefs.h. */
79193 #include <math.h>
79194 #ifdef HAVE_IEEEFP_H
79195 #include <ieeefp.h>
79196 #endif
79199 main ()
79201 fpclass(0);
79203 return 0;
79205 _ACEOF
79206 rm -f conftest.$ac_objext
79207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79208 (eval $ac_compile) 2>conftest.er1
79209 ac_status=$?
79210 grep -v '^ *+' conftest.er1 >conftest.err
79211 rm -f conftest.er1
79212 cat conftest.err >&5
79213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79214 (exit $ac_status); } &&
79215 { ac_try='test -z "$ac_cxx_werror_flag"
79216 || test ! -s conftest.err'
79217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79218 (eval $ac_try) 2>&5
79219 ac_status=$?
79220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79221 (exit $ac_status); }; } &&
79222 { ac_try='test -s conftest.$ac_objext'
79223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79224 (eval $ac_try) 2>&5
79225 ac_status=$?
79226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79227 (exit $ac_status); }; }; then
79228 glibcxx_cv_func_fpclass_use=yes
79229 else
79230 echo "$as_me: failed program was:" >&5
79231 sed 's/^/| /' conftest.$ac_ext >&5
79233 glibcxx_cv_func_fpclass_use=no
79235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79236 ac_ext=c
79237 ac_cpp='$CPP $CPPFLAGS'
79238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
79247 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
79249 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
79251 for ac_func in fpclass
79253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79254 echo "$as_me:$LINENO: checking for $ac_func" >&5
79255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79256 if eval "test \"\${$as_ac_var+set}\" = set"; then
79257 echo $ECHO_N "(cached) $ECHO_C" >&6
79258 else
79259 if test x$gcc_no_link = xyes; then
79260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79262 { (exit 1); exit 1; }; }
79264 cat >conftest.$ac_ext <<_ACEOF
79265 /* confdefs.h. */
79266 _ACEOF
79267 cat confdefs.h >>conftest.$ac_ext
79268 cat >>conftest.$ac_ext <<_ACEOF
79269 /* end confdefs.h. */
79270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79272 #define $ac_func innocuous_$ac_func
79274 /* System header to define __stub macros and hopefully few prototypes,
79275 which can conflict with char $ac_func (); below.
79276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79277 <limits.h> exists even on freestanding compilers. */
79279 #ifdef __STDC__
79280 # include <limits.h>
79281 #else
79282 # include <assert.h>
79283 #endif
79285 #undef $ac_func
79287 /* Override any gcc2 internal prototype to avoid an error. */
79288 #ifdef __cplusplus
79289 extern "C"
79291 #endif
79292 /* We use char because int might match the return type of a gcc2
79293 builtin and then its argument prototype would still apply. */
79294 char $ac_func ();
79295 /* The GNU C library defines this for functions which it implements
79296 to always fail with ENOSYS. Some functions are actually named
79297 something starting with __ and the normal name is an alias. */
79298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79299 choke me
79300 #else
79301 char (*f) () = $ac_func;
79302 #endif
79303 #ifdef __cplusplus
79305 #endif
79308 main ()
79310 return f != $ac_func;
79312 return 0;
79314 _ACEOF
79315 rm -f conftest.$ac_objext conftest$ac_exeext
79316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79317 (eval $ac_link) 2>conftest.er1
79318 ac_status=$?
79319 grep -v '^ *+' conftest.er1 >conftest.err
79320 rm -f conftest.er1
79321 cat conftest.err >&5
79322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79323 (exit $ac_status); } &&
79324 { ac_try='test -z "$ac_c_werror_flag"
79325 || test ! -s conftest.err'
79326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79327 (eval $ac_try) 2>&5
79328 ac_status=$?
79329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79330 (exit $ac_status); }; } &&
79331 { ac_try='test -s conftest$ac_exeext'
79332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79333 (eval $ac_try) 2>&5
79334 ac_status=$?
79335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79336 (exit $ac_status); }; }; then
79337 eval "$as_ac_var=yes"
79338 else
79339 echo "$as_me: failed program was:" >&5
79340 sed 's/^/| /' conftest.$ac_ext >&5
79342 eval "$as_ac_var=no"
79344 rm -f conftest.err conftest.$ac_objext \
79345 conftest$ac_exeext conftest.$ac_ext
79347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79349 if test `eval echo '${'$as_ac_var'}'` = yes; then
79350 cat >>confdefs.h <<_ACEOF
79351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79352 _ACEOF
79355 done
79357 else
79359 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
79360 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
79361 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
79362 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
79363 echo $ECHO_N "(cached) $ECHO_C" >&6
79364 else
79368 ac_ext=cc
79369 ac_cpp='$CXXCPP $CPPFLAGS'
79370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79374 cat >conftest.$ac_ext <<_ACEOF
79375 /* confdefs.h. */
79376 _ACEOF
79377 cat confdefs.h >>conftest.$ac_ext
79378 cat >>conftest.$ac_ext <<_ACEOF
79379 /* end confdefs.h. */
79380 #include <math.h>
79381 #ifdef HAVE_IEEEFP_H
79382 #include <ieeefp.h>
79383 #endif
79386 main ()
79388 _fpclass(0);
79390 return 0;
79392 _ACEOF
79393 rm -f conftest.$ac_objext
79394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79395 (eval $ac_compile) 2>conftest.er1
79396 ac_status=$?
79397 grep -v '^ *+' conftest.er1 >conftest.err
79398 rm -f conftest.er1
79399 cat conftest.err >&5
79400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79401 (exit $ac_status); } &&
79402 { ac_try='test -z "$ac_cxx_werror_flag"
79403 || test ! -s conftest.err'
79404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79405 (eval $ac_try) 2>&5
79406 ac_status=$?
79407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79408 (exit $ac_status); }; } &&
79409 { ac_try='test -s conftest.$ac_objext'
79410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79411 (eval $ac_try) 2>&5
79412 ac_status=$?
79413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79414 (exit $ac_status); }; }; then
79415 glibcxx_cv_func__fpclass_use=yes
79416 else
79417 echo "$as_me: failed program was:" >&5
79418 sed 's/^/| /' conftest.$ac_ext >&5
79420 glibcxx_cv_func__fpclass_use=no
79422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79423 ac_ext=c
79424 ac_cpp='$CPP $CPPFLAGS'
79425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
79434 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
79436 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
79438 for ac_func in _fpclass
79440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79441 echo "$as_me:$LINENO: checking for $ac_func" >&5
79442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79443 if eval "test \"\${$as_ac_var+set}\" = set"; then
79444 echo $ECHO_N "(cached) $ECHO_C" >&6
79445 else
79446 if test x$gcc_no_link = xyes; then
79447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79449 { (exit 1); exit 1; }; }
79451 cat >conftest.$ac_ext <<_ACEOF
79452 /* confdefs.h. */
79453 _ACEOF
79454 cat confdefs.h >>conftest.$ac_ext
79455 cat >>conftest.$ac_ext <<_ACEOF
79456 /* end confdefs.h. */
79457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79459 #define $ac_func innocuous_$ac_func
79461 /* System header to define __stub macros and hopefully few prototypes,
79462 which can conflict with char $ac_func (); below.
79463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79464 <limits.h> exists even on freestanding compilers. */
79466 #ifdef __STDC__
79467 # include <limits.h>
79468 #else
79469 # include <assert.h>
79470 #endif
79472 #undef $ac_func
79474 /* Override any gcc2 internal prototype to avoid an error. */
79475 #ifdef __cplusplus
79476 extern "C"
79478 #endif
79479 /* We use char because int might match the return type of a gcc2
79480 builtin and then its argument prototype would still apply. */
79481 char $ac_func ();
79482 /* The GNU C library defines this for functions which it implements
79483 to always fail with ENOSYS. Some functions are actually named
79484 something starting with __ and the normal name is an alias. */
79485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79486 choke me
79487 #else
79488 char (*f) () = $ac_func;
79489 #endif
79490 #ifdef __cplusplus
79492 #endif
79495 main ()
79497 return f != $ac_func;
79499 return 0;
79501 _ACEOF
79502 rm -f conftest.$ac_objext conftest$ac_exeext
79503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79504 (eval $ac_link) 2>conftest.er1
79505 ac_status=$?
79506 grep -v '^ *+' conftest.er1 >conftest.err
79507 rm -f conftest.er1
79508 cat conftest.err >&5
79509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79510 (exit $ac_status); } &&
79511 { ac_try='test -z "$ac_c_werror_flag"
79512 || test ! -s conftest.err'
79513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79514 (eval $ac_try) 2>&5
79515 ac_status=$?
79516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79517 (exit $ac_status); }; } &&
79518 { ac_try='test -s conftest$ac_exeext'
79519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79520 (eval $ac_try) 2>&5
79521 ac_status=$?
79522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79523 (exit $ac_status); }; }; then
79524 eval "$as_ac_var=yes"
79525 else
79526 echo "$as_me: failed program was:" >&5
79527 sed 's/^/| /' conftest.$ac_ext >&5
79529 eval "$as_ac_var=no"
79531 rm -f conftest.err conftest.$ac_objext \
79532 conftest$ac_exeext conftest.$ac_ext
79534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79536 if test `eval echo '${'$as_ac_var'}'` = yes; then
79537 cat >>confdefs.h <<_ACEOF
79538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79539 _ACEOF
79542 done
79552 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
79553 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
79554 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
79555 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
79556 echo $ECHO_N "(cached) $ECHO_C" >&6
79557 else
79561 ac_ext=cc
79562 ac_cpp='$CXXCPP $CPPFLAGS'
79563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79567 cat >conftest.$ac_ext <<_ACEOF
79568 /* confdefs.h. */
79569 _ACEOF
79570 cat confdefs.h >>conftest.$ac_ext
79571 cat >>conftest.$ac_ext <<_ACEOF
79572 /* end confdefs.h. */
79573 #include <math.h>
79574 #ifdef HAVE_IEEEFP_H
79575 #include <ieeefp.h>
79576 #endif
79579 main ()
79581 qfpclass(0);
79583 return 0;
79585 _ACEOF
79586 rm -f conftest.$ac_objext
79587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79588 (eval $ac_compile) 2>conftest.er1
79589 ac_status=$?
79590 grep -v '^ *+' conftest.er1 >conftest.err
79591 rm -f conftest.er1
79592 cat conftest.err >&5
79593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79594 (exit $ac_status); } &&
79595 { ac_try='test -z "$ac_cxx_werror_flag"
79596 || test ! -s conftest.err'
79597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79598 (eval $ac_try) 2>&5
79599 ac_status=$?
79600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79601 (exit $ac_status); }; } &&
79602 { ac_try='test -s conftest.$ac_objext'
79603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79604 (eval $ac_try) 2>&5
79605 ac_status=$?
79606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79607 (exit $ac_status); }; }; then
79608 glibcxx_cv_func_qfpclass_use=yes
79609 else
79610 echo "$as_me: failed program was:" >&5
79611 sed 's/^/| /' conftest.$ac_ext >&5
79613 glibcxx_cv_func_qfpclass_use=no
79615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79616 ac_ext=c
79617 ac_cpp='$CPP $CPPFLAGS'
79618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
79627 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
79629 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
79631 for ac_func in qfpclass
79633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79634 echo "$as_me:$LINENO: checking for $ac_func" >&5
79635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79636 if eval "test \"\${$as_ac_var+set}\" = set"; then
79637 echo $ECHO_N "(cached) $ECHO_C" >&6
79638 else
79639 if test x$gcc_no_link = xyes; then
79640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79642 { (exit 1); exit 1; }; }
79644 cat >conftest.$ac_ext <<_ACEOF
79645 /* confdefs.h. */
79646 _ACEOF
79647 cat confdefs.h >>conftest.$ac_ext
79648 cat >>conftest.$ac_ext <<_ACEOF
79649 /* end confdefs.h. */
79650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79652 #define $ac_func innocuous_$ac_func
79654 /* System header to define __stub macros and hopefully few prototypes,
79655 which can conflict with char $ac_func (); below.
79656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79657 <limits.h> exists even on freestanding compilers. */
79659 #ifdef __STDC__
79660 # include <limits.h>
79661 #else
79662 # include <assert.h>
79663 #endif
79665 #undef $ac_func
79667 /* Override any gcc2 internal prototype to avoid an error. */
79668 #ifdef __cplusplus
79669 extern "C"
79671 #endif
79672 /* We use char because int might match the return type of a gcc2
79673 builtin and then its argument prototype would still apply. */
79674 char $ac_func ();
79675 /* The GNU C library defines this for functions which it implements
79676 to always fail with ENOSYS. Some functions are actually named
79677 something starting with __ and the normal name is an alias. */
79678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79679 choke me
79680 #else
79681 char (*f) () = $ac_func;
79682 #endif
79683 #ifdef __cplusplus
79685 #endif
79688 main ()
79690 return f != $ac_func;
79692 return 0;
79694 _ACEOF
79695 rm -f conftest.$ac_objext conftest$ac_exeext
79696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79697 (eval $ac_link) 2>conftest.er1
79698 ac_status=$?
79699 grep -v '^ *+' conftest.er1 >conftest.err
79700 rm -f conftest.er1
79701 cat conftest.err >&5
79702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79703 (exit $ac_status); } &&
79704 { ac_try='test -z "$ac_c_werror_flag"
79705 || test ! -s conftest.err'
79706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79707 (eval $ac_try) 2>&5
79708 ac_status=$?
79709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79710 (exit $ac_status); }; } &&
79711 { ac_try='test -s conftest$ac_exeext'
79712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79713 (eval $ac_try) 2>&5
79714 ac_status=$?
79715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79716 (exit $ac_status); }; }; then
79717 eval "$as_ac_var=yes"
79718 else
79719 echo "$as_me: failed program was:" >&5
79720 sed 's/^/| /' conftest.$ac_ext >&5
79722 eval "$as_ac_var=no"
79724 rm -f conftest.err conftest.$ac_objext \
79725 conftest$ac_exeext conftest.$ac_ext
79727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79729 if test `eval echo '${'$as_ac_var'}'` = yes; then
79730 cat >>confdefs.h <<_ACEOF
79731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79732 _ACEOF
79735 done
79737 else
79739 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
79740 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
79741 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
79742 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
79743 echo $ECHO_N "(cached) $ECHO_C" >&6
79744 else
79748 ac_ext=cc
79749 ac_cpp='$CXXCPP $CPPFLAGS'
79750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79754 cat >conftest.$ac_ext <<_ACEOF
79755 /* confdefs.h. */
79756 _ACEOF
79757 cat confdefs.h >>conftest.$ac_ext
79758 cat >>conftest.$ac_ext <<_ACEOF
79759 /* end confdefs.h. */
79760 #include <math.h>
79761 #ifdef HAVE_IEEEFP_H
79762 #include <ieeefp.h>
79763 #endif
79766 main ()
79768 _qfpclass(0);
79770 return 0;
79772 _ACEOF
79773 rm -f conftest.$ac_objext
79774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79775 (eval $ac_compile) 2>conftest.er1
79776 ac_status=$?
79777 grep -v '^ *+' conftest.er1 >conftest.err
79778 rm -f conftest.er1
79779 cat conftest.err >&5
79780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79781 (exit $ac_status); } &&
79782 { ac_try='test -z "$ac_cxx_werror_flag"
79783 || test ! -s conftest.err'
79784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79785 (eval $ac_try) 2>&5
79786 ac_status=$?
79787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79788 (exit $ac_status); }; } &&
79789 { ac_try='test -s conftest.$ac_objext'
79790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79791 (eval $ac_try) 2>&5
79792 ac_status=$?
79793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79794 (exit $ac_status); }; }; then
79795 glibcxx_cv_func__qfpclass_use=yes
79796 else
79797 echo "$as_me: failed program was:" >&5
79798 sed 's/^/| /' conftest.$ac_ext >&5
79800 glibcxx_cv_func__qfpclass_use=no
79802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79803 ac_ext=c
79804 ac_cpp='$CPP $CPPFLAGS'
79805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
79814 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
79816 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
79818 for ac_func in _qfpclass
79820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79821 echo "$as_me:$LINENO: checking for $ac_func" >&5
79822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79823 if eval "test \"\${$as_ac_var+set}\" = set"; then
79824 echo $ECHO_N "(cached) $ECHO_C" >&6
79825 else
79826 if test x$gcc_no_link = xyes; then
79827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79829 { (exit 1); exit 1; }; }
79831 cat >conftest.$ac_ext <<_ACEOF
79832 /* confdefs.h. */
79833 _ACEOF
79834 cat confdefs.h >>conftest.$ac_ext
79835 cat >>conftest.$ac_ext <<_ACEOF
79836 /* end confdefs.h. */
79837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79839 #define $ac_func innocuous_$ac_func
79841 /* System header to define __stub macros and hopefully few prototypes,
79842 which can conflict with char $ac_func (); below.
79843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79844 <limits.h> exists even on freestanding compilers. */
79846 #ifdef __STDC__
79847 # include <limits.h>
79848 #else
79849 # include <assert.h>
79850 #endif
79852 #undef $ac_func
79854 /* Override any gcc2 internal prototype to avoid an error. */
79855 #ifdef __cplusplus
79856 extern "C"
79858 #endif
79859 /* We use char because int might match the return type of a gcc2
79860 builtin and then its argument prototype would still apply. */
79861 char $ac_func ();
79862 /* The GNU C library defines this for functions which it implements
79863 to always fail with ENOSYS. Some functions are actually named
79864 something starting with __ and the normal name is an alias. */
79865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79866 choke me
79867 #else
79868 char (*f) () = $ac_func;
79869 #endif
79870 #ifdef __cplusplus
79872 #endif
79875 main ()
79877 return f != $ac_func;
79879 return 0;
79881 _ACEOF
79882 rm -f conftest.$ac_objext conftest$ac_exeext
79883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79884 (eval $ac_link) 2>conftest.er1
79885 ac_status=$?
79886 grep -v '^ *+' conftest.er1 >conftest.err
79887 rm -f conftest.er1
79888 cat conftest.err >&5
79889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79890 (exit $ac_status); } &&
79891 { ac_try='test -z "$ac_c_werror_flag"
79892 || test ! -s conftest.err'
79893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79894 (eval $ac_try) 2>&5
79895 ac_status=$?
79896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79897 (exit $ac_status); }; } &&
79898 { ac_try='test -s conftest$ac_exeext'
79899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79900 (eval $ac_try) 2>&5
79901 ac_status=$?
79902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79903 (exit $ac_status); }; }; then
79904 eval "$as_ac_var=yes"
79905 else
79906 echo "$as_me: failed program was:" >&5
79907 sed 's/^/| /' conftest.$ac_ext >&5
79909 eval "$as_ac_var=no"
79911 rm -f conftest.err conftest.$ac_objext \
79912 conftest$ac_exeext conftest.$ac_ext
79914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79916 if test `eval echo '${'$as_ac_var'}'` = yes; then
79917 cat >>confdefs.h <<_ACEOF
79918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79919 _ACEOF
79922 done
79932 echo "$as_me:$LINENO: checking for hypot declaration" >&5
79933 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
79934 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
79935 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
79936 echo $ECHO_N "(cached) $ECHO_C" >&6
79937 else
79941 ac_ext=cc
79942 ac_cpp='$CXXCPP $CPPFLAGS'
79943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79947 cat >conftest.$ac_ext <<_ACEOF
79948 /* confdefs.h. */
79949 _ACEOF
79950 cat confdefs.h >>conftest.$ac_ext
79951 cat >>conftest.$ac_ext <<_ACEOF
79952 /* end confdefs.h. */
79953 #include <math.h>
79955 main ()
79957 hypot(0, 0);
79959 return 0;
79961 _ACEOF
79962 rm -f conftest.$ac_objext
79963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79964 (eval $ac_compile) 2>conftest.er1
79965 ac_status=$?
79966 grep -v '^ *+' conftest.er1 >conftest.err
79967 rm -f conftest.er1
79968 cat conftest.err >&5
79969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79970 (exit $ac_status); } &&
79971 { ac_try='test -z "$ac_cxx_werror_flag"
79972 || test ! -s conftest.err'
79973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79974 (eval $ac_try) 2>&5
79975 ac_status=$?
79976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79977 (exit $ac_status); }; } &&
79978 { ac_try='test -s conftest.$ac_objext'
79979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79980 (eval $ac_try) 2>&5
79981 ac_status=$?
79982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79983 (exit $ac_status); }; }; then
79984 glibcxx_cv_func_hypot_use=yes
79985 else
79986 echo "$as_me: failed program was:" >&5
79987 sed 's/^/| /' conftest.$ac_ext >&5
79989 glibcxx_cv_func_hypot_use=no
79991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79992 ac_ext=c
79993 ac_cpp='$CPP $CPPFLAGS'
79994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
80003 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
80005 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
80007 for ac_func in hypot
80009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80010 echo "$as_me:$LINENO: checking for $ac_func" >&5
80011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80012 if eval "test \"\${$as_ac_var+set}\" = set"; then
80013 echo $ECHO_N "(cached) $ECHO_C" >&6
80014 else
80015 if test x$gcc_no_link = xyes; then
80016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80018 { (exit 1); exit 1; }; }
80020 cat >conftest.$ac_ext <<_ACEOF
80021 /* confdefs.h. */
80022 _ACEOF
80023 cat confdefs.h >>conftest.$ac_ext
80024 cat >>conftest.$ac_ext <<_ACEOF
80025 /* end confdefs.h. */
80026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80028 #define $ac_func innocuous_$ac_func
80030 /* System header to define __stub macros and hopefully few prototypes,
80031 which can conflict with char $ac_func (); below.
80032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80033 <limits.h> exists even on freestanding compilers. */
80035 #ifdef __STDC__
80036 # include <limits.h>
80037 #else
80038 # include <assert.h>
80039 #endif
80041 #undef $ac_func
80043 /* Override any gcc2 internal prototype to avoid an error. */
80044 #ifdef __cplusplus
80045 extern "C"
80047 #endif
80048 /* We use char because int might match the return type of a gcc2
80049 builtin and then its argument prototype would still apply. */
80050 char $ac_func ();
80051 /* The GNU C library defines this for functions which it implements
80052 to always fail with ENOSYS. Some functions are actually named
80053 something starting with __ and the normal name is an alias. */
80054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80055 choke me
80056 #else
80057 char (*f) () = $ac_func;
80058 #endif
80059 #ifdef __cplusplus
80061 #endif
80064 main ()
80066 return f != $ac_func;
80068 return 0;
80070 _ACEOF
80071 rm -f conftest.$ac_objext conftest$ac_exeext
80072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80073 (eval $ac_link) 2>conftest.er1
80074 ac_status=$?
80075 grep -v '^ *+' conftest.er1 >conftest.err
80076 rm -f conftest.er1
80077 cat conftest.err >&5
80078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80079 (exit $ac_status); } &&
80080 { ac_try='test -z "$ac_c_werror_flag"
80081 || test ! -s conftest.err'
80082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80083 (eval $ac_try) 2>&5
80084 ac_status=$?
80085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80086 (exit $ac_status); }; } &&
80087 { ac_try='test -s conftest$ac_exeext'
80088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80089 (eval $ac_try) 2>&5
80090 ac_status=$?
80091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80092 (exit $ac_status); }; }; then
80093 eval "$as_ac_var=yes"
80094 else
80095 echo "$as_me: failed program was:" >&5
80096 sed 's/^/| /' conftest.$ac_ext >&5
80098 eval "$as_ac_var=no"
80100 rm -f conftest.err conftest.$ac_objext \
80101 conftest$ac_exeext conftest.$ac_ext
80103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80105 if test `eval echo '${'$as_ac_var'}'` = yes; then
80106 cat >>confdefs.h <<_ACEOF
80107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80108 _ACEOF
80111 done
80113 else
80115 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
80116 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
80117 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
80118 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
80119 echo $ECHO_N "(cached) $ECHO_C" >&6
80120 else
80124 ac_ext=cc
80125 ac_cpp='$CXXCPP $CPPFLAGS'
80126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80130 cat >conftest.$ac_ext <<_ACEOF
80131 /* confdefs.h. */
80132 _ACEOF
80133 cat confdefs.h >>conftest.$ac_ext
80134 cat >>conftest.$ac_ext <<_ACEOF
80135 /* end confdefs.h. */
80136 #include <math.h>
80138 main ()
80140 _hypot(0, 0);
80142 return 0;
80144 _ACEOF
80145 rm -f conftest.$ac_objext
80146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80147 (eval $ac_compile) 2>conftest.er1
80148 ac_status=$?
80149 grep -v '^ *+' conftest.er1 >conftest.err
80150 rm -f conftest.er1
80151 cat conftest.err >&5
80152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80153 (exit $ac_status); } &&
80154 { ac_try='test -z "$ac_cxx_werror_flag"
80155 || test ! -s conftest.err'
80156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80157 (eval $ac_try) 2>&5
80158 ac_status=$?
80159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80160 (exit $ac_status); }; } &&
80161 { ac_try='test -s conftest.$ac_objext'
80162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80163 (eval $ac_try) 2>&5
80164 ac_status=$?
80165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80166 (exit $ac_status); }; }; then
80167 glibcxx_cv_func__hypot_use=yes
80168 else
80169 echo "$as_me: failed program was:" >&5
80170 sed 's/^/| /' conftest.$ac_ext >&5
80172 glibcxx_cv_func__hypot_use=no
80174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80175 ac_ext=c
80176 ac_cpp='$CPP $CPPFLAGS'
80177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
80186 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
80188 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
80190 for ac_func in _hypot
80192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80193 echo "$as_me:$LINENO: checking for $ac_func" >&5
80194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80195 if eval "test \"\${$as_ac_var+set}\" = set"; then
80196 echo $ECHO_N "(cached) $ECHO_C" >&6
80197 else
80198 if test x$gcc_no_link = xyes; then
80199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80201 { (exit 1); exit 1; }; }
80203 cat >conftest.$ac_ext <<_ACEOF
80204 /* confdefs.h. */
80205 _ACEOF
80206 cat confdefs.h >>conftest.$ac_ext
80207 cat >>conftest.$ac_ext <<_ACEOF
80208 /* end confdefs.h. */
80209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80211 #define $ac_func innocuous_$ac_func
80213 /* System header to define __stub macros and hopefully few prototypes,
80214 which can conflict with char $ac_func (); below.
80215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80216 <limits.h> exists even on freestanding compilers. */
80218 #ifdef __STDC__
80219 # include <limits.h>
80220 #else
80221 # include <assert.h>
80222 #endif
80224 #undef $ac_func
80226 /* Override any gcc2 internal prototype to avoid an error. */
80227 #ifdef __cplusplus
80228 extern "C"
80230 #endif
80231 /* We use char because int might match the return type of a gcc2
80232 builtin and then its argument prototype would still apply. */
80233 char $ac_func ();
80234 /* The GNU C library defines this for functions which it implements
80235 to always fail with ENOSYS. Some functions are actually named
80236 something starting with __ and the normal name is an alias. */
80237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80238 choke me
80239 #else
80240 char (*f) () = $ac_func;
80241 #endif
80242 #ifdef __cplusplus
80244 #endif
80247 main ()
80249 return f != $ac_func;
80251 return 0;
80253 _ACEOF
80254 rm -f conftest.$ac_objext conftest$ac_exeext
80255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80256 (eval $ac_link) 2>conftest.er1
80257 ac_status=$?
80258 grep -v '^ *+' conftest.er1 >conftest.err
80259 rm -f conftest.er1
80260 cat conftest.err >&5
80261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80262 (exit $ac_status); } &&
80263 { ac_try='test -z "$ac_c_werror_flag"
80264 || test ! -s conftest.err'
80265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80266 (eval $ac_try) 2>&5
80267 ac_status=$?
80268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80269 (exit $ac_status); }; } &&
80270 { ac_try='test -s conftest$ac_exeext'
80271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80272 (eval $ac_try) 2>&5
80273 ac_status=$?
80274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80275 (exit $ac_status); }; }; then
80276 eval "$as_ac_var=yes"
80277 else
80278 echo "$as_me: failed program was:" >&5
80279 sed 's/^/| /' conftest.$ac_ext >&5
80281 eval "$as_ac_var=no"
80283 rm -f conftest.err conftest.$ac_objext \
80284 conftest$ac_exeext conftest.$ac_ext
80286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80288 if test `eval echo '${'$as_ac_var'}'` = yes; then
80289 cat >>confdefs.h <<_ACEOF
80290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80291 _ACEOF
80294 done
80304 echo "$as_me:$LINENO: checking for float trig functions" >&5
80305 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
80306 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
80307 echo $ECHO_N "(cached) $ECHO_C" >&6
80308 else
80312 ac_ext=cc
80313 ac_cpp='$CXXCPP $CPPFLAGS'
80314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80318 cat >conftest.$ac_ext <<_ACEOF
80319 /* confdefs.h. */
80320 _ACEOF
80321 cat confdefs.h >>conftest.$ac_ext
80322 cat >>conftest.$ac_ext <<_ACEOF
80323 /* end confdefs.h. */
80324 #include <math.h>
80326 main ()
80328 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
80330 return 0;
80332 _ACEOF
80333 rm -f conftest.$ac_objext
80334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80335 (eval $ac_compile) 2>conftest.er1
80336 ac_status=$?
80337 grep -v '^ *+' conftest.er1 >conftest.err
80338 rm -f conftest.er1
80339 cat conftest.err >&5
80340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80341 (exit $ac_status); } &&
80342 { ac_try='test -z "$ac_cxx_werror_flag"
80343 || test ! -s conftest.err'
80344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80345 (eval $ac_try) 2>&5
80346 ac_status=$?
80347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80348 (exit $ac_status); }; } &&
80349 { ac_try='test -s conftest.$ac_objext'
80350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80351 (eval $ac_try) 2>&5
80352 ac_status=$?
80353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80354 (exit $ac_status); }; }; then
80355 glibcxx_cv_func_float_trig_use=yes
80356 else
80357 echo "$as_me: failed program was:" >&5
80358 sed 's/^/| /' conftest.$ac_ext >&5
80360 glibcxx_cv_func_float_trig_use=no
80362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80363 ac_ext=c
80364 ac_cpp='$CPP $CPPFLAGS'
80365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
80372 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
80373 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
80383 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
80385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80386 echo "$as_me:$LINENO: checking for $ac_func" >&5
80387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80388 if eval "test \"\${$as_ac_var+set}\" = set"; then
80389 echo $ECHO_N "(cached) $ECHO_C" >&6
80390 else
80391 if test x$gcc_no_link = xyes; then
80392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80394 { (exit 1); exit 1; }; }
80396 cat >conftest.$ac_ext <<_ACEOF
80397 /* confdefs.h. */
80398 _ACEOF
80399 cat confdefs.h >>conftest.$ac_ext
80400 cat >>conftest.$ac_ext <<_ACEOF
80401 /* end confdefs.h. */
80402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80404 #define $ac_func innocuous_$ac_func
80406 /* System header to define __stub macros and hopefully few prototypes,
80407 which can conflict with char $ac_func (); below.
80408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80409 <limits.h> exists even on freestanding compilers. */
80411 #ifdef __STDC__
80412 # include <limits.h>
80413 #else
80414 # include <assert.h>
80415 #endif
80417 #undef $ac_func
80419 /* Override any gcc2 internal prototype to avoid an error. */
80420 #ifdef __cplusplus
80421 extern "C"
80423 #endif
80424 /* We use char because int might match the return type of a gcc2
80425 builtin and then its argument prototype would still apply. */
80426 char $ac_func ();
80427 /* The GNU C library defines this for functions which it implements
80428 to always fail with ENOSYS. Some functions are actually named
80429 something starting with __ and the normal name is an alias. */
80430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80431 choke me
80432 #else
80433 char (*f) () = $ac_func;
80434 #endif
80435 #ifdef __cplusplus
80437 #endif
80440 main ()
80442 return f != $ac_func;
80444 return 0;
80446 _ACEOF
80447 rm -f conftest.$ac_objext conftest$ac_exeext
80448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80449 (eval $ac_link) 2>conftest.er1
80450 ac_status=$?
80451 grep -v '^ *+' conftest.er1 >conftest.err
80452 rm -f conftest.er1
80453 cat conftest.err >&5
80454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80455 (exit $ac_status); } &&
80456 { ac_try='test -z "$ac_c_werror_flag"
80457 || test ! -s conftest.err'
80458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80459 (eval $ac_try) 2>&5
80460 ac_status=$?
80461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80462 (exit $ac_status); }; } &&
80463 { ac_try='test -s conftest$ac_exeext'
80464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80465 (eval $ac_try) 2>&5
80466 ac_status=$?
80467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80468 (exit $ac_status); }; }; then
80469 eval "$as_ac_var=yes"
80470 else
80471 echo "$as_me: failed program was:" >&5
80472 sed 's/^/| /' conftest.$ac_ext >&5
80474 eval "$as_ac_var=no"
80476 rm -f conftest.err conftest.$ac_objext \
80477 conftest$ac_exeext conftest.$ac_ext
80479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80481 if test `eval echo '${'$as_ac_var'}'` = yes; then
80482 cat >>confdefs.h <<_ACEOF
80483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80484 _ACEOF
80487 done
80489 else
80490 echo "$as_me:$LINENO: checking for _float trig functions" >&5
80491 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
80492 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
80493 echo $ECHO_N "(cached) $ECHO_C" >&6
80494 else
80498 ac_ext=cc
80499 ac_cpp='$CXXCPP $CPPFLAGS'
80500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80504 cat >conftest.$ac_ext <<_ACEOF
80505 /* confdefs.h. */
80506 _ACEOF
80507 cat confdefs.h >>conftest.$ac_ext
80508 cat >>conftest.$ac_ext <<_ACEOF
80509 /* end confdefs.h. */
80510 #include <math.h>
80512 main ()
80514 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
80516 return 0;
80518 _ACEOF
80519 rm -f conftest.$ac_objext
80520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80521 (eval $ac_compile) 2>conftest.er1
80522 ac_status=$?
80523 grep -v '^ *+' conftest.er1 >conftest.err
80524 rm -f conftest.er1
80525 cat conftest.err >&5
80526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80527 (exit $ac_status); } &&
80528 { ac_try='test -z "$ac_cxx_werror_flag"
80529 || test ! -s conftest.err'
80530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80531 (eval $ac_try) 2>&5
80532 ac_status=$?
80533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80534 (exit $ac_status); }; } &&
80535 { ac_try='test -s conftest.$ac_objext'
80536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80537 (eval $ac_try) 2>&5
80538 ac_status=$?
80539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80540 (exit $ac_status); }; }; then
80541 glibcxx_cv_func__float_trig_use=yes
80542 else
80543 echo "$as_me: failed program was:" >&5
80544 sed 's/^/| /' conftest.$ac_ext >&5
80546 glibcxx_cv_func__float_trig_use=no
80548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80549 ac_ext=c
80550 ac_cpp='$CPP $CPPFLAGS'
80551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
80558 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
80559 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
80569 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
80571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80572 echo "$as_me:$LINENO: checking for $ac_func" >&5
80573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80574 if eval "test \"\${$as_ac_var+set}\" = set"; then
80575 echo $ECHO_N "(cached) $ECHO_C" >&6
80576 else
80577 if test x$gcc_no_link = xyes; then
80578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80580 { (exit 1); exit 1; }; }
80582 cat >conftest.$ac_ext <<_ACEOF
80583 /* confdefs.h. */
80584 _ACEOF
80585 cat confdefs.h >>conftest.$ac_ext
80586 cat >>conftest.$ac_ext <<_ACEOF
80587 /* end confdefs.h. */
80588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80590 #define $ac_func innocuous_$ac_func
80592 /* System header to define __stub macros and hopefully few prototypes,
80593 which can conflict with char $ac_func (); below.
80594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80595 <limits.h> exists even on freestanding compilers. */
80597 #ifdef __STDC__
80598 # include <limits.h>
80599 #else
80600 # include <assert.h>
80601 #endif
80603 #undef $ac_func
80605 /* Override any gcc2 internal prototype to avoid an error. */
80606 #ifdef __cplusplus
80607 extern "C"
80609 #endif
80610 /* We use char because int might match the return type of a gcc2
80611 builtin and then its argument prototype would still apply. */
80612 char $ac_func ();
80613 /* The GNU C library defines this for functions which it implements
80614 to always fail with ENOSYS. Some functions are actually named
80615 something starting with __ and the normal name is an alias. */
80616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80617 choke me
80618 #else
80619 char (*f) () = $ac_func;
80620 #endif
80621 #ifdef __cplusplus
80623 #endif
80626 main ()
80628 return f != $ac_func;
80630 return 0;
80632 _ACEOF
80633 rm -f conftest.$ac_objext conftest$ac_exeext
80634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80635 (eval $ac_link) 2>conftest.er1
80636 ac_status=$?
80637 grep -v '^ *+' conftest.er1 >conftest.err
80638 rm -f conftest.er1
80639 cat conftest.err >&5
80640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80641 (exit $ac_status); } &&
80642 { ac_try='test -z "$ac_c_werror_flag"
80643 || test ! -s conftest.err'
80644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80645 (eval $ac_try) 2>&5
80646 ac_status=$?
80647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80648 (exit $ac_status); }; } &&
80649 { ac_try='test -s conftest$ac_exeext'
80650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80651 (eval $ac_try) 2>&5
80652 ac_status=$?
80653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80654 (exit $ac_status); }; }; then
80655 eval "$as_ac_var=yes"
80656 else
80657 echo "$as_me: failed program was:" >&5
80658 sed 's/^/| /' conftest.$ac_ext >&5
80660 eval "$as_ac_var=no"
80662 rm -f conftest.err conftest.$ac_objext \
80663 conftest$ac_exeext conftest.$ac_ext
80665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80667 if test `eval echo '${'$as_ac_var'}'` = yes; then
80668 cat >>confdefs.h <<_ACEOF
80669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80670 _ACEOF
80673 done
80691 echo "$as_me:$LINENO: checking for float round functions" >&5
80692 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
80693 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
80694 echo $ECHO_N "(cached) $ECHO_C" >&6
80695 else
80699 ac_ext=cc
80700 ac_cpp='$CXXCPP $CPPFLAGS'
80701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80705 cat >conftest.$ac_ext <<_ACEOF
80706 /* confdefs.h. */
80707 _ACEOF
80708 cat confdefs.h >>conftest.$ac_ext
80709 cat >>conftest.$ac_ext <<_ACEOF
80710 /* end confdefs.h. */
80711 #include <math.h>
80713 main ()
80715 ceilf (0); floorf (0);
80717 return 0;
80719 _ACEOF
80720 rm -f conftest.$ac_objext
80721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80722 (eval $ac_compile) 2>conftest.er1
80723 ac_status=$?
80724 grep -v '^ *+' conftest.er1 >conftest.err
80725 rm -f conftest.er1
80726 cat conftest.err >&5
80727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80728 (exit $ac_status); } &&
80729 { ac_try='test -z "$ac_cxx_werror_flag"
80730 || test ! -s conftest.err'
80731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80732 (eval $ac_try) 2>&5
80733 ac_status=$?
80734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80735 (exit $ac_status); }; } &&
80736 { ac_try='test -s conftest.$ac_objext'
80737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80738 (eval $ac_try) 2>&5
80739 ac_status=$?
80740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80741 (exit $ac_status); }; }; then
80742 glibcxx_cv_func_float_round_use=yes
80743 else
80744 echo "$as_me: failed program was:" >&5
80745 sed 's/^/| /' conftest.$ac_ext >&5
80747 glibcxx_cv_func_float_round_use=no
80749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80750 ac_ext=c
80751 ac_cpp='$CPP $CPPFLAGS'
80752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
80759 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
80760 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
80763 for ac_func in ceilf floorf
80765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80766 echo "$as_me:$LINENO: checking for $ac_func" >&5
80767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80768 if eval "test \"\${$as_ac_var+set}\" = set"; then
80769 echo $ECHO_N "(cached) $ECHO_C" >&6
80770 else
80771 if test x$gcc_no_link = xyes; then
80772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80774 { (exit 1); exit 1; }; }
80776 cat >conftest.$ac_ext <<_ACEOF
80777 /* confdefs.h. */
80778 _ACEOF
80779 cat confdefs.h >>conftest.$ac_ext
80780 cat >>conftest.$ac_ext <<_ACEOF
80781 /* end confdefs.h. */
80782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80784 #define $ac_func innocuous_$ac_func
80786 /* System header to define __stub macros and hopefully few prototypes,
80787 which can conflict with char $ac_func (); below.
80788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80789 <limits.h> exists even on freestanding compilers. */
80791 #ifdef __STDC__
80792 # include <limits.h>
80793 #else
80794 # include <assert.h>
80795 #endif
80797 #undef $ac_func
80799 /* Override any gcc2 internal prototype to avoid an error. */
80800 #ifdef __cplusplus
80801 extern "C"
80803 #endif
80804 /* We use char because int might match the return type of a gcc2
80805 builtin and then its argument prototype would still apply. */
80806 char $ac_func ();
80807 /* The GNU C library defines this for functions which it implements
80808 to always fail with ENOSYS. Some functions are actually named
80809 something starting with __ and the normal name is an alias. */
80810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80811 choke me
80812 #else
80813 char (*f) () = $ac_func;
80814 #endif
80815 #ifdef __cplusplus
80817 #endif
80820 main ()
80822 return f != $ac_func;
80824 return 0;
80826 _ACEOF
80827 rm -f conftest.$ac_objext conftest$ac_exeext
80828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80829 (eval $ac_link) 2>conftest.er1
80830 ac_status=$?
80831 grep -v '^ *+' conftest.er1 >conftest.err
80832 rm -f conftest.er1
80833 cat conftest.err >&5
80834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80835 (exit $ac_status); } &&
80836 { ac_try='test -z "$ac_c_werror_flag"
80837 || test ! -s conftest.err'
80838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80839 (eval $ac_try) 2>&5
80840 ac_status=$?
80841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80842 (exit $ac_status); }; } &&
80843 { ac_try='test -s conftest$ac_exeext'
80844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80845 (eval $ac_try) 2>&5
80846 ac_status=$?
80847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80848 (exit $ac_status); }; }; then
80849 eval "$as_ac_var=yes"
80850 else
80851 echo "$as_me: failed program was:" >&5
80852 sed 's/^/| /' conftest.$ac_ext >&5
80854 eval "$as_ac_var=no"
80856 rm -f conftest.err conftest.$ac_objext \
80857 conftest$ac_exeext conftest.$ac_ext
80859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80861 if test `eval echo '${'$as_ac_var'}'` = yes; then
80862 cat >>confdefs.h <<_ACEOF
80863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80864 _ACEOF
80867 done
80869 else
80870 echo "$as_me:$LINENO: checking for _float round functions" >&5
80871 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
80872 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
80873 echo $ECHO_N "(cached) $ECHO_C" >&6
80874 else
80878 ac_ext=cc
80879 ac_cpp='$CXXCPP $CPPFLAGS'
80880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80884 cat >conftest.$ac_ext <<_ACEOF
80885 /* confdefs.h. */
80886 _ACEOF
80887 cat confdefs.h >>conftest.$ac_ext
80888 cat >>conftest.$ac_ext <<_ACEOF
80889 /* end confdefs.h. */
80890 #include <math.h>
80892 main ()
80894 _ceilf (0); _floorf (0);
80896 return 0;
80898 _ACEOF
80899 rm -f conftest.$ac_objext
80900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80901 (eval $ac_compile) 2>conftest.er1
80902 ac_status=$?
80903 grep -v '^ *+' conftest.er1 >conftest.err
80904 rm -f conftest.er1
80905 cat conftest.err >&5
80906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80907 (exit $ac_status); } &&
80908 { ac_try='test -z "$ac_cxx_werror_flag"
80909 || test ! -s conftest.err'
80910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80911 (eval $ac_try) 2>&5
80912 ac_status=$?
80913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80914 (exit $ac_status); }; } &&
80915 { ac_try='test -s conftest.$ac_objext'
80916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80917 (eval $ac_try) 2>&5
80918 ac_status=$?
80919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80920 (exit $ac_status); }; }; then
80921 glibcxx_cv_func__float_round_use=yes
80922 else
80923 echo "$as_me: failed program was:" >&5
80924 sed 's/^/| /' conftest.$ac_ext >&5
80926 glibcxx_cv_func__float_round_use=no
80928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80929 ac_ext=c
80930 ac_cpp='$CPP $CPPFLAGS'
80931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
80938 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
80939 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
80942 for ac_func in _ceilf _floorf
80944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80945 echo "$as_me:$LINENO: checking for $ac_func" >&5
80946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80947 if eval "test \"\${$as_ac_var+set}\" = set"; then
80948 echo $ECHO_N "(cached) $ECHO_C" >&6
80949 else
80950 if test x$gcc_no_link = xyes; then
80951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80953 { (exit 1); exit 1; }; }
80955 cat >conftest.$ac_ext <<_ACEOF
80956 /* confdefs.h. */
80957 _ACEOF
80958 cat confdefs.h >>conftest.$ac_ext
80959 cat >>conftest.$ac_ext <<_ACEOF
80960 /* end confdefs.h. */
80961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80963 #define $ac_func innocuous_$ac_func
80965 /* System header to define __stub macros and hopefully few prototypes,
80966 which can conflict with char $ac_func (); below.
80967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80968 <limits.h> exists even on freestanding compilers. */
80970 #ifdef __STDC__
80971 # include <limits.h>
80972 #else
80973 # include <assert.h>
80974 #endif
80976 #undef $ac_func
80978 /* Override any gcc2 internal prototype to avoid an error. */
80979 #ifdef __cplusplus
80980 extern "C"
80982 #endif
80983 /* We use char because int might match the return type of a gcc2
80984 builtin and then its argument prototype would still apply. */
80985 char $ac_func ();
80986 /* The GNU C library defines this for functions which it implements
80987 to always fail with ENOSYS. Some functions are actually named
80988 something starting with __ and the normal name is an alias. */
80989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80990 choke me
80991 #else
80992 char (*f) () = $ac_func;
80993 #endif
80994 #ifdef __cplusplus
80996 #endif
80999 main ()
81001 return f != $ac_func;
81003 return 0;
81005 _ACEOF
81006 rm -f conftest.$ac_objext conftest$ac_exeext
81007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81008 (eval $ac_link) 2>conftest.er1
81009 ac_status=$?
81010 grep -v '^ *+' conftest.er1 >conftest.err
81011 rm -f conftest.er1
81012 cat conftest.err >&5
81013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81014 (exit $ac_status); } &&
81015 { ac_try='test -z "$ac_c_werror_flag"
81016 || test ! -s conftest.err'
81017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81018 (eval $ac_try) 2>&5
81019 ac_status=$?
81020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81021 (exit $ac_status); }; } &&
81022 { ac_try='test -s conftest$ac_exeext'
81023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81024 (eval $ac_try) 2>&5
81025 ac_status=$?
81026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81027 (exit $ac_status); }; }; then
81028 eval "$as_ac_var=yes"
81029 else
81030 echo "$as_me: failed program was:" >&5
81031 sed 's/^/| /' conftest.$ac_ext >&5
81033 eval "$as_ac_var=no"
81035 rm -f conftest.err conftest.$ac_objext \
81036 conftest$ac_exeext conftest.$ac_ext
81038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81040 if test `eval echo '${'$as_ac_var'}'` = yes; then
81041 cat >>confdefs.h <<_ACEOF
81042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81043 _ACEOF
81046 done
81058 echo "$as_me:$LINENO: checking for expf declaration" >&5
81059 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
81060 if test x${glibcxx_cv_func_expf_use+set} != xset; then
81061 if test "${glibcxx_cv_func_expf_use+set}" = set; then
81062 echo $ECHO_N "(cached) $ECHO_C" >&6
81063 else
81067 ac_ext=cc
81068 ac_cpp='$CXXCPP $CPPFLAGS'
81069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81073 cat >conftest.$ac_ext <<_ACEOF
81074 /* confdefs.h. */
81075 _ACEOF
81076 cat confdefs.h >>conftest.$ac_ext
81077 cat >>conftest.$ac_ext <<_ACEOF
81078 /* end confdefs.h. */
81079 #include <math.h>
81080 #ifdef HAVE_IEEEFP_H
81081 #include <ieeefp.h>
81082 #endif
81085 main ()
81087 expf(0);
81089 return 0;
81091 _ACEOF
81092 rm -f conftest.$ac_objext
81093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81094 (eval $ac_compile) 2>conftest.er1
81095 ac_status=$?
81096 grep -v '^ *+' conftest.er1 >conftest.err
81097 rm -f conftest.er1
81098 cat conftest.err >&5
81099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81100 (exit $ac_status); } &&
81101 { ac_try='test -z "$ac_cxx_werror_flag"
81102 || test ! -s conftest.err'
81103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81104 (eval $ac_try) 2>&5
81105 ac_status=$?
81106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81107 (exit $ac_status); }; } &&
81108 { ac_try='test -s conftest.$ac_objext'
81109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81110 (eval $ac_try) 2>&5
81111 ac_status=$?
81112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81113 (exit $ac_status); }; }; then
81114 glibcxx_cv_func_expf_use=yes
81115 else
81116 echo "$as_me: failed program was:" >&5
81117 sed 's/^/| /' conftest.$ac_ext >&5
81119 glibcxx_cv_func_expf_use=no
81121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81122 ac_ext=c
81123 ac_cpp='$CPP $CPPFLAGS'
81124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
81133 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
81135 if test x$glibcxx_cv_func_expf_use = x"yes"; then
81137 for ac_func in expf
81139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81140 echo "$as_me:$LINENO: checking for $ac_func" >&5
81141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81142 if eval "test \"\${$as_ac_var+set}\" = set"; then
81143 echo $ECHO_N "(cached) $ECHO_C" >&6
81144 else
81145 if test x$gcc_no_link = xyes; then
81146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81148 { (exit 1); exit 1; }; }
81150 cat >conftest.$ac_ext <<_ACEOF
81151 /* confdefs.h. */
81152 _ACEOF
81153 cat confdefs.h >>conftest.$ac_ext
81154 cat >>conftest.$ac_ext <<_ACEOF
81155 /* end confdefs.h. */
81156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81158 #define $ac_func innocuous_$ac_func
81160 /* System header to define __stub macros and hopefully few prototypes,
81161 which can conflict with char $ac_func (); below.
81162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81163 <limits.h> exists even on freestanding compilers. */
81165 #ifdef __STDC__
81166 # include <limits.h>
81167 #else
81168 # include <assert.h>
81169 #endif
81171 #undef $ac_func
81173 /* Override any gcc2 internal prototype to avoid an error. */
81174 #ifdef __cplusplus
81175 extern "C"
81177 #endif
81178 /* We use char because int might match the return type of a gcc2
81179 builtin and then its argument prototype would still apply. */
81180 char $ac_func ();
81181 /* The GNU C library defines this for functions which it implements
81182 to always fail with ENOSYS. Some functions are actually named
81183 something starting with __ and the normal name is an alias. */
81184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81185 choke me
81186 #else
81187 char (*f) () = $ac_func;
81188 #endif
81189 #ifdef __cplusplus
81191 #endif
81194 main ()
81196 return f != $ac_func;
81198 return 0;
81200 _ACEOF
81201 rm -f conftest.$ac_objext conftest$ac_exeext
81202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81203 (eval $ac_link) 2>conftest.er1
81204 ac_status=$?
81205 grep -v '^ *+' conftest.er1 >conftest.err
81206 rm -f conftest.er1
81207 cat conftest.err >&5
81208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81209 (exit $ac_status); } &&
81210 { ac_try='test -z "$ac_c_werror_flag"
81211 || test ! -s conftest.err'
81212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81213 (eval $ac_try) 2>&5
81214 ac_status=$?
81215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81216 (exit $ac_status); }; } &&
81217 { ac_try='test -s conftest$ac_exeext'
81218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81219 (eval $ac_try) 2>&5
81220 ac_status=$?
81221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81222 (exit $ac_status); }; }; then
81223 eval "$as_ac_var=yes"
81224 else
81225 echo "$as_me: failed program was:" >&5
81226 sed 's/^/| /' conftest.$ac_ext >&5
81228 eval "$as_ac_var=no"
81230 rm -f conftest.err conftest.$ac_objext \
81231 conftest$ac_exeext conftest.$ac_ext
81233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81235 if test `eval echo '${'$as_ac_var'}'` = yes; then
81236 cat >>confdefs.h <<_ACEOF
81237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81238 _ACEOF
81241 done
81243 else
81245 echo "$as_me:$LINENO: checking for _expf declaration" >&5
81246 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
81247 if test x${glibcxx_cv_func__expf_use+set} != xset; then
81248 if test "${glibcxx_cv_func__expf_use+set}" = set; then
81249 echo $ECHO_N "(cached) $ECHO_C" >&6
81250 else
81254 ac_ext=cc
81255 ac_cpp='$CXXCPP $CPPFLAGS'
81256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81260 cat >conftest.$ac_ext <<_ACEOF
81261 /* confdefs.h. */
81262 _ACEOF
81263 cat confdefs.h >>conftest.$ac_ext
81264 cat >>conftest.$ac_ext <<_ACEOF
81265 /* end confdefs.h. */
81266 #include <math.h>
81267 #ifdef HAVE_IEEEFP_H
81268 #include <ieeefp.h>
81269 #endif
81272 main ()
81274 _expf(0);
81276 return 0;
81278 _ACEOF
81279 rm -f conftest.$ac_objext
81280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81281 (eval $ac_compile) 2>conftest.er1
81282 ac_status=$?
81283 grep -v '^ *+' conftest.er1 >conftest.err
81284 rm -f conftest.er1
81285 cat conftest.err >&5
81286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81287 (exit $ac_status); } &&
81288 { ac_try='test -z "$ac_cxx_werror_flag"
81289 || test ! -s conftest.err'
81290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81291 (eval $ac_try) 2>&5
81292 ac_status=$?
81293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81294 (exit $ac_status); }; } &&
81295 { ac_try='test -s conftest.$ac_objext'
81296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81297 (eval $ac_try) 2>&5
81298 ac_status=$?
81299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81300 (exit $ac_status); }; }; then
81301 glibcxx_cv_func__expf_use=yes
81302 else
81303 echo "$as_me: failed program was:" >&5
81304 sed 's/^/| /' conftest.$ac_ext >&5
81306 glibcxx_cv_func__expf_use=no
81308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81309 ac_ext=c
81310 ac_cpp='$CPP $CPPFLAGS'
81311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
81320 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
81322 if test x$glibcxx_cv_func__expf_use = x"yes"; then
81324 for ac_func in _expf
81326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81327 echo "$as_me:$LINENO: checking for $ac_func" >&5
81328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81329 if eval "test \"\${$as_ac_var+set}\" = set"; then
81330 echo $ECHO_N "(cached) $ECHO_C" >&6
81331 else
81332 if test x$gcc_no_link = xyes; then
81333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81335 { (exit 1); exit 1; }; }
81337 cat >conftest.$ac_ext <<_ACEOF
81338 /* confdefs.h. */
81339 _ACEOF
81340 cat confdefs.h >>conftest.$ac_ext
81341 cat >>conftest.$ac_ext <<_ACEOF
81342 /* end confdefs.h. */
81343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81345 #define $ac_func innocuous_$ac_func
81347 /* System header to define __stub macros and hopefully few prototypes,
81348 which can conflict with char $ac_func (); below.
81349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81350 <limits.h> exists even on freestanding compilers. */
81352 #ifdef __STDC__
81353 # include <limits.h>
81354 #else
81355 # include <assert.h>
81356 #endif
81358 #undef $ac_func
81360 /* Override any gcc2 internal prototype to avoid an error. */
81361 #ifdef __cplusplus
81362 extern "C"
81364 #endif
81365 /* We use char because int might match the return type of a gcc2
81366 builtin and then its argument prototype would still apply. */
81367 char $ac_func ();
81368 /* The GNU C library defines this for functions which it implements
81369 to always fail with ENOSYS. Some functions are actually named
81370 something starting with __ and the normal name is an alias. */
81371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81372 choke me
81373 #else
81374 char (*f) () = $ac_func;
81375 #endif
81376 #ifdef __cplusplus
81378 #endif
81381 main ()
81383 return f != $ac_func;
81385 return 0;
81387 _ACEOF
81388 rm -f conftest.$ac_objext conftest$ac_exeext
81389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81390 (eval $ac_link) 2>conftest.er1
81391 ac_status=$?
81392 grep -v '^ *+' conftest.er1 >conftest.err
81393 rm -f conftest.er1
81394 cat conftest.err >&5
81395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81396 (exit $ac_status); } &&
81397 { ac_try='test -z "$ac_c_werror_flag"
81398 || test ! -s conftest.err'
81399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81400 (eval $ac_try) 2>&5
81401 ac_status=$?
81402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81403 (exit $ac_status); }; } &&
81404 { ac_try='test -s conftest$ac_exeext'
81405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81406 (eval $ac_try) 2>&5
81407 ac_status=$?
81408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81409 (exit $ac_status); }; }; then
81410 eval "$as_ac_var=yes"
81411 else
81412 echo "$as_me: failed program was:" >&5
81413 sed 's/^/| /' conftest.$ac_ext >&5
81415 eval "$as_ac_var=no"
81417 rm -f conftest.err conftest.$ac_objext \
81418 conftest$ac_exeext conftest.$ac_ext
81420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81422 if test `eval echo '${'$as_ac_var'}'` = yes; then
81423 cat >>confdefs.h <<_ACEOF
81424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81425 _ACEOF
81428 done
81438 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
81439 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
81440 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
81441 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
81442 echo $ECHO_N "(cached) $ECHO_C" >&6
81443 else
81447 ac_ext=cc
81448 ac_cpp='$CXXCPP $CPPFLAGS'
81449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81453 cat >conftest.$ac_ext <<_ACEOF
81454 /* confdefs.h. */
81455 _ACEOF
81456 cat confdefs.h >>conftest.$ac_ext
81457 cat >>conftest.$ac_ext <<_ACEOF
81458 /* end confdefs.h. */
81459 #include <math.h>
81460 #ifdef HAVE_IEEEFP_H
81461 #include <ieeefp.h>
81462 #endif
81465 main ()
81467 isnanf(0);
81469 return 0;
81471 _ACEOF
81472 rm -f conftest.$ac_objext
81473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81474 (eval $ac_compile) 2>conftest.er1
81475 ac_status=$?
81476 grep -v '^ *+' conftest.er1 >conftest.err
81477 rm -f conftest.er1
81478 cat conftest.err >&5
81479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81480 (exit $ac_status); } &&
81481 { ac_try='test -z "$ac_cxx_werror_flag"
81482 || test ! -s conftest.err'
81483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81484 (eval $ac_try) 2>&5
81485 ac_status=$?
81486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81487 (exit $ac_status); }; } &&
81488 { ac_try='test -s conftest.$ac_objext'
81489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81490 (eval $ac_try) 2>&5
81491 ac_status=$?
81492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81493 (exit $ac_status); }; }; then
81494 glibcxx_cv_func_isnanf_use=yes
81495 else
81496 echo "$as_me: failed program was:" >&5
81497 sed 's/^/| /' conftest.$ac_ext >&5
81499 glibcxx_cv_func_isnanf_use=no
81501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81502 ac_ext=c
81503 ac_cpp='$CPP $CPPFLAGS'
81504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
81513 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
81515 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
81517 for ac_func in isnanf
81519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81520 echo "$as_me:$LINENO: checking for $ac_func" >&5
81521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81522 if eval "test \"\${$as_ac_var+set}\" = set"; then
81523 echo $ECHO_N "(cached) $ECHO_C" >&6
81524 else
81525 if test x$gcc_no_link = xyes; then
81526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81528 { (exit 1); exit 1; }; }
81530 cat >conftest.$ac_ext <<_ACEOF
81531 /* confdefs.h. */
81532 _ACEOF
81533 cat confdefs.h >>conftest.$ac_ext
81534 cat >>conftest.$ac_ext <<_ACEOF
81535 /* end confdefs.h. */
81536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81538 #define $ac_func innocuous_$ac_func
81540 /* System header to define __stub macros and hopefully few prototypes,
81541 which can conflict with char $ac_func (); below.
81542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81543 <limits.h> exists even on freestanding compilers. */
81545 #ifdef __STDC__
81546 # include <limits.h>
81547 #else
81548 # include <assert.h>
81549 #endif
81551 #undef $ac_func
81553 /* Override any gcc2 internal prototype to avoid an error. */
81554 #ifdef __cplusplus
81555 extern "C"
81557 #endif
81558 /* We use char because int might match the return type of a gcc2
81559 builtin and then its argument prototype would still apply. */
81560 char $ac_func ();
81561 /* The GNU C library defines this for functions which it implements
81562 to always fail with ENOSYS. Some functions are actually named
81563 something starting with __ and the normal name is an alias. */
81564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81565 choke me
81566 #else
81567 char (*f) () = $ac_func;
81568 #endif
81569 #ifdef __cplusplus
81571 #endif
81574 main ()
81576 return f != $ac_func;
81578 return 0;
81580 _ACEOF
81581 rm -f conftest.$ac_objext conftest$ac_exeext
81582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81583 (eval $ac_link) 2>conftest.er1
81584 ac_status=$?
81585 grep -v '^ *+' conftest.er1 >conftest.err
81586 rm -f conftest.er1
81587 cat conftest.err >&5
81588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81589 (exit $ac_status); } &&
81590 { ac_try='test -z "$ac_c_werror_flag"
81591 || test ! -s conftest.err'
81592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81593 (eval $ac_try) 2>&5
81594 ac_status=$?
81595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81596 (exit $ac_status); }; } &&
81597 { ac_try='test -s conftest$ac_exeext'
81598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81599 (eval $ac_try) 2>&5
81600 ac_status=$?
81601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81602 (exit $ac_status); }; }; then
81603 eval "$as_ac_var=yes"
81604 else
81605 echo "$as_me: failed program was:" >&5
81606 sed 's/^/| /' conftest.$ac_ext >&5
81608 eval "$as_ac_var=no"
81610 rm -f conftest.err conftest.$ac_objext \
81611 conftest$ac_exeext conftest.$ac_ext
81613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81615 if test `eval echo '${'$as_ac_var'}'` = yes; then
81616 cat >>confdefs.h <<_ACEOF
81617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81618 _ACEOF
81621 done
81623 else
81625 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
81626 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
81627 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
81628 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
81629 echo $ECHO_N "(cached) $ECHO_C" >&6
81630 else
81634 ac_ext=cc
81635 ac_cpp='$CXXCPP $CPPFLAGS'
81636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81640 cat >conftest.$ac_ext <<_ACEOF
81641 /* confdefs.h. */
81642 _ACEOF
81643 cat confdefs.h >>conftest.$ac_ext
81644 cat >>conftest.$ac_ext <<_ACEOF
81645 /* end confdefs.h. */
81646 #include <math.h>
81647 #ifdef HAVE_IEEEFP_H
81648 #include <ieeefp.h>
81649 #endif
81652 main ()
81654 _isnanf(0);
81656 return 0;
81658 _ACEOF
81659 rm -f conftest.$ac_objext
81660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81661 (eval $ac_compile) 2>conftest.er1
81662 ac_status=$?
81663 grep -v '^ *+' conftest.er1 >conftest.err
81664 rm -f conftest.er1
81665 cat conftest.err >&5
81666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81667 (exit $ac_status); } &&
81668 { ac_try='test -z "$ac_cxx_werror_flag"
81669 || test ! -s conftest.err'
81670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81671 (eval $ac_try) 2>&5
81672 ac_status=$?
81673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81674 (exit $ac_status); }; } &&
81675 { ac_try='test -s conftest.$ac_objext'
81676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81677 (eval $ac_try) 2>&5
81678 ac_status=$?
81679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81680 (exit $ac_status); }; }; then
81681 glibcxx_cv_func__isnanf_use=yes
81682 else
81683 echo "$as_me: failed program was:" >&5
81684 sed 's/^/| /' conftest.$ac_ext >&5
81686 glibcxx_cv_func__isnanf_use=no
81688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81689 ac_ext=c
81690 ac_cpp='$CPP $CPPFLAGS'
81691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
81700 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
81702 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
81704 for ac_func in _isnanf
81706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81707 echo "$as_me:$LINENO: checking for $ac_func" >&5
81708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81709 if eval "test \"\${$as_ac_var+set}\" = set"; then
81710 echo $ECHO_N "(cached) $ECHO_C" >&6
81711 else
81712 if test x$gcc_no_link = xyes; then
81713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81715 { (exit 1); exit 1; }; }
81717 cat >conftest.$ac_ext <<_ACEOF
81718 /* confdefs.h. */
81719 _ACEOF
81720 cat confdefs.h >>conftest.$ac_ext
81721 cat >>conftest.$ac_ext <<_ACEOF
81722 /* end confdefs.h. */
81723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81725 #define $ac_func innocuous_$ac_func
81727 /* System header to define __stub macros and hopefully few prototypes,
81728 which can conflict with char $ac_func (); below.
81729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81730 <limits.h> exists even on freestanding compilers. */
81732 #ifdef __STDC__
81733 # include <limits.h>
81734 #else
81735 # include <assert.h>
81736 #endif
81738 #undef $ac_func
81740 /* Override any gcc2 internal prototype to avoid an error. */
81741 #ifdef __cplusplus
81742 extern "C"
81744 #endif
81745 /* We use char because int might match the return type of a gcc2
81746 builtin and then its argument prototype would still apply. */
81747 char $ac_func ();
81748 /* The GNU C library defines this for functions which it implements
81749 to always fail with ENOSYS. Some functions are actually named
81750 something starting with __ and the normal name is an alias. */
81751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81752 choke me
81753 #else
81754 char (*f) () = $ac_func;
81755 #endif
81756 #ifdef __cplusplus
81758 #endif
81761 main ()
81763 return f != $ac_func;
81765 return 0;
81767 _ACEOF
81768 rm -f conftest.$ac_objext conftest$ac_exeext
81769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81770 (eval $ac_link) 2>conftest.er1
81771 ac_status=$?
81772 grep -v '^ *+' conftest.er1 >conftest.err
81773 rm -f conftest.er1
81774 cat conftest.err >&5
81775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81776 (exit $ac_status); } &&
81777 { ac_try='test -z "$ac_c_werror_flag"
81778 || test ! -s conftest.err'
81779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81780 (eval $ac_try) 2>&5
81781 ac_status=$?
81782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81783 (exit $ac_status); }; } &&
81784 { ac_try='test -s conftest$ac_exeext'
81785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81786 (eval $ac_try) 2>&5
81787 ac_status=$?
81788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81789 (exit $ac_status); }; }; then
81790 eval "$as_ac_var=yes"
81791 else
81792 echo "$as_me: failed program was:" >&5
81793 sed 's/^/| /' conftest.$ac_ext >&5
81795 eval "$as_ac_var=no"
81797 rm -f conftest.err conftest.$ac_objext \
81798 conftest$ac_exeext conftest.$ac_ext
81800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81802 if test `eval echo '${'$as_ac_var'}'` = yes; then
81803 cat >>confdefs.h <<_ACEOF
81804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81805 _ACEOF
81808 done
81818 echo "$as_me:$LINENO: checking for isinff declaration" >&5
81819 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
81820 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
81821 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
81822 echo $ECHO_N "(cached) $ECHO_C" >&6
81823 else
81827 ac_ext=cc
81828 ac_cpp='$CXXCPP $CPPFLAGS'
81829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81833 cat >conftest.$ac_ext <<_ACEOF
81834 /* confdefs.h. */
81835 _ACEOF
81836 cat confdefs.h >>conftest.$ac_ext
81837 cat >>conftest.$ac_ext <<_ACEOF
81838 /* end confdefs.h. */
81839 #include <math.h>
81840 #ifdef HAVE_IEEEFP_H
81841 #include <ieeefp.h>
81842 #endif
81845 main ()
81847 isinff(0);
81849 return 0;
81851 _ACEOF
81852 rm -f conftest.$ac_objext
81853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81854 (eval $ac_compile) 2>conftest.er1
81855 ac_status=$?
81856 grep -v '^ *+' conftest.er1 >conftest.err
81857 rm -f conftest.er1
81858 cat conftest.err >&5
81859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81860 (exit $ac_status); } &&
81861 { ac_try='test -z "$ac_cxx_werror_flag"
81862 || test ! -s conftest.err'
81863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81864 (eval $ac_try) 2>&5
81865 ac_status=$?
81866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81867 (exit $ac_status); }; } &&
81868 { ac_try='test -s conftest.$ac_objext'
81869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81870 (eval $ac_try) 2>&5
81871 ac_status=$?
81872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81873 (exit $ac_status); }; }; then
81874 glibcxx_cv_func_isinff_use=yes
81875 else
81876 echo "$as_me: failed program was:" >&5
81877 sed 's/^/| /' conftest.$ac_ext >&5
81879 glibcxx_cv_func_isinff_use=no
81881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81882 ac_ext=c
81883 ac_cpp='$CPP $CPPFLAGS'
81884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
81893 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
81895 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
81897 for ac_func in isinff
81899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81900 echo "$as_me:$LINENO: checking for $ac_func" >&5
81901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81902 if eval "test \"\${$as_ac_var+set}\" = set"; then
81903 echo $ECHO_N "(cached) $ECHO_C" >&6
81904 else
81905 if test x$gcc_no_link = xyes; then
81906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81908 { (exit 1); exit 1; }; }
81910 cat >conftest.$ac_ext <<_ACEOF
81911 /* confdefs.h. */
81912 _ACEOF
81913 cat confdefs.h >>conftest.$ac_ext
81914 cat >>conftest.$ac_ext <<_ACEOF
81915 /* end confdefs.h. */
81916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81918 #define $ac_func innocuous_$ac_func
81920 /* System header to define __stub macros and hopefully few prototypes,
81921 which can conflict with char $ac_func (); below.
81922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81923 <limits.h> exists even on freestanding compilers. */
81925 #ifdef __STDC__
81926 # include <limits.h>
81927 #else
81928 # include <assert.h>
81929 #endif
81931 #undef $ac_func
81933 /* Override any gcc2 internal prototype to avoid an error. */
81934 #ifdef __cplusplus
81935 extern "C"
81937 #endif
81938 /* We use char because int might match the return type of a gcc2
81939 builtin and then its argument prototype would still apply. */
81940 char $ac_func ();
81941 /* The GNU C library defines this for functions which it implements
81942 to always fail with ENOSYS. Some functions are actually named
81943 something starting with __ and the normal name is an alias. */
81944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81945 choke me
81946 #else
81947 char (*f) () = $ac_func;
81948 #endif
81949 #ifdef __cplusplus
81951 #endif
81954 main ()
81956 return f != $ac_func;
81958 return 0;
81960 _ACEOF
81961 rm -f conftest.$ac_objext conftest$ac_exeext
81962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81963 (eval $ac_link) 2>conftest.er1
81964 ac_status=$?
81965 grep -v '^ *+' conftest.er1 >conftest.err
81966 rm -f conftest.er1
81967 cat conftest.err >&5
81968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81969 (exit $ac_status); } &&
81970 { ac_try='test -z "$ac_c_werror_flag"
81971 || test ! -s conftest.err'
81972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81973 (eval $ac_try) 2>&5
81974 ac_status=$?
81975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81976 (exit $ac_status); }; } &&
81977 { ac_try='test -s conftest$ac_exeext'
81978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81979 (eval $ac_try) 2>&5
81980 ac_status=$?
81981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81982 (exit $ac_status); }; }; then
81983 eval "$as_ac_var=yes"
81984 else
81985 echo "$as_me: failed program was:" >&5
81986 sed 's/^/| /' conftest.$ac_ext >&5
81988 eval "$as_ac_var=no"
81990 rm -f conftest.err conftest.$ac_objext \
81991 conftest$ac_exeext conftest.$ac_ext
81993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81995 if test `eval echo '${'$as_ac_var'}'` = yes; then
81996 cat >>confdefs.h <<_ACEOF
81997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81998 _ACEOF
82001 done
82003 else
82005 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
82006 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
82007 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
82008 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
82009 echo $ECHO_N "(cached) $ECHO_C" >&6
82010 else
82014 ac_ext=cc
82015 ac_cpp='$CXXCPP $CPPFLAGS'
82016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82020 cat >conftest.$ac_ext <<_ACEOF
82021 /* confdefs.h. */
82022 _ACEOF
82023 cat confdefs.h >>conftest.$ac_ext
82024 cat >>conftest.$ac_ext <<_ACEOF
82025 /* end confdefs.h. */
82026 #include <math.h>
82027 #ifdef HAVE_IEEEFP_H
82028 #include <ieeefp.h>
82029 #endif
82032 main ()
82034 _isinff(0);
82036 return 0;
82038 _ACEOF
82039 rm -f conftest.$ac_objext
82040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82041 (eval $ac_compile) 2>conftest.er1
82042 ac_status=$?
82043 grep -v '^ *+' conftest.er1 >conftest.err
82044 rm -f conftest.er1
82045 cat conftest.err >&5
82046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82047 (exit $ac_status); } &&
82048 { ac_try='test -z "$ac_cxx_werror_flag"
82049 || test ! -s conftest.err'
82050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82051 (eval $ac_try) 2>&5
82052 ac_status=$?
82053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82054 (exit $ac_status); }; } &&
82055 { ac_try='test -s conftest.$ac_objext'
82056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82057 (eval $ac_try) 2>&5
82058 ac_status=$?
82059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82060 (exit $ac_status); }; }; then
82061 glibcxx_cv_func__isinff_use=yes
82062 else
82063 echo "$as_me: failed program was:" >&5
82064 sed 's/^/| /' conftest.$ac_ext >&5
82066 glibcxx_cv_func__isinff_use=no
82068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82069 ac_ext=c
82070 ac_cpp='$CPP $CPPFLAGS'
82071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
82080 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
82082 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
82084 for ac_func in _isinff
82086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82087 echo "$as_me:$LINENO: checking for $ac_func" >&5
82088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82089 if eval "test \"\${$as_ac_var+set}\" = set"; then
82090 echo $ECHO_N "(cached) $ECHO_C" >&6
82091 else
82092 if test x$gcc_no_link = xyes; then
82093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82095 { (exit 1); exit 1; }; }
82097 cat >conftest.$ac_ext <<_ACEOF
82098 /* confdefs.h. */
82099 _ACEOF
82100 cat confdefs.h >>conftest.$ac_ext
82101 cat >>conftest.$ac_ext <<_ACEOF
82102 /* end confdefs.h. */
82103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82105 #define $ac_func innocuous_$ac_func
82107 /* System header to define __stub macros and hopefully few prototypes,
82108 which can conflict with char $ac_func (); below.
82109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82110 <limits.h> exists even on freestanding compilers. */
82112 #ifdef __STDC__
82113 # include <limits.h>
82114 #else
82115 # include <assert.h>
82116 #endif
82118 #undef $ac_func
82120 /* Override any gcc2 internal prototype to avoid an error. */
82121 #ifdef __cplusplus
82122 extern "C"
82124 #endif
82125 /* We use char because int might match the return type of a gcc2
82126 builtin and then its argument prototype would still apply. */
82127 char $ac_func ();
82128 /* The GNU C library defines this for functions which it implements
82129 to always fail with ENOSYS. Some functions are actually named
82130 something starting with __ and the normal name is an alias. */
82131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82132 choke me
82133 #else
82134 char (*f) () = $ac_func;
82135 #endif
82136 #ifdef __cplusplus
82138 #endif
82141 main ()
82143 return f != $ac_func;
82145 return 0;
82147 _ACEOF
82148 rm -f conftest.$ac_objext conftest$ac_exeext
82149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82150 (eval $ac_link) 2>conftest.er1
82151 ac_status=$?
82152 grep -v '^ *+' conftest.er1 >conftest.err
82153 rm -f conftest.er1
82154 cat conftest.err >&5
82155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82156 (exit $ac_status); } &&
82157 { ac_try='test -z "$ac_c_werror_flag"
82158 || test ! -s conftest.err'
82159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82160 (eval $ac_try) 2>&5
82161 ac_status=$?
82162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82163 (exit $ac_status); }; } &&
82164 { ac_try='test -s conftest$ac_exeext'
82165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82166 (eval $ac_try) 2>&5
82167 ac_status=$?
82168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82169 (exit $ac_status); }; }; then
82170 eval "$as_ac_var=yes"
82171 else
82172 echo "$as_me: failed program was:" >&5
82173 sed 's/^/| /' conftest.$ac_ext >&5
82175 eval "$as_ac_var=no"
82177 rm -f conftest.err conftest.$ac_objext \
82178 conftest$ac_exeext conftest.$ac_ext
82180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82182 if test `eval echo '${'$as_ac_var'}'` = yes; then
82183 cat >>confdefs.h <<_ACEOF
82184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82185 _ACEOF
82188 done
82198 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
82199 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
82200 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
82201 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
82202 echo $ECHO_N "(cached) $ECHO_C" >&6
82203 else
82207 ac_ext=cc
82208 ac_cpp='$CXXCPP $CPPFLAGS'
82209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82213 cat >conftest.$ac_ext <<_ACEOF
82214 /* confdefs.h. */
82215 _ACEOF
82216 cat confdefs.h >>conftest.$ac_ext
82217 cat >>conftest.$ac_ext <<_ACEOF
82218 /* end confdefs.h. */
82219 #include <math.h>
82221 main ()
82223 atan2f(0, 0);
82225 return 0;
82227 _ACEOF
82228 rm -f conftest.$ac_objext
82229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82230 (eval $ac_compile) 2>conftest.er1
82231 ac_status=$?
82232 grep -v '^ *+' conftest.er1 >conftest.err
82233 rm -f conftest.er1
82234 cat conftest.err >&5
82235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82236 (exit $ac_status); } &&
82237 { ac_try='test -z "$ac_cxx_werror_flag"
82238 || test ! -s conftest.err'
82239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82240 (eval $ac_try) 2>&5
82241 ac_status=$?
82242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82243 (exit $ac_status); }; } &&
82244 { ac_try='test -s conftest.$ac_objext'
82245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82246 (eval $ac_try) 2>&5
82247 ac_status=$?
82248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82249 (exit $ac_status); }; }; then
82250 glibcxx_cv_func_atan2f_use=yes
82251 else
82252 echo "$as_me: failed program was:" >&5
82253 sed 's/^/| /' conftest.$ac_ext >&5
82255 glibcxx_cv_func_atan2f_use=no
82257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82258 ac_ext=c
82259 ac_cpp='$CPP $CPPFLAGS'
82260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
82269 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
82271 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
82273 for ac_func in atan2f
82275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82276 echo "$as_me:$LINENO: checking for $ac_func" >&5
82277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82278 if eval "test \"\${$as_ac_var+set}\" = set"; then
82279 echo $ECHO_N "(cached) $ECHO_C" >&6
82280 else
82281 if test x$gcc_no_link = xyes; then
82282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82284 { (exit 1); exit 1; }; }
82286 cat >conftest.$ac_ext <<_ACEOF
82287 /* confdefs.h. */
82288 _ACEOF
82289 cat confdefs.h >>conftest.$ac_ext
82290 cat >>conftest.$ac_ext <<_ACEOF
82291 /* end confdefs.h. */
82292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82294 #define $ac_func innocuous_$ac_func
82296 /* System header to define __stub macros and hopefully few prototypes,
82297 which can conflict with char $ac_func (); below.
82298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82299 <limits.h> exists even on freestanding compilers. */
82301 #ifdef __STDC__
82302 # include <limits.h>
82303 #else
82304 # include <assert.h>
82305 #endif
82307 #undef $ac_func
82309 /* Override any gcc2 internal prototype to avoid an error. */
82310 #ifdef __cplusplus
82311 extern "C"
82313 #endif
82314 /* We use char because int might match the return type of a gcc2
82315 builtin and then its argument prototype would still apply. */
82316 char $ac_func ();
82317 /* The GNU C library defines this for functions which it implements
82318 to always fail with ENOSYS. Some functions are actually named
82319 something starting with __ and the normal name is an alias. */
82320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82321 choke me
82322 #else
82323 char (*f) () = $ac_func;
82324 #endif
82325 #ifdef __cplusplus
82327 #endif
82330 main ()
82332 return f != $ac_func;
82334 return 0;
82336 _ACEOF
82337 rm -f conftest.$ac_objext conftest$ac_exeext
82338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82339 (eval $ac_link) 2>conftest.er1
82340 ac_status=$?
82341 grep -v '^ *+' conftest.er1 >conftest.err
82342 rm -f conftest.er1
82343 cat conftest.err >&5
82344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82345 (exit $ac_status); } &&
82346 { ac_try='test -z "$ac_c_werror_flag"
82347 || test ! -s conftest.err'
82348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82349 (eval $ac_try) 2>&5
82350 ac_status=$?
82351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82352 (exit $ac_status); }; } &&
82353 { ac_try='test -s conftest$ac_exeext'
82354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82355 (eval $ac_try) 2>&5
82356 ac_status=$?
82357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82358 (exit $ac_status); }; }; then
82359 eval "$as_ac_var=yes"
82360 else
82361 echo "$as_me: failed program was:" >&5
82362 sed 's/^/| /' conftest.$ac_ext >&5
82364 eval "$as_ac_var=no"
82366 rm -f conftest.err conftest.$ac_objext \
82367 conftest$ac_exeext conftest.$ac_ext
82369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82371 if test `eval echo '${'$as_ac_var'}'` = yes; then
82372 cat >>confdefs.h <<_ACEOF
82373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82374 _ACEOF
82377 done
82379 else
82381 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
82382 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
82383 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
82384 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
82385 echo $ECHO_N "(cached) $ECHO_C" >&6
82386 else
82390 ac_ext=cc
82391 ac_cpp='$CXXCPP $CPPFLAGS'
82392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82396 cat >conftest.$ac_ext <<_ACEOF
82397 /* confdefs.h. */
82398 _ACEOF
82399 cat confdefs.h >>conftest.$ac_ext
82400 cat >>conftest.$ac_ext <<_ACEOF
82401 /* end confdefs.h. */
82402 #include <math.h>
82404 main ()
82406 _atan2f(0, 0);
82408 return 0;
82410 _ACEOF
82411 rm -f conftest.$ac_objext
82412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82413 (eval $ac_compile) 2>conftest.er1
82414 ac_status=$?
82415 grep -v '^ *+' conftest.er1 >conftest.err
82416 rm -f conftest.er1
82417 cat conftest.err >&5
82418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82419 (exit $ac_status); } &&
82420 { ac_try='test -z "$ac_cxx_werror_flag"
82421 || test ! -s conftest.err'
82422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82423 (eval $ac_try) 2>&5
82424 ac_status=$?
82425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82426 (exit $ac_status); }; } &&
82427 { ac_try='test -s conftest.$ac_objext'
82428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82429 (eval $ac_try) 2>&5
82430 ac_status=$?
82431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82432 (exit $ac_status); }; }; then
82433 glibcxx_cv_func__atan2f_use=yes
82434 else
82435 echo "$as_me: failed program was:" >&5
82436 sed 's/^/| /' conftest.$ac_ext >&5
82438 glibcxx_cv_func__atan2f_use=no
82440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82441 ac_ext=c
82442 ac_cpp='$CPP $CPPFLAGS'
82443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
82452 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
82454 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
82456 for ac_func in _atan2f
82458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82459 echo "$as_me:$LINENO: checking for $ac_func" >&5
82460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82461 if eval "test \"\${$as_ac_var+set}\" = set"; then
82462 echo $ECHO_N "(cached) $ECHO_C" >&6
82463 else
82464 if test x$gcc_no_link = xyes; then
82465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82467 { (exit 1); exit 1; }; }
82469 cat >conftest.$ac_ext <<_ACEOF
82470 /* confdefs.h. */
82471 _ACEOF
82472 cat confdefs.h >>conftest.$ac_ext
82473 cat >>conftest.$ac_ext <<_ACEOF
82474 /* end confdefs.h. */
82475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82477 #define $ac_func innocuous_$ac_func
82479 /* System header to define __stub macros and hopefully few prototypes,
82480 which can conflict with char $ac_func (); below.
82481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82482 <limits.h> exists even on freestanding compilers. */
82484 #ifdef __STDC__
82485 # include <limits.h>
82486 #else
82487 # include <assert.h>
82488 #endif
82490 #undef $ac_func
82492 /* Override any gcc2 internal prototype to avoid an error. */
82493 #ifdef __cplusplus
82494 extern "C"
82496 #endif
82497 /* We use char because int might match the return type of a gcc2
82498 builtin and then its argument prototype would still apply. */
82499 char $ac_func ();
82500 /* The GNU C library defines this for functions which it implements
82501 to always fail with ENOSYS. Some functions are actually named
82502 something starting with __ and the normal name is an alias. */
82503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82504 choke me
82505 #else
82506 char (*f) () = $ac_func;
82507 #endif
82508 #ifdef __cplusplus
82510 #endif
82513 main ()
82515 return f != $ac_func;
82517 return 0;
82519 _ACEOF
82520 rm -f conftest.$ac_objext conftest$ac_exeext
82521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82522 (eval $ac_link) 2>conftest.er1
82523 ac_status=$?
82524 grep -v '^ *+' conftest.er1 >conftest.err
82525 rm -f conftest.er1
82526 cat conftest.err >&5
82527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82528 (exit $ac_status); } &&
82529 { ac_try='test -z "$ac_c_werror_flag"
82530 || test ! -s conftest.err'
82531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82532 (eval $ac_try) 2>&5
82533 ac_status=$?
82534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82535 (exit $ac_status); }; } &&
82536 { ac_try='test -s conftest$ac_exeext'
82537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82538 (eval $ac_try) 2>&5
82539 ac_status=$?
82540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82541 (exit $ac_status); }; }; then
82542 eval "$as_ac_var=yes"
82543 else
82544 echo "$as_me: failed program was:" >&5
82545 sed 's/^/| /' conftest.$ac_ext >&5
82547 eval "$as_ac_var=no"
82549 rm -f conftest.err conftest.$ac_objext \
82550 conftest$ac_exeext conftest.$ac_ext
82552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82554 if test `eval echo '${'$as_ac_var'}'` = yes; then
82555 cat >>confdefs.h <<_ACEOF
82556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82557 _ACEOF
82560 done
82570 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
82571 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
82572 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
82573 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
82574 echo $ECHO_N "(cached) $ECHO_C" >&6
82575 else
82579 ac_ext=cc
82580 ac_cpp='$CXXCPP $CPPFLAGS'
82581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82585 cat >conftest.$ac_ext <<_ACEOF
82586 /* confdefs.h. */
82587 _ACEOF
82588 cat confdefs.h >>conftest.$ac_ext
82589 cat >>conftest.$ac_ext <<_ACEOF
82590 /* end confdefs.h. */
82591 #include <math.h>
82592 #ifdef HAVE_IEEEFP_H
82593 #include <ieeefp.h>
82594 #endif
82597 main ()
82599 fabsf(0);
82601 return 0;
82603 _ACEOF
82604 rm -f conftest.$ac_objext
82605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82606 (eval $ac_compile) 2>conftest.er1
82607 ac_status=$?
82608 grep -v '^ *+' conftest.er1 >conftest.err
82609 rm -f conftest.er1
82610 cat conftest.err >&5
82611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82612 (exit $ac_status); } &&
82613 { ac_try='test -z "$ac_cxx_werror_flag"
82614 || test ! -s conftest.err'
82615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82616 (eval $ac_try) 2>&5
82617 ac_status=$?
82618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82619 (exit $ac_status); }; } &&
82620 { ac_try='test -s conftest.$ac_objext'
82621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82622 (eval $ac_try) 2>&5
82623 ac_status=$?
82624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82625 (exit $ac_status); }; }; then
82626 glibcxx_cv_func_fabsf_use=yes
82627 else
82628 echo "$as_me: failed program was:" >&5
82629 sed 's/^/| /' conftest.$ac_ext >&5
82631 glibcxx_cv_func_fabsf_use=no
82633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82634 ac_ext=c
82635 ac_cpp='$CPP $CPPFLAGS'
82636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82644 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
82645 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
82647 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
82649 for ac_func in fabsf
82651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82652 echo "$as_me:$LINENO: checking for $ac_func" >&5
82653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82654 if eval "test \"\${$as_ac_var+set}\" = set"; then
82655 echo $ECHO_N "(cached) $ECHO_C" >&6
82656 else
82657 if test x$gcc_no_link = xyes; then
82658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82660 { (exit 1); exit 1; }; }
82662 cat >conftest.$ac_ext <<_ACEOF
82663 /* confdefs.h. */
82664 _ACEOF
82665 cat confdefs.h >>conftest.$ac_ext
82666 cat >>conftest.$ac_ext <<_ACEOF
82667 /* end confdefs.h. */
82668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82670 #define $ac_func innocuous_$ac_func
82672 /* System header to define __stub macros and hopefully few prototypes,
82673 which can conflict with char $ac_func (); below.
82674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82675 <limits.h> exists even on freestanding compilers. */
82677 #ifdef __STDC__
82678 # include <limits.h>
82679 #else
82680 # include <assert.h>
82681 #endif
82683 #undef $ac_func
82685 /* Override any gcc2 internal prototype to avoid an error. */
82686 #ifdef __cplusplus
82687 extern "C"
82689 #endif
82690 /* We use char because int might match the return type of a gcc2
82691 builtin and then its argument prototype would still apply. */
82692 char $ac_func ();
82693 /* The GNU C library defines this for functions which it implements
82694 to always fail with ENOSYS. Some functions are actually named
82695 something starting with __ and the normal name is an alias. */
82696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82697 choke me
82698 #else
82699 char (*f) () = $ac_func;
82700 #endif
82701 #ifdef __cplusplus
82703 #endif
82706 main ()
82708 return f != $ac_func;
82710 return 0;
82712 _ACEOF
82713 rm -f conftest.$ac_objext conftest$ac_exeext
82714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82715 (eval $ac_link) 2>conftest.er1
82716 ac_status=$?
82717 grep -v '^ *+' conftest.er1 >conftest.err
82718 rm -f conftest.er1
82719 cat conftest.err >&5
82720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82721 (exit $ac_status); } &&
82722 { ac_try='test -z "$ac_c_werror_flag"
82723 || test ! -s conftest.err'
82724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82725 (eval $ac_try) 2>&5
82726 ac_status=$?
82727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82728 (exit $ac_status); }; } &&
82729 { ac_try='test -s conftest$ac_exeext'
82730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82731 (eval $ac_try) 2>&5
82732 ac_status=$?
82733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82734 (exit $ac_status); }; }; then
82735 eval "$as_ac_var=yes"
82736 else
82737 echo "$as_me: failed program was:" >&5
82738 sed 's/^/| /' conftest.$ac_ext >&5
82740 eval "$as_ac_var=no"
82742 rm -f conftest.err conftest.$ac_objext \
82743 conftest$ac_exeext conftest.$ac_ext
82745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82747 if test `eval echo '${'$as_ac_var'}'` = yes; then
82748 cat >>confdefs.h <<_ACEOF
82749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82750 _ACEOF
82753 done
82755 else
82757 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
82758 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
82759 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
82760 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
82761 echo $ECHO_N "(cached) $ECHO_C" >&6
82762 else
82766 ac_ext=cc
82767 ac_cpp='$CXXCPP $CPPFLAGS'
82768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82772 cat >conftest.$ac_ext <<_ACEOF
82773 /* confdefs.h. */
82774 _ACEOF
82775 cat confdefs.h >>conftest.$ac_ext
82776 cat >>conftest.$ac_ext <<_ACEOF
82777 /* end confdefs.h. */
82778 #include <math.h>
82779 #ifdef HAVE_IEEEFP_H
82780 #include <ieeefp.h>
82781 #endif
82784 main ()
82786 _fabsf(0);
82788 return 0;
82790 _ACEOF
82791 rm -f conftest.$ac_objext
82792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82793 (eval $ac_compile) 2>conftest.er1
82794 ac_status=$?
82795 grep -v '^ *+' conftest.er1 >conftest.err
82796 rm -f conftest.er1
82797 cat conftest.err >&5
82798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82799 (exit $ac_status); } &&
82800 { ac_try='test -z "$ac_cxx_werror_flag"
82801 || test ! -s conftest.err'
82802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82803 (eval $ac_try) 2>&5
82804 ac_status=$?
82805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82806 (exit $ac_status); }; } &&
82807 { ac_try='test -s conftest.$ac_objext'
82808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82809 (eval $ac_try) 2>&5
82810 ac_status=$?
82811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82812 (exit $ac_status); }; }; then
82813 glibcxx_cv_func__fabsf_use=yes
82814 else
82815 echo "$as_me: failed program was:" >&5
82816 sed 's/^/| /' conftest.$ac_ext >&5
82818 glibcxx_cv_func__fabsf_use=no
82820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82821 ac_ext=c
82822 ac_cpp='$CPP $CPPFLAGS'
82823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
82832 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
82834 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
82836 for ac_func in _fabsf
82838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82839 echo "$as_me:$LINENO: checking for $ac_func" >&5
82840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82841 if eval "test \"\${$as_ac_var+set}\" = set"; then
82842 echo $ECHO_N "(cached) $ECHO_C" >&6
82843 else
82844 if test x$gcc_no_link = xyes; then
82845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82847 { (exit 1); exit 1; }; }
82849 cat >conftest.$ac_ext <<_ACEOF
82850 /* confdefs.h. */
82851 _ACEOF
82852 cat confdefs.h >>conftest.$ac_ext
82853 cat >>conftest.$ac_ext <<_ACEOF
82854 /* end confdefs.h. */
82855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82857 #define $ac_func innocuous_$ac_func
82859 /* System header to define __stub macros and hopefully few prototypes,
82860 which can conflict with char $ac_func (); below.
82861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82862 <limits.h> exists even on freestanding compilers. */
82864 #ifdef __STDC__
82865 # include <limits.h>
82866 #else
82867 # include <assert.h>
82868 #endif
82870 #undef $ac_func
82872 /* Override any gcc2 internal prototype to avoid an error. */
82873 #ifdef __cplusplus
82874 extern "C"
82876 #endif
82877 /* We use char because int might match the return type of a gcc2
82878 builtin and then its argument prototype would still apply. */
82879 char $ac_func ();
82880 /* The GNU C library defines this for functions which it implements
82881 to always fail with ENOSYS. Some functions are actually named
82882 something starting with __ and the normal name is an alias. */
82883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82884 choke me
82885 #else
82886 char (*f) () = $ac_func;
82887 #endif
82888 #ifdef __cplusplus
82890 #endif
82893 main ()
82895 return f != $ac_func;
82897 return 0;
82899 _ACEOF
82900 rm -f conftest.$ac_objext conftest$ac_exeext
82901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82902 (eval $ac_link) 2>conftest.er1
82903 ac_status=$?
82904 grep -v '^ *+' conftest.er1 >conftest.err
82905 rm -f conftest.er1
82906 cat conftest.err >&5
82907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82908 (exit $ac_status); } &&
82909 { ac_try='test -z "$ac_c_werror_flag"
82910 || test ! -s conftest.err'
82911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82912 (eval $ac_try) 2>&5
82913 ac_status=$?
82914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82915 (exit $ac_status); }; } &&
82916 { ac_try='test -s conftest$ac_exeext'
82917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82918 (eval $ac_try) 2>&5
82919 ac_status=$?
82920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82921 (exit $ac_status); }; }; then
82922 eval "$as_ac_var=yes"
82923 else
82924 echo "$as_me: failed program was:" >&5
82925 sed 's/^/| /' conftest.$ac_ext >&5
82927 eval "$as_ac_var=no"
82929 rm -f conftest.err conftest.$ac_objext \
82930 conftest$ac_exeext conftest.$ac_ext
82932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82934 if test `eval echo '${'$as_ac_var'}'` = yes; then
82935 cat >>confdefs.h <<_ACEOF
82936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82937 _ACEOF
82940 done
82950 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
82951 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
82952 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
82953 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
82954 echo $ECHO_N "(cached) $ECHO_C" >&6
82955 else
82959 ac_ext=cc
82960 ac_cpp='$CXXCPP $CPPFLAGS'
82961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82965 cat >conftest.$ac_ext <<_ACEOF
82966 /* confdefs.h. */
82967 _ACEOF
82968 cat confdefs.h >>conftest.$ac_ext
82969 cat >>conftest.$ac_ext <<_ACEOF
82970 /* end confdefs.h. */
82971 #include <math.h>
82973 main ()
82975 fmodf(0, 0);
82977 return 0;
82979 _ACEOF
82980 rm -f conftest.$ac_objext
82981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82982 (eval $ac_compile) 2>conftest.er1
82983 ac_status=$?
82984 grep -v '^ *+' conftest.er1 >conftest.err
82985 rm -f conftest.er1
82986 cat conftest.err >&5
82987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82988 (exit $ac_status); } &&
82989 { ac_try='test -z "$ac_cxx_werror_flag"
82990 || test ! -s conftest.err'
82991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82992 (eval $ac_try) 2>&5
82993 ac_status=$?
82994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82995 (exit $ac_status); }; } &&
82996 { ac_try='test -s conftest.$ac_objext'
82997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82998 (eval $ac_try) 2>&5
82999 ac_status=$?
83000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83001 (exit $ac_status); }; }; then
83002 glibcxx_cv_func_fmodf_use=yes
83003 else
83004 echo "$as_me: failed program was:" >&5
83005 sed 's/^/| /' conftest.$ac_ext >&5
83007 glibcxx_cv_func_fmodf_use=no
83009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83010 ac_ext=c
83011 ac_cpp='$CPP $CPPFLAGS'
83012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
83021 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
83023 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
83025 for ac_func in fmodf
83027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83028 echo "$as_me:$LINENO: checking for $ac_func" >&5
83029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83030 if eval "test \"\${$as_ac_var+set}\" = set"; then
83031 echo $ECHO_N "(cached) $ECHO_C" >&6
83032 else
83033 if test x$gcc_no_link = xyes; then
83034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83036 { (exit 1); exit 1; }; }
83038 cat >conftest.$ac_ext <<_ACEOF
83039 /* confdefs.h. */
83040 _ACEOF
83041 cat confdefs.h >>conftest.$ac_ext
83042 cat >>conftest.$ac_ext <<_ACEOF
83043 /* end confdefs.h. */
83044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83046 #define $ac_func innocuous_$ac_func
83048 /* System header to define __stub macros and hopefully few prototypes,
83049 which can conflict with char $ac_func (); below.
83050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83051 <limits.h> exists even on freestanding compilers. */
83053 #ifdef __STDC__
83054 # include <limits.h>
83055 #else
83056 # include <assert.h>
83057 #endif
83059 #undef $ac_func
83061 /* Override any gcc2 internal prototype to avoid an error. */
83062 #ifdef __cplusplus
83063 extern "C"
83065 #endif
83066 /* We use char because int might match the return type of a gcc2
83067 builtin and then its argument prototype would still apply. */
83068 char $ac_func ();
83069 /* The GNU C library defines this for functions which it implements
83070 to always fail with ENOSYS. Some functions are actually named
83071 something starting with __ and the normal name is an alias. */
83072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83073 choke me
83074 #else
83075 char (*f) () = $ac_func;
83076 #endif
83077 #ifdef __cplusplus
83079 #endif
83082 main ()
83084 return f != $ac_func;
83086 return 0;
83088 _ACEOF
83089 rm -f conftest.$ac_objext conftest$ac_exeext
83090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83091 (eval $ac_link) 2>conftest.er1
83092 ac_status=$?
83093 grep -v '^ *+' conftest.er1 >conftest.err
83094 rm -f conftest.er1
83095 cat conftest.err >&5
83096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83097 (exit $ac_status); } &&
83098 { ac_try='test -z "$ac_c_werror_flag"
83099 || test ! -s conftest.err'
83100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83101 (eval $ac_try) 2>&5
83102 ac_status=$?
83103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83104 (exit $ac_status); }; } &&
83105 { ac_try='test -s conftest$ac_exeext'
83106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83107 (eval $ac_try) 2>&5
83108 ac_status=$?
83109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83110 (exit $ac_status); }; }; then
83111 eval "$as_ac_var=yes"
83112 else
83113 echo "$as_me: failed program was:" >&5
83114 sed 's/^/| /' conftest.$ac_ext >&5
83116 eval "$as_ac_var=no"
83118 rm -f conftest.err conftest.$ac_objext \
83119 conftest$ac_exeext conftest.$ac_ext
83121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83123 if test `eval echo '${'$as_ac_var'}'` = yes; then
83124 cat >>confdefs.h <<_ACEOF
83125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83126 _ACEOF
83129 done
83131 else
83133 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
83134 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
83135 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
83136 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
83137 echo $ECHO_N "(cached) $ECHO_C" >&6
83138 else
83142 ac_ext=cc
83143 ac_cpp='$CXXCPP $CPPFLAGS'
83144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83148 cat >conftest.$ac_ext <<_ACEOF
83149 /* confdefs.h. */
83150 _ACEOF
83151 cat confdefs.h >>conftest.$ac_ext
83152 cat >>conftest.$ac_ext <<_ACEOF
83153 /* end confdefs.h. */
83154 #include <math.h>
83156 main ()
83158 _fmodf(0, 0);
83160 return 0;
83162 _ACEOF
83163 rm -f conftest.$ac_objext
83164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83165 (eval $ac_compile) 2>conftest.er1
83166 ac_status=$?
83167 grep -v '^ *+' conftest.er1 >conftest.err
83168 rm -f conftest.er1
83169 cat conftest.err >&5
83170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83171 (exit $ac_status); } &&
83172 { ac_try='test -z "$ac_cxx_werror_flag"
83173 || test ! -s conftest.err'
83174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83175 (eval $ac_try) 2>&5
83176 ac_status=$?
83177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83178 (exit $ac_status); }; } &&
83179 { ac_try='test -s conftest.$ac_objext'
83180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83181 (eval $ac_try) 2>&5
83182 ac_status=$?
83183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83184 (exit $ac_status); }; }; then
83185 glibcxx_cv_func__fmodf_use=yes
83186 else
83187 echo "$as_me: failed program was:" >&5
83188 sed 's/^/| /' conftest.$ac_ext >&5
83190 glibcxx_cv_func__fmodf_use=no
83192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83193 ac_ext=c
83194 ac_cpp='$CPP $CPPFLAGS'
83195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
83204 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
83206 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
83208 for ac_func in _fmodf
83210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83211 echo "$as_me:$LINENO: checking for $ac_func" >&5
83212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83213 if eval "test \"\${$as_ac_var+set}\" = set"; then
83214 echo $ECHO_N "(cached) $ECHO_C" >&6
83215 else
83216 if test x$gcc_no_link = xyes; then
83217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83219 { (exit 1); exit 1; }; }
83221 cat >conftest.$ac_ext <<_ACEOF
83222 /* confdefs.h. */
83223 _ACEOF
83224 cat confdefs.h >>conftest.$ac_ext
83225 cat >>conftest.$ac_ext <<_ACEOF
83226 /* end confdefs.h. */
83227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83229 #define $ac_func innocuous_$ac_func
83231 /* System header to define __stub macros and hopefully few prototypes,
83232 which can conflict with char $ac_func (); below.
83233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83234 <limits.h> exists even on freestanding compilers. */
83236 #ifdef __STDC__
83237 # include <limits.h>
83238 #else
83239 # include <assert.h>
83240 #endif
83242 #undef $ac_func
83244 /* Override any gcc2 internal prototype to avoid an error. */
83245 #ifdef __cplusplus
83246 extern "C"
83248 #endif
83249 /* We use char because int might match the return type of a gcc2
83250 builtin and then its argument prototype would still apply. */
83251 char $ac_func ();
83252 /* The GNU C library defines this for functions which it implements
83253 to always fail with ENOSYS. Some functions are actually named
83254 something starting with __ and the normal name is an alias. */
83255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83256 choke me
83257 #else
83258 char (*f) () = $ac_func;
83259 #endif
83260 #ifdef __cplusplus
83262 #endif
83265 main ()
83267 return f != $ac_func;
83269 return 0;
83271 _ACEOF
83272 rm -f conftest.$ac_objext conftest$ac_exeext
83273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83274 (eval $ac_link) 2>conftest.er1
83275 ac_status=$?
83276 grep -v '^ *+' conftest.er1 >conftest.err
83277 rm -f conftest.er1
83278 cat conftest.err >&5
83279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83280 (exit $ac_status); } &&
83281 { ac_try='test -z "$ac_c_werror_flag"
83282 || test ! -s conftest.err'
83283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83284 (eval $ac_try) 2>&5
83285 ac_status=$?
83286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83287 (exit $ac_status); }; } &&
83288 { ac_try='test -s conftest$ac_exeext'
83289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83290 (eval $ac_try) 2>&5
83291 ac_status=$?
83292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83293 (exit $ac_status); }; }; then
83294 eval "$as_ac_var=yes"
83295 else
83296 echo "$as_me: failed program was:" >&5
83297 sed 's/^/| /' conftest.$ac_ext >&5
83299 eval "$as_ac_var=no"
83301 rm -f conftest.err conftest.$ac_objext \
83302 conftest$ac_exeext conftest.$ac_ext
83304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83306 if test `eval echo '${'$as_ac_var'}'` = yes; then
83307 cat >>confdefs.h <<_ACEOF
83308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83309 _ACEOF
83312 done
83322 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
83323 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
83324 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
83325 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
83326 echo $ECHO_N "(cached) $ECHO_C" >&6
83327 else
83331 ac_ext=cc
83332 ac_cpp='$CXXCPP $CPPFLAGS'
83333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83337 cat >conftest.$ac_ext <<_ACEOF
83338 /* confdefs.h. */
83339 _ACEOF
83340 cat confdefs.h >>conftest.$ac_ext
83341 cat >>conftest.$ac_ext <<_ACEOF
83342 /* end confdefs.h. */
83343 #include <math.h>
83345 main ()
83347 frexpf(0, 0);
83349 return 0;
83351 _ACEOF
83352 rm -f conftest.$ac_objext
83353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83354 (eval $ac_compile) 2>conftest.er1
83355 ac_status=$?
83356 grep -v '^ *+' conftest.er1 >conftest.err
83357 rm -f conftest.er1
83358 cat conftest.err >&5
83359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83360 (exit $ac_status); } &&
83361 { ac_try='test -z "$ac_cxx_werror_flag"
83362 || test ! -s conftest.err'
83363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83364 (eval $ac_try) 2>&5
83365 ac_status=$?
83366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83367 (exit $ac_status); }; } &&
83368 { ac_try='test -s conftest.$ac_objext'
83369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83370 (eval $ac_try) 2>&5
83371 ac_status=$?
83372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83373 (exit $ac_status); }; }; then
83374 glibcxx_cv_func_frexpf_use=yes
83375 else
83376 echo "$as_me: failed program was:" >&5
83377 sed 's/^/| /' conftest.$ac_ext >&5
83379 glibcxx_cv_func_frexpf_use=no
83381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83382 ac_ext=c
83383 ac_cpp='$CPP $CPPFLAGS'
83384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83392 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
83393 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
83395 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
83397 for ac_func in frexpf
83399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83400 echo "$as_me:$LINENO: checking for $ac_func" >&5
83401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83402 if eval "test \"\${$as_ac_var+set}\" = set"; then
83403 echo $ECHO_N "(cached) $ECHO_C" >&6
83404 else
83405 if test x$gcc_no_link = xyes; then
83406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83408 { (exit 1); exit 1; }; }
83410 cat >conftest.$ac_ext <<_ACEOF
83411 /* confdefs.h. */
83412 _ACEOF
83413 cat confdefs.h >>conftest.$ac_ext
83414 cat >>conftest.$ac_ext <<_ACEOF
83415 /* end confdefs.h. */
83416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83418 #define $ac_func innocuous_$ac_func
83420 /* System header to define __stub macros and hopefully few prototypes,
83421 which can conflict with char $ac_func (); below.
83422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83423 <limits.h> exists even on freestanding compilers. */
83425 #ifdef __STDC__
83426 # include <limits.h>
83427 #else
83428 # include <assert.h>
83429 #endif
83431 #undef $ac_func
83433 /* Override any gcc2 internal prototype to avoid an error. */
83434 #ifdef __cplusplus
83435 extern "C"
83437 #endif
83438 /* We use char because int might match the return type of a gcc2
83439 builtin and then its argument prototype would still apply. */
83440 char $ac_func ();
83441 /* The GNU C library defines this for functions which it implements
83442 to always fail with ENOSYS. Some functions are actually named
83443 something starting with __ and the normal name is an alias. */
83444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83445 choke me
83446 #else
83447 char (*f) () = $ac_func;
83448 #endif
83449 #ifdef __cplusplus
83451 #endif
83454 main ()
83456 return f != $ac_func;
83458 return 0;
83460 _ACEOF
83461 rm -f conftest.$ac_objext conftest$ac_exeext
83462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83463 (eval $ac_link) 2>conftest.er1
83464 ac_status=$?
83465 grep -v '^ *+' conftest.er1 >conftest.err
83466 rm -f conftest.er1
83467 cat conftest.err >&5
83468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83469 (exit $ac_status); } &&
83470 { ac_try='test -z "$ac_c_werror_flag"
83471 || test ! -s conftest.err'
83472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83473 (eval $ac_try) 2>&5
83474 ac_status=$?
83475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83476 (exit $ac_status); }; } &&
83477 { ac_try='test -s conftest$ac_exeext'
83478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83479 (eval $ac_try) 2>&5
83480 ac_status=$?
83481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83482 (exit $ac_status); }; }; then
83483 eval "$as_ac_var=yes"
83484 else
83485 echo "$as_me: failed program was:" >&5
83486 sed 's/^/| /' conftest.$ac_ext >&5
83488 eval "$as_ac_var=no"
83490 rm -f conftest.err conftest.$ac_objext \
83491 conftest$ac_exeext conftest.$ac_ext
83493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83495 if test `eval echo '${'$as_ac_var'}'` = yes; then
83496 cat >>confdefs.h <<_ACEOF
83497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83498 _ACEOF
83501 done
83503 else
83505 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
83506 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
83507 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
83508 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
83509 echo $ECHO_N "(cached) $ECHO_C" >&6
83510 else
83514 ac_ext=cc
83515 ac_cpp='$CXXCPP $CPPFLAGS'
83516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83520 cat >conftest.$ac_ext <<_ACEOF
83521 /* confdefs.h. */
83522 _ACEOF
83523 cat confdefs.h >>conftest.$ac_ext
83524 cat >>conftest.$ac_ext <<_ACEOF
83525 /* end confdefs.h. */
83526 #include <math.h>
83528 main ()
83530 _frexpf(0, 0);
83532 return 0;
83534 _ACEOF
83535 rm -f conftest.$ac_objext
83536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83537 (eval $ac_compile) 2>conftest.er1
83538 ac_status=$?
83539 grep -v '^ *+' conftest.er1 >conftest.err
83540 rm -f conftest.er1
83541 cat conftest.err >&5
83542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83543 (exit $ac_status); } &&
83544 { ac_try='test -z "$ac_cxx_werror_flag"
83545 || test ! -s conftest.err'
83546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83547 (eval $ac_try) 2>&5
83548 ac_status=$?
83549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83550 (exit $ac_status); }; } &&
83551 { ac_try='test -s conftest.$ac_objext'
83552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83553 (eval $ac_try) 2>&5
83554 ac_status=$?
83555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83556 (exit $ac_status); }; }; then
83557 glibcxx_cv_func__frexpf_use=yes
83558 else
83559 echo "$as_me: failed program was:" >&5
83560 sed 's/^/| /' conftest.$ac_ext >&5
83562 glibcxx_cv_func__frexpf_use=no
83564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83565 ac_ext=c
83566 ac_cpp='$CPP $CPPFLAGS'
83567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
83576 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
83578 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
83580 for ac_func in _frexpf
83582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83583 echo "$as_me:$LINENO: checking for $ac_func" >&5
83584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83585 if eval "test \"\${$as_ac_var+set}\" = set"; then
83586 echo $ECHO_N "(cached) $ECHO_C" >&6
83587 else
83588 if test x$gcc_no_link = xyes; then
83589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83591 { (exit 1); exit 1; }; }
83593 cat >conftest.$ac_ext <<_ACEOF
83594 /* confdefs.h. */
83595 _ACEOF
83596 cat confdefs.h >>conftest.$ac_ext
83597 cat >>conftest.$ac_ext <<_ACEOF
83598 /* end confdefs.h. */
83599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83601 #define $ac_func innocuous_$ac_func
83603 /* System header to define __stub macros and hopefully few prototypes,
83604 which can conflict with char $ac_func (); below.
83605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83606 <limits.h> exists even on freestanding compilers. */
83608 #ifdef __STDC__
83609 # include <limits.h>
83610 #else
83611 # include <assert.h>
83612 #endif
83614 #undef $ac_func
83616 /* Override any gcc2 internal prototype to avoid an error. */
83617 #ifdef __cplusplus
83618 extern "C"
83620 #endif
83621 /* We use char because int might match the return type of a gcc2
83622 builtin and then its argument prototype would still apply. */
83623 char $ac_func ();
83624 /* The GNU C library defines this for functions which it implements
83625 to always fail with ENOSYS. Some functions are actually named
83626 something starting with __ and the normal name is an alias. */
83627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83628 choke me
83629 #else
83630 char (*f) () = $ac_func;
83631 #endif
83632 #ifdef __cplusplus
83634 #endif
83637 main ()
83639 return f != $ac_func;
83641 return 0;
83643 _ACEOF
83644 rm -f conftest.$ac_objext conftest$ac_exeext
83645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83646 (eval $ac_link) 2>conftest.er1
83647 ac_status=$?
83648 grep -v '^ *+' conftest.er1 >conftest.err
83649 rm -f conftest.er1
83650 cat conftest.err >&5
83651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83652 (exit $ac_status); } &&
83653 { ac_try='test -z "$ac_c_werror_flag"
83654 || test ! -s conftest.err'
83655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83656 (eval $ac_try) 2>&5
83657 ac_status=$?
83658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83659 (exit $ac_status); }; } &&
83660 { ac_try='test -s conftest$ac_exeext'
83661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83662 (eval $ac_try) 2>&5
83663 ac_status=$?
83664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83665 (exit $ac_status); }; }; then
83666 eval "$as_ac_var=yes"
83667 else
83668 echo "$as_me: failed program was:" >&5
83669 sed 's/^/| /' conftest.$ac_ext >&5
83671 eval "$as_ac_var=no"
83673 rm -f conftest.err conftest.$ac_objext \
83674 conftest$ac_exeext conftest.$ac_ext
83676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83678 if test `eval echo '${'$as_ac_var'}'` = yes; then
83679 cat >>confdefs.h <<_ACEOF
83680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83681 _ACEOF
83684 done
83694 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
83695 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
83696 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
83697 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
83698 echo $ECHO_N "(cached) $ECHO_C" >&6
83699 else
83703 ac_ext=cc
83704 ac_cpp='$CXXCPP $CPPFLAGS'
83705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83709 cat >conftest.$ac_ext <<_ACEOF
83710 /* confdefs.h. */
83711 _ACEOF
83712 cat confdefs.h >>conftest.$ac_ext
83713 cat >>conftest.$ac_ext <<_ACEOF
83714 /* end confdefs.h. */
83715 #include <math.h>
83717 main ()
83719 hypotf(0, 0);
83721 return 0;
83723 _ACEOF
83724 rm -f conftest.$ac_objext
83725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83726 (eval $ac_compile) 2>conftest.er1
83727 ac_status=$?
83728 grep -v '^ *+' conftest.er1 >conftest.err
83729 rm -f conftest.er1
83730 cat conftest.err >&5
83731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83732 (exit $ac_status); } &&
83733 { ac_try='test -z "$ac_cxx_werror_flag"
83734 || test ! -s conftest.err'
83735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83736 (eval $ac_try) 2>&5
83737 ac_status=$?
83738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83739 (exit $ac_status); }; } &&
83740 { ac_try='test -s conftest.$ac_objext'
83741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83742 (eval $ac_try) 2>&5
83743 ac_status=$?
83744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83745 (exit $ac_status); }; }; then
83746 glibcxx_cv_func_hypotf_use=yes
83747 else
83748 echo "$as_me: failed program was:" >&5
83749 sed 's/^/| /' conftest.$ac_ext >&5
83751 glibcxx_cv_func_hypotf_use=no
83753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83754 ac_ext=c
83755 ac_cpp='$CPP $CPPFLAGS'
83756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
83765 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
83767 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
83769 for ac_func in hypotf
83771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83772 echo "$as_me:$LINENO: checking for $ac_func" >&5
83773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83774 if eval "test \"\${$as_ac_var+set}\" = set"; then
83775 echo $ECHO_N "(cached) $ECHO_C" >&6
83776 else
83777 if test x$gcc_no_link = xyes; then
83778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83780 { (exit 1); exit 1; }; }
83782 cat >conftest.$ac_ext <<_ACEOF
83783 /* confdefs.h. */
83784 _ACEOF
83785 cat confdefs.h >>conftest.$ac_ext
83786 cat >>conftest.$ac_ext <<_ACEOF
83787 /* end confdefs.h. */
83788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83790 #define $ac_func innocuous_$ac_func
83792 /* System header to define __stub macros and hopefully few prototypes,
83793 which can conflict with char $ac_func (); below.
83794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83795 <limits.h> exists even on freestanding compilers. */
83797 #ifdef __STDC__
83798 # include <limits.h>
83799 #else
83800 # include <assert.h>
83801 #endif
83803 #undef $ac_func
83805 /* Override any gcc2 internal prototype to avoid an error. */
83806 #ifdef __cplusplus
83807 extern "C"
83809 #endif
83810 /* We use char because int might match the return type of a gcc2
83811 builtin and then its argument prototype would still apply. */
83812 char $ac_func ();
83813 /* The GNU C library defines this for functions which it implements
83814 to always fail with ENOSYS. Some functions are actually named
83815 something starting with __ and the normal name is an alias. */
83816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83817 choke me
83818 #else
83819 char (*f) () = $ac_func;
83820 #endif
83821 #ifdef __cplusplus
83823 #endif
83826 main ()
83828 return f != $ac_func;
83830 return 0;
83832 _ACEOF
83833 rm -f conftest.$ac_objext conftest$ac_exeext
83834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83835 (eval $ac_link) 2>conftest.er1
83836 ac_status=$?
83837 grep -v '^ *+' conftest.er1 >conftest.err
83838 rm -f conftest.er1
83839 cat conftest.err >&5
83840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83841 (exit $ac_status); } &&
83842 { ac_try='test -z "$ac_c_werror_flag"
83843 || test ! -s conftest.err'
83844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83845 (eval $ac_try) 2>&5
83846 ac_status=$?
83847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83848 (exit $ac_status); }; } &&
83849 { ac_try='test -s conftest$ac_exeext'
83850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83851 (eval $ac_try) 2>&5
83852 ac_status=$?
83853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83854 (exit $ac_status); }; }; then
83855 eval "$as_ac_var=yes"
83856 else
83857 echo "$as_me: failed program was:" >&5
83858 sed 's/^/| /' conftest.$ac_ext >&5
83860 eval "$as_ac_var=no"
83862 rm -f conftest.err conftest.$ac_objext \
83863 conftest$ac_exeext conftest.$ac_ext
83865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83867 if test `eval echo '${'$as_ac_var'}'` = yes; then
83868 cat >>confdefs.h <<_ACEOF
83869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83870 _ACEOF
83873 done
83875 else
83877 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
83878 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
83879 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
83880 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
83881 echo $ECHO_N "(cached) $ECHO_C" >&6
83882 else
83886 ac_ext=cc
83887 ac_cpp='$CXXCPP $CPPFLAGS'
83888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83892 cat >conftest.$ac_ext <<_ACEOF
83893 /* confdefs.h. */
83894 _ACEOF
83895 cat confdefs.h >>conftest.$ac_ext
83896 cat >>conftest.$ac_ext <<_ACEOF
83897 /* end confdefs.h. */
83898 #include <math.h>
83900 main ()
83902 _hypotf(0, 0);
83904 return 0;
83906 _ACEOF
83907 rm -f conftest.$ac_objext
83908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83909 (eval $ac_compile) 2>conftest.er1
83910 ac_status=$?
83911 grep -v '^ *+' conftest.er1 >conftest.err
83912 rm -f conftest.er1
83913 cat conftest.err >&5
83914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83915 (exit $ac_status); } &&
83916 { ac_try='test -z "$ac_cxx_werror_flag"
83917 || test ! -s conftest.err'
83918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83919 (eval $ac_try) 2>&5
83920 ac_status=$?
83921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83922 (exit $ac_status); }; } &&
83923 { ac_try='test -s conftest.$ac_objext'
83924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83925 (eval $ac_try) 2>&5
83926 ac_status=$?
83927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83928 (exit $ac_status); }; }; then
83929 glibcxx_cv_func__hypotf_use=yes
83930 else
83931 echo "$as_me: failed program was:" >&5
83932 sed 's/^/| /' conftest.$ac_ext >&5
83934 glibcxx_cv_func__hypotf_use=no
83936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83937 ac_ext=c
83938 ac_cpp='$CPP $CPPFLAGS'
83939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
83948 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
83950 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
83952 for ac_func in _hypotf
83954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83955 echo "$as_me:$LINENO: checking for $ac_func" >&5
83956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83957 if eval "test \"\${$as_ac_var+set}\" = set"; then
83958 echo $ECHO_N "(cached) $ECHO_C" >&6
83959 else
83960 if test x$gcc_no_link = xyes; then
83961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83963 { (exit 1); exit 1; }; }
83965 cat >conftest.$ac_ext <<_ACEOF
83966 /* confdefs.h. */
83967 _ACEOF
83968 cat confdefs.h >>conftest.$ac_ext
83969 cat >>conftest.$ac_ext <<_ACEOF
83970 /* end confdefs.h. */
83971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83973 #define $ac_func innocuous_$ac_func
83975 /* System header to define __stub macros and hopefully few prototypes,
83976 which can conflict with char $ac_func (); below.
83977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83978 <limits.h> exists even on freestanding compilers. */
83980 #ifdef __STDC__
83981 # include <limits.h>
83982 #else
83983 # include <assert.h>
83984 #endif
83986 #undef $ac_func
83988 /* Override any gcc2 internal prototype to avoid an error. */
83989 #ifdef __cplusplus
83990 extern "C"
83992 #endif
83993 /* We use char because int might match the return type of a gcc2
83994 builtin and then its argument prototype would still apply. */
83995 char $ac_func ();
83996 /* The GNU C library defines this for functions which it implements
83997 to always fail with ENOSYS. Some functions are actually named
83998 something starting with __ and the normal name is an alias. */
83999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84000 choke me
84001 #else
84002 char (*f) () = $ac_func;
84003 #endif
84004 #ifdef __cplusplus
84006 #endif
84009 main ()
84011 return f != $ac_func;
84013 return 0;
84015 _ACEOF
84016 rm -f conftest.$ac_objext conftest$ac_exeext
84017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84018 (eval $ac_link) 2>conftest.er1
84019 ac_status=$?
84020 grep -v '^ *+' conftest.er1 >conftest.err
84021 rm -f conftest.er1
84022 cat conftest.err >&5
84023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84024 (exit $ac_status); } &&
84025 { ac_try='test -z "$ac_c_werror_flag"
84026 || test ! -s conftest.err'
84027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84028 (eval $ac_try) 2>&5
84029 ac_status=$?
84030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84031 (exit $ac_status); }; } &&
84032 { ac_try='test -s conftest$ac_exeext'
84033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84034 (eval $ac_try) 2>&5
84035 ac_status=$?
84036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84037 (exit $ac_status); }; }; then
84038 eval "$as_ac_var=yes"
84039 else
84040 echo "$as_me: failed program was:" >&5
84041 sed 's/^/| /' conftest.$ac_ext >&5
84043 eval "$as_ac_var=no"
84045 rm -f conftest.err conftest.$ac_objext \
84046 conftest$ac_exeext conftest.$ac_ext
84048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84050 if test `eval echo '${'$as_ac_var'}'` = yes; then
84051 cat >>confdefs.h <<_ACEOF
84052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84053 _ACEOF
84056 done
84066 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
84067 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
84068 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
84069 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
84070 echo $ECHO_N "(cached) $ECHO_C" >&6
84071 else
84075 ac_ext=cc
84076 ac_cpp='$CXXCPP $CPPFLAGS'
84077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84081 cat >conftest.$ac_ext <<_ACEOF
84082 /* confdefs.h. */
84083 _ACEOF
84084 cat confdefs.h >>conftest.$ac_ext
84085 cat >>conftest.$ac_ext <<_ACEOF
84086 /* end confdefs.h. */
84087 #include <math.h>
84089 main ()
84091 ldexpf(0, 0);
84093 return 0;
84095 _ACEOF
84096 rm -f conftest.$ac_objext
84097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84098 (eval $ac_compile) 2>conftest.er1
84099 ac_status=$?
84100 grep -v '^ *+' conftest.er1 >conftest.err
84101 rm -f conftest.er1
84102 cat conftest.err >&5
84103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84104 (exit $ac_status); } &&
84105 { ac_try='test -z "$ac_cxx_werror_flag"
84106 || test ! -s conftest.err'
84107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84108 (eval $ac_try) 2>&5
84109 ac_status=$?
84110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84111 (exit $ac_status); }; } &&
84112 { ac_try='test -s conftest.$ac_objext'
84113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84114 (eval $ac_try) 2>&5
84115 ac_status=$?
84116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84117 (exit $ac_status); }; }; then
84118 glibcxx_cv_func_ldexpf_use=yes
84119 else
84120 echo "$as_me: failed program was:" >&5
84121 sed 's/^/| /' conftest.$ac_ext >&5
84123 glibcxx_cv_func_ldexpf_use=no
84125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84126 ac_ext=c
84127 ac_cpp='$CPP $CPPFLAGS'
84128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
84137 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
84139 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
84141 for ac_func in ldexpf
84143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84144 echo "$as_me:$LINENO: checking for $ac_func" >&5
84145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84146 if eval "test \"\${$as_ac_var+set}\" = set"; then
84147 echo $ECHO_N "(cached) $ECHO_C" >&6
84148 else
84149 if test x$gcc_no_link = xyes; then
84150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84152 { (exit 1); exit 1; }; }
84154 cat >conftest.$ac_ext <<_ACEOF
84155 /* confdefs.h. */
84156 _ACEOF
84157 cat confdefs.h >>conftest.$ac_ext
84158 cat >>conftest.$ac_ext <<_ACEOF
84159 /* end confdefs.h. */
84160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84162 #define $ac_func innocuous_$ac_func
84164 /* System header to define __stub macros and hopefully few prototypes,
84165 which can conflict with char $ac_func (); below.
84166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84167 <limits.h> exists even on freestanding compilers. */
84169 #ifdef __STDC__
84170 # include <limits.h>
84171 #else
84172 # include <assert.h>
84173 #endif
84175 #undef $ac_func
84177 /* Override any gcc2 internal prototype to avoid an error. */
84178 #ifdef __cplusplus
84179 extern "C"
84181 #endif
84182 /* We use char because int might match the return type of a gcc2
84183 builtin and then its argument prototype would still apply. */
84184 char $ac_func ();
84185 /* The GNU C library defines this for functions which it implements
84186 to always fail with ENOSYS. Some functions are actually named
84187 something starting with __ and the normal name is an alias. */
84188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84189 choke me
84190 #else
84191 char (*f) () = $ac_func;
84192 #endif
84193 #ifdef __cplusplus
84195 #endif
84198 main ()
84200 return f != $ac_func;
84202 return 0;
84204 _ACEOF
84205 rm -f conftest.$ac_objext conftest$ac_exeext
84206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84207 (eval $ac_link) 2>conftest.er1
84208 ac_status=$?
84209 grep -v '^ *+' conftest.er1 >conftest.err
84210 rm -f conftest.er1
84211 cat conftest.err >&5
84212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84213 (exit $ac_status); } &&
84214 { ac_try='test -z "$ac_c_werror_flag"
84215 || test ! -s conftest.err'
84216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84217 (eval $ac_try) 2>&5
84218 ac_status=$?
84219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84220 (exit $ac_status); }; } &&
84221 { ac_try='test -s conftest$ac_exeext'
84222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84223 (eval $ac_try) 2>&5
84224 ac_status=$?
84225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84226 (exit $ac_status); }; }; then
84227 eval "$as_ac_var=yes"
84228 else
84229 echo "$as_me: failed program was:" >&5
84230 sed 's/^/| /' conftest.$ac_ext >&5
84232 eval "$as_ac_var=no"
84234 rm -f conftest.err conftest.$ac_objext \
84235 conftest$ac_exeext conftest.$ac_ext
84237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84239 if test `eval echo '${'$as_ac_var'}'` = yes; then
84240 cat >>confdefs.h <<_ACEOF
84241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84242 _ACEOF
84245 done
84247 else
84249 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
84250 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
84251 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
84252 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
84253 echo $ECHO_N "(cached) $ECHO_C" >&6
84254 else
84258 ac_ext=cc
84259 ac_cpp='$CXXCPP $CPPFLAGS'
84260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84264 cat >conftest.$ac_ext <<_ACEOF
84265 /* confdefs.h. */
84266 _ACEOF
84267 cat confdefs.h >>conftest.$ac_ext
84268 cat >>conftest.$ac_ext <<_ACEOF
84269 /* end confdefs.h. */
84270 #include <math.h>
84272 main ()
84274 _ldexpf(0, 0);
84276 return 0;
84278 _ACEOF
84279 rm -f conftest.$ac_objext
84280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84281 (eval $ac_compile) 2>conftest.er1
84282 ac_status=$?
84283 grep -v '^ *+' conftest.er1 >conftest.err
84284 rm -f conftest.er1
84285 cat conftest.err >&5
84286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84287 (exit $ac_status); } &&
84288 { ac_try='test -z "$ac_cxx_werror_flag"
84289 || test ! -s conftest.err'
84290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84291 (eval $ac_try) 2>&5
84292 ac_status=$?
84293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84294 (exit $ac_status); }; } &&
84295 { ac_try='test -s conftest.$ac_objext'
84296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84297 (eval $ac_try) 2>&5
84298 ac_status=$?
84299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84300 (exit $ac_status); }; }; then
84301 glibcxx_cv_func__ldexpf_use=yes
84302 else
84303 echo "$as_me: failed program was:" >&5
84304 sed 's/^/| /' conftest.$ac_ext >&5
84306 glibcxx_cv_func__ldexpf_use=no
84308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84309 ac_ext=c
84310 ac_cpp='$CPP $CPPFLAGS'
84311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
84320 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
84322 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
84324 for ac_func in _ldexpf
84326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84327 echo "$as_me:$LINENO: checking for $ac_func" >&5
84328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84329 if eval "test \"\${$as_ac_var+set}\" = set"; then
84330 echo $ECHO_N "(cached) $ECHO_C" >&6
84331 else
84332 if test x$gcc_no_link = xyes; then
84333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84335 { (exit 1); exit 1; }; }
84337 cat >conftest.$ac_ext <<_ACEOF
84338 /* confdefs.h. */
84339 _ACEOF
84340 cat confdefs.h >>conftest.$ac_ext
84341 cat >>conftest.$ac_ext <<_ACEOF
84342 /* end confdefs.h. */
84343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84345 #define $ac_func innocuous_$ac_func
84347 /* System header to define __stub macros and hopefully few prototypes,
84348 which can conflict with char $ac_func (); below.
84349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84350 <limits.h> exists even on freestanding compilers. */
84352 #ifdef __STDC__
84353 # include <limits.h>
84354 #else
84355 # include <assert.h>
84356 #endif
84358 #undef $ac_func
84360 /* Override any gcc2 internal prototype to avoid an error. */
84361 #ifdef __cplusplus
84362 extern "C"
84364 #endif
84365 /* We use char because int might match the return type of a gcc2
84366 builtin and then its argument prototype would still apply. */
84367 char $ac_func ();
84368 /* The GNU C library defines this for functions which it implements
84369 to always fail with ENOSYS. Some functions are actually named
84370 something starting with __ and the normal name is an alias. */
84371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84372 choke me
84373 #else
84374 char (*f) () = $ac_func;
84375 #endif
84376 #ifdef __cplusplus
84378 #endif
84381 main ()
84383 return f != $ac_func;
84385 return 0;
84387 _ACEOF
84388 rm -f conftest.$ac_objext conftest$ac_exeext
84389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84390 (eval $ac_link) 2>conftest.er1
84391 ac_status=$?
84392 grep -v '^ *+' conftest.er1 >conftest.err
84393 rm -f conftest.er1
84394 cat conftest.err >&5
84395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84396 (exit $ac_status); } &&
84397 { ac_try='test -z "$ac_c_werror_flag"
84398 || test ! -s conftest.err'
84399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84400 (eval $ac_try) 2>&5
84401 ac_status=$?
84402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84403 (exit $ac_status); }; } &&
84404 { ac_try='test -s conftest$ac_exeext'
84405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84406 (eval $ac_try) 2>&5
84407 ac_status=$?
84408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84409 (exit $ac_status); }; }; then
84410 eval "$as_ac_var=yes"
84411 else
84412 echo "$as_me: failed program was:" >&5
84413 sed 's/^/| /' conftest.$ac_ext >&5
84415 eval "$as_ac_var=no"
84417 rm -f conftest.err conftest.$ac_objext \
84418 conftest$ac_exeext conftest.$ac_ext
84420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84422 if test `eval echo '${'$as_ac_var'}'` = yes; then
84423 cat >>confdefs.h <<_ACEOF
84424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84425 _ACEOF
84428 done
84438 echo "$as_me:$LINENO: checking for logf declaration" >&5
84439 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
84440 if test x${glibcxx_cv_func_logf_use+set} != xset; then
84441 if test "${glibcxx_cv_func_logf_use+set}" = set; then
84442 echo $ECHO_N "(cached) $ECHO_C" >&6
84443 else
84447 ac_ext=cc
84448 ac_cpp='$CXXCPP $CPPFLAGS'
84449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84453 cat >conftest.$ac_ext <<_ACEOF
84454 /* confdefs.h. */
84455 _ACEOF
84456 cat confdefs.h >>conftest.$ac_ext
84457 cat >>conftest.$ac_ext <<_ACEOF
84458 /* end confdefs.h. */
84459 #include <math.h>
84460 #ifdef HAVE_IEEEFP_H
84461 #include <ieeefp.h>
84462 #endif
84465 main ()
84467 logf(0);
84469 return 0;
84471 _ACEOF
84472 rm -f conftest.$ac_objext
84473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84474 (eval $ac_compile) 2>conftest.er1
84475 ac_status=$?
84476 grep -v '^ *+' conftest.er1 >conftest.err
84477 rm -f conftest.er1
84478 cat conftest.err >&5
84479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84480 (exit $ac_status); } &&
84481 { ac_try='test -z "$ac_cxx_werror_flag"
84482 || test ! -s conftest.err'
84483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84484 (eval $ac_try) 2>&5
84485 ac_status=$?
84486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84487 (exit $ac_status); }; } &&
84488 { ac_try='test -s conftest.$ac_objext'
84489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84490 (eval $ac_try) 2>&5
84491 ac_status=$?
84492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84493 (exit $ac_status); }; }; then
84494 glibcxx_cv_func_logf_use=yes
84495 else
84496 echo "$as_me: failed program was:" >&5
84497 sed 's/^/| /' conftest.$ac_ext >&5
84499 glibcxx_cv_func_logf_use=no
84501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84502 ac_ext=c
84503 ac_cpp='$CPP $CPPFLAGS'
84504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
84513 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
84515 if test x$glibcxx_cv_func_logf_use = x"yes"; then
84517 for ac_func in logf
84519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84520 echo "$as_me:$LINENO: checking for $ac_func" >&5
84521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84522 if eval "test \"\${$as_ac_var+set}\" = set"; then
84523 echo $ECHO_N "(cached) $ECHO_C" >&6
84524 else
84525 if test x$gcc_no_link = xyes; then
84526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84528 { (exit 1); exit 1; }; }
84530 cat >conftest.$ac_ext <<_ACEOF
84531 /* confdefs.h. */
84532 _ACEOF
84533 cat confdefs.h >>conftest.$ac_ext
84534 cat >>conftest.$ac_ext <<_ACEOF
84535 /* end confdefs.h. */
84536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84538 #define $ac_func innocuous_$ac_func
84540 /* System header to define __stub macros and hopefully few prototypes,
84541 which can conflict with char $ac_func (); below.
84542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84543 <limits.h> exists even on freestanding compilers. */
84545 #ifdef __STDC__
84546 # include <limits.h>
84547 #else
84548 # include <assert.h>
84549 #endif
84551 #undef $ac_func
84553 /* Override any gcc2 internal prototype to avoid an error. */
84554 #ifdef __cplusplus
84555 extern "C"
84557 #endif
84558 /* We use char because int might match the return type of a gcc2
84559 builtin and then its argument prototype would still apply. */
84560 char $ac_func ();
84561 /* The GNU C library defines this for functions which it implements
84562 to always fail with ENOSYS. Some functions are actually named
84563 something starting with __ and the normal name is an alias. */
84564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84565 choke me
84566 #else
84567 char (*f) () = $ac_func;
84568 #endif
84569 #ifdef __cplusplus
84571 #endif
84574 main ()
84576 return f != $ac_func;
84578 return 0;
84580 _ACEOF
84581 rm -f conftest.$ac_objext conftest$ac_exeext
84582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84583 (eval $ac_link) 2>conftest.er1
84584 ac_status=$?
84585 grep -v '^ *+' conftest.er1 >conftest.err
84586 rm -f conftest.er1
84587 cat conftest.err >&5
84588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84589 (exit $ac_status); } &&
84590 { ac_try='test -z "$ac_c_werror_flag"
84591 || test ! -s conftest.err'
84592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84593 (eval $ac_try) 2>&5
84594 ac_status=$?
84595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84596 (exit $ac_status); }; } &&
84597 { ac_try='test -s conftest$ac_exeext'
84598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84599 (eval $ac_try) 2>&5
84600 ac_status=$?
84601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84602 (exit $ac_status); }; }; then
84603 eval "$as_ac_var=yes"
84604 else
84605 echo "$as_me: failed program was:" >&5
84606 sed 's/^/| /' conftest.$ac_ext >&5
84608 eval "$as_ac_var=no"
84610 rm -f conftest.err conftest.$ac_objext \
84611 conftest$ac_exeext conftest.$ac_ext
84613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84615 if test `eval echo '${'$as_ac_var'}'` = yes; then
84616 cat >>confdefs.h <<_ACEOF
84617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84618 _ACEOF
84621 done
84623 else
84625 echo "$as_me:$LINENO: checking for _logf declaration" >&5
84626 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
84627 if test x${glibcxx_cv_func__logf_use+set} != xset; then
84628 if test "${glibcxx_cv_func__logf_use+set}" = set; then
84629 echo $ECHO_N "(cached) $ECHO_C" >&6
84630 else
84634 ac_ext=cc
84635 ac_cpp='$CXXCPP $CPPFLAGS'
84636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84640 cat >conftest.$ac_ext <<_ACEOF
84641 /* confdefs.h. */
84642 _ACEOF
84643 cat confdefs.h >>conftest.$ac_ext
84644 cat >>conftest.$ac_ext <<_ACEOF
84645 /* end confdefs.h. */
84646 #include <math.h>
84647 #ifdef HAVE_IEEEFP_H
84648 #include <ieeefp.h>
84649 #endif
84652 main ()
84654 _logf(0);
84656 return 0;
84658 _ACEOF
84659 rm -f conftest.$ac_objext
84660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84661 (eval $ac_compile) 2>conftest.er1
84662 ac_status=$?
84663 grep -v '^ *+' conftest.er1 >conftest.err
84664 rm -f conftest.er1
84665 cat conftest.err >&5
84666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84667 (exit $ac_status); } &&
84668 { ac_try='test -z "$ac_cxx_werror_flag"
84669 || test ! -s conftest.err'
84670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84671 (eval $ac_try) 2>&5
84672 ac_status=$?
84673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84674 (exit $ac_status); }; } &&
84675 { ac_try='test -s conftest.$ac_objext'
84676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84677 (eval $ac_try) 2>&5
84678 ac_status=$?
84679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84680 (exit $ac_status); }; }; then
84681 glibcxx_cv_func__logf_use=yes
84682 else
84683 echo "$as_me: failed program was:" >&5
84684 sed 's/^/| /' conftest.$ac_ext >&5
84686 glibcxx_cv_func__logf_use=no
84688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84689 ac_ext=c
84690 ac_cpp='$CPP $CPPFLAGS'
84691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
84700 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
84702 if test x$glibcxx_cv_func__logf_use = x"yes"; then
84704 for ac_func in _logf
84706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84707 echo "$as_me:$LINENO: checking for $ac_func" >&5
84708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84709 if eval "test \"\${$as_ac_var+set}\" = set"; then
84710 echo $ECHO_N "(cached) $ECHO_C" >&6
84711 else
84712 if test x$gcc_no_link = xyes; then
84713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84715 { (exit 1); exit 1; }; }
84717 cat >conftest.$ac_ext <<_ACEOF
84718 /* confdefs.h. */
84719 _ACEOF
84720 cat confdefs.h >>conftest.$ac_ext
84721 cat >>conftest.$ac_ext <<_ACEOF
84722 /* end confdefs.h. */
84723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84725 #define $ac_func innocuous_$ac_func
84727 /* System header to define __stub macros and hopefully few prototypes,
84728 which can conflict with char $ac_func (); below.
84729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84730 <limits.h> exists even on freestanding compilers. */
84732 #ifdef __STDC__
84733 # include <limits.h>
84734 #else
84735 # include <assert.h>
84736 #endif
84738 #undef $ac_func
84740 /* Override any gcc2 internal prototype to avoid an error. */
84741 #ifdef __cplusplus
84742 extern "C"
84744 #endif
84745 /* We use char because int might match the return type of a gcc2
84746 builtin and then its argument prototype would still apply. */
84747 char $ac_func ();
84748 /* The GNU C library defines this for functions which it implements
84749 to always fail with ENOSYS. Some functions are actually named
84750 something starting with __ and the normal name is an alias. */
84751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84752 choke me
84753 #else
84754 char (*f) () = $ac_func;
84755 #endif
84756 #ifdef __cplusplus
84758 #endif
84761 main ()
84763 return f != $ac_func;
84765 return 0;
84767 _ACEOF
84768 rm -f conftest.$ac_objext conftest$ac_exeext
84769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84770 (eval $ac_link) 2>conftest.er1
84771 ac_status=$?
84772 grep -v '^ *+' conftest.er1 >conftest.err
84773 rm -f conftest.er1
84774 cat conftest.err >&5
84775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84776 (exit $ac_status); } &&
84777 { ac_try='test -z "$ac_c_werror_flag"
84778 || test ! -s conftest.err'
84779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84780 (eval $ac_try) 2>&5
84781 ac_status=$?
84782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84783 (exit $ac_status); }; } &&
84784 { ac_try='test -s conftest$ac_exeext'
84785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84786 (eval $ac_try) 2>&5
84787 ac_status=$?
84788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84789 (exit $ac_status); }; }; then
84790 eval "$as_ac_var=yes"
84791 else
84792 echo "$as_me: failed program was:" >&5
84793 sed 's/^/| /' conftest.$ac_ext >&5
84795 eval "$as_ac_var=no"
84797 rm -f conftest.err conftest.$ac_objext \
84798 conftest$ac_exeext conftest.$ac_ext
84800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84802 if test `eval echo '${'$as_ac_var'}'` = yes; then
84803 cat >>confdefs.h <<_ACEOF
84804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84805 _ACEOF
84808 done
84818 echo "$as_me:$LINENO: checking for log10f declaration" >&5
84819 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
84820 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
84821 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
84822 echo $ECHO_N "(cached) $ECHO_C" >&6
84823 else
84827 ac_ext=cc
84828 ac_cpp='$CXXCPP $CPPFLAGS'
84829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84833 cat >conftest.$ac_ext <<_ACEOF
84834 /* confdefs.h. */
84835 _ACEOF
84836 cat confdefs.h >>conftest.$ac_ext
84837 cat >>conftest.$ac_ext <<_ACEOF
84838 /* end confdefs.h. */
84839 #include <math.h>
84840 #ifdef HAVE_IEEEFP_H
84841 #include <ieeefp.h>
84842 #endif
84845 main ()
84847 log10f(0);
84849 return 0;
84851 _ACEOF
84852 rm -f conftest.$ac_objext
84853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84854 (eval $ac_compile) 2>conftest.er1
84855 ac_status=$?
84856 grep -v '^ *+' conftest.er1 >conftest.err
84857 rm -f conftest.er1
84858 cat conftest.err >&5
84859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84860 (exit $ac_status); } &&
84861 { ac_try='test -z "$ac_cxx_werror_flag"
84862 || test ! -s conftest.err'
84863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84864 (eval $ac_try) 2>&5
84865 ac_status=$?
84866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84867 (exit $ac_status); }; } &&
84868 { ac_try='test -s conftest.$ac_objext'
84869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84870 (eval $ac_try) 2>&5
84871 ac_status=$?
84872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84873 (exit $ac_status); }; }; then
84874 glibcxx_cv_func_log10f_use=yes
84875 else
84876 echo "$as_me: failed program was:" >&5
84877 sed 's/^/| /' conftest.$ac_ext >&5
84879 glibcxx_cv_func_log10f_use=no
84881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84882 ac_ext=c
84883 ac_cpp='$CPP $CPPFLAGS'
84884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
84893 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
84895 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
84897 for ac_func in log10f
84899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84900 echo "$as_me:$LINENO: checking for $ac_func" >&5
84901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84902 if eval "test \"\${$as_ac_var+set}\" = set"; then
84903 echo $ECHO_N "(cached) $ECHO_C" >&6
84904 else
84905 if test x$gcc_no_link = xyes; then
84906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84908 { (exit 1); exit 1; }; }
84910 cat >conftest.$ac_ext <<_ACEOF
84911 /* confdefs.h. */
84912 _ACEOF
84913 cat confdefs.h >>conftest.$ac_ext
84914 cat >>conftest.$ac_ext <<_ACEOF
84915 /* end confdefs.h. */
84916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84918 #define $ac_func innocuous_$ac_func
84920 /* System header to define __stub macros and hopefully few prototypes,
84921 which can conflict with char $ac_func (); below.
84922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84923 <limits.h> exists even on freestanding compilers. */
84925 #ifdef __STDC__
84926 # include <limits.h>
84927 #else
84928 # include <assert.h>
84929 #endif
84931 #undef $ac_func
84933 /* Override any gcc2 internal prototype to avoid an error. */
84934 #ifdef __cplusplus
84935 extern "C"
84937 #endif
84938 /* We use char because int might match the return type of a gcc2
84939 builtin and then its argument prototype would still apply. */
84940 char $ac_func ();
84941 /* The GNU C library defines this for functions which it implements
84942 to always fail with ENOSYS. Some functions are actually named
84943 something starting with __ and the normal name is an alias. */
84944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84945 choke me
84946 #else
84947 char (*f) () = $ac_func;
84948 #endif
84949 #ifdef __cplusplus
84951 #endif
84954 main ()
84956 return f != $ac_func;
84958 return 0;
84960 _ACEOF
84961 rm -f conftest.$ac_objext conftest$ac_exeext
84962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84963 (eval $ac_link) 2>conftest.er1
84964 ac_status=$?
84965 grep -v '^ *+' conftest.er1 >conftest.err
84966 rm -f conftest.er1
84967 cat conftest.err >&5
84968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84969 (exit $ac_status); } &&
84970 { ac_try='test -z "$ac_c_werror_flag"
84971 || test ! -s conftest.err'
84972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84973 (eval $ac_try) 2>&5
84974 ac_status=$?
84975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84976 (exit $ac_status); }; } &&
84977 { ac_try='test -s conftest$ac_exeext'
84978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84979 (eval $ac_try) 2>&5
84980 ac_status=$?
84981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84982 (exit $ac_status); }; }; then
84983 eval "$as_ac_var=yes"
84984 else
84985 echo "$as_me: failed program was:" >&5
84986 sed 's/^/| /' conftest.$ac_ext >&5
84988 eval "$as_ac_var=no"
84990 rm -f conftest.err conftest.$ac_objext \
84991 conftest$ac_exeext conftest.$ac_ext
84993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84995 if test `eval echo '${'$as_ac_var'}'` = yes; then
84996 cat >>confdefs.h <<_ACEOF
84997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84998 _ACEOF
85001 done
85003 else
85005 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
85006 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
85007 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
85008 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
85009 echo $ECHO_N "(cached) $ECHO_C" >&6
85010 else
85014 ac_ext=cc
85015 ac_cpp='$CXXCPP $CPPFLAGS'
85016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85020 cat >conftest.$ac_ext <<_ACEOF
85021 /* confdefs.h. */
85022 _ACEOF
85023 cat confdefs.h >>conftest.$ac_ext
85024 cat >>conftest.$ac_ext <<_ACEOF
85025 /* end confdefs.h. */
85026 #include <math.h>
85027 #ifdef HAVE_IEEEFP_H
85028 #include <ieeefp.h>
85029 #endif
85032 main ()
85034 _log10f(0);
85036 return 0;
85038 _ACEOF
85039 rm -f conftest.$ac_objext
85040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85041 (eval $ac_compile) 2>conftest.er1
85042 ac_status=$?
85043 grep -v '^ *+' conftest.er1 >conftest.err
85044 rm -f conftest.er1
85045 cat conftest.err >&5
85046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85047 (exit $ac_status); } &&
85048 { ac_try='test -z "$ac_cxx_werror_flag"
85049 || test ! -s conftest.err'
85050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85051 (eval $ac_try) 2>&5
85052 ac_status=$?
85053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85054 (exit $ac_status); }; } &&
85055 { ac_try='test -s conftest.$ac_objext'
85056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85057 (eval $ac_try) 2>&5
85058 ac_status=$?
85059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85060 (exit $ac_status); }; }; then
85061 glibcxx_cv_func__log10f_use=yes
85062 else
85063 echo "$as_me: failed program was:" >&5
85064 sed 's/^/| /' conftest.$ac_ext >&5
85066 glibcxx_cv_func__log10f_use=no
85068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85069 ac_ext=c
85070 ac_cpp='$CPP $CPPFLAGS'
85071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
85080 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
85082 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
85084 for ac_func in _log10f
85086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85087 echo "$as_me:$LINENO: checking for $ac_func" >&5
85088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85089 if eval "test \"\${$as_ac_var+set}\" = set"; then
85090 echo $ECHO_N "(cached) $ECHO_C" >&6
85091 else
85092 if test x$gcc_no_link = xyes; then
85093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85095 { (exit 1); exit 1; }; }
85097 cat >conftest.$ac_ext <<_ACEOF
85098 /* confdefs.h. */
85099 _ACEOF
85100 cat confdefs.h >>conftest.$ac_ext
85101 cat >>conftest.$ac_ext <<_ACEOF
85102 /* end confdefs.h. */
85103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85105 #define $ac_func innocuous_$ac_func
85107 /* System header to define __stub macros and hopefully few prototypes,
85108 which can conflict with char $ac_func (); below.
85109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85110 <limits.h> exists even on freestanding compilers. */
85112 #ifdef __STDC__
85113 # include <limits.h>
85114 #else
85115 # include <assert.h>
85116 #endif
85118 #undef $ac_func
85120 /* Override any gcc2 internal prototype to avoid an error. */
85121 #ifdef __cplusplus
85122 extern "C"
85124 #endif
85125 /* We use char because int might match the return type of a gcc2
85126 builtin and then its argument prototype would still apply. */
85127 char $ac_func ();
85128 /* The GNU C library defines this for functions which it implements
85129 to always fail with ENOSYS. Some functions are actually named
85130 something starting with __ and the normal name is an alias. */
85131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85132 choke me
85133 #else
85134 char (*f) () = $ac_func;
85135 #endif
85136 #ifdef __cplusplus
85138 #endif
85141 main ()
85143 return f != $ac_func;
85145 return 0;
85147 _ACEOF
85148 rm -f conftest.$ac_objext conftest$ac_exeext
85149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85150 (eval $ac_link) 2>conftest.er1
85151 ac_status=$?
85152 grep -v '^ *+' conftest.er1 >conftest.err
85153 rm -f conftest.er1
85154 cat conftest.err >&5
85155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85156 (exit $ac_status); } &&
85157 { ac_try='test -z "$ac_c_werror_flag"
85158 || test ! -s conftest.err'
85159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85160 (eval $ac_try) 2>&5
85161 ac_status=$?
85162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85163 (exit $ac_status); }; } &&
85164 { ac_try='test -s conftest$ac_exeext'
85165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85166 (eval $ac_try) 2>&5
85167 ac_status=$?
85168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85169 (exit $ac_status); }; }; then
85170 eval "$as_ac_var=yes"
85171 else
85172 echo "$as_me: failed program was:" >&5
85173 sed 's/^/| /' conftest.$ac_ext >&5
85175 eval "$as_ac_var=no"
85177 rm -f conftest.err conftest.$ac_objext \
85178 conftest$ac_exeext conftest.$ac_ext
85180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85182 if test `eval echo '${'$as_ac_var'}'` = yes; then
85183 cat >>confdefs.h <<_ACEOF
85184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85185 _ACEOF
85188 done
85198 echo "$as_me:$LINENO: checking for modff declaration" >&5
85199 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
85200 if test x${glibcxx_cv_func_modff_use+set} != xset; then
85201 if test "${glibcxx_cv_func_modff_use+set}" = set; then
85202 echo $ECHO_N "(cached) $ECHO_C" >&6
85203 else
85207 ac_ext=cc
85208 ac_cpp='$CXXCPP $CPPFLAGS'
85209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85213 cat >conftest.$ac_ext <<_ACEOF
85214 /* confdefs.h. */
85215 _ACEOF
85216 cat confdefs.h >>conftest.$ac_ext
85217 cat >>conftest.$ac_ext <<_ACEOF
85218 /* end confdefs.h. */
85219 #include <math.h>
85221 main ()
85223 modff(0, 0);
85225 return 0;
85227 _ACEOF
85228 rm -f conftest.$ac_objext
85229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85230 (eval $ac_compile) 2>conftest.er1
85231 ac_status=$?
85232 grep -v '^ *+' conftest.er1 >conftest.err
85233 rm -f conftest.er1
85234 cat conftest.err >&5
85235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85236 (exit $ac_status); } &&
85237 { ac_try='test -z "$ac_cxx_werror_flag"
85238 || test ! -s conftest.err'
85239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85240 (eval $ac_try) 2>&5
85241 ac_status=$?
85242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85243 (exit $ac_status); }; } &&
85244 { ac_try='test -s conftest.$ac_objext'
85245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85246 (eval $ac_try) 2>&5
85247 ac_status=$?
85248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85249 (exit $ac_status); }; }; then
85250 glibcxx_cv_func_modff_use=yes
85251 else
85252 echo "$as_me: failed program was:" >&5
85253 sed 's/^/| /' conftest.$ac_ext >&5
85255 glibcxx_cv_func_modff_use=no
85257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85258 ac_ext=c
85259 ac_cpp='$CPP $CPPFLAGS'
85260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
85269 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
85271 if test x$glibcxx_cv_func_modff_use = x"yes"; then
85273 for ac_func in modff
85275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85276 echo "$as_me:$LINENO: checking for $ac_func" >&5
85277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85278 if eval "test \"\${$as_ac_var+set}\" = set"; then
85279 echo $ECHO_N "(cached) $ECHO_C" >&6
85280 else
85281 if test x$gcc_no_link = xyes; then
85282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85284 { (exit 1); exit 1; }; }
85286 cat >conftest.$ac_ext <<_ACEOF
85287 /* confdefs.h. */
85288 _ACEOF
85289 cat confdefs.h >>conftest.$ac_ext
85290 cat >>conftest.$ac_ext <<_ACEOF
85291 /* end confdefs.h. */
85292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85294 #define $ac_func innocuous_$ac_func
85296 /* System header to define __stub macros and hopefully few prototypes,
85297 which can conflict with char $ac_func (); below.
85298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85299 <limits.h> exists even on freestanding compilers. */
85301 #ifdef __STDC__
85302 # include <limits.h>
85303 #else
85304 # include <assert.h>
85305 #endif
85307 #undef $ac_func
85309 /* Override any gcc2 internal prototype to avoid an error. */
85310 #ifdef __cplusplus
85311 extern "C"
85313 #endif
85314 /* We use char because int might match the return type of a gcc2
85315 builtin and then its argument prototype would still apply. */
85316 char $ac_func ();
85317 /* The GNU C library defines this for functions which it implements
85318 to always fail with ENOSYS. Some functions are actually named
85319 something starting with __ and the normal name is an alias. */
85320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85321 choke me
85322 #else
85323 char (*f) () = $ac_func;
85324 #endif
85325 #ifdef __cplusplus
85327 #endif
85330 main ()
85332 return f != $ac_func;
85334 return 0;
85336 _ACEOF
85337 rm -f conftest.$ac_objext conftest$ac_exeext
85338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85339 (eval $ac_link) 2>conftest.er1
85340 ac_status=$?
85341 grep -v '^ *+' conftest.er1 >conftest.err
85342 rm -f conftest.er1
85343 cat conftest.err >&5
85344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85345 (exit $ac_status); } &&
85346 { ac_try='test -z "$ac_c_werror_flag"
85347 || test ! -s conftest.err'
85348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85349 (eval $ac_try) 2>&5
85350 ac_status=$?
85351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85352 (exit $ac_status); }; } &&
85353 { ac_try='test -s conftest$ac_exeext'
85354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85355 (eval $ac_try) 2>&5
85356 ac_status=$?
85357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85358 (exit $ac_status); }; }; then
85359 eval "$as_ac_var=yes"
85360 else
85361 echo "$as_me: failed program was:" >&5
85362 sed 's/^/| /' conftest.$ac_ext >&5
85364 eval "$as_ac_var=no"
85366 rm -f conftest.err conftest.$ac_objext \
85367 conftest$ac_exeext conftest.$ac_ext
85369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85371 if test `eval echo '${'$as_ac_var'}'` = yes; then
85372 cat >>confdefs.h <<_ACEOF
85373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85374 _ACEOF
85377 done
85379 else
85381 echo "$as_me:$LINENO: checking for _modff declaration" >&5
85382 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
85383 if test x${glibcxx_cv_func__modff_use+set} != xset; then
85384 if test "${glibcxx_cv_func__modff_use+set}" = set; then
85385 echo $ECHO_N "(cached) $ECHO_C" >&6
85386 else
85390 ac_ext=cc
85391 ac_cpp='$CXXCPP $CPPFLAGS'
85392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85396 cat >conftest.$ac_ext <<_ACEOF
85397 /* confdefs.h. */
85398 _ACEOF
85399 cat confdefs.h >>conftest.$ac_ext
85400 cat >>conftest.$ac_ext <<_ACEOF
85401 /* end confdefs.h. */
85402 #include <math.h>
85404 main ()
85406 _modff(0, 0);
85408 return 0;
85410 _ACEOF
85411 rm -f conftest.$ac_objext
85412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85413 (eval $ac_compile) 2>conftest.er1
85414 ac_status=$?
85415 grep -v '^ *+' conftest.er1 >conftest.err
85416 rm -f conftest.er1
85417 cat conftest.err >&5
85418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85419 (exit $ac_status); } &&
85420 { ac_try='test -z "$ac_cxx_werror_flag"
85421 || test ! -s conftest.err'
85422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85423 (eval $ac_try) 2>&5
85424 ac_status=$?
85425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85426 (exit $ac_status); }; } &&
85427 { ac_try='test -s conftest.$ac_objext'
85428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85429 (eval $ac_try) 2>&5
85430 ac_status=$?
85431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85432 (exit $ac_status); }; }; then
85433 glibcxx_cv_func__modff_use=yes
85434 else
85435 echo "$as_me: failed program was:" >&5
85436 sed 's/^/| /' conftest.$ac_ext >&5
85438 glibcxx_cv_func__modff_use=no
85440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85441 ac_ext=c
85442 ac_cpp='$CPP $CPPFLAGS'
85443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
85452 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
85454 if test x$glibcxx_cv_func__modff_use = x"yes"; then
85456 for ac_func in _modff
85458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85459 echo "$as_me:$LINENO: checking for $ac_func" >&5
85460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85461 if eval "test \"\${$as_ac_var+set}\" = set"; then
85462 echo $ECHO_N "(cached) $ECHO_C" >&6
85463 else
85464 if test x$gcc_no_link = xyes; then
85465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85467 { (exit 1); exit 1; }; }
85469 cat >conftest.$ac_ext <<_ACEOF
85470 /* confdefs.h. */
85471 _ACEOF
85472 cat confdefs.h >>conftest.$ac_ext
85473 cat >>conftest.$ac_ext <<_ACEOF
85474 /* end confdefs.h. */
85475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85477 #define $ac_func innocuous_$ac_func
85479 /* System header to define __stub macros and hopefully few prototypes,
85480 which can conflict with char $ac_func (); below.
85481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85482 <limits.h> exists even on freestanding compilers. */
85484 #ifdef __STDC__
85485 # include <limits.h>
85486 #else
85487 # include <assert.h>
85488 #endif
85490 #undef $ac_func
85492 /* Override any gcc2 internal prototype to avoid an error. */
85493 #ifdef __cplusplus
85494 extern "C"
85496 #endif
85497 /* We use char because int might match the return type of a gcc2
85498 builtin and then its argument prototype would still apply. */
85499 char $ac_func ();
85500 /* The GNU C library defines this for functions which it implements
85501 to always fail with ENOSYS. Some functions are actually named
85502 something starting with __ and the normal name is an alias. */
85503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85504 choke me
85505 #else
85506 char (*f) () = $ac_func;
85507 #endif
85508 #ifdef __cplusplus
85510 #endif
85513 main ()
85515 return f != $ac_func;
85517 return 0;
85519 _ACEOF
85520 rm -f conftest.$ac_objext conftest$ac_exeext
85521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85522 (eval $ac_link) 2>conftest.er1
85523 ac_status=$?
85524 grep -v '^ *+' conftest.er1 >conftest.err
85525 rm -f conftest.er1
85526 cat conftest.err >&5
85527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85528 (exit $ac_status); } &&
85529 { ac_try='test -z "$ac_c_werror_flag"
85530 || test ! -s conftest.err'
85531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85532 (eval $ac_try) 2>&5
85533 ac_status=$?
85534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85535 (exit $ac_status); }; } &&
85536 { ac_try='test -s conftest$ac_exeext'
85537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85538 (eval $ac_try) 2>&5
85539 ac_status=$?
85540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85541 (exit $ac_status); }; }; then
85542 eval "$as_ac_var=yes"
85543 else
85544 echo "$as_me: failed program was:" >&5
85545 sed 's/^/| /' conftest.$ac_ext >&5
85547 eval "$as_ac_var=no"
85549 rm -f conftest.err conftest.$ac_objext \
85550 conftest$ac_exeext conftest.$ac_ext
85552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85554 if test `eval echo '${'$as_ac_var'}'` = yes; then
85555 cat >>confdefs.h <<_ACEOF
85556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85557 _ACEOF
85560 done
85570 echo "$as_me:$LINENO: checking for modf declaration" >&5
85571 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
85572 if test x${glibcxx_cv_func_modf_use+set} != xset; then
85573 if test "${glibcxx_cv_func_modf_use+set}" = set; then
85574 echo $ECHO_N "(cached) $ECHO_C" >&6
85575 else
85579 ac_ext=cc
85580 ac_cpp='$CXXCPP $CPPFLAGS'
85581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85585 cat >conftest.$ac_ext <<_ACEOF
85586 /* confdefs.h. */
85587 _ACEOF
85588 cat confdefs.h >>conftest.$ac_ext
85589 cat >>conftest.$ac_ext <<_ACEOF
85590 /* end confdefs.h. */
85591 #include <math.h>
85593 main ()
85595 modf(0, 0);
85597 return 0;
85599 _ACEOF
85600 rm -f conftest.$ac_objext
85601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85602 (eval $ac_compile) 2>conftest.er1
85603 ac_status=$?
85604 grep -v '^ *+' conftest.er1 >conftest.err
85605 rm -f conftest.er1
85606 cat conftest.err >&5
85607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85608 (exit $ac_status); } &&
85609 { ac_try='test -z "$ac_cxx_werror_flag"
85610 || test ! -s conftest.err'
85611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85612 (eval $ac_try) 2>&5
85613 ac_status=$?
85614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85615 (exit $ac_status); }; } &&
85616 { ac_try='test -s conftest.$ac_objext'
85617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85618 (eval $ac_try) 2>&5
85619 ac_status=$?
85620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85621 (exit $ac_status); }; }; then
85622 glibcxx_cv_func_modf_use=yes
85623 else
85624 echo "$as_me: failed program was:" >&5
85625 sed 's/^/| /' conftest.$ac_ext >&5
85627 glibcxx_cv_func_modf_use=no
85629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85630 ac_ext=c
85631 ac_cpp='$CPP $CPPFLAGS'
85632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
85641 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
85643 if test x$glibcxx_cv_func_modf_use = x"yes"; then
85645 for ac_func in modf
85647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85648 echo "$as_me:$LINENO: checking for $ac_func" >&5
85649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85650 if eval "test \"\${$as_ac_var+set}\" = set"; then
85651 echo $ECHO_N "(cached) $ECHO_C" >&6
85652 else
85653 if test x$gcc_no_link = xyes; then
85654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85656 { (exit 1); exit 1; }; }
85658 cat >conftest.$ac_ext <<_ACEOF
85659 /* confdefs.h. */
85660 _ACEOF
85661 cat confdefs.h >>conftest.$ac_ext
85662 cat >>conftest.$ac_ext <<_ACEOF
85663 /* end confdefs.h. */
85664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85666 #define $ac_func innocuous_$ac_func
85668 /* System header to define __stub macros and hopefully few prototypes,
85669 which can conflict with char $ac_func (); below.
85670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85671 <limits.h> exists even on freestanding compilers. */
85673 #ifdef __STDC__
85674 # include <limits.h>
85675 #else
85676 # include <assert.h>
85677 #endif
85679 #undef $ac_func
85681 /* Override any gcc2 internal prototype to avoid an error. */
85682 #ifdef __cplusplus
85683 extern "C"
85685 #endif
85686 /* We use char because int might match the return type of a gcc2
85687 builtin and then its argument prototype would still apply. */
85688 char $ac_func ();
85689 /* The GNU C library defines this for functions which it implements
85690 to always fail with ENOSYS. Some functions are actually named
85691 something starting with __ and the normal name is an alias. */
85692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85693 choke me
85694 #else
85695 char (*f) () = $ac_func;
85696 #endif
85697 #ifdef __cplusplus
85699 #endif
85702 main ()
85704 return f != $ac_func;
85706 return 0;
85708 _ACEOF
85709 rm -f conftest.$ac_objext conftest$ac_exeext
85710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85711 (eval $ac_link) 2>conftest.er1
85712 ac_status=$?
85713 grep -v '^ *+' conftest.er1 >conftest.err
85714 rm -f conftest.er1
85715 cat conftest.err >&5
85716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85717 (exit $ac_status); } &&
85718 { ac_try='test -z "$ac_c_werror_flag"
85719 || test ! -s conftest.err'
85720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85721 (eval $ac_try) 2>&5
85722 ac_status=$?
85723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85724 (exit $ac_status); }; } &&
85725 { ac_try='test -s conftest$ac_exeext'
85726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85727 (eval $ac_try) 2>&5
85728 ac_status=$?
85729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85730 (exit $ac_status); }; }; then
85731 eval "$as_ac_var=yes"
85732 else
85733 echo "$as_me: failed program was:" >&5
85734 sed 's/^/| /' conftest.$ac_ext >&5
85736 eval "$as_ac_var=no"
85738 rm -f conftest.err conftest.$ac_objext \
85739 conftest$ac_exeext conftest.$ac_ext
85741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85743 if test `eval echo '${'$as_ac_var'}'` = yes; then
85744 cat >>confdefs.h <<_ACEOF
85745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85746 _ACEOF
85749 done
85751 else
85753 echo "$as_me:$LINENO: checking for _modf declaration" >&5
85754 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
85755 if test x${glibcxx_cv_func__modf_use+set} != xset; then
85756 if test "${glibcxx_cv_func__modf_use+set}" = set; then
85757 echo $ECHO_N "(cached) $ECHO_C" >&6
85758 else
85762 ac_ext=cc
85763 ac_cpp='$CXXCPP $CPPFLAGS'
85764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85768 cat >conftest.$ac_ext <<_ACEOF
85769 /* confdefs.h. */
85770 _ACEOF
85771 cat confdefs.h >>conftest.$ac_ext
85772 cat >>conftest.$ac_ext <<_ACEOF
85773 /* end confdefs.h. */
85774 #include <math.h>
85776 main ()
85778 _modf(0, 0);
85780 return 0;
85782 _ACEOF
85783 rm -f conftest.$ac_objext
85784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85785 (eval $ac_compile) 2>conftest.er1
85786 ac_status=$?
85787 grep -v '^ *+' conftest.er1 >conftest.err
85788 rm -f conftest.er1
85789 cat conftest.err >&5
85790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85791 (exit $ac_status); } &&
85792 { ac_try='test -z "$ac_cxx_werror_flag"
85793 || test ! -s conftest.err'
85794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85795 (eval $ac_try) 2>&5
85796 ac_status=$?
85797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85798 (exit $ac_status); }; } &&
85799 { ac_try='test -s conftest.$ac_objext'
85800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85801 (eval $ac_try) 2>&5
85802 ac_status=$?
85803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85804 (exit $ac_status); }; }; then
85805 glibcxx_cv_func__modf_use=yes
85806 else
85807 echo "$as_me: failed program was:" >&5
85808 sed 's/^/| /' conftest.$ac_ext >&5
85810 glibcxx_cv_func__modf_use=no
85812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85813 ac_ext=c
85814 ac_cpp='$CPP $CPPFLAGS'
85815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
85824 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
85826 if test x$glibcxx_cv_func__modf_use = x"yes"; then
85828 for ac_func in _modf
85830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85831 echo "$as_me:$LINENO: checking for $ac_func" >&5
85832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85833 if eval "test \"\${$as_ac_var+set}\" = set"; then
85834 echo $ECHO_N "(cached) $ECHO_C" >&6
85835 else
85836 if test x$gcc_no_link = xyes; then
85837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85839 { (exit 1); exit 1; }; }
85841 cat >conftest.$ac_ext <<_ACEOF
85842 /* confdefs.h. */
85843 _ACEOF
85844 cat confdefs.h >>conftest.$ac_ext
85845 cat >>conftest.$ac_ext <<_ACEOF
85846 /* end confdefs.h. */
85847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85849 #define $ac_func innocuous_$ac_func
85851 /* System header to define __stub macros and hopefully few prototypes,
85852 which can conflict with char $ac_func (); below.
85853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85854 <limits.h> exists even on freestanding compilers. */
85856 #ifdef __STDC__
85857 # include <limits.h>
85858 #else
85859 # include <assert.h>
85860 #endif
85862 #undef $ac_func
85864 /* Override any gcc2 internal prototype to avoid an error. */
85865 #ifdef __cplusplus
85866 extern "C"
85868 #endif
85869 /* We use char because int might match the return type of a gcc2
85870 builtin and then its argument prototype would still apply. */
85871 char $ac_func ();
85872 /* The GNU C library defines this for functions which it implements
85873 to always fail with ENOSYS. Some functions are actually named
85874 something starting with __ and the normal name is an alias. */
85875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85876 choke me
85877 #else
85878 char (*f) () = $ac_func;
85879 #endif
85880 #ifdef __cplusplus
85882 #endif
85885 main ()
85887 return f != $ac_func;
85889 return 0;
85891 _ACEOF
85892 rm -f conftest.$ac_objext conftest$ac_exeext
85893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85894 (eval $ac_link) 2>conftest.er1
85895 ac_status=$?
85896 grep -v '^ *+' conftest.er1 >conftest.err
85897 rm -f conftest.er1
85898 cat conftest.err >&5
85899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85900 (exit $ac_status); } &&
85901 { ac_try='test -z "$ac_c_werror_flag"
85902 || test ! -s conftest.err'
85903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85904 (eval $ac_try) 2>&5
85905 ac_status=$?
85906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85907 (exit $ac_status); }; } &&
85908 { ac_try='test -s conftest$ac_exeext'
85909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85910 (eval $ac_try) 2>&5
85911 ac_status=$?
85912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85913 (exit $ac_status); }; }; then
85914 eval "$as_ac_var=yes"
85915 else
85916 echo "$as_me: failed program was:" >&5
85917 sed 's/^/| /' conftest.$ac_ext >&5
85919 eval "$as_ac_var=no"
85921 rm -f conftest.err conftest.$ac_objext \
85922 conftest$ac_exeext conftest.$ac_ext
85924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85926 if test `eval echo '${'$as_ac_var'}'` = yes; then
85927 cat >>confdefs.h <<_ACEOF
85928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85929 _ACEOF
85932 done
85942 echo "$as_me:$LINENO: checking for powf declaration" >&5
85943 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
85944 if test x${glibcxx_cv_func_powf_use+set} != xset; then
85945 if test "${glibcxx_cv_func_powf_use+set}" = set; then
85946 echo $ECHO_N "(cached) $ECHO_C" >&6
85947 else
85951 ac_ext=cc
85952 ac_cpp='$CXXCPP $CPPFLAGS'
85953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85957 cat >conftest.$ac_ext <<_ACEOF
85958 /* confdefs.h. */
85959 _ACEOF
85960 cat confdefs.h >>conftest.$ac_ext
85961 cat >>conftest.$ac_ext <<_ACEOF
85962 /* end confdefs.h. */
85963 #include <math.h>
85965 main ()
85967 powf(0, 0);
85969 return 0;
85971 _ACEOF
85972 rm -f conftest.$ac_objext
85973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85974 (eval $ac_compile) 2>conftest.er1
85975 ac_status=$?
85976 grep -v '^ *+' conftest.er1 >conftest.err
85977 rm -f conftest.er1
85978 cat conftest.err >&5
85979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85980 (exit $ac_status); } &&
85981 { ac_try='test -z "$ac_cxx_werror_flag"
85982 || test ! -s conftest.err'
85983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85984 (eval $ac_try) 2>&5
85985 ac_status=$?
85986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85987 (exit $ac_status); }; } &&
85988 { ac_try='test -s conftest.$ac_objext'
85989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85990 (eval $ac_try) 2>&5
85991 ac_status=$?
85992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85993 (exit $ac_status); }; }; then
85994 glibcxx_cv_func_powf_use=yes
85995 else
85996 echo "$as_me: failed program was:" >&5
85997 sed 's/^/| /' conftest.$ac_ext >&5
85999 glibcxx_cv_func_powf_use=no
86001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86002 ac_ext=c
86003 ac_cpp='$CPP $CPPFLAGS'
86004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
86013 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
86015 if test x$glibcxx_cv_func_powf_use = x"yes"; then
86017 for ac_func in powf
86019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86020 echo "$as_me:$LINENO: checking for $ac_func" >&5
86021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86022 if eval "test \"\${$as_ac_var+set}\" = set"; then
86023 echo $ECHO_N "(cached) $ECHO_C" >&6
86024 else
86025 if test x$gcc_no_link = xyes; then
86026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86028 { (exit 1); exit 1; }; }
86030 cat >conftest.$ac_ext <<_ACEOF
86031 /* confdefs.h. */
86032 _ACEOF
86033 cat confdefs.h >>conftest.$ac_ext
86034 cat >>conftest.$ac_ext <<_ACEOF
86035 /* end confdefs.h. */
86036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86038 #define $ac_func innocuous_$ac_func
86040 /* System header to define __stub macros and hopefully few prototypes,
86041 which can conflict with char $ac_func (); below.
86042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86043 <limits.h> exists even on freestanding compilers. */
86045 #ifdef __STDC__
86046 # include <limits.h>
86047 #else
86048 # include <assert.h>
86049 #endif
86051 #undef $ac_func
86053 /* Override any gcc2 internal prototype to avoid an error. */
86054 #ifdef __cplusplus
86055 extern "C"
86057 #endif
86058 /* We use char because int might match the return type of a gcc2
86059 builtin and then its argument prototype would still apply. */
86060 char $ac_func ();
86061 /* The GNU C library defines this for functions which it implements
86062 to always fail with ENOSYS. Some functions are actually named
86063 something starting with __ and the normal name is an alias. */
86064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86065 choke me
86066 #else
86067 char (*f) () = $ac_func;
86068 #endif
86069 #ifdef __cplusplus
86071 #endif
86074 main ()
86076 return f != $ac_func;
86078 return 0;
86080 _ACEOF
86081 rm -f conftest.$ac_objext conftest$ac_exeext
86082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86083 (eval $ac_link) 2>conftest.er1
86084 ac_status=$?
86085 grep -v '^ *+' conftest.er1 >conftest.err
86086 rm -f conftest.er1
86087 cat conftest.err >&5
86088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86089 (exit $ac_status); } &&
86090 { ac_try='test -z "$ac_c_werror_flag"
86091 || test ! -s conftest.err'
86092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86093 (eval $ac_try) 2>&5
86094 ac_status=$?
86095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86096 (exit $ac_status); }; } &&
86097 { ac_try='test -s conftest$ac_exeext'
86098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86099 (eval $ac_try) 2>&5
86100 ac_status=$?
86101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86102 (exit $ac_status); }; }; then
86103 eval "$as_ac_var=yes"
86104 else
86105 echo "$as_me: failed program was:" >&5
86106 sed 's/^/| /' conftest.$ac_ext >&5
86108 eval "$as_ac_var=no"
86110 rm -f conftest.err conftest.$ac_objext \
86111 conftest$ac_exeext conftest.$ac_ext
86113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86115 if test `eval echo '${'$as_ac_var'}'` = yes; then
86116 cat >>confdefs.h <<_ACEOF
86117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86118 _ACEOF
86121 done
86123 else
86125 echo "$as_me:$LINENO: checking for _powf declaration" >&5
86126 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
86127 if test x${glibcxx_cv_func__powf_use+set} != xset; then
86128 if test "${glibcxx_cv_func__powf_use+set}" = set; then
86129 echo $ECHO_N "(cached) $ECHO_C" >&6
86130 else
86134 ac_ext=cc
86135 ac_cpp='$CXXCPP $CPPFLAGS'
86136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86140 cat >conftest.$ac_ext <<_ACEOF
86141 /* confdefs.h. */
86142 _ACEOF
86143 cat confdefs.h >>conftest.$ac_ext
86144 cat >>conftest.$ac_ext <<_ACEOF
86145 /* end confdefs.h. */
86146 #include <math.h>
86148 main ()
86150 _powf(0, 0);
86152 return 0;
86154 _ACEOF
86155 rm -f conftest.$ac_objext
86156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86157 (eval $ac_compile) 2>conftest.er1
86158 ac_status=$?
86159 grep -v '^ *+' conftest.er1 >conftest.err
86160 rm -f conftest.er1
86161 cat conftest.err >&5
86162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86163 (exit $ac_status); } &&
86164 { ac_try='test -z "$ac_cxx_werror_flag"
86165 || test ! -s conftest.err'
86166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86167 (eval $ac_try) 2>&5
86168 ac_status=$?
86169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86170 (exit $ac_status); }; } &&
86171 { ac_try='test -s conftest.$ac_objext'
86172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86173 (eval $ac_try) 2>&5
86174 ac_status=$?
86175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86176 (exit $ac_status); }; }; then
86177 glibcxx_cv_func__powf_use=yes
86178 else
86179 echo "$as_me: failed program was:" >&5
86180 sed 's/^/| /' conftest.$ac_ext >&5
86182 glibcxx_cv_func__powf_use=no
86184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86185 ac_ext=c
86186 ac_cpp='$CPP $CPPFLAGS'
86187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
86196 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
86198 if test x$glibcxx_cv_func__powf_use = x"yes"; then
86200 for ac_func in _powf
86202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86203 echo "$as_me:$LINENO: checking for $ac_func" >&5
86204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86205 if eval "test \"\${$as_ac_var+set}\" = set"; then
86206 echo $ECHO_N "(cached) $ECHO_C" >&6
86207 else
86208 if test x$gcc_no_link = xyes; then
86209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86211 { (exit 1); exit 1; }; }
86213 cat >conftest.$ac_ext <<_ACEOF
86214 /* confdefs.h. */
86215 _ACEOF
86216 cat confdefs.h >>conftest.$ac_ext
86217 cat >>conftest.$ac_ext <<_ACEOF
86218 /* end confdefs.h. */
86219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86221 #define $ac_func innocuous_$ac_func
86223 /* System header to define __stub macros and hopefully few prototypes,
86224 which can conflict with char $ac_func (); below.
86225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86226 <limits.h> exists even on freestanding compilers. */
86228 #ifdef __STDC__
86229 # include <limits.h>
86230 #else
86231 # include <assert.h>
86232 #endif
86234 #undef $ac_func
86236 /* Override any gcc2 internal prototype to avoid an error. */
86237 #ifdef __cplusplus
86238 extern "C"
86240 #endif
86241 /* We use char because int might match the return type of a gcc2
86242 builtin and then its argument prototype would still apply. */
86243 char $ac_func ();
86244 /* The GNU C library defines this for functions which it implements
86245 to always fail with ENOSYS. Some functions are actually named
86246 something starting with __ and the normal name is an alias. */
86247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86248 choke me
86249 #else
86250 char (*f) () = $ac_func;
86251 #endif
86252 #ifdef __cplusplus
86254 #endif
86257 main ()
86259 return f != $ac_func;
86261 return 0;
86263 _ACEOF
86264 rm -f conftest.$ac_objext conftest$ac_exeext
86265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86266 (eval $ac_link) 2>conftest.er1
86267 ac_status=$?
86268 grep -v '^ *+' conftest.er1 >conftest.err
86269 rm -f conftest.er1
86270 cat conftest.err >&5
86271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86272 (exit $ac_status); } &&
86273 { ac_try='test -z "$ac_c_werror_flag"
86274 || test ! -s conftest.err'
86275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86276 (eval $ac_try) 2>&5
86277 ac_status=$?
86278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86279 (exit $ac_status); }; } &&
86280 { ac_try='test -s conftest$ac_exeext'
86281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86282 (eval $ac_try) 2>&5
86283 ac_status=$?
86284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86285 (exit $ac_status); }; }; then
86286 eval "$as_ac_var=yes"
86287 else
86288 echo "$as_me: failed program was:" >&5
86289 sed 's/^/| /' conftest.$ac_ext >&5
86291 eval "$as_ac_var=no"
86293 rm -f conftest.err conftest.$ac_objext \
86294 conftest$ac_exeext conftest.$ac_ext
86296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86298 if test `eval echo '${'$as_ac_var'}'` = yes; then
86299 cat >>confdefs.h <<_ACEOF
86300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86301 _ACEOF
86304 done
86314 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
86315 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
86316 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
86317 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
86318 echo $ECHO_N "(cached) $ECHO_C" >&6
86319 else
86323 ac_ext=cc
86324 ac_cpp='$CXXCPP $CPPFLAGS'
86325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86329 cat >conftest.$ac_ext <<_ACEOF
86330 /* confdefs.h. */
86331 _ACEOF
86332 cat confdefs.h >>conftest.$ac_ext
86333 cat >>conftest.$ac_ext <<_ACEOF
86334 /* end confdefs.h. */
86335 #include <math.h>
86336 #ifdef HAVE_IEEEFP_H
86337 #include <ieeefp.h>
86338 #endif
86341 main ()
86343 sqrtf(0);
86345 return 0;
86347 _ACEOF
86348 rm -f conftest.$ac_objext
86349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86350 (eval $ac_compile) 2>conftest.er1
86351 ac_status=$?
86352 grep -v '^ *+' conftest.er1 >conftest.err
86353 rm -f conftest.er1
86354 cat conftest.err >&5
86355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86356 (exit $ac_status); } &&
86357 { ac_try='test -z "$ac_cxx_werror_flag"
86358 || test ! -s conftest.err'
86359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86360 (eval $ac_try) 2>&5
86361 ac_status=$?
86362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86363 (exit $ac_status); }; } &&
86364 { ac_try='test -s conftest.$ac_objext'
86365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86366 (eval $ac_try) 2>&5
86367 ac_status=$?
86368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86369 (exit $ac_status); }; }; then
86370 glibcxx_cv_func_sqrtf_use=yes
86371 else
86372 echo "$as_me: failed program was:" >&5
86373 sed 's/^/| /' conftest.$ac_ext >&5
86375 glibcxx_cv_func_sqrtf_use=no
86377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86378 ac_ext=c
86379 ac_cpp='$CPP $CPPFLAGS'
86380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
86389 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
86391 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
86393 for ac_func in sqrtf
86395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86396 echo "$as_me:$LINENO: checking for $ac_func" >&5
86397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86398 if eval "test \"\${$as_ac_var+set}\" = set"; then
86399 echo $ECHO_N "(cached) $ECHO_C" >&6
86400 else
86401 if test x$gcc_no_link = xyes; then
86402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86404 { (exit 1); exit 1; }; }
86406 cat >conftest.$ac_ext <<_ACEOF
86407 /* confdefs.h. */
86408 _ACEOF
86409 cat confdefs.h >>conftest.$ac_ext
86410 cat >>conftest.$ac_ext <<_ACEOF
86411 /* end confdefs.h. */
86412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86414 #define $ac_func innocuous_$ac_func
86416 /* System header to define __stub macros and hopefully few prototypes,
86417 which can conflict with char $ac_func (); below.
86418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86419 <limits.h> exists even on freestanding compilers. */
86421 #ifdef __STDC__
86422 # include <limits.h>
86423 #else
86424 # include <assert.h>
86425 #endif
86427 #undef $ac_func
86429 /* Override any gcc2 internal prototype to avoid an error. */
86430 #ifdef __cplusplus
86431 extern "C"
86433 #endif
86434 /* We use char because int might match the return type of a gcc2
86435 builtin and then its argument prototype would still apply. */
86436 char $ac_func ();
86437 /* The GNU C library defines this for functions which it implements
86438 to always fail with ENOSYS. Some functions are actually named
86439 something starting with __ and the normal name is an alias. */
86440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86441 choke me
86442 #else
86443 char (*f) () = $ac_func;
86444 #endif
86445 #ifdef __cplusplus
86447 #endif
86450 main ()
86452 return f != $ac_func;
86454 return 0;
86456 _ACEOF
86457 rm -f conftest.$ac_objext conftest$ac_exeext
86458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86459 (eval $ac_link) 2>conftest.er1
86460 ac_status=$?
86461 grep -v '^ *+' conftest.er1 >conftest.err
86462 rm -f conftest.er1
86463 cat conftest.err >&5
86464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86465 (exit $ac_status); } &&
86466 { ac_try='test -z "$ac_c_werror_flag"
86467 || test ! -s conftest.err'
86468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86469 (eval $ac_try) 2>&5
86470 ac_status=$?
86471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86472 (exit $ac_status); }; } &&
86473 { ac_try='test -s conftest$ac_exeext'
86474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86475 (eval $ac_try) 2>&5
86476 ac_status=$?
86477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86478 (exit $ac_status); }; }; then
86479 eval "$as_ac_var=yes"
86480 else
86481 echo "$as_me: failed program was:" >&5
86482 sed 's/^/| /' conftest.$ac_ext >&5
86484 eval "$as_ac_var=no"
86486 rm -f conftest.err conftest.$ac_objext \
86487 conftest$ac_exeext conftest.$ac_ext
86489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86491 if test `eval echo '${'$as_ac_var'}'` = yes; then
86492 cat >>confdefs.h <<_ACEOF
86493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86494 _ACEOF
86497 done
86499 else
86501 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
86502 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
86503 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
86504 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
86505 echo $ECHO_N "(cached) $ECHO_C" >&6
86506 else
86510 ac_ext=cc
86511 ac_cpp='$CXXCPP $CPPFLAGS'
86512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86516 cat >conftest.$ac_ext <<_ACEOF
86517 /* confdefs.h. */
86518 _ACEOF
86519 cat confdefs.h >>conftest.$ac_ext
86520 cat >>conftest.$ac_ext <<_ACEOF
86521 /* end confdefs.h. */
86522 #include <math.h>
86523 #ifdef HAVE_IEEEFP_H
86524 #include <ieeefp.h>
86525 #endif
86528 main ()
86530 _sqrtf(0);
86532 return 0;
86534 _ACEOF
86535 rm -f conftest.$ac_objext
86536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86537 (eval $ac_compile) 2>conftest.er1
86538 ac_status=$?
86539 grep -v '^ *+' conftest.er1 >conftest.err
86540 rm -f conftest.er1
86541 cat conftest.err >&5
86542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86543 (exit $ac_status); } &&
86544 { ac_try='test -z "$ac_cxx_werror_flag"
86545 || test ! -s conftest.err'
86546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86547 (eval $ac_try) 2>&5
86548 ac_status=$?
86549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86550 (exit $ac_status); }; } &&
86551 { ac_try='test -s conftest.$ac_objext'
86552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86553 (eval $ac_try) 2>&5
86554 ac_status=$?
86555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86556 (exit $ac_status); }; }; then
86557 glibcxx_cv_func__sqrtf_use=yes
86558 else
86559 echo "$as_me: failed program was:" >&5
86560 sed 's/^/| /' conftest.$ac_ext >&5
86562 glibcxx_cv_func__sqrtf_use=no
86564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86565 ac_ext=c
86566 ac_cpp='$CPP $CPPFLAGS'
86567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
86576 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
86578 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
86580 for ac_func in _sqrtf
86582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86583 echo "$as_me:$LINENO: checking for $ac_func" >&5
86584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86585 if eval "test \"\${$as_ac_var+set}\" = set"; then
86586 echo $ECHO_N "(cached) $ECHO_C" >&6
86587 else
86588 if test x$gcc_no_link = xyes; then
86589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86591 { (exit 1); exit 1; }; }
86593 cat >conftest.$ac_ext <<_ACEOF
86594 /* confdefs.h. */
86595 _ACEOF
86596 cat confdefs.h >>conftest.$ac_ext
86597 cat >>conftest.$ac_ext <<_ACEOF
86598 /* end confdefs.h. */
86599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86601 #define $ac_func innocuous_$ac_func
86603 /* System header to define __stub macros and hopefully few prototypes,
86604 which can conflict with char $ac_func (); below.
86605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86606 <limits.h> exists even on freestanding compilers. */
86608 #ifdef __STDC__
86609 # include <limits.h>
86610 #else
86611 # include <assert.h>
86612 #endif
86614 #undef $ac_func
86616 /* Override any gcc2 internal prototype to avoid an error. */
86617 #ifdef __cplusplus
86618 extern "C"
86620 #endif
86621 /* We use char because int might match the return type of a gcc2
86622 builtin and then its argument prototype would still apply. */
86623 char $ac_func ();
86624 /* The GNU C library defines this for functions which it implements
86625 to always fail with ENOSYS. Some functions are actually named
86626 something starting with __ and the normal name is an alias. */
86627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86628 choke me
86629 #else
86630 char (*f) () = $ac_func;
86631 #endif
86632 #ifdef __cplusplus
86634 #endif
86637 main ()
86639 return f != $ac_func;
86641 return 0;
86643 _ACEOF
86644 rm -f conftest.$ac_objext conftest$ac_exeext
86645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86646 (eval $ac_link) 2>conftest.er1
86647 ac_status=$?
86648 grep -v '^ *+' conftest.er1 >conftest.err
86649 rm -f conftest.er1
86650 cat conftest.err >&5
86651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86652 (exit $ac_status); } &&
86653 { ac_try='test -z "$ac_c_werror_flag"
86654 || test ! -s conftest.err'
86655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86656 (eval $ac_try) 2>&5
86657 ac_status=$?
86658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86659 (exit $ac_status); }; } &&
86660 { ac_try='test -s conftest$ac_exeext'
86661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86662 (eval $ac_try) 2>&5
86663 ac_status=$?
86664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86665 (exit $ac_status); }; }; then
86666 eval "$as_ac_var=yes"
86667 else
86668 echo "$as_me: failed program was:" >&5
86669 sed 's/^/| /' conftest.$ac_ext >&5
86671 eval "$as_ac_var=no"
86673 rm -f conftest.err conftest.$ac_objext \
86674 conftest$ac_exeext conftest.$ac_ext
86676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86678 if test `eval echo '${'$as_ac_var'}'` = yes; then
86679 cat >>confdefs.h <<_ACEOF
86680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86681 _ACEOF
86684 done
86694 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
86695 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
86696 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
86697 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
86698 echo $ECHO_N "(cached) $ECHO_C" >&6
86699 else
86703 ac_ext=cc
86704 ac_cpp='$CXXCPP $CPPFLAGS'
86705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86709 cat >conftest.$ac_ext <<_ACEOF
86710 /* confdefs.h. */
86711 _ACEOF
86712 cat confdefs.h >>conftest.$ac_ext
86713 cat >>conftest.$ac_ext <<_ACEOF
86714 /* end confdefs.h. */
86715 #include <math.h>
86717 main ()
86719 sincosf(0, 0, 0);
86721 return 0;
86723 _ACEOF
86724 rm -f conftest.$ac_objext
86725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86726 (eval $ac_compile) 2>conftest.er1
86727 ac_status=$?
86728 grep -v '^ *+' conftest.er1 >conftest.err
86729 rm -f conftest.er1
86730 cat conftest.err >&5
86731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86732 (exit $ac_status); } &&
86733 { ac_try='test -z "$ac_cxx_werror_flag"
86734 || test ! -s conftest.err'
86735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86736 (eval $ac_try) 2>&5
86737 ac_status=$?
86738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86739 (exit $ac_status); }; } &&
86740 { ac_try='test -s conftest.$ac_objext'
86741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86742 (eval $ac_try) 2>&5
86743 ac_status=$?
86744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86745 (exit $ac_status); }; }; then
86746 glibcxx_cv_func_sincosf_use=yes
86747 else
86748 echo "$as_me: failed program was:" >&5
86749 sed 's/^/| /' conftest.$ac_ext >&5
86751 glibcxx_cv_func_sincosf_use=no
86753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86754 ac_ext=c
86755 ac_cpp='$CPP $CPPFLAGS'
86756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
86765 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
86767 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
86769 for ac_func in sincosf
86771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86772 echo "$as_me:$LINENO: checking for $ac_func" >&5
86773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86774 if eval "test \"\${$as_ac_var+set}\" = set"; then
86775 echo $ECHO_N "(cached) $ECHO_C" >&6
86776 else
86777 if test x$gcc_no_link = xyes; then
86778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86780 { (exit 1); exit 1; }; }
86782 cat >conftest.$ac_ext <<_ACEOF
86783 /* confdefs.h. */
86784 _ACEOF
86785 cat confdefs.h >>conftest.$ac_ext
86786 cat >>conftest.$ac_ext <<_ACEOF
86787 /* end confdefs.h. */
86788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86790 #define $ac_func innocuous_$ac_func
86792 /* System header to define __stub macros and hopefully few prototypes,
86793 which can conflict with char $ac_func (); below.
86794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86795 <limits.h> exists even on freestanding compilers. */
86797 #ifdef __STDC__
86798 # include <limits.h>
86799 #else
86800 # include <assert.h>
86801 #endif
86803 #undef $ac_func
86805 /* Override any gcc2 internal prototype to avoid an error. */
86806 #ifdef __cplusplus
86807 extern "C"
86809 #endif
86810 /* We use char because int might match the return type of a gcc2
86811 builtin and then its argument prototype would still apply. */
86812 char $ac_func ();
86813 /* The GNU C library defines this for functions which it implements
86814 to always fail with ENOSYS. Some functions are actually named
86815 something starting with __ and the normal name is an alias. */
86816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86817 choke me
86818 #else
86819 char (*f) () = $ac_func;
86820 #endif
86821 #ifdef __cplusplus
86823 #endif
86826 main ()
86828 return f != $ac_func;
86830 return 0;
86832 _ACEOF
86833 rm -f conftest.$ac_objext conftest$ac_exeext
86834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86835 (eval $ac_link) 2>conftest.er1
86836 ac_status=$?
86837 grep -v '^ *+' conftest.er1 >conftest.err
86838 rm -f conftest.er1
86839 cat conftest.err >&5
86840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86841 (exit $ac_status); } &&
86842 { ac_try='test -z "$ac_c_werror_flag"
86843 || test ! -s conftest.err'
86844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86845 (eval $ac_try) 2>&5
86846 ac_status=$?
86847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86848 (exit $ac_status); }; } &&
86849 { ac_try='test -s conftest$ac_exeext'
86850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86851 (eval $ac_try) 2>&5
86852 ac_status=$?
86853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86854 (exit $ac_status); }; }; then
86855 eval "$as_ac_var=yes"
86856 else
86857 echo "$as_me: failed program was:" >&5
86858 sed 's/^/| /' conftest.$ac_ext >&5
86860 eval "$as_ac_var=no"
86862 rm -f conftest.err conftest.$ac_objext \
86863 conftest$ac_exeext conftest.$ac_ext
86865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86867 if test `eval echo '${'$as_ac_var'}'` = yes; then
86868 cat >>confdefs.h <<_ACEOF
86869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86870 _ACEOF
86873 done
86875 else
86877 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
86878 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
86879 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
86880 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
86881 echo $ECHO_N "(cached) $ECHO_C" >&6
86882 else
86886 ac_ext=cc
86887 ac_cpp='$CXXCPP $CPPFLAGS'
86888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86892 cat >conftest.$ac_ext <<_ACEOF
86893 /* confdefs.h. */
86894 _ACEOF
86895 cat confdefs.h >>conftest.$ac_ext
86896 cat >>conftest.$ac_ext <<_ACEOF
86897 /* end confdefs.h. */
86898 #include <math.h>
86900 main ()
86902 _sincosf(0, 0, 0);
86904 return 0;
86906 _ACEOF
86907 rm -f conftest.$ac_objext
86908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86909 (eval $ac_compile) 2>conftest.er1
86910 ac_status=$?
86911 grep -v '^ *+' conftest.er1 >conftest.err
86912 rm -f conftest.er1
86913 cat conftest.err >&5
86914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86915 (exit $ac_status); } &&
86916 { ac_try='test -z "$ac_cxx_werror_flag"
86917 || test ! -s conftest.err'
86918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86919 (eval $ac_try) 2>&5
86920 ac_status=$?
86921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86922 (exit $ac_status); }; } &&
86923 { ac_try='test -s conftest.$ac_objext'
86924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86925 (eval $ac_try) 2>&5
86926 ac_status=$?
86927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86928 (exit $ac_status); }; }; then
86929 glibcxx_cv_func__sincosf_use=yes
86930 else
86931 echo "$as_me: failed program was:" >&5
86932 sed 's/^/| /' conftest.$ac_ext >&5
86934 glibcxx_cv_func__sincosf_use=no
86936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86937 ac_ext=c
86938 ac_cpp='$CPP $CPPFLAGS'
86939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
86948 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
86950 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
86952 for ac_func in _sincosf
86954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86955 echo "$as_me:$LINENO: checking for $ac_func" >&5
86956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86957 if eval "test \"\${$as_ac_var+set}\" = set"; then
86958 echo $ECHO_N "(cached) $ECHO_C" >&6
86959 else
86960 if test x$gcc_no_link = xyes; then
86961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86963 { (exit 1); exit 1; }; }
86965 cat >conftest.$ac_ext <<_ACEOF
86966 /* confdefs.h. */
86967 _ACEOF
86968 cat confdefs.h >>conftest.$ac_ext
86969 cat >>conftest.$ac_ext <<_ACEOF
86970 /* end confdefs.h. */
86971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86973 #define $ac_func innocuous_$ac_func
86975 /* System header to define __stub macros and hopefully few prototypes,
86976 which can conflict with char $ac_func (); below.
86977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86978 <limits.h> exists even on freestanding compilers. */
86980 #ifdef __STDC__
86981 # include <limits.h>
86982 #else
86983 # include <assert.h>
86984 #endif
86986 #undef $ac_func
86988 /* Override any gcc2 internal prototype to avoid an error. */
86989 #ifdef __cplusplus
86990 extern "C"
86992 #endif
86993 /* We use char because int might match the return type of a gcc2
86994 builtin and then its argument prototype would still apply. */
86995 char $ac_func ();
86996 /* The GNU C library defines this for functions which it implements
86997 to always fail with ENOSYS. Some functions are actually named
86998 something starting with __ and the normal name is an alias. */
86999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87000 choke me
87001 #else
87002 char (*f) () = $ac_func;
87003 #endif
87004 #ifdef __cplusplus
87006 #endif
87009 main ()
87011 return f != $ac_func;
87013 return 0;
87015 _ACEOF
87016 rm -f conftest.$ac_objext conftest$ac_exeext
87017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87018 (eval $ac_link) 2>conftest.er1
87019 ac_status=$?
87020 grep -v '^ *+' conftest.er1 >conftest.err
87021 rm -f conftest.er1
87022 cat conftest.err >&5
87023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87024 (exit $ac_status); } &&
87025 { ac_try='test -z "$ac_c_werror_flag"
87026 || test ! -s conftest.err'
87027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87028 (eval $ac_try) 2>&5
87029 ac_status=$?
87030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87031 (exit $ac_status); }; } &&
87032 { ac_try='test -s conftest$ac_exeext'
87033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87034 (eval $ac_try) 2>&5
87035 ac_status=$?
87036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87037 (exit $ac_status); }; }; then
87038 eval "$as_ac_var=yes"
87039 else
87040 echo "$as_me: failed program was:" >&5
87041 sed 's/^/| /' conftest.$ac_ext >&5
87043 eval "$as_ac_var=no"
87045 rm -f conftest.err conftest.$ac_objext \
87046 conftest$ac_exeext conftest.$ac_ext
87048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87050 if test `eval echo '${'$as_ac_var'}'` = yes; then
87051 cat >>confdefs.h <<_ACEOF
87052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87053 _ACEOF
87056 done
87066 echo "$as_me:$LINENO: checking for finitef declaration" >&5
87067 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
87068 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
87069 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
87070 echo $ECHO_N "(cached) $ECHO_C" >&6
87071 else
87075 ac_ext=cc
87076 ac_cpp='$CXXCPP $CPPFLAGS'
87077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87081 cat >conftest.$ac_ext <<_ACEOF
87082 /* confdefs.h. */
87083 _ACEOF
87084 cat confdefs.h >>conftest.$ac_ext
87085 cat >>conftest.$ac_ext <<_ACEOF
87086 /* end confdefs.h. */
87087 #include <math.h>
87088 #ifdef HAVE_IEEEFP_H
87089 #include <ieeefp.h>
87090 #endif
87093 main ()
87095 finitef(0);
87097 return 0;
87099 _ACEOF
87100 rm -f conftest.$ac_objext
87101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87102 (eval $ac_compile) 2>conftest.er1
87103 ac_status=$?
87104 grep -v '^ *+' conftest.er1 >conftest.err
87105 rm -f conftest.er1
87106 cat conftest.err >&5
87107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87108 (exit $ac_status); } &&
87109 { ac_try='test -z "$ac_cxx_werror_flag"
87110 || test ! -s conftest.err'
87111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87112 (eval $ac_try) 2>&5
87113 ac_status=$?
87114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87115 (exit $ac_status); }; } &&
87116 { ac_try='test -s conftest.$ac_objext'
87117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87118 (eval $ac_try) 2>&5
87119 ac_status=$?
87120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87121 (exit $ac_status); }; }; then
87122 glibcxx_cv_func_finitef_use=yes
87123 else
87124 echo "$as_me: failed program was:" >&5
87125 sed 's/^/| /' conftest.$ac_ext >&5
87127 glibcxx_cv_func_finitef_use=no
87129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87130 ac_ext=c
87131 ac_cpp='$CPP $CPPFLAGS'
87132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
87141 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
87143 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
87145 for ac_func in finitef
87147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87148 echo "$as_me:$LINENO: checking for $ac_func" >&5
87149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87150 if eval "test \"\${$as_ac_var+set}\" = set"; then
87151 echo $ECHO_N "(cached) $ECHO_C" >&6
87152 else
87153 if test x$gcc_no_link = xyes; then
87154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87156 { (exit 1); exit 1; }; }
87158 cat >conftest.$ac_ext <<_ACEOF
87159 /* confdefs.h. */
87160 _ACEOF
87161 cat confdefs.h >>conftest.$ac_ext
87162 cat >>conftest.$ac_ext <<_ACEOF
87163 /* end confdefs.h. */
87164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87166 #define $ac_func innocuous_$ac_func
87168 /* System header to define __stub macros and hopefully few prototypes,
87169 which can conflict with char $ac_func (); below.
87170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87171 <limits.h> exists even on freestanding compilers. */
87173 #ifdef __STDC__
87174 # include <limits.h>
87175 #else
87176 # include <assert.h>
87177 #endif
87179 #undef $ac_func
87181 /* Override any gcc2 internal prototype to avoid an error. */
87182 #ifdef __cplusplus
87183 extern "C"
87185 #endif
87186 /* We use char because int might match the return type of a gcc2
87187 builtin and then its argument prototype would still apply. */
87188 char $ac_func ();
87189 /* The GNU C library defines this for functions which it implements
87190 to always fail with ENOSYS. Some functions are actually named
87191 something starting with __ and the normal name is an alias. */
87192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87193 choke me
87194 #else
87195 char (*f) () = $ac_func;
87196 #endif
87197 #ifdef __cplusplus
87199 #endif
87202 main ()
87204 return f != $ac_func;
87206 return 0;
87208 _ACEOF
87209 rm -f conftest.$ac_objext conftest$ac_exeext
87210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87211 (eval $ac_link) 2>conftest.er1
87212 ac_status=$?
87213 grep -v '^ *+' conftest.er1 >conftest.err
87214 rm -f conftest.er1
87215 cat conftest.err >&5
87216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87217 (exit $ac_status); } &&
87218 { ac_try='test -z "$ac_c_werror_flag"
87219 || test ! -s conftest.err'
87220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87221 (eval $ac_try) 2>&5
87222 ac_status=$?
87223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87224 (exit $ac_status); }; } &&
87225 { ac_try='test -s conftest$ac_exeext'
87226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87227 (eval $ac_try) 2>&5
87228 ac_status=$?
87229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87230 (exit $ac_status); }; }; then
87231 eval "$as_ac_var=yes"
87232 else
87233 echo "$as_me: failed program was:" >&5
87234 sed 's/^/| /' conftest.$ac_ext >&5
87236 eval "$as_ac_var=no"
87238 rm -f conftest.err conftest.$ac_objext \
87239 conftest$ac_exeext conftest.$ac_ext
87241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87243 if test `eval echo '${'$as_ac_var'}'` = yes; then
87244 cat >>confdefs.h <<_ACEOF
87245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87246 _ACEOF
87249 done
87251 else
87253 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
87254 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
87255 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
87256 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
87257 echo $ECHO_N "(cached) $ECHO_C" >&6
87258 else
87262 ac_ext=cc
87263 ac_cpp='$CXXCPP $CPPFLAGS'
87264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87268 cat >conftest.$ac_ext <<_ACEOF
87269 /* confdefs.h. */
87270 _ACEOF
87271 cat confdefs.h >>conftest.$ac_ext
87272 cat >>conftest.$ac_ext <<_ACEOF
87273 /* end confdefs.h. */
87274 #include <math.h>
87275 #ifdef HAVE_IEEEFP_H
87276 #include <ieeefp.h>
87277 #endif
87280 main ()
87282 _finitef(0);
87284 return 0;
87286 _ACEOF
87287 rm -f conftest.$ac_objext
87288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87289 (eval $ac_compile) 2>conftest.er1
87290 ac_status=$?
87291 grep -v '^ *+' conftest.er1 >conftest.err
87292 rm -f conftest.er1
87293 cat conftest.err >&5
87294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87295 (exit $ac_status); } &&
87296 { ac_try='test -z "$ac_cxx_werror_flag"
87297 || test ! -s conftest.err'
87298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87299 (eval $ac_try) 2>&5
87300 ac_status=$?
87301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87302 (exit $ac_status); }; } &&
87303 { ac_try='test -s conftest.$ac_objext'
87304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87305 (eval $ac_try) 2>&5
87306 ac_status=$?
87307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87308 (exit $ac_status); }; }; then
87309 glibcxx_cv_func__finitef_use=yes
87310 else
87311 echo "$as_me: failed program was:" >&5
87312 sed 's/^/| /' conftest.$ac_ext >&5
87314 glibcxx_cv_func__finitef_use=no
87316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87317 ac_ext=c
87318 ac_cpp='$CPP $CPPFLAGS'
87319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
87328 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
87330 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
87332 for ac_func in _finitef
87334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87335 echo "$as_me:$LINENO: checking for $ac_func" >&5
87336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87337 if eval "test \"\${$as_ac_var+set}\" = set"; then
87338 echo $ECHO_N "(cached) $ECHO_C" >&6
87339 else
87340 if test x$gcc_no_link = xyes; then
87341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87343 { (exit 1); exit 1; }; }
87345 cat >conftest.$ac_ext <<_ACEOF
87346 /* confdefs.h. */
87347 _ACEOF
87348 cat confdefs.h >>conftest.$ac_ext
87349 cat >>conftest.$ac_ext <<_ACEOF
87350 /* end confdefs.h. */
87351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87353 #define $ac_func innocuous_$ac_func
87355 /* System header to define __stub macros and hopefully few prototypes,
87356 which can conflict with char $ac_func (); below.
87357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87358 <limits.h> exists even on freestanding compilers. */
87360 #ifdef __STDC__
87361 # include <limits.h>
87362 #else
87363 # include <assert.h>
87364 #endif
87366 #undef $ac_func
87368 /* Override any gcc2 internal prototype to avoid an error. */
87369 #ifdef __cplusplus
87370 extern "C"
87372 #endif
87373 /* We use char because int might match the return type of a gcc2
87374 builtin and then its argument prototype would still apply. */
87375 char $ac_func ();
87376 /* The GNU C library defines this for functions which it implements
87377 to always fail with ENOSYS. Some functions are actually named
87378 something starting with __ and the normal name is an alias. */
87379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87380 choke me
87381 #else
87382 char (*f) () = $ac_func;
87383 #endif
87384 #ifdef __cplusplus
87386 #endif
87389 main ()
87391 return f != $ac_func;
87393 return 0;
87395 _ACEOF
87396 rm -f conftest.$ac_objext conftest$ac_exeext
87397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87398 (eval $ac_link) 2>conftest.er1
87399 ac_status=$?
87400 grep -v '^ *+' conftest.er1 >conftest.err
87401 rm -f conftest.er1
87402 cat conftest.err >&5
87403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87404 (exit $ac_status); } &&
87405 { ac_try='test -z "$ac_c_werror_flag"
87406 || test ! -s conftest.err'
87407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87408 (eval $ac_try) 2>&5
87409 ac_status=$?
87410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87411 (exit $ac_status); }; } &&
87412 { ac_try='test -s conftest$ac_exeext'
87413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87414 (eval $ac_try) 2>&5
87415 ac_status=$?
87416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87417 (exit $ac_status); }; }; then
87418 eval "$as_ac_var=yes"
87419 else
87420 echo "$as_me: failed program was:" >&5
87421 sed 's/^/| /' conftest.$ac_ext >&5
87423 eval "$as_ac_var=no"
87425 rm -f conftest.err conftest.$ac_objext \
87426 conftest$ac_exeext conftest.$ac_ext
87428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87430 if test `eval echo '${'$as_ac_var'}'` = yes; then
87431 cat >>confdefs.h <<_ACEOF
87432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87433 _ACEOF
87436 done
87446 echo "$as_me:$LINENO: checking for long double trig functions" >&5
87447 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
87448 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
87449 echo $ECHO_N "(cached) $ECHO_C" >&6
87450 else
87454 ac_ext=cc
87455 ac_cpp='$CXXCPP $CPPFLAGS'
87456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87460 cat >conftest.$ac_ext <<_ACEOF
87461 /* confdefs.h. */
87462 _ACEOF
87463 cat confdefs.h >>conftest.$ac_ext
87464 cat >>conftest.$ac_ext <<_ACEOF
87465 /* end confdefs.h. */
87466 #include <math.h>
87468 main ()
87470 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
87472 return 0;
87474 _ACEOF
87475 rm -f conftest.$ac_objext
87476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87477 (eval $ac_compile) 2>conftest.er1
87478 ac_status=$?
87479 grep -v '^ *+' conftest.er1 >conftest.err
87480 rm -f conftest.er1
87481 cat conftest.err >&5
87482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87483 (exit $ac_status); } &&
87484 { ac_try='test -z "$ac_cxx_werror_flag"
87485 || test ! -s conftest.err'
87486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87487 (eval $ac_try) 2>&5
87488 ac_status=$?
87489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87490 (exit $ac_status); }; } &&
87491 { ac_try='test -s conftest.$ac_objext'
87492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87493 (eval $ac_try) 2>&5
87494 ac_status=$?
87495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87496 (exit $ac_status); }; }; then
87497 glibcxx_cv_func_long_double_trig_use=yes
87498 else
87499 echo "$as_me: failed program was:" >&5
87500 sed 's/^/| /' conftest.$ac_ext >&5
87502 glibcxx_cv_func_long_double_trig_use=no
87504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87505 ac_ext=c
87506 ac_cpp='$CPP $CPPFLAGS'
87507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
87514 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
87515 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
87525 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
87527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87528 echo "$as_me:$LINENO: checking for $ac_func" >&5
87529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87530 if eval "test \"\${$as_ac_var+set}\" = set"; then
87531 echo $ECHO_N "(cached) $ECHO_C" >&6
87532 else
87533 if test x$gcc_no_link = xyes; then
87534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87536 { (exit 1); exit 1; }; }
87538 cat >conftest.$ac_ext <<_ACEOF
87539 /* confdefs.h. */
87540 _ACEOF
87541 cat confdefs.h >>conftest.$ac_ext
87542 cat >>conftest.$ac_ext <<_ACEOF
87543 /* end confdefs.h. */
87544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87546 #define $ac_func innocuous_$ac_func
87548 /* System header to define __stub macros and hopefully few prototypes,
87549 which can conflict with char $ac_func (); below.
87550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87551 <limits.h> exists even on freestanding compilers. */
87553 #ifdef __STDC__
87554 # include <limits.h>
87555 #else
87556 # include <assert.h>
87557 #endif
87559 #undef $ac_func
87561 /* Override any gcc2 internal prototype to avoid an error. */
87562 #ifdef __cplusplus
87563 extern "C"
87565 #endif
87566 /* We use char because int might match the return type of a gcc2
87567 builtin and then its argument prototype would still apply. */
87568 char $ac_func ();
87569 /* The GNU C library defines this for functions which it implements
87570 to always fail with ENOSYS. Some functions are actually named
87571 something starting with __ and the normal name is an alias. */
87572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87573 choke me
87574 #else
87575 char (*f) () = $ac_func;
87576 #endif
87577 #ifdef __cplusplus
87579 #endif
87582 main ()
87584 return f != $ac_func;
87586 return 0;
87588 _ACEOF
87589 rm -f conftest.$ac_objext conftest$ac_exeext
87590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87591 (eval $ac_link) 2>conftest.er1
87592 ac_status=$?
87593 grep -v '^ *+' conftest.er1 >conftest.err
87594 rm -f conftest.er1
87595 cat conftest.err >&5
87596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87597 (exit $ac_status); } &&
87598 { ac_try='test -z "$ac_c_werror_flag"
87599 || test ! -s conftest.err'
87600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87601 (eval $ac_try) 2>&5
87602 ac_status=$?
87603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87604 (exit $ac_status); }; } &&
87605 { ac_try='test -s conftest$ac_exeext'
87606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87607 (eval $ac_try) 2>&5
87608 ac_status=$?
87609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87610 (exit $ac_status); }; }; then
87611 eval "$as_ac_var=yes"
87612 else
87613 echo "$as_me: failed program was:" >&5
87614 sed 's/^/| /' conftest.$ac_ext >&5
87616 eval "$as_ac_var=no"
87618 rm -f conftest.err conftest.$ac_objext \
87619 conftest$ac_exeext conftest.$ac_ext
87621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87623 if test `eval echo '${'$as_ac_var'}'` = yes; then
87624 cat >>confdefs.h <<_ACEOF
87625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87626 _ACEOF
87629 done
87631 else
87632 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
87633 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
87634 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
87635 echo $ECHO_N "(cached) $ECHO_C" >&6
87636 else
87640 ac_ext=cc
87641 ac_cpp='$CXXCPP $CPPFLAGS'
87642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87646 cat >conftest.$ac_ext <<_ACEOF
87647 /* confdefs.h. */
87648 _ACEOF
87649 cat confdefs.h >>conftest.$ac_ext
87650 cat >>conftest.$ac_ext <<_ACEOF
87651 /* end confdefs.h. */
87652 #include <math.h>
87654 main ()
87656 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
87658 return 0;
87660 _ACEOF
87661 rm -f conftest.$ac_objext
87662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87663 (eval $ac_compile) 2>conftest.er1
87664 ac_status=$?
87665 grep -v '^ *+' conftest.er1 >conftest.err
87666 rm -f conftest.er1
87667 cat conftest.err >&5
87668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87669 (exit $ac_status); } &&
87670 { ac_try='test -z "$ac_cxx_werror_flag"
87671 || test ! -s conftest.err'
87672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87673 (eval $ac_try) 2>&5
87674 ac_status=$?
87675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87676 (exit $ac_status); }; } &&
87677 { ac_try='test -s conftest.$ac_objext'
87678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87679 (eval $ac_try) 2>&5
87680 ac_status=$?
87681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87682 (exit $ac_status); }; }; then
87683 glibcxx_cv_func__long_double_trig_use=yes
87684 else
87685 echo "$as_me: failed program was:" >&5
87686 sed 's/^/| /' conftest.$ac_ext >&5
87688 glibcxx_cv_func__long_double_trig_use=no
87690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87691 ac_ext=c
87692 ac_cpp='$CPP $CPPFLAGS'
87693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
87700 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
87701 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
87711 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
87713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87714 echo "$as_me:$LINENO: checking for $ac_func" >&5
87715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87716 if eval "test \"\${$as_ac_var+set}\" = set"; then
87717 echo $ECHO_N "(cached) $ECHO_C" >&6
87718 else
87719 if test x$gcc_no_link = xyes; then
87720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87722 { (exit 1); exit 1; }; }
87724 cat >conftest.$ac_ext <<_ACEOF
87725 /* confdefs.h. */
87726 _ACEOF
87727 cat confdefs.h >>conftest.$ac_ext
87728 cat >>conftest.$ac_ext <<_ACEOF
87729 /* end confdefs.h. */
87730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87732 #define $ac_func innocuous_$ac_func
87734 /* System header to define __stub macros and hopefully few prototypes,
87735 which can conflict with char $ac_func (); below.
87736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87737 <limits.h> exists even on freestanding compilers. */
87739 #ifdef __STDC__
87740 # include <limits.h>
87741 #else
87742 # include <assert.h>
87743 #endif
87745 #undef $ac_func
87747 /* Override any gcc2 internal prototype to avoid an error. */
87748 #ifdef __cplusplus
87749 extern "C"
87751 #endif
87752 /* We use char because int might match the return type of a gcc2
87753 builtin and then its argument prototype would still apply. */
87754 char $ac_func ();
87755 /* The GNU C library defines this for functions which it implements
87756 to always fail with ENOSYS. Some functions are actually named
87757 something starting with __ and the normal name is an alias. */
87758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87759 choke me
87760 #else
87761 char (*f) () = $ac_func;
87762 #endif
87763 #ifdef __cplusplus
87765 #endif
87768 main ()
87770 return f != $ac_func;
87772 return 0;
87774 _ACEOF
87775 rm -f conftest.$ac_objext conftest$ac_exeext
87776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87777 (eval $ac_link) 2>conftest.er1
87778 ac_status=$?
87779 grep -v '^ *+' conftest.er1 >conftest.err
87780 rm -f conftest.er1
87781 cat conftest.err >&5
87782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87783 (exit $ac_status); } &&
87784 { ac_try='test -z "$ac_c_werror_flag"
87785 || test ! -s conftest.err'
87786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87787 (eval $ac_try) 2>&5
87788 ac_status=$?
87789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87790 (exit $ac_status); }; } &&
87791 { ac_try='test -s conftest$ac_exeext'
87792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87793 (eval $ac_try) 2>&5
87794 ac_status=$?
87795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87796 (exit $ac_status); }; }; then
87797 eval "$as_ac_var=yes"
87798 else
87799 echo "$as_me: failed program was:" >&5
87800 sed 's/^/| /' conftest.$ac_ext >&5
87802 eval "$as_ac_var=no"
87804 rm -f conftest.err conftest.$ac_objext \
87805 conftest$ac_exeext conftest.$ac_ext
87807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87809 if test `eval echo '${'$as_ac_var'}'` = yes; then
87810 cat >>confdefs.h <<_ACEOF
87811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87812 _ACEOF
87815 done
87833 echo "$as_me:$LINENO: checking for long double round functions" >&5
87834 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
87835 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
87836 echo $ECHO_N "(cached) $ECHO_C" >&6
87837 else
87841 ac_ext=cc
87842 ac_cpp='$CXXCPP $CPPFLAGS'
87843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87847 cat >conftest.$ac_ext <<_ACEOF
87848 /* confdefs.h. */
87849 _ACEOF
87850 cat confdefs.h >>conftest.$ac_ext
87851 cat >>conftest.$ac_ext <<_ACEOF
87852 /* end confdefs.h. */
87853 #include <math.h>
87855 main ()
87857 ceill (0); floorl (0);
87859 return 0;
87861 _ACEOF
87862 rm -f conftest.$ac_objext
87863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87864 (eval $ac_compile) 2>conftest.er1
87865 ac_status=$?
87866 grep -v '^ *+' conftest.er1 >conftest.err
87867 rm -f conftest.er1
87868 cat conftest.err >&5
87869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87870 (exit $ac_status); } &&
87871 { ac_try='test -z "$ac_cxx_werror_flag"
87872 || test ! -s conftest.err'
87873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87874 (eval $ac_try) 2>&5
87875 ac_status=$?
87876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87877 (exit $ac_status); }; } &&
87878 { ac_try='test -s conftest.$ac_objext'
87879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87880 (eval $ac_try) 2>&5
87881 ac_status=$?
87882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87883 (exit $ac_status); }; }; then
87884 glibcxx_cv_func_long_double_round_use=yes
87885 else
87886 echo "$as_me: failed program was:" >&5
87887 sed 's/^/| /' conftest.$ac_ext >&5
87889 glibcxx_cv_func_long_double_round_use=no
87891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87892 ac_ext=c
87893 ac_cpp='$CPP $CPPFLAGS'
87894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
87901 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
87902 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
87905 for ac_func in ceill floorl
87907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87908 echo "$as_me:$LINENO: checking for $ac_func" >&5
87909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87910 if eval "test \"\${$as_ac_var+set}\" = set"; then
87911 echo $ECHO_N "(cached) $ECHO_C" >&6
87912 else
87913 if test x$gcc_no_link = xyes; then
87914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87916 { (exit 1); exit 1; }; }
87918 cat >conftest.$ac_ext <<_ACEOF
87919 /* confdefs.h. */
87920 _ACEOF
87921 cat confdefs.h >>conftest.$ac_ext
87922 cat >>conftest.$ac_ext <<_ACEOF
87923 /* end confdefs.h. */
87924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87926 #define $ac_func innocuous_$ac_func
87928 /* System header to define __stub macros and hopefully few prototypes,
87929 which can conflict with char $ac_func (); below.
87930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87931 <limits.h> exists even on freestanding compilers. */
87933 #ifdef __STDC__
87934 # include <limits.h>
87935 #else
87936 # include <assert.h>
87937 #endif
87939 #undef $ac_func
87941 /* Override any gcc2 internal prototype to avoid an error. */
87942 #ifdef __cplusplus
87943 extern "C"
87945 #endif
87946 /* We use char because int might match the return type of a gcc2
87947 builtin and then its argument prototype would still apply. */
87948 char $ac_func ();
87949 /* The GNU C library defines this for functions which it implements
87950 to always fail with ENOSYS. Some functions are actually named
87951 something starting with __ and the normal name is an alias. */
87952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87953 choke me
87954 #else
87955 char (*f) () = $ac_func;
87956 #endif
87957 #ifdef __cplusplus
87959 #endif
87962 main ()
87964 return f != $ac_func;
87966 return 0;
87968 _ACEOF
87969 rm -f conftest.$ac_objext conftest$ac_exeext
87970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87971 (eval $ac_link) 2>conftest.er1
87972 ac_status=$?
87973 grep -v '^ *+' conftest.er1 >conftest.err
87974 rm -f conftest.er1
87975 cat conftest.err >&5
87976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87977 (exit $ac_status); } &&
87978 { ac_try='test -z "$ac_c_werror_flag"
87979 || test ! -s conftest.err'
87980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87981 (eval $ac_try) 2>&5
87982 ac_status=$?
87983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87984 (exit $ac_status); }; } &&
87985 { ac_try='test -s conftest$ac_exeext'
87986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87987 (eval $ac_try) 2>&5
87988 ac_status=$?
87989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87990 (exit $ac_status); }; }; then
87991 eval "$as_ac_var=yes"
87992 else
87993 echo "$as_me: failed program was:" >&5
87994 sed 's/^/| /' conftest.$ac_ext >&5
87996 eval "$as_ac_var=no"
87998 rm -f conftest.err conftest.$ac_objext \
87999 conftest$ac_exeext conftest.$ac_ext
88001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88003 if test `eval echo '${'$as_ac_var'}'` = yes; then
88004 cat >>confdefs.h <<_ACEOF
88005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88006 _ACEOF
88009 done
88011 else
88012 echo "$as_me:$LINENO: checking for _long double round functions" >&5
88013 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
88014 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
88015 echo $ECHO_N "(cached) $ECHO_C" >&6
88016 else
88020 ac_ext=cc
88021 ac_cpp='$CXXCPP $CPPFLAGS'
88022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88026 cat >conftest.$ac_ext <<_ACEOF
88027 /* confdefs.h. */
88028 _ACEOF
88029 cat confdefs.h >>conftest.$ac_ext
88030 cat >>conftest.$ac_ext <<_ACEOF
88031 /* end confdefs.h. */
88032 #include <math.h>
88034 main ()
88036 _ceill (0); _floorl (0);
88038 return 0;
88040 _ACEOF
88041 rm -f conftest.$ac_objext
88042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88043 (eval $ac_compile) 2>conftest.er1
88044 ac_status=$?
88045 grep -v '^ *+' conftest.er1 >conftest.err
88046 rm -f conftest.er1
88047 cat conftest.err >&5
88048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88049 (exit $ac_status); } &&
88050 { ac_try='test -z "$ac_cxx_werror_flag"
88051 || test ! -s conftest.err'
88052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88053 (eval $ac_try) 2>&5
88054 ac_status=$?
88055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88056 (exit $ac_status); }; } &&
88057 { ac_try='test -s conftest.$ac_objext'
88058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88059 (eval $ac_try) 2>&5
88060 ac_status=$?
88061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88062 (exit $ac_status); }; }; then
88063 glibcxx_cv_func__long_double_round_use=yes
88064 else
88065 echo "$as_me: failed program was:" >&5
88066 sed 's/^/| /' conftest.$ac_ext >&5
88068 glibcxx_cv_func__long_double_round_use=no
88070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88071 ac_ext=c
88072 ac_cpp='$CPP $CPPFLAGS'
88073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
88080 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
88081 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
88084 for ac_func in _ceill _floorl
88086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88087 echo "$as_me:$LINENO: checking for $ac_func" >&5
88088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88089 if eval "test \"\${$as_ac_var+set}\" = set"; then
88090 echo $ECHO_N "(cached) $ECHO_C" >&6
88091 else
88092 if test x$gcc_no_link = xyes; then
88093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88095 { (exit 1); exit 1; }; }
88097 cat >conftest.$ac_ext <<_ACEOF
88098 /* confdefs.h. */
88099 _ACEOF
88100 cat confdefs.h >>conftest.$ac_ext
88101 cat >>conftest.$ac_ext <<_ACEOF
88102 /* end confdefs.h. */
88103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88105 #define $ac_func innocuous_$ac_func
88107 /* System header to define __stub macros and hopefully few prototypes,
88108 which can conflict with char $ac_func (); below.
88109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88110 <limits.h> exists even on freestanding compilers. */
88112 #ifdef __STDC__
88113 # include <limits.h>
88114 #else
88115 # include <assert.h>
88116 #endif
88118 #undef $ac_func
88120 /* Override any gcc2 internal prototype to avoid an error. */
88121 #ifdef __cplusplus
88122 extern "C"
88124 #endif
88125 /* We use char because int might match the return type of a gcc2
88126 builtin and then its argument prototype would still apply. */
88127 char $ac_func ();
88128 /* The GNU C library defines this for functions which it implements
88129 to always fail with ENOSYS. Some functions are actually named
88130 something starting with __ and the normal name is an alias. */
88131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88132 choke me
88133 #else
88134 char (*f) () = $ac_func;
88135 #endif
88136 #ifdef __cplusplus
88138 #endif
88141 main ()
88143 return f != $ac_func;
88145 return 0;
88147 _ACEOF
88148 rm -f conftest.$ac_objext conftest$ac_exeext
88149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88150 (eval $ac_link) 2>conftest.er1
88151 ac_status=$?
88152 grep -v '^ *+' conftest.er1 >conftest.err
88153 rm -f conftest.er1
88154 cat conftest.err >&5
88155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88156 (exit $ac_status); } &&
88157 { ac_try='test -z "$ac_c_werror_flag"
88158 || test ! -s conftest.err'
88159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88160 (eval $ac_try) 2>&5
88161 ac_status=$?
88162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88163 (exit $ac_status); }; } &&
88164 { ac_try='test -s conftest$ac_exeext'
88165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88166 (eval $ac_try) 2>&5
88167 ac_status=$?
88168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88169 (exit $ac_status); }; }; then
88170 eval "$as_ac_var=yes"
88171 else
88172 echo "$as_me: failed program was:" >&5
88173 sed 's/^/| /' conftest.$ac_ext >&5
88175 eval "$as_ac_var=no"
88177 rm -f conftest.err conftest.$ac_objext \
88178 conftest$ac_exeext conftest.$ac_ext
88180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88182 if test `eval echo '${'$as_ac_var'}'` = yes; then
88183 cat >>confdefs.h <<_ACEOF
88184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88185 _ACEOF
88188 done
88200 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
88201 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
88202 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
88203 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
88204 echo $ECHO_N "(cached) $ECHO_C" >&6
88205 else
88209 ac_ext=cc
88210 ac_cpp='$CXXCPP $CPPFLAGS'
88211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88215 cat >conftest.$ac_ext <<_ACEOF
88216 /* confdefs.h. */
88217 _ACEOF
88218 cat confdefs.h >>conftest.$ac_ext
88219 cat >>conftest.$ac_ext <<_ACEOF
88220 /* end confdefs.h. */
88221 #include <math.h>
88222 #ifdef HAVE_IEEEFP_H
88223 #include <ieeefp.h>
88224 #endif
88227 main ()
88229 isnanl(0);
88231 return 0;
88233 _ACEOF
88234 rm -f conftest.$ac_objext
88235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88236 (eval $ac_compile) 2>conftest.er1
88237 ac_status=$?
88238 grep -v '^ *+' conftest.er1 >conftest.err
88239 rm -f conftest.er1
88240 cat conftest.err >&5
88241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88242 (exit $ac_status); } &&
88243 { ac_try='test -z "$ac_cxx_werror_flag"
88244 || test ! -s conftest.err'
88245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88246 (eval $ac_try) 2>&5
88247 ac_status=$?
88248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88249 (exit $ac_status); }; } &&
88250 { ac_try='test -s conftest.$ac_objext'
88251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88252 (eval $ac_try) 2>&5
88253 ac_status=$?
88254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88255 (exit $ac_status); }; }; then
88256 glibcxx_cv_func_isnanl_use=yes
88257 else
88258 echo "$as_me: failed program was:" >&5
88259 sed 's/^/| /' conftest.$ac_ext >&5
88261 glibcxx_cv_func_isnanl_use=no
88263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88264 ac_ext=c
88265 ac_cpp='$CPP $CPPFLAGS'
88266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
88275 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
88277 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
88279 for ac_func in isnanl
88281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88282 echo "$as_me:$LINENO: checking for $ac_func" >&5
88283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88284 if eval "test \"\${$as_ac_var+set}\" = set"; then
88285 echo $ECHO_N "(cached) $ECHO_C" >&6
88286 else
88287 if test x$gcc_no_link = xyes; then
88288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88290 { (exit 1); exit 1; }; }
88292 cat >conftest.$ac_ext <<_ACEOF
88293 /* confdefs.h. */
88294 _ACEOF
88295 cat confdefs.h >>conftest.$ac_ext
88296 cat >>conftest.$ac_ext <<_ACEOF
88297 /* end confdefs.h. */
88298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88300 #define $ac_func innocuous_$ac_func
88302 /* System header to define __stub macros and hopefully few prototypes,
88303 which can conflict with char $ac_func (); below.
88304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88305 <limits.h> exists even on freestanding compilers. */
88307 #ifdef __STDC__
88308 # include <limits.h>
88309 #else
88310 # include <assert.h>
88311 #endif
88313 #undef $ac_func
88315 /* Override any gcc2 internal prototype to avoid an error. */
88316 #ifdef __cplusplus
88317 extern "C"
88319 #endif
88320 /* We use char because int might match the return type of a gcc2
88321 builtin and then its argument prototype would still apply. */
88322 char $ac_func ();
88323 /* The GNU C library defines this for functions which it implements
88324 to always fail with ENOSYS. Some functions are actually named
88325 something starting with __ and the normal name is an alias. */
88326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88327 choke me
88328 #else
88329 char (*f) () = $ac_func;
88330 #endif
88331 #ifdef __cplusplus
88333 #endif
88336 main ()
88338 return f != $ac_func;
88340 return 0;
88342 _ACEOF
88343 rm -f conftest.$ac_objext conftest$ac_exeext
88344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88345 (eval $ac_link) 2>conftest.er1
88346 ac_status=$?
88347 grep -v '^ *+' conftest.er1 >conftest.err
88348 rm -f conftest.er1
88349 cat conftest.err >&5
88350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88351 (exit $ac_status); } &&
88352 { ac_try='test -z "$ac_c_werror_flag"
88353 || test ! -s conftest.err'
88354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88355 (eval $ac_try) 2>&5
88356 ac_status=$?
88357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88358 (exit $ac_status); }; } &&
88359 { ac_try='test -s conftest$ac_exeext'
88360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88361 (eval $ac_try) 2>&5
88362 ac_status=$?
88363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88364 (exit $ac_status); }; }; then
88365 eval "$as_ac_var=yes"
88366 else
88367 echo "$as_me: failed program was:" >&5
88368 sed 's/^/| /' conftest.$ac_ext >&5
88370 eval "$as_ac_var=no"
88372 rm -f conftest.err conftest.$ac_objext \
88373 conftest$ac_exeext conftest.$ac_ext
88375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88377 if test `eval echo '${'$as_ac_var'}'` = yes; then
88378 cat >>confdefs.h <<_ACEOF
88379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88380 _ACEOF
88383 done
88385 else
88387 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
88388 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
88389 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
88390 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
88391 echo $ECHO_N "(cached) $ECHO_C" >&6
88392 else
88396 ac_ext=cc
88397 ac_cpp='$CXXCPP $CPPFLAGS'
88398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88402 cat >conftest.$ac_ext <<_ACEOF
88403 /* confdefs.h. */
88404 _ACEOF
88405 cat confdefs.h >>conftest.$ac_ext
88406 cat >>conftest.$ac_ext <<_ACEOF
88407 /* end confdefs.h. */
88408 #include <math.h>
88409 #ifdef HAVE_IEEEFP_H
88410 #include <ieeefp.h>
88411 #endif
88414 main ()
88416 _isnanl(0);
88418 return 0;
88420 _ACEOF
88421 rm -f conftest.$ac_objext
88422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88423 (eval $ac_compile) 2>conftest.er1
88424 ac_status=$?
88425 grep -v '^ *+' conftest.er1 >conftest.err
88426 rm -f conftest.er1
88427 cat conftest.err >&5
88428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88429 (exit $ac_status); } &&
88430 { ac_try='test -z "$ac_cxx_werror_flag"
88431 || test ! -s conftest.err'
88432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88433 (eval $ac_try) 2>&5
88434 ac_status=$?
88435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88436 (exit $ac_status); }; } &&
88437 { ac_try='test -s conftest.$ac_objext'
88438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88439 (eval $ac_try) 2>&5
88440 ac_status=$?
88441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88442 (exit $ac_status); }; }; then
88443 glibcxx_cv_func__isnanl_use=yes
88444 else
88445 echo "$as_me: failed program was:" >&5
88446 sed 's/^/| /' conftest.$ac_ext >&5
88448 glibcxx_cv_func__isnanl_use=no
88450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88451 ac_ext=c
88452 ac_cpp='$CPP $CPPFLAGS'
88453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
88462 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
88464 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
88466 for ac_func in _isnanl
88468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88469 echo "$as_me:$LINENO: checking for $ac_func" >&5
88470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88471 if eval "test \"\${$as_ac_var+set}\" = set"; then
88472 echo $ECHO_N "(cached) $ECHO_C" >&6
88473 else
88474 if test x$gcc_no_link = xyes; then
88475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88477 { (exit 1); exit 1; }; }
88479 cat >conftest.$ac_ext <<_ACEOF
88480 /* confdefs.h. */
88481 _ACEOF
88482 cat confdefs.h >>conftest.$ac_ext
88483 cat >>conftest.$ac_ext <<_ACEOF
88484 /* end confdefs.h. */
88485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88487 #define $ac_func innocuous_$ac_func
88489 /* System header to define __stub macros and hopefully few prototypes,
88490 which can conflict with char $ac_func (); below.
88491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88492 <limits.h> exists even on freestanding compilers. */
88494 #ifdef __STDC__
88495 # include <limits.h>
88496 #else
88497 # include <assert.h>
88498 #endif
88500 #undef $ac_func
88502 /* Override any gcc2 internal prototype to avoid an error. */
88503 #ifdef __cplusplus
88504 extern "C"
88506 #endif
88507 /* We use char because int might match the return type of a gcc2
88508 builtin and then its argument prototype would still apply. */
88509 char $ac_func ();
88510 /* The GNU C library defines this for functions which it implements
88511 to always fail with ENOSYS. Some functions are actually named
88512 something starting with __ and the normal name is an alias. */
88513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88514 choke me
88515 #else
88516 char (*f) () = $ac_func;
88517 #endif
88518 #ifdef __cplusplus
88520 #endif
88523 main ()
88525 return f != $ac_func;
88527 return 0;
88529 _ACEOF
88530 rm -f conftest.$ac_objext conftest$ac_exeext
88531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88532 (eval $ac_link) 2>conftest.er1
88533 ac_status=$?
88534 grep -v '^ *+' conftest.er1 >conftest.err
88535 rm -f conftest.er1
88536 cat conftest.err >&5
88537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88538 (exit $ac_status); } &&
88539 { ac_try='test -z "$ac_c_werror_flag"
88540 || test ! -s conftest.err'
88541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88542 (eval $ac_try) 2>&5
88543 ac_status=$?
88544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88545 (exit $ac_status); }; } &&
88546 { ac_try='test -s conftest$ac_exeext'
88547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88548 (eval $ac_try) 2>&5
88549 ac_status=$?
88550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88551 (exit $ac_status); }; }; then
88552 eval "$as_ac_var=yes"
88553 else
88554 echo "$as_me: failed program was:" >&5
88555 sed 's/^/| /' conftest.$ac_ext >&5
88557 eval "$as_ac_var=no"
88559 rm -f conftest.err conftest.$ac_objext \
88560 conftest$ac_exeext conftest.$ac_ext
88562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88564 if test `eval echo '${'$as_ac_var'}'` = yes; then
88565 cat >>confdefs.h <<_ACEOF
88566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88567 _ACEOF
88570 done
88580 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
88581 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
88582 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
88583 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
88584 echo $ECHO_N "(cached) $ECHO_C" >&6
88585 else
88589 ac_ext=cc
88590 ac_cpp='$CXXCPP $CPPFLAGS'
88591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88595 cat >conftest.$ac_ext <<_ACEOF
88596 /* confdefs.h. */
88597 _ACEOF
88598 cat confdefs.h >>conftest.$ac_ext
88599 cat >>conftest.$ac_ext <<_ACEOF
88600 /* end confdefs.h. */
88601 #include <math.h>
88602 #ifdef HAVE_IEEEFP_H
88603 #include <ieeefp.h>
88604 #endif
88607 main ()
88609 isinfl(0);
88611 return 0;
88613 _ACEOF
88614 rm -f conftest.$ac_objext
88615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88616 (eval $ac_compile) 2>conftest.er1
88617 ac_status=$?
88618 grep -v '^ *+' conftest.er1 >conftest.err
88619 rm -f conftest.er1
88620 cat conftest.err >&5
88621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88622 (exit $ac_status); } &&
88623 { ac_try='test -z "$ac_cxx_werror_flag"
88624 || test ! -s conftest.err'
88625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88626 (eval $ac_try) 2>&5
88627 ac_status=$?
88628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88629 (exit $ac_status); }; } &&
88630 { ac_try='test -s conftest.$ac_objext'
88631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88632 (eval $ac_try) 2>&5
88633 ac_status=$?
88634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88635 (exit $ac_status); }; }; then
88636 glibcxx_cv_func_isinfl_use=yes
88637 else
88638 echo "$as_me: failed program was:" >&5
88639 sed 's/^/| /' conftest.$ac_ext >&5
88641 glibcxx_cv_func_isinfl_use=no
88643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88644 ac_ext=c
88645 ac_cpp='$CPP $CPPFLAGS'
88646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88654 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
88655 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
88657 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
88659 for ac_func in isinfl
88661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88662 echo "$as_me:$LINENO: checking for $ac_func" >&5
88663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88664 if eval "test \"\${$as_ac_var+set}\" = set"; then
88665 echo $ECHO_N "(cached) $ECHO_C" >&6
88666 else
88667 if test x$gcc_no_link = xyes; then
88668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88670 { (exit 1); exit 1; }; }
88672 cat >conftest.$ac_ext <<_ACEOF
88673 /* confdefs.h. */
88674 _ACEOF
88675 cat confdefs.h >>conftest.$ac_ext
88676 cat >>conftest.$ac_ext <<_ACEOF
88677 /* end confdefs.h. */
88678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88680 #define $ac_func innocuous_$ac_func
88682 /* System header to define __stub macros and hopefully few prototypes,
88683 which can conflict with char $ac_func (); below.
88684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88685 <limits.h> exists even on freestanding compilers. */
88687 #ifdef __STDC__
88688 # include <limits.h>
88689 #else
88690 # include <assert.h>
88691 #endif
88693 #undef $ac_func
88695 /* Override any gcc2 internal prototype to avoid an error. */
88696 #ifdef __cplusplus
88697 extern "C"
88699 #endif
88700 /* We use char because int might match the return type of a gcc2
88701 builtin and then its argument prototype would still apply. */
88702 char $ac_func ();
88703 /* The GNU C library defines this for functions which it implements
88704 to always fail with ENOSYS. Some functions are actually named
88705 something starting with __ and the normal name is an alias. */
88706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88707 choke me
88708 #else
88709 char (*f) () = $ac_func;
88710 #endif
88711 #ifdef __cplusplus
88713 #endif
88716 main ()
88718 return f != $ac_func;
88720 return 0;
88722 _ACEOF
88723 rm -f conftest.$ac_objext conftest$ac_exeext
88724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88725 (eval $ac_link) 2>conftest.er1
88726 ac_status=$?
88727 grep -v '^ *+' conftest.er1 >conftest.err
88728 rm -f conftest.er1
88729 cat conftest.err >&5
88730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88731 (exit $ac_status); } &&
88732 { ac_try='test -z "$ac_c_werror_flag"
88733 || test ! -s conftest.err'
88734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88735 (eval $ac_try) 2>&5
88736 ac_status=$?
88737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88738 (exit $ac_status); }; } &&
88739 { ac_try='test -s conftest$ac_exeext'
88740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88741 (eval $ac_try) 2>&5
88742 ac_status=$?
88743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88744 (exit $ac_status); }; }; then
88745 eval "$as_ac_var=yes"
88746 else
88747 echo "$as_me: failed program was:" >&5
88748 sed 's/^/| /' conftest.$ac_ext >&5
88750 eval "$as_ac_var=no"
88752 rm -f conftest.err conftest.$ac_objext \
88753 conftest$ac_exeext conftest.$ac_ext
88755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88757 if test `eval echo '${'$as_ac_var'}'` = yes; then
88758 cat >>confdefs.h <<_ACEOF
88759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88760 _ACEOF
88763 done
88765 else
88767 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
88768 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
88769 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
88770 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
88771 echo $ECHO_N "(cached) $ECHO_C" >&6
88772 else
88776 ac_ext=cc
88777 ac_cpp='$CXXCPP $CPPFLAGS'
88778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88782 cat >conftest.$ac_ext <<_ACEOF
88783 /* confdefs.h. */
88784 _ACEOF
88785 cat confdefs.h >>conftest.$ac_ext
88786 cat >>conftest.$ac_ext <<_ACEOF
88787 /* end confdefs.h. */
88788 #include <math.h>
88789 #ifdef HAVE_IEEEFP_H
88790 #include <ieeefp.h>
88791 #endif
88794 main ()
88796 _isinfl(0);
88798 return 0;
88800 _ACEOF
88801 rm -f conftest.$ac_objext
88802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88803 (eval $ac_compile) 2>conftest.er1
88804 ac_status=$?
88805 grep -v '^ *+' conftest.er1 >conftest.err
88806 rm -f conftest.er1
88807 cat conftest.err >&5
88808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88809 (exit $ac_status); } &&
88810 { ac_try='test -z "$ac_cxx_werror_flag"
88811 || test ! -s conftest.err'
88812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88813 (eval $ac_try) 2>&5
88814 ac_status=$?
88815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88816 (exit $ac_status); }; } &&
88817 { ac_try='test -s conftest.$ac_objext'
88818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88819 (eval $ac_try) 2>&5
88820 ac_status=$?
88821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88822 (exit $ac_status); }; }; then
88823 glibcxx_cv_func__isinfl_use=yes
88824 else
88825 echo "$as_me: failed program was:" >&5
88826 sed 's/^/| /' conftest.$ac_ext >&5
88828 glibcxx_cv_func__isinfl_use=no
88830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88831 ac_ext=c
88832 ac_cpp='$CPP $CPPFLAGS'
88833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88841 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
88842 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
88844 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
88846 for ac_func in _isinfl
88848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88849 echo "$as_me:$LINENO: checking for $ac_func" >&5
88850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88851 if eval "test \"\${$as_ac_var+set}\" = set"; then
88852 echo $ECHO_N "(cached) $ECHO_C" >&6
88853 else
88854 if test x$gcc_no_link = xyes; then
88855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88857 { (exit 1); exit 1; }; }
88859 cat >conftest.$ac_ext <<_ACEOF
88860 /* confdefs.h. */
88861 _ACEOF
88862 cat confdefs.h >>conftest.$ac_ext
88863 cat >>conftest.$ac_ext <<_ACEOF
88864 /* end confdefs.h. */
88865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88867 #define $ac_func innocuous_$ac_func
88869 /* System header to define __stub macros and hopefully few prototypes,
88870 which can conflict with char $ac_func (); below.
88871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88872 <limits.h> exists even on freestanding compilers. */
88874 #ifdef __STDC__
88875 # include <limits.h>
88876 #else
88877 # include <assert.h>
88878 #endif
88880 #undef $ac_func
88882 /* Override any gcc2 internal prototype to avoid an error. */
88883 #ifdef __cplusplus
88884 extern "C"
88886 #endif
88887 /* We use char because int might match the return type of a gcc2
88888 builtin and then its argument prototype would still apply. */
88889 char $ac_func ();
88890 /* The GNU C library defines this for functions which it implements
88891 to always fail with ENOSYS. Some functions are actually named
88892 something starting with __ and the normal name is an alias. */
88893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88894 choke me
88895 #else
88896 char (*f) () = $ac_func;
88897 #endif
88898 #ifdef __cplusplus
88900 #endif
88903 main ()
88905 return f != $ac_func;
88907 return 0;
88909 _ACEOF
88910 rm -f conftest.$ac_objext conftest$ac_exeext
88911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88912 (eval $ac_link) 2>conftest.er1
88913 ac_status=$?
88914 grep -v '^ *+' conftest.er1 >conftest.err
88915 rm -f conftest.er1
88916 cat conftest.err >&5
88917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88918 (exit $ac_status); } &&
88919 { ac_try='test -z "$ac_c_werror_flag"
88920 || test ! -s conftest.err'
88921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88922 (eval $ac_try) 2>&5
88923 ac_status=$?
88924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88925 (exit $ac_status); }; } &&
88926 { ac_try='test -s conftest$ac_exeext'
88927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88928 (eval $ac_try) 2>&5
88929 ac_status=$?
88930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88931 (exit $ac_status); }; }; then
88932 eval "$as_ac_var=yes"
88933 else
88934 echo "$as_me: failed program was:" >&5
88935 sed 's/^/| /' conftest.$ac_ext >&5
88937 eval "$as_ac_var=no"
88939 rm -f conftest.err conftest.$ac_objext \
88940 conftest$ac_exeext conftest.$ac_ext
88942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88944 if test `eval echo '${'$as_ac_var'}'` = yes; then
88945 cat >>confdefs.h <<_ACEOF
88946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88947 _ACEOF
88950 done
88960 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
88961 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
88962 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
88963 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
88964 echo $ECHO_N "(cached) $ECHO_C" >&6
88965 else
88969 ac_ext=cc
88970 ac_cpp='$CXXCPP $CPPFLAGS'
88971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88975 cat >conftest.$ac_ext <<_ACEOF
88976 /* confdefs.h. */
88977 _ACEOF
88978 cat confdefs.h >>conftest.$ac_ext
88979 cat >>conftest.$ac_ext <<_ACEOF
88980 /* end confdefs.h. */
88981 #include <math.h>
88983 main ()
88985 copysignl(0, 0);
88987 return 0;
88989 _ACEOF
88990 rm -f conftest.$ac_objext
88991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88992 (eval $ac_compile) 2>conftest.er1
88993 ac_status=$?
88994 grep -v '^ *+' conftest.er1 >conftest.err
88995 rm -f conftest.er1
88996 cat conftest.err >&5
88997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88998 (exit $ac_status); } &&
88999 { ac_try='test -z "$ac_cxx_werror_flag"
89000 || test ! -s conftest.err'
89001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89002 (eval $ac_try) 2>&5
89003 ac_status=$?
89004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89005 (exit $ac_status); }; } &&
89006 { ac_try='test -s conftest.$ac_objext'
89007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89008 (eval $ac_try) 2>&5
89009 ac_status=$?
89010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89011 (exit $ac_status); }; }; then
89012 glibcxx_cv_func_copysignl_use=yes
89013 else
89014 echo "$as_me: failed program was:" >&5
89015 sed 's/^/| /' conftest.$ac_ext >&5
89017 glibcxx_cv_func_copysignl_use=no
89019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89020 ac_ext=c
89021 ac_cpp='$CPP $CPPFLAGS'
89022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89030 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
89031 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
89033 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
89035 for ac_func in copysignl
89037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89038 echo "$as_me:$LINENO: checking for $ac_func" >&5
89039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89040 if eval "test \"\${$as_ac_var+set}\" = set"; then
89041 echo $ECHO_N "(cached) $ECHO_C" >&6
89042 else
89043 if test x$gcc_no_link = xyes; then
89044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89046 { (exit 1); exit 1; }; }
89048 cat >conftest.$ac_ext <<_ACEOF
89049 /* confdefs.h. */
89050 _ACEOF
89051 cat confdefs.h >>conftest.$ac_ext
89052 cat >>conftest.$ac_ext <<_ACEOF
89053 /* end confdefs.h. */
89054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89056 #define $ac_func innocuous_$ac_func
89058 /* System header to define __stub macros and hopefully few prototypes,
89059 which can conflict with char $ac_func (); below.
89060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89061 <limits.h> exists even on freestanding compilers. */
89063 #ifdef __STDC__
89064 # include <limits.h>
89065 #else
89066 # include <assert.h>
89067 #endif
89069 #undef $ac_func
89071 /* Override any gcc2 internal prototype to avoid an error. */
89072 #ifdef __cplusplus
89073 extern "C"
89075 #endif
89076 /* We use char because int might match the return type of a gcc2
89077 builtin and then its argument prototype would still apply. */
89078 char $ac_func ();
89079 /* The GNU C library defines this for functions which it implements
89080 to always fail with ENOSYS. Some functions are actually named
89081 something starting with __ and the normal name is an alias. */
89082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89083 choke me
89084 #else
89085 char (*f) () = $ac_func;
89086 #endif
89087 #ifdef __cplusplus
89089 #endif
89092 main ()
89094 return f != $ac_func;
89096 return 0;
89098 _ACEOF
89099 rm -f conftest.$ac_objext conftest$ac_exeext
89100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89101 (eval $ac_link) 2>conftest.er1
89102 ac_status=$?
89103 grep -v '^ *+' conftest.er1 >conftest.err
89104 rm -f conftest.er1
89105 cat conftest.err >&5
89106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89107 (exit $ac_status); } &&
89108 { ac_try='test -z "$ac_c_werror_flag"
89109 || test ! -s conftest.err'
89110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89111 (eval $ac_try) 2>&5
89112 ac_status=$?
89113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89114 (exit $ac_status); }; } &&
89115 { ac_try='test -s conftest$ac_exeext'
89116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89117 (eval $ac_try) 2>&5
89118 ac_status=$?
89119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89120 (exit $ac_status); }; }; then
89121 eval "$as_ac_var=yes"
89122 else
89123 echo "$as_me: failed program was:" >&5
89124 sed 's/^/| /' conftest.$ac_ext >&5
89126 eval "$as_ac_var=no"
89128 rm -f conftest.err conftest.$ac_objext \
89129 conftest$ac_exeext conftest.$ac_ext
89131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89133 if test `eval echo '${'$as_ac_var'}'` = yes; then
89134 cat >>confdefs.h <<_ACEOF
89135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89136 _ACEOF
89139 done
89141 else
89143 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
89144 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
89145 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
89146 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
89147 echo $ECHO_N "(cached) $ECHO_C" >&6
89148 else
89152 ac_ext=cc
89153 ac_cpp='$CXXCPP $CPPFLAGS'
89154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89158 cat >conftest.$ac_ext <<_ACEOF
89159 /* confdefs.h. */
89160 _ACEOF
89161 cat confdefs.h >>conftest.$ac_ext
89162 cat >>conftest.$ac_ext <<_ACEOF
89163 /* end confdefs.h. */
89164 #include <math.h>
89166 main ()
89168 _copysignl(0, 0);
89170 return 0;
89172 _ACEOF
89173 rm -f conftest.$ac_objext
89174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89175 (eval $ac_compile) 2>conftest.er1
89176 ac_status=$?
89177 grep -v '^ *+' conftest.er1 >conftest.err
89178 rm -f conftest.er1
89179 cat conftest.err >&5
89180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89181 (exit $ac_status); } &&
89182 { ac_try='test -z "$ac_cxx_werror_flag"
89183 || test ! -s conftest.err'
89184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89185 (eval $ac_try) 2>&5
89186 ac_status=$?
89187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89188 (exit $ac_status); }; } &&
89189 { ac_try='test -s conftest.$ac_objext'
89190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89191 (eval $ac_try) 2>&5
89192 ac_status=$?
89193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89194 (exit $ac_status); }; }; then
89195 glibcxx_cv_func__copysignl_use=yes
89196 else
89197 echo "$as_me: failed program was:" >&5
89198 sed 's/^/| /' conftest.$ac_ext >&5
89200 glibcxx_cv_func__copysignl_use=no
89202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89203 ac_ext=c
89204 ac_cpp='$CPP $CPPFLAGS'
89205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
89214 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
89216 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
89218 for ac_func in _copysignl
89220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89221 echo "$as_me:$LINENO: checking for $ac_func" >&5
89222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89223 if eval "test \"\${$as_ac_var+set}\" = set"; then
89224 echo $ECHO_N "(cached) $ECHO_C" >&6
89225 else
89226 if test x$gcc_no_link = xyes; then
89227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89229 { (exit 1); exit 1; }; }
89231 cat >conftest.$ac_ext <<_ACEOF
89232 /* confdefs.h. */
89233 _ACEOF
89234 cat confdefs.h >>conftest.$ac_ext
89235 cat >>conftest.$ac_ext <<_ACEOF
89236 /* end confdefs.h. */
89237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89239 #define $ac_func innocuous_$ac_func
89241 /* System header to define __stub macros and hopefully few prototypes,
89242 which can conflict with char $ac_func (); below.
89243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89244 <limits.h> exists even on freestanding compilers. */
89246 #ifdef __STDC__
89247 # include <limits.h>
89248 #else
89249 # include <assert.h>
89250 #endif
89252 #undef $ac_func
89254 /* Override any gcc2 internal prototype to avoid an error. */
89255 #ifdef __cplusplus
89256 extern "C"
89258 #endif
89259 /* We use char because int might match the return type of a gcc2
89260 builtin and then its argument prototype would still apply. */
89261 char $ac_func ();
89262 /* The GNU C library defines this for functions which it implements
89263 to always fail with ENOSYS. Some functions are actually named
89264 something starting with __ and the normal name is an alias. */
89265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89266 choke me
89267 #else
89268 char (*f) () = $ac_func;
89269 #endif
89270 #ifdef __cplusplus
89272 #endif
89275 main ()
89277 return f != $ac_func;
89279 return 0;
89281 _ACEOF
89282 rm -f conftest.$ac_objext conftest$ac_exeext
89283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89284 (eval $ac_link) 2>conftest.er1
89285 ac_status=$?
89286 grep -v '^ *+' conftest.er1 >conftest.err
89287 rm -f conftest.er1
89288 cat conftest.err >&5
89289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89290 (exit $ac_status); } &&
89291 { ac_try='test -z "$ac_c_werror_flag"
89292 || test ! -s conftest.err'
89293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89294 (eval $ac_try) 2>&5
89295 ac_status=$?
89296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89297 (exit $ac_status); }; } &&
89298 { ac_try='test -s conftest$ac_exeext'
89299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89300 (eval $ac_try) 2>&5
89301 ac_status=$?
89302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89303 (exit $ac_status); }; }; then
89304 eval "$as_ac_var=yes"
89305 else
89306 echo "$as_me: failed program was:" >&5
89307 sed 's/^/| /' conftest.$ac_ext >&5
89309 eval "$as_ac_var=no"
89311 rm -f conftest.err conftest.$ac_objext \
89312 conftest$ac_exeext conftest.$ac_ext
89314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89316 if test `eval echo '${'$as_ac_var'}'` = yes; then
89317 cat >>confdefs.h <<_ACEOF
89318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89319 _ACEOF
89322 done
89332 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
89333 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
89334 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
89335 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
89336 echo $ECHO_N "(cached) $ECHO_C" >&6
89337 else
89341 ac_ext=cc
89342 ac_cpp='$CXXCPP $CPPFLAGS'
89343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89347 cat >conftest.$ac_ext <<_ACEOF
89348 /* confdefs.h. */
89349 _ACEOF
89350 cat confdefs.h >>conftest.$ac_ext
89351 cat >>conftest.$ac_ext <<_ACEOF
89352 /* end confdefs.h. */
89353 #include <math.h>
89355 main ()
89357 atan2l(0, 0);
89359 return 0;
89361 _ACEOF
89362 rm -f conftest.$ac_objext
89363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89364 (eval $ac_compile) 2>conftest.er1
89365 ac_status=$?
89366 grep -v '^ *+' conftest.er1 >conftest.err
89367 rm -f conftest.er1
89368 cat conftest.err >&5
89369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89370 (exit $ac_status); } &&
89371 { ac_try='test -z "$ac_cxx_werror_flag"
89372 || test ! -s conftest.err'
89373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89374 (eval $ac_try) 2>&5
89375 ac_status=$?
89376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89377 (exit $ac_status); }; } &&
89378 { ac_try='test -s conftest.$ac_objext'
89379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89380 (eval $ac_try) 2>&5
89381 ac_status=$?
89382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89383 (exit $ac_status); }; }; then
89384 glibcxx_cv_func_atan2l_use=yes
89385 else
89386 echo "$as_me: failed program was:" >&5
89387 sed 's/^/| /' conftest.$ac_ext >&5
89389 glibcxx_cv_func_atan2l_use=no
89391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89392 ac_ext=c
89393 ac_cpp='$CPP $CPPFLAGS'
89394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
89403 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
89405 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
89407 for ac_func in atan2l
89409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89410 echo "$as_me:$LINENO: checking for $ac_func" >&5
89411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89412 if eval "test \"\${$as_ac_var+set}\" = set"; then
89413 echo $ECHO_N "(cached) $ECHO_C" >&6
89414 else
89415 if test x$gcc_no_link = xyes; then
89416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89418 { (exit 1); exit 1; }; }
89420 cat >conftest.$ac_ext <<_ACEOF
89421 /* confdefs.h. */
89422 _ACEOF
89423 cat confdefs.h >>conftest.$ac_ext
89424 cat >>conftest.$ac_ext <<_ACEOF
89425 /* end confdefs.h. */
89426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89428 #define $ac_func innocuous_$ac_func
89430 /* System header to define __stub macros and hopefully few prototypes,
89431 which can conflict with char $ac_func (); below.
89432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89433 <limits.h> exists even on freestanding compilers. */
89435 #ifdef __STDC__
89436 # include <limits.h>
89437 #else
89438 # include <assert.h>
89439 #endif
89441 #undef $ac_func
89443 /* Override any gcc2 internal prototype to avoid an error. */
89444 #ifdef __cplusplus
89445 extern "C"
89447 #endif
89448 /* We use char because int might match the return type of a gcc2
89449 builtin and then its argument prototype would still apply. */
89450 char $ac_func ();
89451 /* The GNU C library defines this for functions which it implements
89452 to always fail with ENOSYS. Some functions are actually named
89453 something starting with __ and the normal name is an alias. */
89454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89455 choke me
89456 #else
89457 char (*f) () = $ac_func;
89458 #endif
89459 #ifdef __cplusplus
89461 #endif
89464 main ()
89466 return f != $ac_func;
89468 return 0;
89470 _ACEOF
89471 rm -f conftest.$ac_objext conftest$ac_exeext
89472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89473 (eval $ac_link) 2>conftest.er1
89474 ac_status=$?
89475 grep -v '^ *+' conftest.er1 >conftest.err
89476 rm -f conftest.er1
89477 cat conftest.err >&5
89478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89479 (exit $ac_status); } &&
89480 { ac_try='test -z "$ac_c_werror_flag"
89481 || test ! -s conftest.err'
89482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89483 (eval $ac_try) 2>&5
89484 ac_status=$?
89485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89486 (exit $ac_status); }; } &&
89487 { ac_try='test -s conftest$ac_exeext'
89488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89489 (eval $ac_try) 2>&5
89490 ac_status=$?
89491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89492 (exit $ac_status); }; }; then
89493 eval "$as_ac_var=yes"
89494 else
89495 echo "$as_me: failed program was:" >&5
89496 sed 's/^/| /' conftest.$ac_ext >&5
89498 eval "$as_ac_var=no"
89500 rm -f conftest.err conftest.$ac_objext \
89501 conftest$ac_exeext conftest.$ac_ext
89503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89505 if test `eval echo '${'$as_ac_var'}'` = yes; then
89506 cat >>confdefs.h <<_ACEOF
89507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89508 _ACEOF
89511 done
89513 else
89515 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
89516 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
89517 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
89518 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
89519 echo $ECHO_N "(cached) $ECHO_C" >&6
89520 else
89524 ac_ext=cc
89525 ac_cpp='$CXXCPP $CPPFLAGS'
89526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89530 cat >conftest.$ac_ext <<_ACEOF
89531 /* confdefs.h. */
89532 _ACEOF
89533 cat confdefs.h >>conftest.$ac_ext
89534 cat >>conftest.$ac_ext <<_ACEOF
89535 /* end confdefs.h. */
89536 #include <math.h>
89538 main ()
89540 _atan2l(0, 0);
89542 return 0;
89544 _ACEOF
89545 rm -f conftest.$ac_objext
89546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89547 (eval $ac_compile) 2>conftest.er1
89548 ac_status=$?
89549 grep -v '^ *+' conftest.er1 >conftest.err
89550 rm -f conftest.er1
89551 cat conftest.err >&5
89552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89553 (exit $ac_status); } &&
89554 { ac_try='test -z "$ac_cxx_werror_flag"
89555 || test ! -s conftest.err'
89556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89557 (eval $ac_try) 2>&5
89558 ac_status=$?
89559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89560 (exit $ac_status); }; } &&
89561 { ac_try='test -s conftest.$ac_objext'
89562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89563 (eval $ac_try) 2>&5
89564 ac_status=$?
89565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89566 (exit $ac_status); }; }; then
89567 glibcxx_cv_func__atan2l_use=yes
89568 else
89569 echo "$as_me: failed program was:" >&5
89570 sed 's/^/| /' conftest.$ac_ext >&5
89572 glibcxx_cv_func__atan2l_use=no
89574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89575 ac_ext=c
89576 ac_cpp='$CPP $CPPFLAGS'
89577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
89586 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
89588 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
89590 for ac_func in _atan2l
89592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89593 echo "$as_me:$LINENO: checking for $ac_func" >&5
89594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89595 if eval "test \"\${$as_ac_var+set}\" = set"; then
89596 echo $ECHO_N "(cached) $ECHO_C" >&6
89597 else
89598 if test x$gcc_no_link = xyes; then
89599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89601 { (exit 1); exit 1; }; }
89603 cat >conftest.$ac_ext <<_ACEOF
89604 /* confdefs.h. */
89605 _ACEOF
89606 cat confdefs.h >>conftest.$ac_ext
89607 cat >>conftest.$ac_ext <<_ACEOF
89608 /* end confdefs.h. */
89609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89611 #define $ac_func innocuous_$ac_func
89613 /* System header to define __stub macros and hopefully few prototypes,
89614 which can conflict with char $ac_func (); below.
89615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89616 <limits.h> exists even on freestanding compilers. */
89618 #ifdef __STDC__
89619 # include <limits.h>
89620 #else
89621 # include <assert.h>
89622 #endif
89624 #undef $ac_func
89626 /* Override any gcc2 internal prototype to avoid an error. */
89627 #ifdef __cplusplus
89628 extern "C"
89630 #endif
89631 /* We use char because int might match the return type of a gcc2
89632 builtin and then its argument prototype would still apply. */
89633 char $ac_func ();
89634 /* The GNU C library defines this for functions which it implements
89635 to always fail with ENOSYS. Some functions are actually named
89636 something starting with __ and the normal name is an alias. */
89637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89638 choke me
89639 #else
89640 char (*f) () = $ac_func;
89641 #endif
89642 #ifdef __cplusplus
89644 #endif
89647 main ()
89649 return f != $ac_func;
89651 return 0;
89653 _ACEOF
89654 rm -f conftest.$ac_objext conftest$ac_exeext
89655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89656 (eval $ac_link) 2>conftest.er1
89657 ac_status=$?
89658 grep -v '^ *+' conftest.er1 >conftest.err
89659 rm -f conftest.er1
89660 cat conftest.err >&5
89661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89662 (exit $ac_status); } &&
89663 { ac_try='test -z "$ac_c_werror_flag"
89664 || test ! -s conftest.err'
89665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89666 (eval $ac_try) 2>&5
89667 ac_status=$?
89668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89669 (exit $ac_status); }; } &&
89670 { ac_try='test -s conftest$ac_exeext'
89671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89672 (eval $ac_try) 2>&5
89673 ac_status=$?
89674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89675 (exit $ac_status); }; }; then
89676 eval "$as_ac_var=yes"
89677 else
89678 echo "$as_me: failed program was:" >&5
89679 sed 's/^/| /' conftest.$ac_ext >&5
89681 eval "$as_ac_var=no"
89683 rm -f conftest.err conftest.$ac_objext \
89684 conftest$ac_exeext conftest.$ac_ext
89686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89688 if test `eval echo '${'$as_ac_var'}'` = yes; then
89689 cat >>confdefs.h <<_ACEOF
89690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89691 _ACEOF
89694 done
89704 echo "$as_me:$LINENO: checking for expl declaration" >&5
89705 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
89706 if test x${glibcxx_cv_func_expl_use+set} != xset; then
89707 if test "${glibcxx_cv_func_expl_use+set}" = set; then
89708 echo $ECHO_N "(cached) $ECHO_C" >&6
89709 else
89713 ac_ext=cc
89714 ac_cpp='$CXXCPP $CPPFLAGS'
89715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89719 cat >conftest.$ac_ext <<_ACEOF
89720 /* confdefs.h. */
89721 _ACEOF
89722 cat confdefs.h >>conftest.$ac_ext
89723 cat >>conftest.$ac_ext <<_ACEOF
89724 /* end confdefs.h. */
89725 #include <math.h>
89726 #ifdef HAVE_IEEEFP_H
89727 #include <ieeefp.h>
89728 #endif
89731 main ()
89733 expl(0);
89735 return 0;
89737 _ACEOF
89738 rm -f conftest.$ac_objext
89739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89740 (eval $ac_compile) 2>conftest.er1
89741 ac_status=$?
89742 grep -v '^ *+' conftest.er1 >conftest.err
89743 rm -f conftest.er1
89744 cat conftest.err >&5
89745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89746 (exit $ac_status); } &&
89747 { ac_try='test -z "$ac_cxx_werror_flag"
89748 || test ! -s conftest.err'
89749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89750 (eval $ac_try) 2>&5
89751 ac_status=$?
89752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89753 (exit $ac_status); }; } &&
89754 { ac_try='test -s conftest.$ac_objext'
89755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89756 (eval $ac_try) 2>&5
89757 ac_status=$?
89758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89759 (exit $ac_status); }; }; then
89760 glibcxx_cv_func_expl_use=yes
89761 else
89762 echo "$as_me: failed program was:" >&5
89763 sed 's/^/| /' conftest.$ac_ext >&5
89765 glibcxx_cv_func_expl_use=no
89767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89768 ac_ext=c
89769 ac_cpp='$CPP $CPPFLAGS'
89770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
89779 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
89781 if test x$glibcxx_cv_func_expl_use = x"yes"; then
89783 for ac_func in expl
89785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89786 echo "$as_me:$LINENO: checking for $ac_func" >&5
89787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89788 if eval "test \"\${$as_ac_var+set}\" = set"; then
89789 echo $ECHO_N "(cached) $ECHO_C" >&6
89790 else
89791 if test x$gcc_no_link = xyes; then
89792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89794 { (exit 1); exit 1; }; }
89796 cat >conftest.$ac_ext <<_ACEOF
89797 /* confdefs.h. */
89798 _ACEOF
89799 cat confdefs.h >>conftest.$ac_ext
89800 cat >>conftest.$ac_ext <<_ACEOF
89801 /* end confdefs.h. */
89802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89804 #define $ac_func innocuous_$ac_func
89806 /* System header to define __stub macros and hopefully few prototypes,
89807 which can conflict with char $ac_func (); below.
89808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89809 <limits.h> exists even on freestanding compilers. */
89811 #ifdef __STDC__
89812 # include <limits.h>
89813 #else
89814 # include <assert.h>
89815 #endif
89817 #undef $ac_func
89819 /* Override any gcc2 internal prototype to avoid an error. */
89820 #ifdef __cplusplus
89821 extern "C"
89823 #endif
89824 /* We use char because int might match the return type of a gcc2
89825 builtin and then its argument prototype would still apply. */
89826 char $ac_func ();
89827 /* The GNU C library defines this for functions which it implements
89828 to always fail with ENOSYS. Some functions are actually named
89829 something starting with __ and the normal name is an alias. */
89830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89831 choke me
89832 #else
89833 char (*f) () = $ac_func;
89834 #endif
89835 #ifdef __cplusplus
89837 #endif
89840 main ()
89842 return f != $ac_func;
89844 return 0;
89846 _ACEOF
89847 rm -f conftest.$ac_objext conftest$ac_exeext
89848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89849 (eval $ac_link) 2>conftest.er1
89850 ac_status=$?
89851 grep -v '^ *+' conftest.er1 >conftest.err
89852 rm -f conftest.er1
89853 cat conftest.err >&5
89854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89855 (exit $ac_status); } &&
89856 { ac_try='test -z "$ac_c_werror_flag"
89857 || test ! -s conftest.err'
89858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89859 (eval $ac_try) 2>&5
89860 ac_status=$?
89861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89862 (exit $ac_status); }; } &&
89863 { ac_try='test -s conftest$ac_exeext'
89864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89865 (eval $ac_try) 2>&5
89866 ac_status=$?
89867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89868 (exit $ac_status); }; }; then
89869 eval "$as_ac_var=yes"
89870 else
89871 echo "$as_me: failed program was:" >&5
89872 sed 's/^/| /' conftest.$ac_ext >&5
89874 eval "$as_ac_var=no"
89876 rm -f conftest.err conftest.$ac_objext \
89877 conftest$ac_exeext conftest.$ac_ext
89879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89881 if test `eval echo '${'$as_ac_var'}'` = yes; then
89882 cat >>confdefs.h <<_ACEOF
89883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89884 _ACEOF
89887 done
89889 else
89891 echo "$as_me:$LINENO: checking for _expl declaration" >&5
89892 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
89893 if test x${glibcxx_cv_func__expl_use+set} != xset; then
89894 if test "${glibcxx_cv_func__expl_use+set}" = set; then
89895 echo $ECHO_N "(cached) $ECHO_C" >&6
89896 else
89900 ac_ext=cc
89901 ac_cpp='$CXXCPP $CPPFLAGS'
89902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89906 cat >conftest.$ac_ext <<_ACEOF
89907 /* confdefs.h. */
89908 _ACEOF
89909 cat confdefs.h >>conftest.$ac_ext
89910 cat >>conftest.$ac_ext <<_ACEOF
89911 /* end confdefs.h. */
89912 #include <math.h>
89913 #ifdef HAVE_IEEEFP_H
89914 #include <ieeefp.h>
89915 #endif
89918 main ()
89920 _expl(0);
89922 return 0;
89924 _ACEOF
89925 rm -f conftest.$ac_objext
89926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89927 (eval $ac_compile) 2>conftest.er1
89928 ac_status=$?
89929 grep -v '^ *+' conftest.er1 >conftest.err
89930 rm -f conftest.er1
89931 cat conftest.err >&5
89932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89933 (exit $ac_status); } &&
89934 { ac_try='test -z "$ac_cxx_werror_flag"
89935 || test ! -s conftest.err'
89936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89937 (eval $ac_try) 2>&5
89938 ac_status=$?
89939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89940 (exit $ac_status); }; } &&
89941 { ac_try='test -s conftest.$ac_objext'
89942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89943 (eval $ac_try) 2>&5
89944 ac_status=$?
89945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89946 (exit $ac_status); }; }; then
89947 glibcxx_cv_func__expl_use=yes
89948 else
89949 echo "$as_me: failed program was:" >&5
89950 sed 's/^/| /' conftest.$ac_ext >&5
89952 glibcxx_cv_func__expl_use=no
89954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89955 ac_ext=c
89956 ac_cpp='$CPP $CPPFLAGS'
89957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
89966 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
89968 if test x$glibcxx_cv_func__expl_use = x"yes"; then
89970 for ac_func in _expl
89972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89973 echo "$as_me:$LINENO: checking for $ac_func" >&5
89974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89975 if eval "test \"\${$as_ac_var+set}\" = set"; then
89976 echo $ECHO_N "(cached) $ECHO_C" >&6
89977 else
89978 if test x$gcc_no_link = xyes; then
89979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89981 { (exit 1); exit 1; }; }
89983 cat >conftest.$ac_ext <<_ACEOF
89984 /* confdefs.h. */
89985 _ACEOF
89986 cat confdefs.h >>conftest.$ac_ext
89987 cat >>conftest.$ac_ext <<_ACEOF
89988 /* end confdefs.h. */
89989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89991 #define $ac_func innocuous_$ac_func
89993 /* System header to define __stub macros and hopefully few prototypes,
89994 which can conflict with char $ac_func (); below.
89995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89996 <limits.h> exists even on freestanding compilers. */
89998 #ifdef __STDC__
89999 # include <limits.h>
90000 #else
90001 # include <assert.h>
90002 #endif
90004 #undef $ac_func
90006 /* Override any gcc2 internal prototype to avoid an error. */
90007 #ifdef __cplusplus
90008 extern "C"
90010 #endif
90011 /* We use char because int might match the return type of a gcc2
90012 builtin and then its argument prototype would still apply. */
90013 char $ac_func ();
90014 /* The GNU C library defines this for functions which it implements
90015 to always fail with ENOSYS. Some functions are actually named
90016 something starting with __ and the normal name is an alias. */
90017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90018 choke me
90019 #else
90020 char (*f) () = $ac_func;
90021 #endif
90022 #ifdef __cplusplus
90024 #endif
90027 main ()
90029 return f != $ac_func;
90031 return 0;
90033 _ACEOF
90034 rm -f conftest.$ac_objext conftest$ac_exeext
90035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90036 (eval $ac_link) 2>conftest.er1
90037 ac_status=$?
90038 grep -v '^ *+' conftest.er1 >conftest.err
90039 rm -f conftest.er1
90040 cat conftest.err >&5
90041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90042 (exit $ac_status); } &&
90043 { ac_try='test -z "$ac_c_werror_flag"
90044 || test ! -s conftest.err'
90045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90046 (eval $ac_try) 2>&5
90047 ac_status=$?
90048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90049 (exit $ac_status); }; } &&
90050 { ac_try='test -s conftest$ac_exeext'
90051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90052 (eval $ac_try) 2>&5
90053 ac_status=$?
90054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90055 (exit $ac_status); }; }; then
90056 eval "$as_ac_var=yes"
90057 else
90058 echo "$as_me: failed program was:" >&5
90059 sed 's/^/| /' conftest.$ac_ext >&5
90061 eval "$as_ac_var=no"
90063 rm -f conftest.err conftest.$ac_objext \
90064 conftest$ac_exeext conftest.$ac_ext
90066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90068 if test `eval echo '${'$as_ac_var'}'` = yes; then
90069 cat >>confdefs.h <<_ACEOF
90070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90071 _ACEOF
90074 done
90084 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
90085 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
90086 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
90087 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
90088 echo $ECHO_N "(cached) $ECHO_C" >&6
90089 else
90093 ac_ext=cc
90094 ac_cpp='$CXXCPP $CPPFLAGS'
90095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90099 cat >conftest.$ac_ext <<_ACEOF
90100 /* confdefs.h. */
90101 _ACEOF
90102 cat confdefs.h >>conftest.$ac_ext
90103 cat >>conftest.$ac_ext <<_ACEOF
90104 /* end confdefs.h. */
90105 #include <math.h>
90106 #ifdef HAVE_IEEEFP_H
90107 #include <ieeefp.h>
90108 #endif
90111 main ()
90113 fabsl(0);
90115 return 0;
90117 _ACEOF
90118 rm -f conftest.$ac_objext
90119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90120 (eval $ac_compile) 2>conftest.er1
90121 ac_status=$?
90122 grep -v '^ *+' conftest.er1 >conftest.err
90123 rm -f conftest.er1
90124 cat conftest.err >&5
90125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90126 (exit $ac_status); } &&
90127 { ac_try='test -z "$ac_cxx_werror_flag"
90128 || test ! -s conftest.err'
90129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90130 (eval $ac_try) 2>&5
90131 ac_status=$?
90132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90133 (exit $ac_status); }; } &&
90134 { ac_try='test -s conftest.$ac_objext'
90135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90136 (eval $ac_try) 2>&5
90137 ac_status=$?
90138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90139 (exit $ac_status); }; }; then
90140 glibcxx_cv_func_fabsl_use=yes
90141 else
90142 echo "$as_me: failed program was:" >&5
90143 sed 's/^/| /' conftest.$ac_ext >&5
90145 glibcxx_cv_func_fabsl_use=no
90147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90148 ac_ext=c
90149 ac_cpp='$CPP $CPPFLAGS'
90150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90158 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
90159 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
90161 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
90163 for ac_func in fabsl
90165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90166 echo "$as_me:$LINENO: checking for $ac_func" >&5
90167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90168 if eval "test \"\${$as_ac_var+set}\" = set"; then
90169 echo $ECHO_N "(cached) $ECHO_C" >&6
90170 else
90171 if test x$gcc_no_link = xyes; then
90172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90174 { (exit 1); exit 1; }; }
90176 cat >conftest.$ac_ext <<_ACEOF
90177 /* confdefs.h. */
90178 _ACEOF
90179 cat confdefs.h >>conftest.$ac_ext
90180 cat >>conftest.$ac_ext <<_ACEOF
90181 /* end confdefs.h. */
90182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90184 #define $ac_func innocuous_$ac_func
90186 /* System header to define __stub macros and hopefully few prototypes,
90187 which can conflict with char $ac_func (); below.
90188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90189 <limits.h> exists even on freestanding compilers. */
90191 #ifdef __STDC__
90192 # include <limits.h>
90193 #else
90194 # include <assert.h>
90195 #endif
90197 #undef $ac_func
90199 /* Override any gcc2 internal prototype to avoid an error. */
90200 #ifdef __cplusplus
90201 extern "C"
90203 #endif
90204 /* We use char because int might match the return type of a gcc2
90205 builtin and then its argument prototype would still apply. */
90206 char $ac_func ();
90207 /* The GNU C library defines this for functions which it implements
90208 to always fail with ENOSYS. Some functions are actually named
90209 something starting with __ and the normal name is an alias. */
90210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90211 choke me
90212 #else
90213 char (*f) () = $ac_func;
90214 #endif
90215 #ifdef __cplusplus
90217 #endif
90220 main ()
90222 return f != $ac_func;
90224 return 0;
90226 _ACEOF
90227 rm -f conftest.$ac_objext conftest$ac_exeext
90228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90229 (eval $ac_link) 2>conftest.er1
90230 ac_status=$?
90231 grep -v '^ *+' conftest.er1 >conftest.err
90232 rm -f conftest.er1
90233 cat conftest.err >&5
90234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90235 (exit $ac_status); } &&
90236 { ac_try='test -z "$ac_c_werror_flag"
90237 || test ! -s conftest.err'
90238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90239 (eval $ac_try) 2>&5
90240 ac_status=$?
90241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90242 (exit $ac_status); }; } &&
90243 { ac_try='test -s conftest$ac_exeext'
90244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90245 (eval $ac_try) 2>&5
90246 ac_status=$?
90247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90248 (exit $ac_status); }; }; then
90249 eval "$as_ac_var=yes"
90250 else
90251 echo "$as_me: failed program was:" >&5
90252 sed 's/^/| /' conftest.$ac_ext >&5
90254 eval "$as_ac_var=no"
90256 rm -f conftest.err conftest.$ac_objext \
90257 conftest$ac_exeext conftest.$ac_ext
90259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90261 if test `eval echo '${'$as_ac_var'}'` = yes; then
90262 cat >>confdefs.h <<_ACEOF
90263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90264 _ACEOF
90267 done
90269 else
90271 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
90272 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
90273 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
90274 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
90275 echo $ECHO_N "(cached) $ECHO_C" >&6
90276 else
90280 ac_ext=cc
90281 ac_cpp='$CXXCPP $CPPFLAGS'
90282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90286 cat >conftest.$ac_ext <<_ACEOF
90287 /* confdefs.h. */
90288 _ACEOF
90289 cat confdefs.h >>conftest.$ac_ext
90290 cat >>conftest.$ac_ext <<_ACEOF
90291 /* end confdefs.h. */
90292 #include <math.h>
90293 #ifdef HAVE_IEEEFP_H
90294 #include <ieeefp.h>
90295 #endif
90298 main ()
90300 _fabsl(0);
90302 return 0;
90304 _ACEOF
90305 rm -f conftest.$ac_objext
90306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90307 (eval $ac_compile) 2>conftest.er1
90308 ac_status=$?
90309 grep -v '^ *+' conftest.er1 >conftest.err
90310 rm -f conftest.er1
90311 cat conftest.err >&5
90312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90313 (exit $ac_status); } &&
90314 { ac_try='test -z "$ac_cxx_werror_flag"
90315 || test ! -s conftest.err'
90316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90317 (eval $ac_try) 2>&5
90318 ac_status=$?
90319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90320 (exit $ac_status); }; } &&
90321 { ac_try='test -s conftest.$ac_objext'
90322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90323 (eval $ac_try) 2>&5
90324 ac_status=$?
90325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90326 (exit $ac_status); }; }; then
90327 glibcxx_cv_func__fabsl_use=yes
90328 else
90329 echo "$as_me: failed program was:" >&5
90330 sed 's/^/| /' conftest.$ac_ext >&5
90332 glibcxx_cv_func__fabsl_use=no
90334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90335 ac_ext=c
90336 ac_cpp='$CPP $CPPFLAGS'
90337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
90346 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
90348 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
90350 for ac_func in _fabsl
90352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90353 echo "$as_me:$LINENO: checking for $ac_func" >&5
90354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90355 if eval "test \"\${$as_ac_var+set}\" = set"; then
90356 echo $ECHO_N "(cached) $ECHO_C" >&6
90357 else
90358 if test x$gcc_no_link = xyes; then
90359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90361 { (exit 1); exit 1; }; }
90363 cat >conftest.$ac_ext <<_ACEOF
90364 /* confdefs.h. */
90365 _ACEOF
90366 cat confdefs.h >>conftest.$ac_ext
90367 cat >>conftest.$ac_ext <<_ACEOF
90368 /* end confdefs.h. */
90369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90371 #define $ac_func innocuous_$ac_func
90373 /* System header to define __stub macros and hopefully few prototypes,
90374 which can conflict with char $ac_func (); below.
90375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90376 <limits.h> exists even on freestanding compilers. */
90378 #ifdef __STDC__
90379 # include <limits.h>
90380 #else
90381 # include <assert.h>
90382 #endif
90384 #undef $ac_func
90386 /* Override any gcc2 internal prototype to avoid an error. */
90387 #ifdef __cplusplus
90388 extern "C"
90390 #endif
90391 /* We use char because int might match the return type of a gcc2
90392 builtin and then its argument prototype would still apply. */
90393 char $ac_func ();
90394 /* The GNU C library defines this for functions which it implements
90395 to always fail with ENOSYS. Some functions are actually named
90396 something starting with __ and the normal name is an alias. */
90397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90398 choke me
90399 #else
90400 char (*f) () = $ac_func;
90401 #endif
90402 #ifdef __cplusplus
90404 #endif
90407 main ()
90409 return f != $ac_func;
90411 return 0;
90413 _ACEOF
90414 rm -f conftest.$ac_objext conftest$ac_exeext
90415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90416 (eval $ac_link) 2>conftest.er1
90417 ac_status=$?
90418 grep -v '^ *+' conftest.er1 >conftest.err
90419 rm -f conftest.er1
90420 cat conftest.err >&5
90421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90422 (exit $ac_status); } &&
90423 { ac_try='test -z "$ac_c_werror_flag"
90424 || test ! -s conftest.err'
90425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90426 (eval $ac_try) 2>&5
90427 ac_status=$?
90428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90429 (exit $ac_status); }; } &&
90430 { ac_try='test -s conftest$ac_exeext'
90431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90432 (eval $ac_try) 2>&5
90433 ac_status=$?
90434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90435 (exit $ac_status); }; }; then
90436 eval "$as_ac_var=yes"
90437 else
90438 echo "$as_me: failed program was:" >&5
90439 sed 's/^/| /' conftest.$ac_ext >&5
90441 eval "$as_ac_var=no"
90443 rm -f conftest.err conftest.$ac_objext \
90444 conftest$ac_exeext conftest.$ac_ext
90446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90448 if test `eval echo '${'$as_ac_var'}'` = yes; then
90449 cat >>confdefs.h <<_ACEOF
90450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90451 _ACEOF
90454 done
90464 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
90465 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
90466 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
90467 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
90468 echo $ECHO_N "(cached) $ECHO_C" >&6
90469 else
90473 ac_ext=cc
90474 ac_cpp='$CXXCPP $CPPFLAGS'
90475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90479 cat >conftest.$ac_ext <<_ACEOF
90480 /* confdefs.h. */
90481 _ACEOF
90482 cat confdefs.h >>conftest.$ac_ext
90483 cat >>conftest.$ac_ext <<_ACEOF
90484 /* end confdefs.h. */
90485 #include <math.h>
90487 main ()
90489 fmodl(0, 0);
90491 return 0;
90493 _ACEOF
90494 rm -f conftest.$ac_objext
90495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90496 (eval $ac_compile) 2>conftest.er1
90497 ac_status=$?
90498 grep -v '^ *+' conftest.er1 >conftest.err
90499 rm -f conftest.er1
90500 cat conftest.err >&5
90501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90502 (exit $ac_status); } &&
90503 { ac_try='test -z "$ac_cxx_werror_flag"
90504 || test ! -s conftest.err'
90505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90506 (eval $ac_try) 2>&5
90507 ac_status=$?
90508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90509 (exit $ac_status); }; } &&
90510 { ac_try='test -s conftest.$ac_objext'
90511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90512 (eval $ac_try) 2>&5
90513 ac_status=$?
90514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90515 (exit $ac_status); }; }; then
90516 glibcxx_cv_func_fmodl_use=yes
90517 else
90518 echo "$as_me: failed program was:" >&5
90519 sed 's/^/| /' conftest.$ac_ext >&5
90521 glibcxx_cv_func_fmodl_use=no
90523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90524 ac_ext=c
90525 ac_cpp='$CPP $CPPFLAGS'
90526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
90535 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
90537 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
90539 for ac_func in fmodl
90541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90542 echo "$as_me:$LINENO: checking for $ac_func" >&5
90543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90544 if eval "test \"\${$as_ac_var+set}\" = set"; then
90545 echo $ECHO_N "(cached) $ECHO_C" >&6
90546 else
90547 if test x$gcc_no_link = xyes; then
90548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90550 { (exit 1); exit 1; }; }
90552 cat >conftest.$ac_ext <<_ACEOF
90553 /* confdefs.h. */
90554 _ACEOF
90555 cat confdefs.h >>conftest.$ac_ext
90556 cat >>conftest.$ac_ext <<_ACEOF
90557 /* end confdefs.h. */
90558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90560 #define $ac_func innocuous_$ac_func
90562 /* System header to define __stub macros and hopefully few prototypes,
90563 which can conflict with char $ac_func (); below.
90564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90565 <limits.h> exists even on freestanding compilers. */
90567 #ifdef __STDC__
90568 # include <limits.h>
90569 #else
90570 # include <assert.h>
90571 #endif
90573 #undef $ac_func
90575 /* Override any gcc2 internal prototype to avoid an error. */
90576 #ifdef __cplusplus
90577 extern "C"
90579 #endif
90580 /* We use char because int might match the return type of a gcc2
90581 builtin and then its argument prototype would still apply. */
90582 char $ac_func ();
90583 /* The GNU C library defines this for functions which it implements
90584 to always fail with ENOSYS. Some functions are actually named
90585 something starting with __ and the normal name is an alias. */
90586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90587 choke me
90588 #else
90589 char (*f) () = $ac_func;
90590 #endif
90591 #ifdef __cplusplus
90593 #endif
90596 main ()
90598 return f != $ac_func;
90600 return 0;
90602 _ACEOF
90603 rm -f conftest.$ac_objext conftest$ac_exeext
90604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90605 (eval $ac_link) 2>conftest.er1
90606 ac_status=$?
90607 grep -v '^ *+' conftest.er1 >conftest.err
90608 rm -f conftest.er1
90609 cat conftest.err >&5
90610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90611 (exit $ac_status); } &&
90612 { ac_try='test -z "$ac_c_werror_flag"
90613 || test ! -s conftest.err'
90614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90615 (eval $ac_try) 2>&5
90616 ac_status=$?
90617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90618 (exit $ac_status); }; } &&
90619 { ac_try='test -s conftest$ac_exeext'
90620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90621 (eval $ac_try) 2>&5
90622 ac_status=$?
90623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90624 (exit $ac_status); }; }; then
90625 eval "$as_ac_var=yes"
90626 else
90627 echo "$as_me: failed program was:" >&5
90628 sed 's/^/| /' conftest.$ac_ext >&5
90630 eval "$as_ac_var=no"
90632 rm -f conftest.err conftest.$ac_objext \
90633 conftest$ac_exeext conftest.$ac_ext
90635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90637 if test `eval echo '${'$as_ac_var'}'` = yes; then
90638 cat >>confdefs.h <<_ACEOF
90639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90640 _ACEOF
90643 done
90645 else
90647 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
90648 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
90649 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
90650 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
90651 echo $ECHO_N "(cached) $ECHO_C" >&6
90652 else
90656 ac_ext=cc
90657 ac_cpp='$CXXCPP $CPPFLAGS'
90658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90662 cat >conftest.$ac_ext <<_ACEOF
90663 /* confdefs.h. */
90664 _ACEOF
90665 cat confdefs.h >>conftest.$ac_ext
90666 cat >>conftest.$ac_ext <<_ACEOF
90667 /* end confdefs.h. */
90668 #include <math.h>
90670 main ()
90672 _fmodl(0, 0);
90674 return 0;
90676 _ACEOF
90677 rm -f conftest.$ac_objext
90678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90679 (eval $ac_compile) 2>conftest.er1
90680 ac_status=$?
90681 grep -v '^ *+' conftest.er1 >conftest.err
90682 rm -f conftest.er1
90683 cat conftest.err >&5
90684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90685 (exit $ac_status); } &&
90686 { ac_try='test -z "$ac_cxx_werror_flag"
90687 || test ! -s conftest.err'
90688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90689 (eval $ac_try) 2>&5
90690 ac_status=$?
90691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90692 (exit $ac_status); }; } &&
90693 { ac_try='test -s conftest.$ac_objext'
90694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90695 (eval $ac_try) 2>&5
90696 ac_status=$?
90697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90698 (exit $ac_status); }; }; then
90699 glibcxx_cv_func__fmodl_use=yes
90700 else
90701 echo "$as_me: failed program was:" >&5
90702 sed 's/^/| /' conftest.$ac_ext >&5
90704 glibcxx_cv_func__fmodl_use=no
90706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90707 ac_ext=c
90708 ac_cpp='$CPP $CPPFLAGS'
90709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90717 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
90718 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
90720 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
90722 for ac_func in _fmodl
90724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90725 echo "$as_me:$LINENO: checking for $ac_func" >&5
90726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90727 if eval "test \"\${$as_ac_var+set}\" = set"; then
90728 echo $ECHO_N "(cached) $ECHO_C" >&6
90729 else
90730 if test x$gcc_no_link = xyes; then
90731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90733 { (exit 1); exit 1; }; }
90735 cat >conftest.$ac_ext <<_ACEOF
90736 /* confdefs.h. */
90737 _ACEOF
90738 cat confdefs.h >>conftest.$ac_ext
90739 cat >>conftest.$ac_ext <<_ACEOF
90740 /* end confdefs.h. */
90741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90743 #define $ac_func innocuous_$ac_func
90745 /* System header to define __stub macros and hopefully few prototypes,
90746 which can conflict with char $ac_func (); below.
90747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90748 <limits.h> exists even on freestanding compilers. */
90750 #ifdef __STDC__
90751 # include <limits.h>
90752 #else
90753 # include <assert.h>
90754 #endif
90756 #undef $ac_func
90758 /* Override any gcc2 internal prototype to avoid an error. */
90759 #ifdef __cplusplus
90760 extern "C"
90762 #endif
90763 /* We use char because int might match the return type of a gcc2
90764 builtin and then its argument prototype would still apply. */
90765 char $ac_func ();
90766 /* The GNU C library defines this for functions which it implements
90767 to always fail with ENOSYS. Some functions are actually named
90768 something starting with __ and the normal name is an alias. */
90769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90770 choke me
90771 #else
90772 char (*f) () = $ac_func;
90773 #endif
90774 #ifdef __cplusplus
90776 #endif
90779 main ()
90781 return f != $ac_func;
90783 return 0;
90785 _ACEOF
90786 rm -f conftest.$ac_objext conftest$ac_exeext
90787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90788 (eval $ac_link) 2>conftest.er1
90789 ac_status=$?
90790 grep -v '^ *+' conftest.er1 >conftest.err
90791 rm -f conftest.er1
90792 cat conftest.err >&5
90793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90794 (exit $ac_status); } &&
90795 { ac_try='test -z "$ac_c_werror_flag"
90796 || test ! -s conftest.err'
90797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90798 (eval $ac_try) 2>&5
90799 ac_status=$?
90800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90801 (exit $ac_status); }; } &&
90802 { ac_try='test -s conftest$ac_exeext'
90803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90804 (eval $ac_try) 2>&5
90805 ac_status=$?
90806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90807 (exit $ac_status); }; }; then
90808 eval "$as_ac_var=yes"
90809 else
90810 echo "$as_me: failed program was:" >&5
90811 sed 's/^/| /' conftest.$ac_ext >&5
90813 eval "$as_ac_var=no"
90815 rm -f conftest.err conftest.$ac_objext \
90816 conftest$ac_exeext conftest.$ac_ext
90818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90820 if test `eval echo '${'$as_ac_var'}'` = yes; then
90821 cat >>confdefs.h <<_ACEOF
90822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90823 _ACEOF
90826 done
90836 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
90837 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
90838 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
90839 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
90840 echo $ECHO_N "(cached) $ECHO_C" >&6
90841 else
90845 ac_ext=cc
90846 ac_cpp='$CXXCPP $CPPFLAGS'
90847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90851 cat >conftest.$ac_ext <<_ACEOF
90852 /* confdefs.h. */
90853 _ACEOF
90854 cat confdefs.h >>conftest.$ac_ext
90855 cat >>conftest.$ac_ext <<_ACEOF
90856 /* end confdefs.h. */
90857 #include <math.h>
90859 main ()
90861 frexpl(0, 0);
90863 return 0;
90865 _ACEOF
90866 rm -f conftest.$ac_objext
90867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90868 (eval $ac_compile) 2>conftest.er1
90869 ac_status=$?
90870 grep -v '^ *+' conftest.er1 >conftest.err
90871 rm -f conftest.er1
90872 cat conftest.err >&5
90873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90874 (exit $ac_status); } &&
90875 { ac_try='test -z "$ac_cxx_werror_flag"
90876 || test ! -s conftest.err'
90877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90878 (eval $ac_try) 2>&5
90879 ac_status=$?
90880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90881 (exit $ac_status); }; } &&
90882 { ac_try='test -s conftest.$ac_objext'
90883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90884 (eval $ac_try) 2>&5
90885 ac_status=$?
90886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90887 (exit $ac_status); }; }; then
90888 glibcxx_cv_func_frexpl_use=yes
90889 else
90890 echo "$as_me: failed program was:" >&5
90891 sed 's/^/| /' conftest.$ac_ext >&5
90893 glibcxx_cv_func_frexpl_use=no
90895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90896 ac_ext=c
90897 ac_cpp='$CPP $CPPFLAGS'
90898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90906 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
90907 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
90909 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
90911 for ac_func in frexpl
90913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90914 echo "$as_me:$LINENO: checking for $ac_func" >&5
90915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90916 if eval "test \"\${$as_ac_var+set}\" = set"; then
90917 echo $ECHO_N "(cached) $ECHO_C" >&6
90918 else
90919 if test x$gcc_no_link = xyes; then
90920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90922 { (exit 1); exit 1; }; }
90924 cat >conftest.$ac_ext <<_ACEOF
90925 /* confdefs.h. */
90926 _ACEOF
90927 cat confdefs.h >>conftest.$ac_ext
90928 cat >>conftest.$ac_ext <<_ACEOF
90929 /* end confdefs.h. */
90930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90932 #define $ac_func innocuous_$ac_func
90934 /* System header to define __stub macros and hopefully few prototypes,
90935 which can conflict with char $ac_func (); below.
90936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90937 <limits.h> exists even on freestanding compilers. */
90939 #ifdef __STDC__
90940 # include <limits.h>
90941 #else
90942 # include <assert.h>
90943 #endif
90945 #undef $ac_func
90947 /* Override any gcc2 internal prototype to avoid an error. */
90948 #ifdef __cplusplus
90949 extern "C"
90951 #endif
90952 /* We use char because int might match the return type of a gcc2
90953 builtin and then its argument prototype would still apply. */
90954 char $ac_func ();
90955 /* The GNU C library defines this for functions which it implements
90956 to always fail with ENOSYS. Some functions are actually named
90957 something starting with __ and the normal name is an alias. */
90958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90959 choke me
90960 #else
90961 char (*f) () = $ac_func;
90962 #endif
90963 #ifdef __cplusplus
90965 #endif
90968 main ()
90970 return f != $ac_func;
90972 return 0;
90974 _ACEOF
90975 rm -f conftest.$ac_objext conftest$ac_exeext
90976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90977 (eval $ac_link) 2>conftest.er1
90978 ac_status=$?
90979 grep -v '^ *+' conftest.er1 >conftest.err
90980 rm -f conftest.er1
90981 cat conftest.err >&5
90982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90983 (exit $ac_status); } &&
90984 { ac_try='test -z "$ac_c_werror_flag"
90985 || test ! -s conftest.err'
90986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90987 (eval $ac_try) 2>&5
90988 ac_status=$?
90989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90990 (exit $ac_status); }; } &&
90991 { ac_try='test -s conftest$ac_exeext'
90992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90993 (eval $ac_try) 2>&5
90994 ac_status=$?
90995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90996 (exit $ac_status); }; }; then
90997 eval "$as_ac_var=yes"
90998 else
90999 echo "$as_me: failed program was:" >&5
91000 sed 's/^/| /' conftest.$ac_ext >&5
91002 eval "$as_ac_var=no"
91004 rm -f conftest.err conftest.$ac_objext \
91005 conftest$ac_exeext conftest.$ac_ext
91007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91009 if test `eval echo '${'$as_ac_var'}'` = yes; then
91010 cat >>confdefs.h <<_ACEOF
91011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91012 _ACEOF
91015 done
91017 else
91019 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
91020 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
91021 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
91022 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
91023 echo $ECHO_N "(cached) $ECHO_C" >&6
91024 else
91028 ac_ext=cc
91029 ac_cpp='$CXXCPP $CPPFLAGS'
91030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91034 cat >conftest.$ac_ext <<_ACEOF
91035 /* confdefs.h. */
91036 _ACEOF
91037 cat confdefs.h >>conftest.$ac_ext
91038 cat >>conftest.$ac_ext <<_ACEOF
91039 /* end confdefs.h. */
91040 #include <math.h>
91042 main ()
91044 _frexpl(0, 0);
91046 return 0;
91048 _ACEOF
91049 rm -f conftest.$ac_objext
91050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91051 (eval $ac_compile) 2>conftest.er1
91052 ac_status=$?
91053 grep -v '^ *+' conftest.er1 >conftest.err
91054 rm -f conftest.er1
91055 cat conftest.err >&5
91056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91057 (exit $ac_status); } &&
91058 { ac_try='test -z "$ac_cxx_werror_flag"
91059 || test ! -s conftest.err'
91060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91061 (eval $ac_try) 2>&5
91062 ac_status=$?
91063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91064 (exit $ac_status); }; } &&
91065 { ac_try='test -s conftest.$ac_objext'
91066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91067 (eval $ac_try) 2>&5
91068 ac_status=$?
91069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91070 (exit $ac_status); }; }; then
91071 glibcxx_cv_func__frexpl_use=yes
91072 else
91073 echo "$as_me: failed program was:" >&5
91074 sed 's/^/| /' conftest.$ac_ext >&5
91076 glibcxx_cv_func__frexpl_use=no
91078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91079 ac_ext=c
91080 ac_cpp='$CPP $CPPFLAGS'
91081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
91090 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
91092 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
91094 for ac_func in _frexpl
91096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91097 echo "$as_me:$LINENO: checking for $ac_func" >&5
91098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91099 if eval "test \"\${$as_ac_var+set}\" = set"; then
91100 echo $ECHO_N "(cached) $ECHO_C" >&6
91101 else
91102 if test x$gcc_no_link = xyes; then
91103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91105 { (exit 1); exit 1; }; }
91107 cat >conftest.$ac_ext <<_ACEOF
91108 /* confdefs.h. */
91109 _ACEOF
91110 cat confdefs.h >>conftest.$ac_ext
91111 cat >>conftest.$ac_ext <<_ACEOF
91112 /* end confdefs.h. */
91113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91115 #define $ac_func innocuous_$ac_func
91117 /* System header to define __stub macros and hopefully few prototypes,
91118 which can conflict with char $ac_func (); below.
91119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91120 <limits.h> exists even on freestanding compilers. */
91122 #ifdef __STDC__
91123 # include <limits.h>
91124 #else
91125 # include <assert.h>
91126 #endif
91128 #undef $ac_func
91130 /* Override any gcc2 internal prototype to avoid an error. */
91131 #ifdef __cplusplus
91132 extern "C"
91134 #endif
91135 /* We use char because int might match the return type of a gcc2
91136 builtin and then its argument prototype would still apply. */
91137 char $ac_func ();
91138 /* The GNU C library defines this for functions which it implements
91139 to always fail with ENOSYS. Some functions are actually named
91140 something starting with __ and the normal name is an alias. */
91141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91142 choke me
91143 #else
91144 char (*f) () = $ac_func;
91145 #endif
91146 #ifdef __cplusplus
91148 #endif
91151 main ()
91153 return f != $ac_func;
91155 return 0;
91157 _ACEOF
91158 rm -f conftest.$ac_objext conftest$ac_exeext
91159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91160 (eval $ac_link) 2>conftest.er1
91161 ac_status=$?
91162 grep -v '^ *+' conftest.er1 >conftest.err
91163 rm -f conftest.er1
91164 cat conftest.err >&5
91165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91166 (exit $ac_status); } &&
91167 { ac_try='test -z "$ac_c_werror_flag"
91168 || test ! -s conftest.err'
91169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91170 (eval $ac_try) 2>&5
91171 ac_status=$?
91172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91173 (exit $ac_status); }; } &&
91174 { ac_try='test -s conftest$ac_exeext'
91175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91176 (eval $ac_try) 2>&5
91177 ac_status=$?
91178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91179 (exit $ac_status); }; }; then
91180 eval "$as_ac_var=yes"
91181 else
91182 echo "$as_me: failed program was:" >&5
91183 sed 's/^/| /' conftest.$ac_ext >&5
91185 eval "$as_ac_var=no"
91187 rm -f conftest.err conftest.$ac_objext \
91188 conftest$ac_exeext conftest.$ac_ext
91190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91192 if test `eval echo '${'$as_ac_var'}'` = yes; then
91193 cat >>confdefs.h <<_ACEOF
91194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91195 _ACEOF
91198 done
91208 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
91209 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
91210 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
91211 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
91212 echo $ECHO_N "(cached) $ECHO_C" >&6
91213 else
91217 ac_ext=cc
91218 ac_cpp='$CXXCPP $CPPFLAGS'
91219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91223 cat >conftest.$ac_ext <<_ACEOF
91224 /* confdefs.h. */
91225 _ACEOF
91226 cat confdefs.h >>conftest.$ac_ext
91227 cat >>conftest.$ac_ext <<_ACEOF
91228 /* end confdefs.h. */
91229 #include <math.h>
91231 main ()
91233 hypotl(0, 0);
91235 return 0;
91237 _ACEOF
91238 rm -f conftest.$ac_objext
91239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91240 (eval $ac_compile) 2>conftest.er1
91241 ac_status=$?
91242 grep -v '^ *+' conftest.er1 >conftest.err
91243 rm -f conftest.er1
91244 cat conftest.err >&5
91245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91246 (exit $ac_status); } &&
91247 { ac_try='test -z "$ac_cxx_werror_flag"
91248 || test ! -s conftest.err'
91249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91250 (eval $ac_try) 2>&5
91251 ac_status=$?
91252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91253 (exit $ac_status); }; } &&
91254 { ac_try='test -s conftest.$ac_objext'
91255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91256 (eval $ac_try) 2>&5
91257 ac_status=$?
91258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91259 (exit $ac_status); }; }; then
91260 glibcxx_cv_func_hypotl_use=yes
91261 else
91262 echo "$as_me: failed program was:" >&5
91263 sed 's/^/| /' conftest.$ac_ext >&5
91265 glibcxx_cv_func_hypotl_use=no
91267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91268 ac_ext=c
91269 ac_cpp='$CPP $CPPFLAGS'
91270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91278 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
91279 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
91281 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
91283 for ac_func in hypotl
91285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91286 echo "$as_me:$LINENO: checking for $ac_func" >&5
91287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91288 if eval "test \"\${$as_ac_var+set}\" = set"; then
91289 echo $ECHO_N "(cached) $ECHO_C" >&6
91290 else
91291 if test x$gcc_no_link = xyes; then
91292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91294 { (exit 1); exit 1; }; }
91296 cat >conftest.$ac_ext <<_ACEOF
91297 /* confdefs.h. */
91298 _ACEOF
91299 cat confdefs.h >>conftest.$ac_ext
91300 cat >>conftest.$ac_ext <<_ACEOF
91301 /* end confdefs.h. */
91302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91304 #define $ac_func innocuous_$ac_func
91306 /* System header to define __stub macros and hopefully few prototypes,
91307 which can conflict with char $ac_func (); below.
91308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91309 <limits.h> exists even on freestanding compilers. */
91311 #ifdef __STDC__
91312 # include <limits.h>
91313 #else
91314 # include <assert.h>
91315 #endif
91317 #undef $ac_func
91319 /* Override any gcc2 internal prototype to avoid an error. */
91320 #ifdef __cplusplus
91321 extern "C"
91323 #endif
91324 /* We use char because int might match the return type of a gcc2
91325 builtin and then its argument prototype would still apply. */
91326 char $ac_func ();
91327 /* The GNU C library defines this for functions which it implements
91328 to always fail with ENOSYS. Some functions are actually named
91329 something starting with __ and the normal name is an alias. */
91330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91331 choke me
91332 #else
91333 char (*f) () = $ac_func;
91334 #endif
91335 #ifdef __cplusplus
91337 #endif
91340 main ()
91342 return f != $ac_func;
91344 return 0;
91346 _ACEOF
91347 rm -f conftest.$ac_objext conftest$ac_exeext
91348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91349 (eval $ac_link) 2>conftest.er1
91350 ac_status=$?
91351 grep -v '^ *+' conftest.er1 >conftest.err
91352 rm -f conftest.er1
91353 cat conftest.err >&5
91354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91355 (exit $ac_status); } &&
91356 { ac_try='test -z "$ac_c_werror_flag"
91357 || test ! -s conftest.err'
91358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91359 (eval $ac_try) 2>&5
91360 ac_status=$?
91361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91362 (exit $ac_status); }; } &&
91363 { ac_try='test -s conftest$ac_exeext'
91364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91365 (eval $ac_try) 2>&5
91366 ac_status=$?
91367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91368 (exit $ac_status); }; }; then
91369 eval "$as_ac_var=yes"
91370 else
91371 echo "$as_me: failed program was:" >&5
91372 sed 's/^/| /' conftest.$ac_ext >&5
91374 eval "$as_ac_var=no"
91376 rm -f conftest.err conftest.$ac_objext \
91377 conftest$ac_exeext conftest.$ac_ext
91379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91381 if test `eval echo '${'$as_ac_var'}'` = yes; then
91382 cat >>confdefs.h <<_ACEOF
91383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91384 _ACEOF
91387 done
91389 else
91391 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
91392 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
91393 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
91394 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
91395 echo $ECHO_N "(cached) $ECHO_C" >&6
91396 else
91400 ac_ext=cc
91401 ac_cpp='$CXXCPP $CPPFLAGS'
91402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91406 cat >conftest.$ac_ext <<_ACEOF
91407 /* confdefs.h. */
91408 _ACEOF
91409 cat confdefs.h >>conftest.$ac_ext
91410 cat >>conftest.$ac_ext <<_ACEOF
91411 /* end confdefs.h. */
91412 #include <math.h>
91414 main ()
91416 _hypotl(0, 0);
91418 return 0;
91420 _ACEOF
91421 rm -f conftest.$ac_objext
91422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91423 (eval $ac_compile) 2>conftest.er1
91424 ac_status=$?
91425 grep -v '^ *+' conftest.er1 >conftest.err
91426 rm -f conftest.er1
91427 cat conftest.err >&5
91428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91429 (exit $ac_status); } &&
91430 { ac_try='test -z "$ac_cxx_werror_flag"
91431 || test ! -s conftest.err'
91432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91433 (eval $ac_try) 2>&5
91434 ac_status=$?
91435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91436 (exit $ac_status); }; } &&
91437 { ac_try='test -s conftest.$ac_objext'
91438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91439 (eval $ac_try) 2>&5
91440 ac_status=$?
91441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91442 (exit $ac_status); }; }; then
91443 glibcxx_cv_func__hypotl_use=yes
91444 else
91445 echo "$as_me: failed program was:" >&5
91446 sed 's/^/| /' conftest.$ac_ext >&5
91448 glibcxx_cv_func__hypotl_use=no
91450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91451 ac_ext=c
91452 ac_cpp='$CPP $CPPFLAGS'
91453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
91462 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
91464 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
91466 for ac_func in _hypotl
91468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91469 echo "$as_me:$LINENO: checking for $ac_func" >&5
91470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91471 if eval "test \"\${$as_ac_var+set}\" = set"; then
91472 echo $ECHO_N "(cached) $ECHO_C" >&6
91473 else
91474 if test x$gcc_no_link = xyes; then
91475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91477 { (exit 1); exit 1; }; }
91479 cat >conftest.$ac_ext <<_ACEOF
91480 /* confdefs.h. */
91481 _ACEOF
91482 cat confdefs.h >>conftest.$ac_ext
91483 cat >>conftest.$ac_ext <<_ACEOF
91484 /* end confdefs.h. */
91485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91487 #define $ac_func innocuous_$ac_func
91489 /* System header to define __stub macros and hopefully few prototypes,
91490 which can conflict with char $ac_func (); below.
91491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91492 <limits.h> exists even on freestanding compilers. */
91494 #ifdef __STDC__
91495 # include <limits.h>
91496 #else
91497 # include <assert.h>
91498 #endif
91500 #undef $ac_func
91502 /* Override any gcc2 internal prototype to avoid an error. */
91503 #ifdef __cplusplus
91504 extern "C"
91506 #endif
91507 /* We use char because int might match the return type of a gcc2
91508 builtin and then its argument prototype would still apply. */
91509 char $ac_func ();
91510 /* The GNU C library defines this for functions which it implements
91511 to always fail with ENOSYS. Some functions are actually named
91512 something starting with __ and the normal name is an alias. */
91513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91514 choke me
91515 #else
91516 char (*f) () = $ac_func;
91517 #endif
91518 #ifdef __cplusplus
91520 #endif
91523 main ()
91525 return f != $ac_func;
91527 return 0;
91529 _ACEOF
91530 rm -f conftest.$ac_objext conftest$ac_exeext
91531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91532 (eval $ac_link) 2>conftest.er1
91533 ac_status=$?
91534 grep -v '^ *+' conftest.er1 >conftest.err
91535 rm -f conftest.er1
91536 cat conftest.err >&5
91537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91538 (exit $ac_status); } &&
91539 { ac_try='test -z "$ac_c_werror_flag"
91540 || test ! -s conftest.err'
91541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91542 (eval $ac_try) 2>&5
91543 ac_status=$?
91544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91545 (exit $ac_status); }; } &&
91546 { ac_try='test -s conftest$ac_exeext'
91547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91548 (eval $ac_try) 2>&5
91549 ac_status=$?
91550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91551 (exit $ac_status); }; }; then
91552 eval "$as_ac_var=yes"
91553 else
91554 echo "$as_me: failed program was:" >&5
91555 sed 's/^/| /' conftest.$ac_ext >&5
91557 eval "$as_ac_var=no"
91559 rm -f conftest.err conftest.$ac_objext \
91560 conftest$ac_exeext conftest.$ac_ext
91562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91564 if test `eval echo '${'$as_ac_var'}'` = yes; then
91565 cat >>confdefs.h <<_ACEOF
91566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91567 _ACEOF
91570 done
91580 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
91581 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
91582 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
91583 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
91584 echo $ECHO_N "(cached) $ECHO_C" >&6
91585 else
91589 ac_ext=cc
91590 ac_cpp='$CXXCPP $CPPFLAGS'
91591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91595 cat >conftest.$ac_ext <<_ACEOF
91596 /* confdefs.h. */
91597 _ACEOF
91598 cat confdefs.h >>conftest.$ac_ext
91599 cat >>conftest.$ac_ext <<_ACEOF
91600 /* end confdefs.h. */
91601 #include <math.h>
91603 main ()
91605 ldexpl(0, 0);
91607 return 0;
91609 _ACEOF
91610 rm -f conftest.$ac_objext
91611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91612 (eval $ac_compile) 2>conftest.er1
91613 ac_status=$?
91614 grep -v '^ *+' conftest.er1 >conftest.err
91615 rm -f conftest.er1
91616 cat conftest.err >&5
91617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91618 (exit $ac_status); } &&
91619 { ac_try='test -z "$ac_cxx_werror_flag"
91620 || test ! -s conftest.err'
91621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91622 (eval $ac_try) 2>&5
91623 ac_status=$?
91624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91625 (exit $ac_status); }; } &&
91626 { ac_try='test -s conftest.$ac_objext'
91627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91628 (eval $ac_try) 2>&5
91629 ac_status=$?
91630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91631 (exit $ac_status); }; }; then
91632 glibcxx_cv_func_ldexpl_use=yes
91633 else
91634 echo "$as_me: failed program was:" >&5
91635 sed 's/^/| /' conftest.$ac_ext >&5
91637 glibcxx_cv_func_ldexpl_use=no
91639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91640 ac_ext=c
91641 ac_cpp='$CPP $CPPFLAGS'
91642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
91651 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
91653 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
91655 for ac_func in ldexpl
91657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91658 echo "$as_me:$LINENO: checking for $ac_func" >&5
91659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91660 if eval "test \"\${$as_ac_var+set}\" = set"; then
91661 echo $ECHO_N "(cached) $ECHO_C" >&6
91662 else
91663 if test x$gcc_no_link = xyes; then
91664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91666 { (exit 1); exit 1; }; }
91668 cat >conftest.$ac_ext <<_ACEOF
91669 /* confdefs.h. */
91670 _ACEOF
91671 cat confdefs.h >>conftest.$ac_ext
91672 cat >>conftest.$ac_ext <<_ACEOF
91673 /* end confdefs.h. */
91674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91676 #define $ac_func innocuous_$ac_func
91678 /* System header to define __stub macros and hopefully few prototypes,
91679 which can conflict with char $ac_func (); below.
91680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91681 <limits.h> exists even on freestanding compilers. */
91683 #ifdef __STDC__
91684 # include <limits.h>
91685 #else
91686 # include <assert.h>
91687 #endif
91689 #undef $ac_func
91691 /* Override any gcc2 internal prototype to avoid an error. */
91692 #ifdef __cplusplus
91693 extern "C"
91695 #endif
91696 /* We use char because int might match the return type of a gcc2
91697 builtin and then its argument prototype would still apply. */
91698 char $ac_func ();
91699 /* The GNU C library defines this for functions which it implements
91700 to always fail with ENOSYS. Some functions are actually named
91701 something starting with __ and the normal name is an alias. */
91702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91703 choke me
91704 #else
91705 char (*f) () = $ac_func;
91706 #endif
91707 #ifdef __cplusplus
91709 #endif
91712 main ()
91714 return f != $ac_func;
91716 return 0;
91718 _ACEOF
91719 rm -f conftest.$ac_objext conftest$ac_exeext
91720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91721 (eval $ac_link) 2>conftest.er1
91722 ac_status=$?
91723 grep -v '^ *+' conftest.er1 >conftest.err
91724 rm -f conftest.er1
91725 cat conftest.err >&5
91726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91727 (exit $ac_status); } &&
91728 { ac_try='test -z "$ac_c_werror_flag"
91729 || test ! -s conftest.err'
91730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91731 (eval $ac_try) 2>&5
91732 ac_status=$?
91733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91734 (exit $ac_status); }; } &&
91735 { ac_try='test -s conftest$ac_exeext'
91736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91737 (eval $ac_try) 2>&5
91738 ac_status=$?
91739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91740 (exit $ac_status); }; }; then
91741 eval "$as_ac_var=yes"
91742 else
91743 echo "$as_me: failed program was:" >&5
91744 sed 's/^/| /' conftest.$ac_ext >&5
91746 eval "$as_ac_var=no"
91748 rm -f conftest.err conftest.$ac_objext \
91749 conftest$ac_exeext conftest.$ac_ext
91751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91753 if test `eval echo '${'$as_ac_var'}'` = yes; then
91754 cat >>confdefs.h <<_ACEOF
91755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91756 _ACEOF
91759 done
91761 else
91763 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
91764 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
91765 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
91766 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
91767 echo $ECHO_N "(cached) $ECHO_C" >&6
91768 else
91772 ac_ext=cc
91773 ac_cpp='$CXXCPP $CPPFLAGS'
91774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91778 cat >conftest.$ac_ext <<_ACEOF
91779 /* confdefs.h. */
91780 _ACEOF
91781 cat confdefs.h >>conftest.$ac_ext
91782 cat >>conftest.$ac_ext <<_ACEOF
91783 /* end confdefs.h. */
91784 #include <math.h>
91786 main ()
91788 _ldexpl(0, 0);
91790 return 0;
91792 _ACEOF
91793 rm -f conftest.$ac_objext
91794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91795 (eval $ac_compile) 2>conftest.er1
91796 ac_status=$?
91797 grep -v '^ *+' conftest.er1 >conftest.err
91798 rm -f conftest.er1
91799 cat conftest.err >&5
91800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91801 (exit $ac_status); } &&
91802 { ac_try='test -z "$ac_cxx_werror_flag"
91803 || test ! -s conftest.err'
91804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91805 (eval $ac_try) 2>&5
91806 ac_status=$?
91807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91808 (exit $ac_status); }; } &&
91809 { ac_try='test -s conftest.$ac_objext'
91810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91811 (eval $ac_try) 2>&5
91812 ac_status=$?
91813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91814 (exit $ac_status); }; }; then
91815 glibcxx_cv_func__ldexpl_use=yes
91816 else
91817 echo "$as_me: failed program was:" >&5
91818 sed 's/^/| /' conftest.$ac_ext >&5
91820 glibcxx_cv_func__ldexpl_use=no
91822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91823 ac_ext=c
91824 ac_cpp='$CPP $CPPFLAGS'
91825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
91834 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
91836 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
91838 for ac_func in _ldexpl
91840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91841 echo "$as_me:$LINENO: checking for $ac_func" >&5
91842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91843 if eval "test \"\${$as_ac_var+set}\" = set"; then
91844 echo $ECHO_N "(cached) $ECHO_C" >&6
91845 else
91846 if test x$gcc_no_link = xyes; then
91847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91849 { (exit 1); exit 1; }; }
91851 cat >conftest.$ac_ext <<_ACEOF
91852 /* confdefs.h. */
91853 _ACEOF
91854 cat confdefs.h >>conftest.$ac_ext
91855 cat >>conftest.$ac_ext <<_ACEOF
91856 /* end confdefs.h. */
91857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91859 #define $ac_func innocuous_$ac_func
91861 /* System header to define __stub macros and hopefully few prototypes,
91862 which can conflict with char $ac_func (); below.
91863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91864 <limits.h> exists even on freestanding compilers. */
91866 #ifdef __STDC__
91867 # include <limits.h>
91868 #else
91869 # include <assert.h>
91870 #endif
91872 #undef $ac_func
91874 /* Override any gcc2 internal prototype to avoid an error. */
91875 #ifdef __cplusplus
91876 extern "C"
91878 #endif
91879 /* We use char because int might match the return type of a gcc2
91880 builtin and then its argument prototype would still apply. */
91881 char $ac_func ();
91882 /* The GNU C library defines this for functions which it implements
91883 to always fail with ENOSYS. Some functions are actually named
91884 something starting with __ and the normal name is an alias. */
91885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91886 choke me
91887 #else
91888 char (*f) () = $ac_func;
91889 #endif
91890 #ifdef __cplusplus
91892 #endif
91895 main ()
91897 return f != $ac_func;
91899 return 0;
91901 _ACEOF
91902 rm -f conftest.$ac_objext conftest$ac_exeext
91903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91904 (eval $ac_link) 2>conftest.er1
91905 ac_status=$?
91906 grep -v '^ *+' conftest.er1 >conftest.err
91907 rm -f conftest.er1
91908 cat conftest.err >&5
91909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91910 (exit $ac_status); } &&
91911 { ac_try='test -z "$ac_c_werror_flag"
91912 || test ! -s conftest.err'
91913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91914 (eval $ac_try) 2>&5
91915 ac_status=$?
91916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91917 (exit $ac_status); }; } &&
91918 { ac_try='test -s conftest$ac_exeext'
91919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91920 (eval $ac_try) 2>&5
91921 ac_status=$?
91922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91923 (exit $ac_status); }; }; then
91924 eval "$as_ac_var=yes"
91925 else
91926 echo "$as_me: failed program was:" >&5
91927 sed 's/^/| /' conftest.$ac_ext >&5
91929 eval "$as_ac_var=no"
91931 rm -f conftest.err conftest.$ac_objext \
91932 conftest$ac_exeext conftest.$ac_ext
91934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91936 if test `eval echo '${'$as_ac_var'}'` = yes; then
91937 cat >>confdefs.h <<_ACEOF
91938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91939 _ACEOF
91942 done
91952 echo "$as_me:$LINENO: checking for logl declaration" >&5
91953 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
91954 if test x${glibcxx_cv_func_logl_use+set} != xset; then
91955 if test "${glibcxx_cv_func_logl_use+set}" = set; then
91956 echo $ECHO_N "(cached) $ECHO_C" >&6
91957 else
91961 ac_ext=cc
91962 ac_cpp='$CXXCPP $CPPFLAGS'
91963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91967 cat >conftest.$ac_ext <<_ACEOF
91968 /* confdefs.h. */
91969 _ACEOF
91970 cat confdefs.h >>conftest.$ac_ext
91971 cat >>conftest.$ac_ext <<_ACEOF
91972 /* end confdefs.h. */
91973 #include <math.h>
91974 #ifdef HAVE_IEEEFP_H
91975 #include <ieeefp.h>
91976 #endif
91979 main ()
91981 logl(0);
91983 return 0;
91985 _ACEOF
91986 rm -f conftest.$ac_objext
91987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91988 (eval $ac_compile) 2>conftest.er1
91989 ac_status=$?
91990 grep -v '^ *+' conftest.er1 >conftest.err
91991 rm -f conftest.er1
91992 cat conftest.err >&5
91993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91994 (exit $ac_status); } &&
91995 { ac_try='test -z "$ac_cxx_werror_flag"
91996 || test ! -s conftest.err'
91997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91998 (eval $ac_try) 2>&5
91999 ac_status=$?
92000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92001 (exit $ac_status); }; } &&
92002 { ac_try='test -s conftest.$ac_objext'
92003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92004 (eval $ac_try) 2>&5
92005 ac_status=$?
92006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92007 (exit $ac_status); }; }; then
92008 glibcxx_cv_func_logl_use=yes
92009 else
92010 echo "$as_me: failed program was:" >&5
92011 sed 's/^/| /' conftest.$ac_ext >&5
92013 glibcxx_cv_func_logl_use=no
92015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92016 ac_ext=c
92017 ac_cpp='$CPP $CPPFLAGS'
92018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
92027 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
92029 if test x$glibcxx_cv_func_logl_use = x"yes"; then
92031 for ac_func in logl
92033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92034 echo "$as_me:$LINENO: checking for $ac_func" >&5
92035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92036 if eval "test \"\${$as_ac_var+set}\" = set"; then
92037 echo $ECHO_N "(cached) $ECHO_C" >&6
92038 else
92039 if test x$gcc_no_link = xyes; then
92040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92042 { (exit 1); exit 1; }; }
92044 cat >conftest.$ac_ext <<_ACEOF
92045 /* confdefs.h. */
92046 _ACEOF
92047 cat confdefs.h >>conftest.$ac_ext
92048 cat >>conftest.$ac_ext <<_ACEOF
92049 /* end confdefs.h. */
92050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92052 #define $ac_func innocuous_$ac_func
92054 /* System header to define __stub macros and hopefully few prototypes,
92055 which can conflict with char $ac_func (); below.
92056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92057 <limits.h> exists even on freestanding compilers. */
92059 #ifdef __STDC__
92060 # include <limits.h>
92061 #else
92062 # include <assert.h>
92063 #endif
92065 #undef $ac_func
92067 /* Override any gcc2 internal prototype to avoid an error. */
92068 #ifdef __cplusplus
92069 extern "C"
92071 #endif
92072 /* We use char because int might match the return type of a gcc2
92073 builtin and then its argument prototype would still apply. */
92074 char $ac_func ();
92075 /* The GNU C library defines this for functions which it implements
92076 to always fail with ENOSYS. Some functions are actually named
92077 something starting with __ and the normal name is an alias. */
92078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92079 choke me
92080 #else
92081 char (*f) () = $ac_func;
92082 #endif
92083 #ifdef __cplusplus
92085 #endif
92088 main ()
92090 return f != $ac_func;
92092 return 0;
92094 _ACEOF
92095 rm -f conftest.$ac_objext conftest$ac_exeext
92096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92097 (eval $ac_link) 2>conftest.er1
92098 ac_status=$?
92099 grep -v '^ *+' conftest.er1 >conftest.err
92100 rm -f conftest.er1
92101 cat conftest.err >&5
92102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92103 (exit $ac_status); } &&
92104 { ac_try='test -z "$ac_c_werror_flag"
92105 || test ! -s conftest.err'
92106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92107 (eval $ac_try) 2>&5
92108 ac_status=$?
92109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92110 (exit $ac_status); }; } &&
92111 { ac_try='test -s conftest$ac_exeext'
92112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92113 (eval $ac_try) 2>&5
92114 ac_status=$?
92115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92116 (exit $ac_status); }; }; then
92117 eval "$as_ac_var=yes"
92118 else
92119 echo "$as_me: failed program was:" >&5
92120 sed 's/^/| /' conftest.$ac_ext >&5
92122 eval "$as_ac_var=no"
92124 rm -f conftest.err conftest.$ac_objext \
92125 conftest$ac_exeext conftest.$ac_ext
92127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92129 if test `eval echo '${'$as_ac_var'}'` = yes; then
92130 cat >>confdefs.h <<_ACEOF
92131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92132 _ACEOF
92135 done
92137 else
92139 echo "$as_me:$LINENO: checking for _logl declaration" >&5
92140 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
92141 if test x${glibcxx_cv_func__logl_use+set} != xset; then
92142 if test "${glibcxx_cv_func__logl_use+set}" = set; then
92143 echo $ECHO_N "(cached) $ECHO_C" >&6
92144 else
92148 ac_ext=cc
92149 ac_cpp='$CXXCPP $CPPFLAGS'
92150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92154 cat >conftest.$ac_ext <<_ACEOF
92155 /* confdefs.h. */
92156 _ACEOF
92157 cat confdefs.h >>conftest.$ac_ext
92158 cat >>conftest.$ac_ext <<_ACEOF
92159 /* end confdefs.h. */
92160 #include <math.h>
92161 #ifdef HAVE_IEEEFP_H
92162 #include <ieeefp.h>
92163 #endif
92166 main ()
92168 _logl(0);
92170 return 0;
92172 _ACEOF
92173 rm -f conftest.$ac_objext
92174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92175 (eval $ac_compile) 2>conftest.er1
92176 ac_status=$?
92177 grep -v '^ *+' conftest.er1 >conftest.err
92178 rm -f conftest.er1
92179 cat conftest.err >&5
92180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92181 (exit $ac_status); } &&
92182 { ac_try='test -z "$ac_cxx_werror_flag"
92183 || test ! -s conftest.err'
92184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92185 (eval $ac_try) 2>&5
92186 ac_status=$?
92187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92188 (exit $ac_status); }; } &&
92189 { ac_try='test -s conftest.$ac_objext'
92190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92191 (eval $ac_try) 2>&5
92192 ac_status=$?
92193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92194 (exit $ac_status); }; }; then
92195 glibcxx_cv_func__logl_use=yes
92196 else
92197 echo "$as_me: failed program was:" >&5
92198 sed 's/^/| /' conftest.$ac_ext >&5
92200 glibcxx_cv_func__logl_use=no
92202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92203 ac_ext=c
92204 ac_cpp='$CPP $CPPFLAGS'
92205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
92214 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
92216 if test x$glibcxx_cv_func__logl_use = x"yes"; then
92218 for ac_func in _logl
92220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92221 echo "$as_me:$LINENO: checking for $ac_func" >&5
92222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92223 if eval "test \"\${$as_ac_var+set}\" = set"; then
92224 echo $ECHO_N "(cached) $ECHO_C" >&6
92225 else
92226 if test x$gcc_no_link = xyes; then
92227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92229 { (exit 1); exit 1; }; }
92231 cat >conftest.$ac_ext <<_ACEOF
92232 /* confdefs.h. */
92233 _ACEOF
92234 cat confdefs.h >>conftest.$ac_ext
92235 cat >>conftest.$ac_ext <<_ACEOF
92236 /* end confdefs.h. */
92237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92239 #define $ac_func innocuous_$ac_func
92241 /* System header to define __stub macros and hopefully few prototypes,
92242 which can conflict with char $ac_func (); below.
92243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92244 <limits.h> exists even on freestanding compilers. */
92246 #ifdef __STDC__
92247 # include <limits.h>
92248 #else
92249 # include <assert.h>
92250 #endif
92252 #undef $ac_func
92254 /* Override any gcc2 internal prototype to avoid an error. */
92255 #ifdef __cplusplus
92256 extern "C"
92258 #endif
92259 /* We use char because int might match the return type of a gcc2
92260 builtin and then its argument prototype would still apply. */
92261 char $ac_func ();
92262 /* The GNU C library defines this for functions which it implements
92263 to always fail with ENOSYS. Some functions are actually named
92264 something starting with __ and the normal name is an alias. */
92265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92266 choke me
92267 #else
92268 char (*f) () = $ac_func;
92269 #endif
92270 #ifdef __cplusplus
92272 #endif
92275 main ()
92277 return f != $ac_func;
92279 return 0;
92281 _ACEOF
92282 rm -f conftest.$ac_objext conftest$ac_exeext
92283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92284 (eval $ac_link) 2>conftest.er1
92285 ac_status=$?
92286 grep -v '^ *+' conftest.er1 >conftest.err
92287 rm -f conftest.er1
92288 cat conftest.err >&5
92289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92290 (exit $ac_status); } &&
92291 { ac_try='test -z "$ac_c_werror_flag"
92292 || test ! -s conftest.err'
92293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92294 (eval $ac_try) 2>&5
92295 ac_status=$?
92296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92297 (exit $ac_status); }; } &&
92298 { ac_try='test -s conftest$ac_exeext'
92299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92300 (eval $ac_try) 2>&5
92301 ac_status=$?
92302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92303 (exit $ac_status); }; }; then
92304 eval "$as_ac_var=yes"
92305 else
92306 echo "$as_me: failed program was:" >&5
92307 sed 's/^/| /' conftest.$ac_ext >&5
92309 eval "$as_ac_var=no"
92311 rm -f conftest.err conftest.$ac_objext \
92312 conftest$ac_exeext conftest.$ac_ext
92314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92316 if test `eval echo '${'$as_ac_var'}'` = yes; then
92317 cat >>confdefs.h <<_ACEOF
92318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92319 _ACEOF
92322 done
92332 echo "$as_me:$LINENO: checking for log10l declaration" >&5
92333 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
92334 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
92335 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
92336 echo $ECHO_N "(cached) $ECHO_C" >&6
92337 else
92341 ac_ext=cc
92342 ac_cpp='$CXXCPP $CPPFLAGS'
92343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92347 cat >conftest.$ac_ext <<_ACEOF
92348 /* confdefs.h. */
92349 _ACEOF
92350 cat confdefs.h >>conftest.$ac_ext
92351 cat >>conftest.$ac_ext <<_ACEOF
92352 /* end confdefs.h. */
92353 #include <math.h>
92354 #ifdef HAVE_IEEEFP_H
92355 #include <ieeefp.h>
92356 #endif
92359 main ()
92361 log10l(0);
92363 return 0;
92365 _ACEOF
92366 rm -f conftest.$ac_objext
92367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92368 (eval $ac_compile) 2>conftest.er1
92369 ac_status=$?
92370 grep -v '^ *+' conftest.er1 >conftest.err
92371 rm -f conftest.er1
92372 cat conftest.err >&5
92373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92374 (exit $ac_status); } &&
92375 { ac_try='test -z "$ac_cxx_werror_flag"
92376 || test ! -s conftest.err'
92377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92378 (eval $ac_try) 2>&5
92379 ac_status=$?
92380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92381 (exit $ac_status); }; } &&
92382 { ac_try='test -s conftest.$ac_objext'
92383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92384 (eval $ac_try) 2>&5
92385 ac_status=$?
92386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92387 (exit $ac_status); }; }; then
92388 glibcxx_cv_func_log10l_use=yes
92389 else
92390 echo "$as_me: failed program was:" >&5
92391 sed 's/^/| /' conftest.$ac_ext >&5
92393 glibcxx_cv_func_log10l_use=no
92395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92396 ac_ext=c
92397 ac_cpp='$CPP $CPPFLAGS'
92398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92406 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
92407 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
92409 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
92411 for ac_func in log10l
92413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92414 echo "$as_me:$LINENO: checking for $ac_func" >&5
92415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92416 if eval "test \"\${$as_ac_var+set}\" = set"; then
92417 echo $ECHO_N "(cached) $ECHO_C" >&6
92418 else
92419 if test x$gcc_no_link = xyes; then
92420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92422 { (exit 1); exit 1; }; }
92424 cat >conftest.$ac_ext <<_ACEOF
92425 /* confdefs.h. */
92426 _ACEOF
92427 cat confdefs.h >>conftest.$ac_ext
92428 cat >>conftest.$ac_ext <<_ACEOF
92429 /* end confdefs.h. */
92430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92432 #define $ac_func innocuous_$ac_func
92434 /* System header to define __stub macros and hopefully few prototypes,
92435 which can conflict with char $ac_func (); below.
92436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92437 <limits.h> exists even on freestanding compilers. */
92439 #ifdef __STDC__
92440 # include <limits.h>
92441 #else
92442 # include <assert.h>
92443 #endif
92445 #undef $ac_func
92447 /* Override any gcc2 internal prototype to avoid an error. */
92448 #ifdef __cplusplus
92449 extern "C"
92451 #endif
92452 /* We use char because int might match the return type of a gcc2
92453 builtin and then its argument prototype would still apply. */
92454 char $ac_func ();
92455 /* The GNU C library defines this for functions which it implements
92456 to always fail with ENOSYS. Some functions are actually named
92457 something starting with __ and the normal name is an alias. */
92458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92459 choke me
92460 #else
92461 char (*f) () = $ac_func;
92462 #endif
92463 #ifdef __cplusplus
92465 #endif
92468 main ()
92470 return f != $ac_func;
92472 return 0;
92474 _ACEOF
92475 rm -f conftest.$ac_objext conftest$ac_exeext
92476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92477 (eval $ac_link) 2>conftest.er1
92478 ac_status=$?
92479 grep -v '^ *+' conftest.er1 >conftest.err
92480 rm -f conftest.er1
92481 cat conftest.err >&5
92482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92483 (exit $ac_status); } &&
92484 { ac_try='test -z "$ac_c_werror_flag"
92485 || test ! -s conftest.err'
92486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92487 (eval $ac_try) 2>&5
92488 ac_status=$?
92489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92490 (exit $ac_status); }; } &&
92491 { ac_try='test -s conftest$ac_exeext'
92492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92493 (eval $ac_try) 2>&5
92494 ac_status=$?
92495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92496 (exit $ac_status); }; }; then
92497 eval "$as_ac_var=yes"
92498 else
92499 echo "$as_me: failed program was:" >&5
92500 sed 's/^/| /' conftest.$ac_ext >&5
92502 eval "$as_ac_var=no"
92504 rm -f conftest.err conftest.$ac_objext \
92505 conftest$ac_exeext conftest.$ac_ext
92507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92509 if test `eval echo '${'$as_ac_var'}'` = yes; then
92510 cat >>confdefs.h <<_ACEOF
92511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92512 _ACEOF
92515 done
92517 else
92519 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
92520 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
92521 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
92522 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
92523 echo $ECHO_N "(cached) $ECHO_C" >&6
92524 else
92528 ac_ext=cc
92529 ac_cpp='$CXXCPP $CPPFLAGS'
92530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92534 cat >conftest.$ac_ext <<_ACEOF
92535 /* confdefs.h. */
92536 _ACEOF
92537 cat confdefs.h >>conftest.$ac_ext
92538 cat >>conftest.$ac_ext <<_ACEOF
92539 /* end confdefs.h. */
92540 #include <math.h>
92541 #ifdef HAVE_IEEEFP_H
92542 #include <ieeefp.h>
92543 #endif
92546 main ()
92548 _log10l(0);
92550 return 0;
92552 _ACEOF
92553 rm -f conftest.$ac_objext
92554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92555 (eval $ac_compile) 2>conftest.er1
92556 ac_status=$?
92557 grep -v '^ *+' conftest.er1 >conftest.err
92558 rm -f conftest.er1
92559 cat conftest.err >&5
92560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92561 (exit $ac_status); } &&
92562 { ac_try='test -z "$ac_cxx_werror_flag"
92563 || test ! -s conftest.err'
92564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92565 (eval $ac_try) 2>&5
92566 ac_status=$?
92567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92568 (exit $ac_status); }; } &&
92569 { ac_try='test -s conftest.$ac_objext'
92570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92571 (eval $ac_try) 2>&5
92572 ac_status=$?
92573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92574 (exit $ac_status); }; }; then
92575 glibcxx_cv_func__log10l_use=yes
92576 else
92577 echo "$as_me: failed program was:" >&5
92578 sed 's/^/| /' conftest.$ac_ext >&5
92580 glibcxx_cv_func__log10l_use=no
92582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92583 ac_ext=c
92584 ac_cpp='$CPP $CPPFLAGS'
92585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92593 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
92594 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
92596 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
92598 for ac_func in _log10l
92600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92601 echo "$as_me:$LINENO: checking for $ac_func" >&5
92602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92603 if eval "test \"\${$as_ac_var+set}\" = set"; then
92604 echo $ECHO_N "(cached) $ECHO_C" >&6
92605 else
92606 if test x$gcc_no_link = xyes; then
92607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92609 { (exit 1); exit 1; }; }
92611 cat >conftest.$ac_ext <<_ACEOF
92612 /* confdefs.h. */
92613 _ACEOF
92614 cat confdefs.h >>conftest.$ac_ext
92615 cat >>conftest.$ac_ext <<_ACEOF
92616 /* end confdefs.h. */
92617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92619 #define $ac_func innocuous_$ac_func
92621 /* System header to define __stub macros and hopefully few prototypes,
92622 which can conflict with char $ac_func (); below.
92623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92624 <limits.h> exists even on freestanding compilers. */
92626 #ifdef __STDC__
92627 # include <limits.h>
92628 #else
92629 # include <assert.h>
92630 #endif
92632 #undef $ac_func
92634 /* Override any gcc2 internal prototype to avoid an error. */
92635 #ifdef __cplusplus
92636 extern "C"
92638 #endif
92639 /* We use char because int might match the return type of a gcc2
92640 builtin and then its argument prototype would still apply. */
92641 char $ac_func ();
92642 /* The GNU C library defines this for functions which it implements
92643 to always fail with ENOSYS. Some functions are actually named
92644 something starting with __ and the normal name is an alias. */
92645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92646 choke me
92647 #else
92648 char (*f) () = $ac_func;
92649 #endif
92650 #ifdef __cplusplus
92652 #endif
92655 main ()
92657 return f != $ac_func;
92659 return 0;
92661 _ACEOF
92662 rm -f conftest.$ac_objext conftest$ac_exeext
92663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92664 (eval $ac_link) 2>conftest.er1
92665 ac_status=$?
92666 grep -v '^ *+' conftest.er1 >conftest.err
92667 rm -f conftest.er1
92668 cat conftest.err >&5
92669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92670 (exit $ac_status); } &&
92671 { ac_try='test -z "$ac_c_werror_flag"
92672 || test ! -s conftest.err'
92673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92674 (eval $ac_try) 2>&5
92675 ac_status=$?
92676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92677 (exit $ac_status); }; } &&
92678 { ac_try='test -s conftest$ac_exeext'
92679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92680 (eval $ac_try) 2>&5
92681 ac_status=$?
92682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92683 (exit $ac_status); }; }; then
92684 eval "$as_ac_var=yes"
92685 else
92686 echo "$as_me: failed program was:" >&5
92687 sed 's/^/| /' conftest.$ac_ext >&5
92689 eval "$as_ac_var=no"
92691 rm -f conftest.err conftest.$ac_objext \
92692 conftest$ac_exeext conftest.$ac_ext
92694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92696 if test `eval echo '${'$as_ac_var'}'` = yes; then
92697 cat >>confdefs.h <<_ACEOF
92698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92699 _ACEOF
92702 done
92712 echo "$as_me:$LINENO: checking for modfl declaration" >&5
92713 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
92714 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
92715 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
92716 echo $ECHO_N "(cached) $ECHO_C" >&6
92717 else
92721 ac_ext=cc
92722 ac_cpp='$CXXCPP $CPPFLAGS'
92723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92727 cat >conftest.$ac_ext <<_ACEOF
92728 /* confdefs.h. */
92729 _ACEOF
92730 cat confdefs.h >>conftest.$ac_ext
92731 cat >>conftest.$ac_ext <<_ACEOF
92732 /* end confdefs.h. */
92733 #include <math.h>
92735 main ()
92737 modfl(0, 0);
92739 return 0;
92741 _ACEOF
92742 rm -f conftest.$ac_objext
92743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92744 (eval $ac_compile) 2>conftest.er1
92745 ac_status=$?
92746 grep -v '^ *+' conftest.er1 >conftest.err
92747 rm -f conftest.er1
92748 cat conftest.err >&5
92749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92750 (exit $ac_status); } &&
92751 { ac_try='test -z "$ac_cxx_werror_flag"
92752 || test ! -s conftest.err'
92753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92754 (eval $ac_try) 2>&5
92755 ac_status=$?
92756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92757 (exit $ac_status); }; } &&
92758 { ac_try='test -s conftest.$ac_objext'
92759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92760 (eval $ac_try) 2>&5
92761 ac_status=$?
92762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92763 (exit $ac_status); }; }; then
92764 glibcxx_cv_func_modfl_use=yes
92765 else
92766 echo "$as_me: failed program was:" >&5
92767 sed 's/^/| /' conftest.$ac_ext >&5
92769 glibcxx_cv_func_modfl_use=no
92771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92772 ac_ext=c
92773 ac_cpp='$CPP $CPPFLAGS'
92774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
92783 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
92785 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
92787 for ac_func in modfl
92789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92790 echo "$as_me:$LINENO: checking for $ac_func" >&5
92791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92792 if eval "test \"\${$as_ac_var+set}\" = set"; then
92793 echo $ECHO_N "(cached) $ECHO_C" >&6
92794 else
92795 if test x$gcc_no_link = xyes; then
92796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92798 { (exit 1); exit 1; }; }
92800 cat >conftest.$ac_ext <<_ACEOF
92801 /* confdefs.h. */
92802 _ACEOF
92803 cat confdefs.h >>conftest.$ac_ext
92804 cat >>conftest.$ac_ext <<_ACEOF
92805 /* end confdefs.h. */
92806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92808 #define $ac_func innocuous_$ac_func
92810 /* System header to define __stub macros and hopefully few prototypes,
92811 which can conflict with char $ac_func (); below.
92812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92813 <limits.h> exists even on freestanding compilers. */
92815 #ifdef __STDC__
92816 # include <limits.h>
92817 #else
92818 # include <assert.h>
92819 #endif
92821 #undef $ac_func
92823 /* Override any gcc2 internal prototype to avoid an error. */
92824 #ifdef __cplusplus
92825 extern "C"
92827 #endif
92828 /* We use char because int might match the return type of a gcc2
92829 builtin and then its argument prototype would still apply. */
92830 char $ac_func ();
92831 /* The GNU C library defines this for functions which it implements
92832 to always fail with ENOSYS. Some functions are actually named
92833 something starting with __ and the normal name is an alias. */
92834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92835 choke me
92836 #else
92837 char (*f) () = $ac_func;
92838 #endif
92839 #ifdef __cplusplus
92841 #endif
92844 main ()
92846 return f != $ac_func;
92848 return 0;
92850 _ACEOF
92851 rm -f conftest.$ac_objext conftest$ac_exeext
92852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92853 (eval $ac_link) 2>conftest.er1
92854 ac_status=$?
92855 grep -v '^ *+' conftest.er1 >conftest.err
92856 rm -f conftest.er1
92857 cat conftest.err >&5
92858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92859 (exit $ac_status); } &&
92860 { ac_try='test -z "$ac_c_werror_flag"
92861 || test ! -s conftest.err'
92862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92863 (eval $ac_try) 2>&5
92864 ac_status=$?
92865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92866 (exit $ac_status); }; } &&
92867 { ac_try='test -s conftest$ac_exeext'
92868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92869 (eval $ac_try) 2>&5
92870 ac_status=$?
92871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92872 (exit $ac_status); }; }; then
92873 eval "$as_ac_var=yes"
92874 else
92875 echo "$as_me: failed program was:" >&5
92876 sed 's/^/| /' conftest.$ac_ext >&5
92878 eval "$as_ac_var=no"
92880 rm -f conftest.err conftest.$ac_objext \
92881 conftest$ac_exeext conftest.$ac_ext
92883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92885 if test `eval echo '${'$as_ac_var'}'` = yes; then
92886 cat >>confdefs.h <<_ACEOF
92887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92888 _ACEOF
92891 done
92893 else
92895 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
92896 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
92897 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
92898 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
92899 echo $ECHO_N "(cached) $ECHO_C" >&6
92900 else
92904 ac_ext=cc
92905 ac_cpp='$CXXCPP $CPPFLAGS'
92906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92910 cat >conftest.$ac_ext <<_ACEOF
92911 /* confdefs.h. */
92912 _ACEOF
92913 cat confdefs.h >>conftest.$ac_ext
92914 cat >>conftest.$ac_ext <<_ACEOF
92915 /* end confdefs.h. */
92916 #include <math.h>
92918 main ()
92920 _modfl(0, 0);
92922 return 0;
92924 _ACEOF
92925 rm -f conftest.$ac_objext
92926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92927 (eval $ac_compile) 2>conftest.er1
92928 ac_status=$?
92929 grep -v '^ *+' conftest.er1 >conftest.err
92930 rm -f conftest.er1
92931 cat conftest.err >&5
92932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92933 (exit $ac_status); } &&
92934 { ac_try='test -z "$ac_cxx_werror_flag"
92935 || test ! -s conftest.err'
92936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92937 (eval $ac_try) 2>&5
92938 ac_status=$?
92939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92940 (exit $ac_status); }; } &&
92941 { ac_try='test -s conftest.$ac_objext'
92942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92943 (eval $ac_try) 2>&5
92944 ac_status=$?
92945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92946 (exit $ac_status); }; }; then
92947 glibcxx_cv_func__modfl_use=yes
92948 else
92949 echo "$as_me: failed program was:" >&5
92950 sed 's/^/| /' conftest.$ac_ext >&5
92952 glibcxx_cv_func__modfl_use=no
92954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92955 ac_ext=c
92956 ac_cpp='$CPP $CPPFLAGS'
92957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
92966 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
92968 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
92970 for ac_func in _modfl
92972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92973 echo "$as_me:$LINENO: checking for $ac_func" >&5
92974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92975 if eval "test \"\${$as_ac_var+set}\" = set"; then
92976 echo $ECHO_N "(cached) $ECHO_C" >&6
92977 else
92978 if test x$gcc_no_link = xyes; then
92979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92981 { (exit 1); exit 1; }; }
92983 cat >conftest.$ac_ext <<_ACEOF
92984 /* confdefs.h. */
92985 _ACEOF
92986 cat confdefs.h >>conftest.$ac_ext
92987 cat >>conftest.$ac_ext <<_ACEOF
92988 /* end confdefs.h. */
92989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92991 #define $ac_func innocuous_$ac_func
92993 /* System header to define __stub macros and hopefully few prototypes,
92994 which can conflict with char $ac_func (); below.
92995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92996 <limits.h> exists even on freestanding compilers. */
92998 #ifdef __STDC__
92999 # include <limits.h>
93000 #else
93001 # include <assert.h>
93002 #endif
93004 #undef $ac_func
93006 /* Override any gcc2 internal prototype to avoid an error. */
93007 #ifdef __cplusplus
93008 extern "C"
93010 #endif
93011 /* We use char because int might match the return type of a gcc2
93012 builtin and then its argument prototype would still apply. */
93013 char $ac_func ();
93014 /* The GNU C library defines this for functions which it implements
93015 to always fail with ENOSYS. Some functions are actually named
93016 something starting with __ and the normal name is an alias. */
93017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93018 choke me
93019 #else
93020 char (*f) () = $ac_func;
93021 #endif
93022 #ifdef __cplusplus
93024 #endif
93027 main ()
93029 return f != $ac_func;
93031 return 0;
93033 _ACEOF
93034 rm -f conftest.$ac_objext conftest$ac_exeext
93035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93036 (eval $ac_link) 2>conftest.er1
93037 ac_status=$?
93038 grep -v '^ *+' conftest.er1 >conftest.err
93039 rm -f conftest.er1
93040 cat conftest.err >&5
93041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93042 (exit $ac_status); } &&
93043 { ac_try='test -z "$ac_c_werror_flag"
93044 || test ! -s conftest.err'
93045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93046 (eval $ac_try) 2>&5
93047 ac_status=$?
93048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93049 (exit $ac_status); }; } &&
93050 { ac_try='test -s conftest$ac_exeext'
93051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93052 (eval $ac_try) 2>&5
93053 ac_status=$?
93054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93055 (exit $ac_status); }; }; then
93056 eval "$as_ac_var=yes"
93057 else
93058 echo "$as_me: failed program was:" >&5
93059 sed 's/^/| /' conftest.$ac_ext >&5
93061 eval "$as_ac_var=no"
93063 rm -f conftest.err conftest.$ac_objext \
93064 conftest$ac_exeext conftest.$ac_ext
93066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93068 if test `eval echo '${'$as_ac_var'}'` = yes; then
93069 cat >>confdefs.h <<_ACEOF
93070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93071 _ACEOF
93074 done
93084 echo "$as_me:$LINENO: checking for powl declaration" >&5
93085 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
93086 if test x${glibcxx_cv_func_powl_use+set} != xset; then
93087 if test "${glibcxx_cv_func_powl_use+set}" = set; then
93088 echo $ECHO_N "(cached) $ECHO_C" >&6
93089 else
93093 ac_ext=cc
93094 ac_cpp='$CXXCPP $CPPFLAGS'
93095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93099 cat >conftest.$ac_ext <<_ACEOF
93100 /* confdefs.h. */
93101 _ACEOF
93102 cat confdefs.h >>conftest.$ac_ext
93103 cat >>conftest.$ac_ext <<_ACEOF
93104 /* end confdefs.h. */
93105 #include <math.h>
93107 main ()
93109 powl(0, 0);
93111 return 0;
93113 _ACEOF
93114 rm -f conftest.$ac_objext
93115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93116 (eval $ac_compile) 2>conftest.er1
93117 ac_status=$?
93118 grep -v '^ *+' conftest.er1 >conftest.err
93119 rm -f conftest.er1
93120 cat conftest.err >&5
93121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93122 (exit $ac_status); } &&
93123 { ac_try='test -z "$ac_cxx_werror_flag"
93124 || test ! -s conftest.err'
93125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93126 (eval $ac_try) 2>&5
93127 ac_status=$?
93128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93129 (exit $ac_status); }; } &&
93130 { ac_try='test -s conftest.$ac_objext'
93131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93132 (eval $ac_try) 2>&5
93133 ac_status=$?
93134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93135 (exit $ac_status); }; }; then
93136 glibcxx_cv_func_powl_use=yes
93137 else
93138 echo "$as_me: failed program was:" >&5
93139 sed 's/^/| /' conftest.$ac_ext >&5
93141 glibcxx_cv_func_powl_use=no
93143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93144 ac_ext=c
93145 ac_cpp='$CPP $CPPFLAGS'
93146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
93155 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
93157 if test x$glibcxx_cv_func_powl_use = x"yes"; then
93159 for ac_func in powl
93161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93162 echo "$as_me:$LINENO: checking for $ac_func" >&5
93163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93164 if eval "test \"\${$as_ac_var+set}\" = set"; then
93165 echo $ECHO_N "(cached) $ECHO_C" >&6
93166 else
93167 if test x$gcc_no_link = xyes; then
93168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93170 { (exit 1); exit 1; }; }
93172 cat >conftest.$ac_ext <<_ACEOF
93173 /* confdefs.h. */
93174 _ACEOF
93175 cat confdefs.h >>conftest.$ac_ext
93176 cat >>conftest.$ac_ext <<_ACEOF
93177 /* end confdefs.h. */
93178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93180 #define $ac_func innocuous_$ac_func
93182 /* System header to define __stub macros and hopefully few prototypes,
93183 which can conflict with char $ac_func (); below.
93184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93185 <limits.h> exists even on freestanding compilers. */
93187 #ifdef __STDC__
93188 # include <limits.h>
93189 #else
93190 # include <assert.h>
93191 #endif
93193 #undef $ac_func
93195 /* Override any gcc2 internal prototype to avoid an error. */
93196 #ifdef __cplusplus
93197 extern "C"
93199 #endif
93200 /* We use char because int might match the return type of a gcc2
93201 builtin and then its argument prototype would still apply. */
93202 char $ac_func ();
93203 /* The GNU C library defines this for functions which it implements
93204 to always fail with ENOSYS. Some functions are actually named
93205 something starting with __ and the normal name is an alias. */
93206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93207 choke me
93208 #else
93209 char (*f) () = $ac_func;
93210 #endif
93211 #ifdef __cplusplus
93213 #endif
93216 main ()
93218 return f != $ac_func;
93220 return 0;
93222 _ACEOF
93223 rm -f conftest.$ac_objext conftest$ac_exeext
93224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93225 (eval $ac_link) 2>conftest.er1
93226 ac_status=$?
93227 grep -v '^ *+' conftest.er1 >conftest.err
93228 rm -f conftest.er1
93229 cat conftest.err >&5
93230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93231 (exit $ac_status); } &&
93232 { ac_try='test -z "$ac_c_werror_flag"
93233 || test ! -s conftest.err'
93234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93235 (eval $ac_try) 2>&5
93236 ac_status=$?
93237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93238 (exit $ac_status); }; } &&
93239 { ac_try='test -s conftest$ac_exeext'
93240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93241 (eval $ac_try) 2>&5
93242 ac_status=$?
93243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93244 (exit $ac_status); }; }; then
93245 eval "$as_ac_var=yes"
93246 else
93247 echo "$as_me: failed program was:" >&5
93248 sed 's/^/| /' conftest.$ac_ext >&5
93250 eval "$as_ac_var=no"
93252 rm -f conftest.err conftest.$ac_objext \
93253 conftest$ac_exeext conftest.$ac_ext
93255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93257 if test `eval echo '${'$as_ac_var'}'` = yes; then
93258 cat >>confdefs.h <<_ACEOF
93259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93260 _ACEOF
93263 done
93265 else
93267 echo "$as_me:$LINENO: checking for _powl declaration" >&5
93268 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
93269 if test x${glibcxx_cv_func__powl_use+set} != xset; then
93270 if test "${glibcxx_cv_func__powl_use+set}" = set; then
93271 echo $ECHO_N "(cached) $ECHO_C" >&6
93272 else
93276 ac_ext=cc
93277 ac_cpp='$CXXCPP $CPPFLAGS'
93278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93282 cat >conftest.$ac_ext <<_ACEOF
93283 /* confdefs.h. */
93284 _ACEOF
93285 cat confdefs.h >>conftest.$ac_ext
93286 cat >>conftest.$ac_ext <<_ACEOF
93287 /* end confdefs.h. */
93288 #include <math.h>
93290 main ()
93292 _powl(0, 0);
93294 return 0;
93296 _ACEOF
93297 rm -f conftest.$ac_objext
93298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93299 (eval $ac_compile) 2>conftest.er1
93300 ac_status=$?
93301 grep -v '^ *+' conftest.er1 >conftest.err
93302 rm -f conftest.er1
93303 cat conftest.err >&5
93304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93305 (exit $ac_status); } &&
93306 { ac_try='test -z "$ac_cxx_werror_flag"
93307 || test ! -s conftest.err'
93308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93309 (eval $ac_try) 2>&5
93310 ac_status=$?
93311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93312 (exit $ac_status); }; } &&
93313 { ac_try='test -s conftest.$ac_objext'
93314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93315 (eval $ac_try) 2>&5
93316 ac_status=$?
93317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93318 (exit $ac_status); }; }; then
93319 glibcxx_cv_func__powl_use=yes
93320 else
93321 echo "$as_me: failed program was:" >&5
93322 sed 's/^/| /' conftest.$ac_ext >&5
93324 glibcxx_cv_func__powl_use=no
93326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93327 ac_ext=c
93328 ac_cpp='$CPP $CPPFLAGS'
93329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
93338 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
93340 if test x$glibcxx_cv_func__powl_use = x"yes"; then
93342 for ac_func in _powl
93344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93345 echo "$as_me:$LINENO: checking for $ac_func" >&5
93346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93347 if eval "test \"\${$as_ac_var+set}\" = set"; then
93348 echo $ECHO_N "(cached) $ECHO_C" >&6
93349 else
93350 if test x$gcc_no_link = xyes; then
93351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93353 { (exit 1); exit 1; }; }
93355 cat >conftest.$ac_ext <<_ACEOF
93356 /* confdefs.h. */
93357 _ACEOF
93358 cat confdefs.h >>conftest.$ac_ext
93359 cat >>conftest.$ac_ext <<_ACEOF
93360 /* end confdefs.h. */
93361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93363 #define $ac_func innocuous_$ac_func
93365 /* System header to define __stub macros and hopefully few prototypes,
93366 which can conflict with char $ac_func (); below.
93367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93368 <limits.h> exists even on freestanding compilers. */
93370 #ifdef __STDC__
93371 # include <limits.h>
93372 #else
93373 # include <assert.h>
93374 #endif
93376 #undef $ac_func
93378 /* Override any gcc2 internal prototype to avoid an error. */
93379 #ifdef __cplusplus
93380 extern "C"
93382 #endif
93383 /* We use char because int might match the return type of a gcc2
93384 builtin and then its argument prototype would still apply. */
93385 char $ac_func ();
93386 /* The GNU C library defines this for functions which it implements
93387 to always fail with ENOSYS. Some functions are actually named
93388 something starting with __ and the normal name is an alias. */
93389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93390 choke me
93391 #else
93392 char (*f) () = $ac_func;
93393 #endif
93394 #ifdef __cplusplus
93396 #endif
93399 main ()
93401 return f != $ac_func;
93403 return 0;
93405 _ACEOF
93406 rm -f conftest.$ac_objext conftest$ac_exeext
93407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93408 (eval $ac_link) 2>conftest.er1
93409 ac_status=$?
93410 grep -v '^ *+' conftest.er1 >conftest.err
93411 rm -f conftest.er1
93412 cat conftest.err >&5
93413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93414 (exit $ac_status); } &&
93415 { ac_try='test -z "$ac_c_werror_flag"
93416 || test ! -s conftest.err'
93417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93418 (eval $ac_try) 2>&5
93419 ac_status=$?
93420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93421 (exit $ac_status); }; } &&
93422 { ac_try='test -s conftest$ac_exeext'
93423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93424 (eval $ac_try) 2>&5
93425 ac_status=$?
93426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93427 (exit $ac_status); }; }; then
93428 eval "$as_ac_var=yes"
93429 else
93430 echo "$as_me: failed program was:" >&5
93431 sed 's/^/| /' conftest.$ac_ext >&5
93433 eval "$as_ac_var=no"
93435 rm -f conftest.err conftest.$ac_objext \
93436 conftest$ac_exeext conftest.$ac_ext
93438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93440 if test `eval echo '${'$as_ac_var'}'` = yes; then
93441 cat >>confdefs.h <<_ACEOF
93442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93443 _ACEOF
93446 done
93456 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
93457 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
93458 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
93459 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
93460 echo $ECHO_N "(cached) $ECHO_C" >&6
93461 else
93465 ac_ext=cc
93466 ac_cpp='$CXXCPP $CPPFLAGS'
93467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93471 cat >conftest.$ac_ext <<_ACEOF
93472 /* confdefs.h. */
93473 _ACEOF
93474 cat confdefs.h >>conftest.$ac_ext
93475 cat >>conftest.$ac_ext <<_ACEOF
93476 /* end confdefs.h. */
93477 #include <math.h>
93478 #ifdef HAVE_IEEEFP_H
93479 #include <ieeefp.h>
93480 #endif
93483 main ()
93485 sqrtl(0);
93487 return 0;
93489 _ACEOF
93490 rm -f conftest.$ac_objext
93491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93492 (eval $ac_compile) 2>conftest.er1
93493 ac_status=$?
93494 grep -v '^ *+' conftest.er1 >conftest.err
93495 rm -f conftest.er1
93496 cat conftest.err >&5
93497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93498 (exit $ac_status); } &&
93499 { ac_try='test -z "$ac_cxx_werror_flag"
93500 || test ! -s conftest.err'
93501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93502 (eval $ac_try) 2>&5
93503 ac_status=$?
93504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93505 (exit $ac_status); }; } &&
93506 { ac_try='test -s conftest.$ac_objext'
93507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93508 (eval $ac_try) 2>&5
93509 ac_status=$?
93510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93511 (exit $ac_status); }; }; then
93512 glibcxx_cv_func_sqrtl_use=yes
93513 else
93514 echo "$as_me: failed program was:" >&5
93515 sed 's/^/| /' conftest.$ac_ext >&5
93517 glibcxx_cv_func_sqrtl_use=no
93519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93520 ac_ext=c
93521 ac_cpp='$CPP $CPPFLAGS'
93522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
93531 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
93533 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
93535 for ac_func in sqrtl
93537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93538 echo "$as_me:$LINENO: checking for $ac_func" >&5
93539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93540 if eval "test \"\${$as_ac_var+set}\" = set"; then
93541 echo $ECHO_N "(cached) $ECHO_C" >&6
93542 else
93543 if test x$gcc_no_link = xyes; then
93544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93546 { (exit 1); exit 1; }; }
93548 cat >conftest.$ac_ext <<_ACEOF
93549 /* confdefs.h. */
93550 _ACEOF
93551 cat confdefs.h >>conftest.$ac_ext
93552 cat >>conftest.$ac_ext <<_ACEOF
93553 /* end confdefs.h. */
93554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93556 #define $ac_func innocuous_$ac_func
93558 /* System header to define __stub macros and hopefully few prototypes,
93559 which can conflict with char $ac_func (); below.
93560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93561 <limits.h> exists even on freestanding compilers. */
93563 #ifdef __STDC__
93564 # include <limits.h>
93565 #else
93566 # include <assert.h>
93567 #endif
93569 #undef $ac_func
93571 /* Override any gcc2 internal prototype to avoid an error. */
93572 #ifdef __cplusplus
93573 extern "C"
93575 #endif
93576 /* We use char because int might match the return type of a gcc2
93577 builtin and then its argument prototype would still apply. */
93578 char $ac_func ();
93579 /* The GNU C library defines this for functions which it implements
93580 to always fail with ENOSYS. Some functions are actually named
93581 something starting with __ and the normal name is an alias. */
93582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93583 choke me
93584 #else
93585 char (*f) () = $ac_func;
93586 #endif
93587 #ifdef __cplusplus
93589 #endif
93592 main ()
93594 return f != $ac_func;
93596 return 0;
93598 _ACEOF
93599 rm -f conftest.$ac_objext conftest$ac_exeext
93600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93601 (eval $ac_link) 2>conftest.er1
93602 ac_status=$?
93603 grep -v '^ *+' conftest.er1 >conftest.err
93604 rm -f conftest.er1
93605 cat conftest.err >&5
93606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93607 (exit $ac_status); } &&
93608 { ac_try='test -z "$ac_c_werror_flag"
93609 || test ! -s conftest.err'
93610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93611 (eval $ac_try) 2>&5
93612 ac_status=$?
93613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93614 (exit $ac_status); }; } &&
93615 { ac_try='test -s conftest$ac_exeext'
93616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93617 (eval $ac_try) 2>&5
93618 ac_status=$?
93619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93620 (exit $ac_status); }; }; then
93621 eval "$as_ac_var=yes"
93622 else
93623 echo "$as_me: failed program was:" >&5
93624 sed 's/^/| /' conftest.$ac_ext >&5
93626 eval "$as_ac_var=no"
93628 rm -f conftest.err conftest.$ac_objext \
93629 conftest$ac_exeext conftest.$ac_ext
93631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93633 if test `eval echo '${'$as_ac_var'}'` = yes; then
93634 cat >>confdefs.h <<_ACEOF
93635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93636 _ACEOF
93639 done
93641 else
93643 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
93644 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
93645 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
93646 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
93647 echo $ECHO_N "(cached) $ECHO_C" >&6
93648 else
93652 ac_ext=cc
93653 ac_cpp='$CXXCPP $CPPFLAGS'
93654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93658 cat >conftest.$ac_ext <<_ACEOF
93659 /* confdefs.h. */
93660 _ACEOF
93661 cat confdefs.h >>conftest.$ac_ext
93662 cat >>conftest.$ac_ext <<_ACEOF
93663 /* end confdefs.h. */
93664 #include <math.h>
93665 #ifdef HAVE_IEEEFP_H
93666 #include <ieeefp.h>
93667 #endif
93670 main ()
93672 _sqrtl(0);
93674 return 0;
93676 _ACEOF
93677 rm -f conftest.$ac_objext
93678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93679 (eval $ac_compile) 2>conftest.er1
93680 ac_status=$?
93681 grep -v '^ *+' conftest.er1 >conftest.err
93682 rm -f conftest.er1
93683 cat conftest.err >&5
93684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93685 (exit $ac_status); } &&
93686 { ac_try='test -z "$ac_cxx_werror_flag"
93687 || test ! -s conftest.err'
93688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93689 (eval $ac_try) 2>&5
93690 ac_status=$?
93691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93692 (exit $ac_status); }; } &&
93693 { ac_try='test -s conftest.$ac_objext'
93694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93695 (eval $ac_try) 2>&5
93696 ac_status=$?
93697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93698 (exit $ac_status); }; }; then
93699 glibcxx_cv_func__sqrtl_use=yes
93700 else
93701 echo "$as_me: failed program was:" >&5
93702 sed 's/^/| /' conftest.$ac_ext >&5
93704 glibcxx_cv_func__sqrtl_use=no
93706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93707 ac_ext=c
93708 ac_cpp='$CPP $CPPFLAGS'
93709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93717 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
93718 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
93720 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
93722 for ac_func in _sqrtl
93724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93725 echo "$as_me:$LINENO: checking for $ac_func" >&5
93726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93727 if eval "test \"\${$as_ac_var+set}\" = set"; then
93728 echo $ECHO_N "(cached) $ECHO_C" >&6
93729 else
93730 if test x$gcc_no_link = xyes; then
93731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93733 { (exit 1); exit 1; }; }
93735 cat >conftest.$ac_ext <<_ACEOF
93736 /* confdefs.h. */
93737 _ACEOF
93738 cat confdefs.h >>conftest.$ac_ext
93739 cat >>conftest.$ac_ext <<_ACEOF
93740 /* end confdefs.h. */
93741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93743 #define $ac_func innocuous_$ac_func
93745 /* System header to define __stub macros and hopefully few prototypes,
93746 which can conflict with char $ac_func (); below.
93747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93748 <limits.h> exists even on freestanding compilers. */
93750 #ifdef __STDC__
93751 # include <limits.h>
93752 #else
93753 # include <assert.h>
93754 #endif
93756 #undef $ac_func
93758 /* Override any gcc2 internal prototype to avoid an error. */
93759 #ifdef __cplusplus
93760 extern "C"
93762 #endif
93763 /* We use char because int might match the return type of a gcc2
93764 builtin and then its argument prototype would still apply. */
93765 char $ac_func ();
93766 /* The GNU C library defines this for functions which it implements
93767 to always fail with ENOSYS. Some functions are actually named
93768 something starting with __ and the normal name is an alias. */
93769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93770 choke me
93771 #else
93772 char (*f) () = $ac_func;
93773 #endif
93774 #ifdef __cplusplus
93776 #endif
93779 main ()
93781 return f != $ac_func;
93783 return 0;
93785 _ACEOF
93786 rm -f conftest.$ac_objext conftest$ac_exeext
93787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93788 (eval $ac_link) 2>conftest.er1
93789 ac_status=$?
93790 grep -v '^ *+' conftest.er1 >conftest.err
93791 rm -f conftest.er1
93792 cat conftest.err >&5
93793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93794 (exit $ac_status); } &&
93795 { ac_try='test -z "$ac_c_werror_flag"
93796 || test ! -s conftest.err'
93797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93798 (eval $ac_try) 2>&5
93799 ac_status=$?
93800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93801 (exit $ac_status); }; } &&
93802 { ac_try='test -s conftest$ac_exeext'
93803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93804 (eval $ac_try) 2>&5
93805 ac_status=$?
93806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93807 (exit $ac_status); }; }; then
93808 eval "$as_ac_var=yes"
93809 else
93810 echo "$as_me: failed program was:" >&5
93811 sed 's/^/| /' conftest.$ac_ext >&5
93813 eval "$as_ac_var=no"
93815 rm -f conftest.err conftest.$ac_objext \
93816 conftest$ac_exeext conftest.$ac_ext
93818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93820 if test `eval echo '${'$as_ac_var'}'` = yes; then
93821 cat >>confdefs.h <<_ACEOF
93822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93823 _ACEOF
93826 done
93836 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
93837 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
93838 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
93839 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
93840 echo $ECHO_N "(cached) $ECHO_C" >&6
93841 else
93845 ac_ext=cc
93846 ac_cpp='$CXXCPP $CPPFLAGS'
93847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93851 cat >conftest.$ac_ext <<_ACEOF
93852 /* confdefs.h. */
93853 _ACEOF
93854 cat confdefs.h >>conftest.$ac_ext
93855 cat >>conftest.$ac_ext <<_ACEOF
93856 /* end confdefs.h. */
93857 #include <math.h>
93859 main ()
93861 sincosl(0, 0, 0);
93863 return 0;
93865 _ACEOF
93866 rm -f conftest.$ac_objext
93867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93868 (eval $ac_compile) 2>conftest.er1
93869 ac_status=$?
93870 grep -v '^ *+' conftest.er1 >conftest.err
93871 rm -f conftest.er1
93872 cat conftest.err >&5
93873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93874 (exit $ac_status); } &&
93875 { ac_try='test -z "$ac_cxx_werror_flag"
93876 || test ! -s conftest.err'
93877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93878 (eval $ac_try) 2>&5
93879 ac_status=$?
93880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93881 (exit $ac_status); }; } &&
93882 { ac_try='test -s conftest.$ac_objext'
93883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93884 (eval $ac_try) 2>&5
93885 ac_status=$?
93886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93887 (exit $ac_status); }; }; then
93888 glibcxx_cv_func_sincosl_use=yes
93889 else
93890 echo "$as_me: failed program was:" >&5
93891 sed 's/^/| /' conftest.$ac_ext >&5
93893 glibcxx_cv_func_sincosl_use=no
93895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93896 ac_ext=c
93897 ac_cpp='$CPP $CPPFLAGS'
93898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93906 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
93907 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
93909 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
93911 for ac_func in sincosl
93913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93914 echo "$as_me:$LINENO: checking for $ac_func" >&5
93915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93916 if eval "test \"\${$as_ac_var+set}\" = set"; then
93917 echo $ECHO_N "(cached) $ECHO_C" >&6
93918 else
93919 if test x$gcc_no_link = xyes; then
93920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93922 { (exit 1); exit 1; }; }
93924 cat >conftest.$ac_ext <<_ACEOF
93925 /* confdefs.h. */
93926 _ACEOF
93927 cat confdefs.h >>conftest.$ac_ext
93928 cat >>conftest.$ac_ext <<_ACEOF
93929 /* end confdefs.h. */
93930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93932 #define $ac_func innocuous_$ac_func
93934 /* System header to define __stub macros and hopefully few prototypes,
93935 which can conflict with char $ac_func (); below.
93936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93937 <limits.h> exists even on freestanding compilers. */
93939 #ifdef __STDC__
93940 # include <limits.h>
93941 #else
93942 # include <assert.h>
93943 #endif
93945 #undef $ac_func
93947 /* Override any gcc2 internal prototype to avoid an error. */
93948 #ifdef __cplusplus
93949 extern "C"
93951 #endif
93952 /* We use char because int might match the return type of a gcc2
93953 builtin and then its argument prototype would still apply. */
93954 char $ac_func ();
93955 /* The GNU C library defines this for functions which it implements
93956 to always fail with ENOSYS. Some functions are actually named
93957 something starting with __ and the normal name is an alias. */
93958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93959 choke me
93960 #else
93961 char (*f) () = $ac_func;
93962 #endif
93963 #ifdef __cplusplus
93965 #endif
93968 main ()
93970 return f != $ac_func;
93972 return 0;
93974 _ACEOF
93975 rm -f conftest.$ac_objext conftest$ac_exeext
93976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93977 (eval $ac_link) 2>conftest.er1
93978 ac_status=$?
93979 grep -v '^ *+' conftest.er1 >conftest.err
93980 rm -f conftest.er1
93981 cat conftest.err >&5
93982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93983 (exit $ac_status); } &&
93984 { ac_try='test -z "$ac_c_werror_flag"
93985 || test ! -s conftest.err'
93986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93987 (eval $ac_try) 2>&5
93988 ac_status=$?
93989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93990 (exit $ac_status); }; } &&
93991 { ac_try='test -s conftest$ac_exeext'
93992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93993 (eval $ac_try) 2>&5
93994 ac_status=$?
93995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93996 (exit $ac_status); }; }; then
93997 eval "$as_ac_var=yes"
93998 else
93999 echo "$as_me: failed program was:" >&5
94000 sed 's/^/| /' conftest.$ac_ext >&5
94002 eval "$as_ac_var=no"
94004 rm -f conftest.err conftest.$ac_objext \
94005 conftest$ac_exeext conftest.$ac_ext
94007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94009 if test `eval echo '${'$as_ac_var'}'` = yes; then
94010 cat >>confdefs.h <<_ACEOF
94011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94012 _ACEOF
94015 done
94017 else
94019 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
94020 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
94021 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
94022 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
94023 echo $ECHO_N "(cached) $ECHO_C" >&6
94024 else
94028 ac_ext=cc
94029 ac_cpp='$CXXCPP $CPPFLAGS'
94030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94034 cat >conftest.$ac_ext <<_ACEOF
94035 /* confdefs.h. */
94036 _ACEOF
94037 cat confdefs.h >>conftest.$ac_ext
94038 cat >>conftest.$ac_ext <<_ACEOF
94039 /* end confdefs.h. */
94040 #include <math.h>
94042 main ()
94044 _sincosl(0, 0, 0);
94046 return 0;
94048 _ACEOF
94049 rm -f conftest.$ac_objext
94050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94051 (eval $ac_compile) 2>conftest.er1
94052 ac_status=$?
94053 grep -v '^ *+' conftest.er1 >conftest.err
94054 rm -f conftest.er1
94055 cat conftest.err >&5
94056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94057 (exit $ac_status); } &&
94058 { ac_try='test -z "$ac_cxx_werror_flag"
94059 || test ! -s conftest.err'
94060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94061 (eval $ac_try) 2>&5
94062 ac_status=$?
94063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94064 (exit $ac_status); }; } &&
94065 { ac_try='test -s conftest.$ac_objext'
94066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94067 (eval $ac_try) 2>&5
94068 ac_status=$?
94069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94070 (exit $ac_status); }; }; then
94071 glibcxx_cv_func__sincosl_use=yes
94072 else
94073 echo "$as_me: failed program was:" >&5
94074 sed 's/^/| /' conftest.$ac_ext >&5
94076 glibcxx_cv_func__sincosl_use=no
94078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94079 ac_ext=c
94080 ac_cpp='$CPP $CPPFLAGS'
94081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
94090 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
94092 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
94094 for ac_func in _sincosl
94096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94097 echo "$as_me:$LINENO: checking for $ac_func" >&5
94098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94099 if eval "test \"\${$as_ac_var+set}\" = set"; then
94100 echo $ECHO_N "(cached) $ECHO_C" >&6
94101 else
94102 if test x$gcc_no_link = xyes; then
94103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94105 { (exit 1); exit 1; }; }
94107 cat >conftest.$ac_ext <<_ACEOF
94108 /* confdefs.h. */
94109 _ACEOF
94110 cat confdefs.h >>conftest.$ac_ext
94111 cat >>conftest.$ac_ext <<_ACEOF
94112 /* end confdefs.h. */
94113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94115 #define $ac_func innocuous_$ac_func
94117 /* System header to define __stub macros and hopefully few prototypes,
94118 which can conflict with char $ac_func (); below.
94119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94120 <limits.h> exists even on freestanding compilers. */
94122 #ifdef __STDC__
94123 # include <limits.h>
94124 #else
94125 # include <assert.h>
94126 #endif
94128 #undef $ac_func
94130 /* Override any gcc2 internal prototype to avoid an error. */
94131 #ifdef __cplusplus
94132 extern "C"
94134 #endif
94135 /* We use char because int might match the return type of a gcc2
94136 builtin and then its argument prototype would still apply. */
94137 char $ac_func ();
94138 /* The GNU C library defines this for functions which it implements
94139 to always fail with ENOSYS. Some functions are actually named
94140 something starting with __ and the normal name is an alias. */
94141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94142 choke me
94143 #else
94144 char (*f) () = $ac_func;
94145 #endif
94146 #ifdef __cplusplus
94148 #endif
94151 main ()
94153 return f != $ac_func;
94155 return 0;
94157 _ACEOF
94158 rm -f conftest.$ac_objext conftest$ac_exeext
94159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94160 (eval $ac_link) 2>conftest.er1
94161 ac_status=$?
94162 grep -v '^ *+' conftest.er1 >conftest.err
94163 rm -f conftest.er1
94164 cat conftest.err >&5
94165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94166 (exit $ac_status); } &&
94167 { ac_try='test -z "$ac_c_werror_flag"
94168 || test ! -s conftest.err'
94169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94170 (eval $ac_try) 2>&5
94171 ac_status=$?
94172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94173 (exit $ac_status); }; } &&
94174 { ac_try='test -s conftest$ac_exeext'
94175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94176 (eval $ac_try) 2>&5
94177 ac_status=$?
94178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94179 (exit $ac_status); }; }; then
94180 eval "$as_ac_var=yes"
94181 else
94182 echo "$as_me: failed program was:" >&5
94183 sed 's/^/| /' conftest.$ac_ext >&5
94185 eval "$as_ac_var=no"
94187 rm -f conftest.err conftest.$ac_objext \
94188 conftest$ac_exeext conftest.$ac_ext
94190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94192 if test `eval echo '${'$as_ac_var'}'` = yes; then
94193 cat >>confdefs.h <<_ACEOF
94194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94195 _ACEOF
94198 done
94208 echo "$as_me:$LINENO: checking for finitel declaration" >&5
94209 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
94210 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
94211 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
94212 echo $ECHO_N "(cached) $ECHO_C" >&6
94213 else
94217 ac_ext=cc
94218 ac_cpp='$CXXCPP $CPPFLAGS'
94219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94223 cat >conftest.$ac_ext <<_ACEOF
94224 /* confdefs.h. */
94225 _ACEOF
94226 cat confdefs.h >>conftest.$ac_ext
94227 cat >>conftest.$ac_ext <<_ACEOF
94228 /* end confdefs.h. */
94229 #include <math.h>
94230 #ifdef HAVE_IEEEFP_H
94231 #include <ieeefp.h>
94232 #endif
94235 main ()
94237 finitel(0);
94239 return 0;
94241 _ACEOF
94242 rm -f conftest.$ac_objext
94243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94244 (eval $ac_compile) 2>conftest.er1
94245 ac_status=$?
94246 grep -v '^ *+' conftest.er1 >conftest.err
94247 rm -f conftest.er1
94248 cat conftest.err >&5
94249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94250 (exit $ac_status); } &&
94251 { ac_try='test -z "$ac_cxx_werror_flag"
94252 || test ! -s conftest.err'
94253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94254 (eval $ac_try) 2>&5
94255 ac_status=$?
94256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94257 (exit $ac_status); }; } &&
94258 { ac_try='test -s conftest.$ac_objext'
94259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94260 (eval $ac_try) 2>&5
94261 ac_status=$?
94262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94263 (exit $ac_status); }; }; then
94264 glibcxx_cv_func_finitel_use=yes
94265 else
94266 echo "$as_me: failed program was:" >&5
94267 sed 's/^/| /' conftest.$ac_ext >&5
94269 glibcxx_cv_func_finitel_use=no
94271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94272 ac_ext=c
94273 ac_cpp='$CPP $CPPFLAGS'
94274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94282 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
94283 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
94285 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
94287 for ac_func in finitel
94289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94290 echo "$as_me:$LINENO: checking for $ac_func" >&5
94291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94292 if eval "test \"\${$as_ac_var+set}\" = set"; then
94293 echo $ECHO_N "(cached) $ECHO_C" >&6
94294 else
94295 if test x$gcc_no_link = xyes; then
94296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94298 { (exit 1); exit 1; }; }
94300 cat >conftest.$ac_ext <<_ACEOF
94301 /* confdefs.h. */
94302 _ACEOF
94303 cat confdefs.h >>conftest.$ac_ext
94304 cat >>conftest.$ac_ext <<_ACEOF
94305 /* end confdefs.h. */
94306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94308 #define $ac_func innocuous_$ac_func
94310 /* System header to define __stub macros and hopefully few prototypes,
94311 which can conflict with char $ac_func (); below.
94312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94313 <limits.h> exists even on freestanding compilers. */
94315 #ifdef __STDC__
94316 # include <limits.h>
94317 #else
94318 # include <assert.h>
94319 #endif
94321 #undef $ac_func
94323 /* Override any gcc2 internal prototype to avoid an error. */
94324 #ifdef __cplusplus
94325 extern "C"
94327 #endif
94328 /* We use char because int might match the return type of a gcc2
94329 builtin and then its argument prototype would still apply. */
94330 char $ac_func ();
94331 /* The GNU C library defines this for functions which it implements
94332 to always fail with ENOSYS. Some functions are actually named
94333 something starting with __ and the normal name is an alias. */
94334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94335 choke me
94336 #else
94337 char (*f) () = $ac_func;
94338 #endif
94339 #ifdef __cplusplus
94341 #endif
94344 main ()
94346 return f != $ac_func;
94348 return 0;
94350 _ACEOF
94351 rm -f conftest.$ac_objext conftest$ac_exeext
94352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94353 (eval $ac_link) 2>conftest.er1
94354 ac_status=$?
94355 grep -v '^ *+' conftest.er1 >conftest.err
94356 rm -f conftest.er1
94357 cat conftest.err >&5
94358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94359 (exit $ac_status); } &&
94360 { ac_try='test -z "$ac_c_werror_flag"
94361 || test ! -s conftest.err'
94362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94363 (eval $ac_try) 2>&5
94364 ac_status=$?
94365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94366 (exit $ac_status); }; } &&
94367 { ac_try='test -s conftest$ac_exeext'
94368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94369 (eval $ac_try) 2>&5
94370 ac_status=$?
94371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94372 (exit $ac_status); }; }; then
94373 eval "$as_ac_var=yes"
94374 else
94375 echo "$as_me: failed program was:" >&5
94376 sed 's/^/| /' conftest.$ac_ext >&5
94378 eval "$as_ac_var=no"
94380 rm -f conftest.err conftest.$ac_objext \
94381 conftest$ac_exeext conftest.$ac_ext
94383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94385 if test `eval echo '${'$as_ac_var'}'` = yes; then
94386 cat >>confdefs.h <<_ACEOF
94387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94388 _ACEOF
94391 done
94393 else
94395 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
94396 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
94397 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
94398 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
94399 echo $ECHO_N "(cached) $ECHO_C" >&6
94400 else
94404 ac_ext=cc
94405 ac_cpp='$CXXCPP $CPPFLAGS'
94406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94410 cat >conftest.$ac_ext <<_ACEOF
94411 /* confdefs.h. */
94412 _ACEOF
94413 cat confdefs.h >>conftest.$ac_ext
94414 cat >>conftest.$ac_ext <<_ACEOF
94415 /* end confdefs.h. */
94416 #include <math.h>
94417 #ifdef HAVE_IEEEFP_H
94418 #include <ieeefp.h>
94419 #endif
94422 main ()
94424 _finitel(0);
94426 return 0;
94428 _ACEOF
94429 rm -f conftest.$ac_objext
94430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94431 (eval $ac_compile) 2>conftest.er1
94432 ac_status=$?
94433 grep -v '^ *+' conftest.er1 >conftest.err
94434 rm -f conftest.er1
94435 cat conftest.err >&5
94436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94437 (exit $ac_status); } &&
94438 { ac_try='test -z "$ac_cxx_werror_flag"
94439 || test ! -s conftest.err'
94440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94441 (eval $ac_try) 2>&5
94442 ac_status=$?
94443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94444 (exit $ac_status); }; } &&
94445 { ac_try='test -s conftest.$ac_objext'
94446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94447 (eval $ac_try) 2>&5
94448 ac_status=$?
94449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94450 (exit $ac_status); }; }; then
94451 glibcxx_cv_func__finitel_use=yes
94452 else
94453 echo "$as_me: failed program was:" >&5
94454 sed 's/^/| /' conftest.$ac_ext >&5
94456 glibcxx_cv_func__finitel_use=no
94458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94459 ac_ext=c
94460 ac_cpp='$CPP $CPPFLAGS'
94461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94469 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
94470 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
94472 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
94474 for ac_func in _finitel
94476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94477 echo "$as_me:$LINENO: checking for $ac_func" >&5
94478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94479 if eval "test \"\${$as_ac_var+set}\" = set"; then
94480 echo $ECHO_N "(cached) $ECHO_C" >&6
94481 else
94482 if test x$gcc_no_link = xyes; then
94483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94485 { (exit 1); exit 1; }; }
94487 cat >conftest.$ac_ext <<_ACEOF
94488 /* confdefs.h. */
94489 _ACEOF
94490 cat confdefs.h >>conftest.$ac_ext
94491 cat >>conftest.$ac_ext <<_ACEOF
94492 /* end confdefs.h. */
94493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94495 #define $ac_func innocuous_$ac_func
94497 /* System header to define __stub macros and hopefully few prototypes,
94498 which can conflict with char $ac_func (); below.
94499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94500 <limits.h> exists even on freestanding compilers. */
94502 #ifdef __STDC__
94503 # include <limits.h>
94504 #else
94505 # include <assert.h>
94506 #endif
94508 #undef $ac_func
94510 /* Override any gcc2 internal prototype to avoid an error. */
94511 #ifdef __cplusplus
94512 extern "C"
94514 #endif
94515 /* We use char because int might match the return type of a gcc2
94516 builtin and then its argument prototype would still apply. */
94517 char $ac_func ();
94518 /* The GNU C library defines this for functions which it implements
94519 to always fail with ENOSYS. Some functions are actually named
94520 something starting with __ and the normal name is an alias. */
94521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94522 choke me
94523 #else
94524 char (*f) () = $ac_func;
94525 #endif
94526 #ifdef __cplusplus
94528 #endif
94531 main ()
94533 return f != $ac_func;
94535 return 0;
94537 _ACEOF
94538 rm -f conftest.$ac_objext conftest$ac_exeext
94539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94540 (eval $ac_link) 2>conftest.er1
94541 ac_status=$?
94542 grep -v '^ *+' conftest.er1 >conftest.err
94543 rm -f conftest.er1
94544 cat conftest.err >&5
94545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94546 (exit $ac_status); } &&
94547 { ac_try='test -z "$ac_c_werror_flag"
94548 || test ! -s conftest.err'
94549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94550 (eval $ac_try) 2>&5
94551 ac_status=$?
94552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94553 (exit $ac_status); }; } &&
94554 { ac_try='test -s conftest$ac_exeext'
94555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94556 (eval $ac_try) 2>&5
94557 ac_status=$?
94558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94559 (exit $ac_status); }; }; then
94560 eval "$as_ac_var=yes"
94561 else
94562 echo "$as_me: failed program was:" >&5
94563 sed 's/^/| /' conftest.$ac_ext >&5
94565 eval "$as_ac_var=no"
94567 rm -f conftest.err conftest.$ac_objext \
94568 conftest$ac_exeext conftest.$ac_ext
94570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94572 if test `eval echo '${'$as_ac_var'}'` = yes; then
94573 cat >>confdefs.h <<_ACEOF
94574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94575 _ACEOF
94578 done
94587 LIBS="$ac_save_LIBS"
94588 CXXFLAGS="$ac_save_CXXFLAGS"
94592 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
94593 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
94594 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
94595 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
94596 echo $ECHO_N "(cached) $ECHO_C" >&6
94597 else
94601 ac_ext=cc
94602 ac_cpp='$CXXCPP $CPPFLAGS'
94603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94607 cat >conftest.$ac_ext <<_ACEOF
94608 /* confdefs.h. */
94609 _ACEOF
94610 cat confdefs.h >>conftest.$ac_ext
94611 cat >>conftest.$ac_ext <<_ACEOF
94612 /* end confdefs.h. */
94613 #include <math.h>
94615 main ()
94617 __builtin_abs(0);
94619 return 0;
94621 _ACEOF
94622 rm -f conftest.$ac_objext
94623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94624 (eval $ac_compile) 2>conftest.er1
94625 ac_status=$?
94626 grep -v '^ *+' conftest.er1 >conftest.err
94627 rm -f conftest.er1
94628 cat conftest.err >&5
94629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94630 (exit $ac_status); } &&
94631 { ac_try='test -z "$ac_cxx_werror_flag"
94632 || test ! -s conftest.err'
94633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94634 (eval $ac_try) 2>&5
94635 ac_status=$?
94636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94637 (exit $ac_status); }; } &&
94638 { ac_try='test -s conftest.$ac_objext'
94639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94640 (eval $ac_try) 2>&5
94641 ac_status=$?
94642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94643 (exit $ac_status); }; }; then
94644 glibcxx_cv_func___builtin_abs_use=yes
94645 else
94646 echo "$as_me: failed program was:" >&5
94647 sed 's/^/| /' conftest.$ac_ext >&5
94649 glibcxx_cv_func___builtin_abs_use=no
94651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94652 ac_ext=c
94653 ac_cpp='$CPP $CPPFLAGS'
94654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94662 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
94663 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
94664 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
94665 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
94666 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
94667 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
94668 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
94669 echo $ECHO_N "(cached) $ECHO_C" >&6
94670 else
94672 if test x$gcc_no_link = xyes; then
94673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94675 { (exit 1); exit 1; }; }
94677 cat >conftest.$ac_ext <<_ACEOF
94678 /* confdefs.h. */
94679 _ACEOF
94680 cat confdefs.h >>conftest.$ac_ext
94681 cat >>conftest.$ac_ext <<_ACEOF
94682 /* end confdefs.h. */
94683 #include <math.h>
94685 main ()
94687 __builtin_abs(0);
94689 return 0;
94691 _ACEOF
94692 rm -f conftest.$ac_objext conftest$ac_exeext
94693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94694 (eval $ac_link) 2>conftest.er1
94695 ac_status=$?
94696 grep -v '^ *+' conftest.er1 >conftest.err
94697 rm -f conftest.er1
94698 cat conftest.err >&5
94699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94700 (exit $ac_status); } &&
94701 { ac_try='test -z "$ac_c_werror_flag"
94702 || test ! -s conftest.err'
94703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94704 (eval $ac_try) 2>&5
94705 ac_status=$?
94706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94707 (exit $ac_status); }; } &&
94708 { ac_try='test -s conftest$ac_exeext'
94709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94710 (eval $ac_try) 2>&5
94711 ac_status=$?
94712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94713 (exit $ac_status); }; }; then
94714 glibcxx_cv_func___builtin_abs_link=yes
94715 else
94716 echo "$as_me: failed program was:" >&5
94717 sed 's/^/| /' conftest.$ac_ext >&5
94719 glibcxx_cv_func___builtin_abs_link=no
94721 rm -f conftest.err conftest.$ac_objext \
94722 conftest$ac_exeext conftest.$ac_ext
94727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
94728 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
94730 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
94732 cat >>confdefs.h <<\_ACEOF
94733 #define HAVE___BUILTIN_ABS 1
94734 _ACEOF
94741 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
94742 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
94743 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
94744 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
94745 echo $ECHO_N "(cached) $ECHO_C" >&6
94746 else
94750 ac_ext=cc
94751 ac_cpp='$CXXCPP $CPPFLAGS'
94752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94756 cat >conftest.$ac_ext <<_ACEOF
94757 /* confdefs.h. */
94758 _ACEOF
94759 cat confdefs.h >>conftest.$ac_ext
94760 cat >>conftest.$ac_ext <<_ACEOF
94761 /* end confdefs.h. */
94762 #include <math.h>
94764 main ()
94766 __builtin_fabsf(0);
94768 return 0;
94770 _ACEOF
94771 rm -f conftest.$ac_objext
94772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94773 (eval $ac_compile) 2>conftest.er1
94774 ac_status=$?
94775 grep -v '^ *+' conftest.er1 >conftest.err
94776 rm -f conftest.er1
94777 cat conftest.err >&5
94778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94779 (exit $ac_status); } &&
94780 { ac_try='test -z "$ac_cxx_werror_flag"
94781 || test ! -s conftest.err'
94782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94783 (eval $ac_try) 2>&5
94784 ac_status=$?
94785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94786 (exit $ac_status); }; } &&
94787 { ac_try='test -s conftest.$ac_objext'
94788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94789 (eval $ac_try) 2>&5
94790 ac_status=$?
94791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94792 (exit $ac_status); }; }; then
94793 glibcxx_cv_func___builtin_fabsf_use=yes
94794 else
94795 echo "$as_me: failed program was:" >&5
94796 sed 's/^/| /' conftest.$ac_ext >&5
94798 glibcxx_cv_func___builtin_fabsf_use=no
94800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94801 ac_ext=c
94802 ac_cpp='$CPP $CPPFLAGS'
94803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94811 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
94812 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
94813 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
94814 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
94815 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
94816 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
94817 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
94818 echo $ECHO_N "(cached) $ECHO_C" >&6
94819 else
94821 if test x$gcc_no_link = xyes; then
94822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94824 { (exit 1); exit 1; }; }
94826 cat >conftest.$ac_ext <<_ACEOF
94827 /* confdefs.h. */
94828 _ACEOF
94829 cat confdefs.h >>conftest.$ac_ext
94830 cat >>conftest.$ac_ext <<_ACEOF
94831 /* end confdefs.h. */
94832 #include <math.h>
94834 main ()
94836 __builtin_fabsf(0);
94838 return 0;
94840 _ACEOF
94841 rm -f conftest.$ac_objext conftest$ac_exeext
94842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94843 (eval $ac_link) 2>conftest.er1
94844 ac_status=$?
94845 grep -v '^ *+' conftest.er1 >conftest.err
94846 rm -f conftest.er1
94847 cat conftest.err >&5
94848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94849 (exit $ac_status); } &&
94850 { ac_try='test -z "$ac_c_werror_flag"
94851 || test ! -s conftest.err'
94852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94853 (eval $ac_try) 2>&5
94854 ac_status=$?
94855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94856 (exit $ac_status); }; } &&
94857 { ac_try='test -s conftest$ac_exeext'
94858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94859 (eval $ac_try) 2>&5
94860 ac_status=$?
94861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94862 (exit $ac_status); }; }; then
94863 glibcxx_cv_func___builtin_fabsf_link=yes
94864 else
94865 echo "$as_me: failed program was:" >&5
94866 sed 's/^/| /' conftest.$ac_ext >&5
94868 glibcxx_cv_func___builtin_fabsf_link=no
94870 rm -f conftest.err conftest.$ac_objext \
94871 conftest$ac_exeext conftest.$ac_ext
94876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
94877 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
94879 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
94881 cat >>confdefs.h <<\_ACEOF
94882 #define HAVE___BUILTIN_FABSF 1
94883 _ACEOF
94890 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
94891 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
94892 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
94893 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
94894 echo $ECHO_N "(cached) $ECHO_C" >&6
94895 else
94899 ac_ext=cc
94900 ac_cpp='$CXXCPP $CPPFLAGS'
94901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94905 cat >conftest.$ac_ext <<_ACEOF
94906 /* confdefs.h. */
94907 _ACEOF
94908 cat confdefs.h >>conftest.$ac_ext
94909 cat >>conftest.$ac_ext <<_ACEOF
94910 /* end confdefs.h. */
94911 #include <math.h>
94913 main ()
94915 __builtin_fabs(0);
94917 return 0;
94919 _ACEOF
94920 rm -f conftest.$ac_objext
94921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94922 (eval $ac_compile) 2>conftest.er1
94923 ac_status=$?
94924 grep -v '^ *+' conftest.er1 >conftest.err
94925 rm -f conftest.er1
94926 cat conftest.err >&5
94927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94928 (exit $ac_status); } &&
94929 { ac_try='test -z "$ac_cxx_werror_flag"
94930 || test ! -s conftest.err'
94931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94932 (eval $ac_try) 2>&5
94933 ac_status=$?
94934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94935 (exit $ac_status); }; } &&
94936 { ac_try='test -s conftest.$ac_objext'
94937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94938 (eval $ac_try) 2>&5
94939 ac_status=$?
94940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94941 (exit $ac_status); }; }; then
94942 glibcxx_cv_func___builtin_fabs_use=yes
94943 else
94944 echo "$as_me: failed program was:" >&5
94945 sed 's/^/| /' conftest.$ac_ext >&5
94947 glibcxx_cv_func___builtin_fabs_use=no
94949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94950 ac_ext=c
94951 ac_cpp='$CPP $CPPFLAGS'
94952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94960 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
94961 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
94962 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
94963 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
94964 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
94965 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
94966 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
94967 echo $ECHO_N "(cached) $ECHO_C" >&6
94968 else
94970 if test x$gcc_no_link = xyes; then
94971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94973 { (exit 1); exit 1; }; }
94975 cat >conftest.$ac_ext <<_ACEOF
94976 /* confdefs.h. */
94977 _ACEOF
94978 cat confdefs.h >>conftest.$ac_ext
94979 cat >>conftest.$ac_ext <<_ACEOF
94980 /* end confdefs.h. */
94981 #include <math.h>
94983 main ()
94985 __builtin_fabs(0);
94987 return 0;
94989 _ACEOF
94990 rm -f conftest.$ac_objext conftest$ac_exeext
94991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94992 (eval $ac_link) 2>conftest.er1
94993 ac_status=$?
94994 grep -v '^ *+' conftest.er1 >conftest.err
94995 rm -f conftest.er1
94996 cat conftest.err >&5
94997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94998 (exit $ac_status); } &&
94999 { ac_try='test -z "$ac_c_werror_flag"
95000 || test ! -s conftest.err'
95001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95002 (eval $ac_try) 2>&5
95003 ac_status=$?
95004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95005 (exit $ac_status); }; } &&
95006 { ac_try='test -s conftest$ac_exeext'
95007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95008 (eval $ac_try) 2>&5
95009 ac_status=$?
95010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95011 (exit $ac_status); }; }; then
95012 glibcxx_cv_func___builtin_fabs_link=yes
95013 else
95014 echo "$as_me: failed program was:" >&5
95015 sed 's/^/| /' conftest.$ac_ext >&5
95017 glibcxx_cv_func___builtin_fabs_link=no
95019 rm -f conftest.err conftest.$ac_objext \
95020 conftest$ac_exeext conftest.$ac_ext
95025 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
95026 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
95028 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
95030 cat >>confdefs.h <<\_ACEOF
95031 #define HAVE___BUILTIN_FABS 1
95032 _ACEOF
95039 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
95040 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
95041 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
95042 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
95043 echo $ECHO_N "(cached) $ECHO_C" >&6
95044 else
95048 ac_ext=cc
95049 ac_cpp='$CXXCPP $CPPFLAGS'
95050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95054 cat >conftest.$ac_ext <<_ACEOF
95055 /* confdefs.h. */
95056 _ACEOF
95057 cat confdefs.h >>conftest.$ac_ext
95058 cat >>conftest.$ac_ext <<_ACEOF
95059 /* end confdefs.h. */
95060 #include <math.h>
95062 main ()
95064 __builtin_fabsl(0);
95066 return 0;
95068 _ACEOF
95069 rm -f conftest.$ac_objext
95070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95071 (eval $ac_compile) 2>conftest.er1
95072 ac_status=$?
95073 grep -v '^ *+' conftest.er1 >conftest.err
95074 rm -f conftest.er1
95075 cat conftest.err >&5
95076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95077 (exit $ac_status); } &&
95078 { ac_try='test -z "$ac_cxx_werror_flag"
95079 || test ! -s conftest.err'
95080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95081 (eval $ac_try) 2>&5
95082 ac_status=$?
95083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95084 (exit $ac_status); }; } &&
95085 { ac_try='test -s conftest.$ac_objext'
95086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95087 (eval $ac_try) 2>&5
95088 ac_status=$?
95089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95090 (exit $ac_status); }; }; then
95091 glibcxx_cv_func___builtin_fabsl_use=yes
95092 else
95093 echo "$as_me: failed program was:" >&5
95094 sed 's/^/| /' conftest.$ac_ext >&5
95096 glibcxx_cv_func___builtin_fabsl_use=no
95098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95099 ac_ext=c
95100 ac_cpp='$CPP $CPPFLAGS'
95101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95109 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
95110 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
95111 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
95112 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
95113 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
95114 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
95115 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
95116 echo $ECHO_N "(cached) $ECHO_C" >&6
95117 else
95119 if test x$gcc_no_link = xyes; then
95120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95122 { (exit 1); exit 1; }; }
95124 cat >conftest.$ac_ext <<_ACEOF
95125 /* confdefs.h. */
95126 _ACEOF
95127 cat confdefs.h >>conftest.$ac_ext
95128 cat >>conftest.$ac_ext <<_ACEOF
95129 /* end confdefs.h. */
95130 #include <math.h>
95132 main ()
95134 __builtin_fabsl(0);
95136 return 0;
95138 _ACEOF
95139 rm -f conftest.$ac_objext conftest$ac_exeext
95140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95141 (eval $ac_link) 2>conftest.er1
95142 ac_status=$?
95143 grep -v '^ *+' conftest.er1 >conftest.err
95144 rm -f conftest.er1
95145 cat conftest.err >&5
95146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95147 (exit $ac_status); } &&
95148 { ac_try='test -z "$ac_c_werror_flag"
95149 || test ! -s conftest.err'
95150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95151 (eval $ac_try) 2>&5
95152 ac_status=$?
95153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95154 (exit $ac_status); }; } &&
95155 { ac_try='test -s conftest$ac_exeext'
95156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95157 (eval $ac_try) 2>&5
95158 ac_status=$?
95159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95160 (exit $ac_status); }; }; then
95161 glibcxx_cv_func___builtin_fabsl_link=yes
95162 else
95163 echo "$as_me: failed program was:" >&5
95164 sed 's/^/| /' conftest.$ac_ext >&5
95166 glibcxx_cv_func___builtin_fabsl_link=no
95168 rm -f conftest.err conftest.$ac_objext \
95169 conftest$ac_exeext conftest.$ac_ext
95174 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
95175 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
95177 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
95179 cat >>confdefs.h <<\_ACEOF
95180 #define HAVE___BUILTIN_FABSL 1
95181 _ACEOF
95188 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
95189 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
95190 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
95191 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
95192 echo $ECHO_N "(cached) $ECHO_C" >&6
95193 else
95197 ac_ext=cc
95198 ac_cpp='$CXXCPP $CPPFLAGS'
95199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95203 cat >conftest.$ac_ext <<_ACEOF
95204 /* confdefs.h. */
95205 _ACEOF
95206 cat confdefs.h >>conftest.$ac_ext
95207 cat >>conftest.$ac_ext <<_ACEOF
95208 /* end confdefs.h. */
95209 #include <math.h>
95211 main ()
95213 __builtin_labs(0);
95215 return 0;
95217 _ACEOF
95218 rm -f conftest.$ac_objext
95219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95220 (eval $ac_compile) 2>conftest.er1
95221 ac_status=$?
95222 grep -v '^ *+' conftest.er1 >conftest.err
95223 rm -f conftest.er1
95224 cat conftest.err >&5
95225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95226 (exit $ac_status); } &&
95227 { ac_try='test -z "$ac_cxx_werror_flag"
95228 || test ! -s conftest.err'
95229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95230 (eval $ac_try) 2>&5
95231 ac_status=$?
95232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95233 (exit $ac_status); }; } &&
95234 { ac_try='test -s conftest.$ac_objext'
95235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95236 (eval $ac_try) 2>&5
95237 ac_status=$?
95238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95239 (exit $ac_status); }; }; then
95240 glibcxx_cv_func___builtin_labs_use=yes
95241 else
95242 echo "$as_me: failed program was:" >&5
95243 sed 's/^/| /' conftest.$ac_ext >&5
95245 glibcxx_cv_func___builtin_labs_use=no
95247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95248 ac_ext=c
95249 ac_cpp='$CPP $CPPFLAGS'
95250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95258 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
95259 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
95260 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
95261 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
95262 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
95263 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
95264 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
95265 echo $ECHO_N "(cached) $ECHO_C" >&6
95266 else
95268 if test x$gcc_no_link = xyes; then
95269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95271 { (exit 1); exit 1; }; }
95273 cat >conftest.$ac_ext <<_ACEOF
95274 /* confdefs.h. */
95275 _ACEOF
95276 cat confdefs.h >>conftest.$ac_ext
95277 cat >>conftest.$ac_ext <<_ACEOF
95278 /* end confdefs.h. */
95279 #include <math.h>
95281 main ()
95283 __builtin_labs(0);
95285 return 0;
95287 _ACEOF
95288 rm -f conftest.$ac_objext conftest$ac_exeext
95289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95290 (eval $ac_link) 2>conftest.er1
95291 ac_status=$?
95292 grep -v '^ *+' conftest.er1 >conftest.err
95293 rm -f conftest.er1
95294 cat conftest.err >&5
95295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95296 (exit $ac_status); } &&
95297 { ac_try='test -z "$ac_c_werror_flag"
95298 || test ! -s conftest.err'
95299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95300 (eval $ac_try) 2>&5
95301 ac_status=$?
95302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95303 (exit $ac_status); }; } &&
95304 { ac_try='test -s conftest$ac_exeext'
95305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95306 (eval $ac_try) 2>&5
95307 ac_status=$?
95308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95309 (exit $ac_status); }; }; then
95310 glibcxx_cv_func___builtin_labs_link=yes
95311 else
95312 echo "$as_me: failed program was:" >&5
95313 sed 's/^/| /' conftest.$ac_ext >&5
95315 glibcxx_cv_func___builtin_labs_link=no
95317 rm -f conftest.err conftest.$ac_objext \
95318 conftest$ac_exeext conftest.$ac_ext
95323 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
95324 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
95326 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
95328 cat >>confdefs.h <<\_ACEOF
95329 #define HAVE___BUILTIN_LABS 1
95330 _ACEOF
95338 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
95339 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
95340 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
95341 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
95342 echo $ECHO_N "(cached) $ECHO_C" >&6
95343 else
95347 ac_ext=cc
95348 ac_cpp='$CXXCPP $CPPFLAGS'
95349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95353 cat >conftest.$ac_ext <<_ACEOF
95354 /* confdefs.h. */
95355 _ACEOF
95356 cat confdefs.h >>conftest.$ac_ext
95357 cat >>conftest.$ac_ext <<_ACEOF
95358 /* end confdefs.h. */
95359 #include <math.h>
95361 main ()
95363 __builtin_sqrtf(0);
95365 return 0;
95367 _ACEOF
95368 rm -f conftest.$ac_objext
95369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95370 (eval $ac_compile) 2>conftest.er1
95371 ac_status=$?
95372 grep -v '^ *+' conftest.er1 >conftest.err
95373 rm -f conftest.er1
95374 cat conftest.err >&5
95375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95376 (exit $ac_status); } &&
95377 { ac_try='test -z "$ac_cxx_werror_flag"
95378 || test ! -s conftest.err'
95379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95380 (eval $ac_try) 2>&5
95381 ac_status=$?
95382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95383 (exit $ac_status); }; } &&
95384 { ac_try='test -s conftest.$ac_objext'
95385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95386 (eval $ac_try) 2>&5
95387 ac_status=$?
95388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95389 (exit $ac_status); }; }; then
95390 glibcxx_cv_func___builtin_sqrtf_use=yes
95391 else
95392 echo "$as_me: failed program was:" >&5
95393 sed 's/^/| /' conftest.$ac_ext >&5
95395 glibcxx_cv_func___builtin_sqrtf_use=no
95397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95398 ac_ext=c
95399 ac_cpp='$CPP $CPPFLAGS'
95400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95408 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
95409 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
95410 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
95411 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
95412 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
95413 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
95414 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
95415 echo $ECHO_N "(cached) $ECHO_C" >&6
95416 else
95418 if test x$gcc_no_link = xyes; then
95419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95421 { (exit 1); exit 1; }; }
95423 cat >conftest.$ac_ext <<_ACEOF
95424 /* confdefs.h. */
95425 _ACEOF
95426 cat confdefs.h >>conftest.$ac_ext
95427 cat >>conftest.$ac_ext <<_ACEOF
95428 /* end confdefs.h. */
95429 #include <math.h>
95431 main ()
95433 __builtin_sqrtf(0);
95435 return 0;
95437 _ACEOF
95438 rm -f conftest.$ac_objext conftest$ac_exeext
95439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95440 (eval $ac_link) 2>conftest.er1
95441 ac_status=$?
95442 grep -v '^ *+' conftest.er1 >conftest.err
95443 rm -f conftest.er1
95444 cat conftest.err >&5
95445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95446 (exit $ac_status); } &&
95447 { ac_try='test -z "$ac_c_werror_flag"
95448 || test ! -s conftest.err'
95449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95450 (eval $ac_try) 2>&5
95451 ac_status=$?
95452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95453 (exit $ac_status); }; } &&
95454 { ac_try='test -s conftest$ac_exeext'
95455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95456 (eval $ac_try) 2>&5
95457 ac_status=$?
95458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95459 (exit $ac_status); }; }; then
95460 glibcxx_cv_func___builtin_sqrtf_link=yes
95461 else
95462 echo "$as_me: failed program was:" >&5
95463 sed 's/^/| /' conftest.$ac_ext >&5
95465 glibcxx_cv_func___builtin_sqrtf_link=no
95467 rm -f conftest.err conftest.$ac_objext \
95468 conftest$ac_exeext conftest.$ac_ext
95473 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
95474 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
95476 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
95478 cat >>confdefs.h <<\_ACEOF
95479 #define HAVE___BUILTIN_SQRTF 1
95480 _ACEOF
95487 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
95488 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
95489 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
95490 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
95491 echo $ECHO_N "(cached) $ECHO_C" >&6
95492 else
95496 ac_ext=cc
95497 ac_cpp='$CXXCPP $CPPFLAGS'
95498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95502 cat >conftest.$ac_ext <<_ACEOF
95503 /* confdefs.h. */
95504 _ACEOF
95505 cat confdefs.h >>conftest.$ac_ext
95506 cat >>conftest.$ac_ext <<_ACEOF
95507 /* end confdefs.h. */
95508 #include <math.h>
95510 main ()
95512 __builtin_sqrt(0);
95514 return 0;
95516 _ACEOF
95517 rm -f conftest.$ac_objext
95518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95519 (eval $ac_compile) 2>conftest.er1
95520 ac_status=$?
95521 grep -v '^ *+' conftest.er1 >conftest.err
95522 rm -f conftest.er1
95523 cat conftest.err >&5
95524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95525 (exit $ac_status); } &&
95526 { ac_try='test -z "$ac_cxx_werror_flag"
95527 || test ! -s conftest.err'
95528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95529 (eval $ac_try) 2>&5
95530 ac_status=$?
95531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95532 (exit $ac_status); }; } &&
95533 { ac_try='test -s conftest.$ac_objext'
95534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95535 (eval $ac_try) 2>&5
95536 ac_status=$?
95537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95538 (exit $ac_status); }; }; then
95539 glibcxx_cv_func___builtin_sqrt_use=yes
95540 else
95541 echo "$as_me: failed program was:" >&5
95542 sed 's/^/| /' conftest.$ac_ext >&5
95544 glibcxx_cv_func___builtin_sqrt_use=no
95546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95547 ac_ext=c
95548 ac_cpp='$CPP $CPPFLAGS'
95549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
95558 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
95559 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
95560 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
95561 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
95562 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
95563 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
95564 echo $ECHO_N "(cached) $ECHO_C" >&6
95565 else
95567 if test x$gcc_no_link = xyes; then
95568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95570 { (exit 1); exit 1; }; }
95572 cat >conftest.$ac_ext <<_ACEOF
95573 /* confdefs.h. */
95574 _ACEOF
95575 cat confdefs.h >>conftest.$ac_ext
95576 cat >>conftest.$ac_ext <<_ACEOF
95577 /* end confdefs.h. */
95578 #include <math.h>
95580 main ()
95582 __builtin_sqrt(0);
95584 return 0;
95586 _ACEOF
95587 rm -f conftest.$ac_objext conftest$ac_exeext
95588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95589 (eval $ac_link) 2>conftest.er1
95590 ac_status=$?
95591 grep -v '^ *+' conftest.er1 >conftest.err
95592 rm -f conftest.er1
95593 cat conftest.err >&5
95594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95595 (exit $ac_status); } &&
95596 { ac_try='test -z "$ac_c_werror_flag"
95597 || test ! -s conftest.err'
95598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95599 (eval $ac_try) 2>&5
95600 ac_status=$?
95601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95602 (exit $ac_status); }; } &&
95603 { ac_try='test -s conftest$ac_exeext'
95604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95605 (eval $ac_try) 2>&5
95606 ac_status=$?
95607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95608 (exit $ac_status); }; }; then
95609 glibcxx_cv_func___builtin_sqrt_link=yes
95610 else
95611 echo "$as_me: failed program was:" >&5
95612 sed 's/^/| /' conftest.$ac_ext >&5
95614 glibcxx_cv_func___builtin_sqrt_link=no
95616 rm -f conftest.err conftest.$ac_objext \
95617 conftest$ac_exeext conftest.$ac_ext
95622 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
95623 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
95625 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
95627 cat >>confdefs.h <<\_ACEOF
95628 #define HAVE___BUILTIN_SQRT 1
95629 _ACEOF
95636 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
95637 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
95638 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
95639 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
95640 echo $ECHO_N "(cached) $ECHO_C" >&6
95641 else
95645 ac_ext=cc
95646 ac_cpp='$CXXCPP $CPPFLAGS'
95647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95651 cat >conftest.$ac_ext <<_ACEOF
95652 /* confdefs.h. */
95653 _ACEOF
95654 cat confdefs.h >>conftest.$ac_ext
95655 cat >>conftest.$ac_ext <<_ACEOF
95656 /* end confdefs.h. */
95657 #include <math.h>
95659 main ()
95661 __builtin_sqrtl(0);
95663 return 0;
95665 _ACEOF
95666 rm -f conftest.$ac_objext
95667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95668 (eval $ac_compile) 2>conftest.er1
95669 ac_status=$?
95670 grep -v '^ *+' conftest.er1 >conftest.err
95671 rm -f conftest.er1
95672 cat conftest.err >&5
95673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95674 (exit $ac_status); } &&
95675 { ac_try='test -z "$ac_cxx_werror_flag"
95676 || test ! -s conftest.err'
95677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95678 (eval $ac_try) 2>&5
95679 ac_status=$?
95680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95681 (exit $ac_status); }; } &&
95682 { ac_try='test -s conftest.$ac_objext'
95683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95684 (eval $ac_try) 2>&5
95685 ac_status=$?
95686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95687 (exit $ac_status); }; }; then
95688 glibcxx_cv_func___builtin_sqrtl_use=yes
95689 else
95690 echo "$as_me: failed program was:" >&5
95691 sed 's/^/| /' conftest.$ac_ext >&5
95693 glibcxx_cv_func___builtin_sqrtl_use=no
95695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95696 ac_ext=c
95697 ac_cpp='$CPP $CPPFLAGS'
95698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95706 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
95707 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
95708 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
95709 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
95710 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
95711 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
95712 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
95713 echo $ECHO_N "(cached) $ECHO_C" >&6
95714 else
95716 if test x$gcc_no_link = xyes; then
95717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95719 { (exit 1); exit 1; }; }
95721 cat >conftest.$ac_ext <<_ACEOF
95722 /* confdefs.h. */
95723 _ACEOF
95724 cat confdefs.h >>conftest.$ac_ext
95725 cat >>conftest.$ac_ext <<_ACEOF
95726 /* end confdefs.h. */
95727 #include <math.h>
95729 main ()
95731 __builtin_sqrtl(0);
95733 return 0;
95735 _ACEOF
95736 rm -f conftest.$ac_objext conftest$ac_exeext
95737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95738 (eval $ac_link) 2>conftest.er1
95739 ac_status=$?
95740 grep -v '^ *+' conftest.er1 >conftest.err
95741 rm -f conftest.er1
95742 cat conftest.err >&5
95743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95744 (exit $ac_status); } &&
95745 { ac_try='test -z "$ac_c_werror_flag"
95746 || test ! -s conftest.err'
95747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95748 (eval $ac_try) 2>&5
95749 ac_status=$?
95750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95751 (exit $ac_status); }; } &&
95752 { ac_try='test -s conftest$ac_exeext'
95753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95754 (eval $ac_try) 2>&5
95755 ac_status=$?
95756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95757 (exit $ac_status); }; }; then
95758 glibcxx_cv_func___builtin_sqrtl_link=yes
95759 else
95760 echo "$as_me: failed program was:" >&5
95761 sed 's/^/| /' conftest.$ac_ext >&5
95763 glibcxx_cv_func___builtin_sqrtl_link=no
95765 rm -f conftest.err conftest.$ac_objext \
95766 conftest$ac_exeext conftest.$ac_ext
95771 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
95772 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
95774 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
95776 cat >>confdefs.h <<\_ACEOF
95777 #define HAVE___BUILTIN_SQRTL 1
95778 _ACEOF
95786 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
95787 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
95788 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
95789 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
95790 echo $ECHO_N "(cached) $ECHO_C" >&6
95791 else
95795 ac_ext=cc
95796 ac_cpp='$CXXCPP $CPPFLAGS'
95797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95801 cat >conftest.$ac_ext <<_ACEOF
95802 /* confdefs.h. */
95803 _ACEOF
95804 cat confdefs.h >>conftest.$ac_ext
95805 cat >>conftest.$ac_ext <<_ACEOF
95806 /* end confdefs.h. */
95807 #include <math.h>
95809 main ()
95811 __builtin_sinf(0);
95813 return 0;
95815 _ACEOF
95816 rm -f conftest.$ac_objext
95817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95818 (eval $ac_compile) 2>conftest.er1
95819 ac_status=$?
95820 grep -v '^ *+' conftest.er1 >conftest.err
95821 rm -f conftest.er1
95822 cat conftest.err >&5
95823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95824 (exit $ac_status); } &&
95825 { ac_try='test -z "$ac_cxx_werror_flag"
95826 || test ! -s conftest.err'
95827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95828 (eval $ac_try) 2>&5
95829 ac_status=$?
95830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95831 (exit $ac_status); }; } &&
95832 { ac_try='test -s conftest.$ac_objext'
95833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95834 (eval $ac_try) 2>&5
95835 ac_status=$?
95836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95837 (exit $ac_status); }; }; then
95838 glibcxx_cv_func___builtin_sinf_use=yes
95839 else
95840 echo "$as_me: failed program was:" >&5
95841 sed 's/^/| /' conftest.$ac_ext >&5
95843 glibcxx_cv_func___builtin_sinf_use=no
95845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95846 ac_ext=c
95847 ac_cpp='$CPP $CPPFLAGS'
95848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95856 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
95857 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
95858 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
95859 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
95860 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
95861 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
95862 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
95863 echo $ECHO_N "(cached) $ECHO_C" >&6
95864 else
95866 if test x$gcc_no_link = xyes; then
95867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95869 { (exit 1); exit 1; }; }
95871 cat >conftest.$ac_ext <<_ACEOF
95872 /* confdefs.h. */
95873 _ACEOF
95874 cat confdefs.h >>conftest.$ac_ext
95875 cat >>conftest.$ac_ext <<_ACEOF
95876 /* end confdefs.h. */
95877 #include <math.h>
95879 main ()
95881 __builtin_sinf(0);
95883 return 0;
95885 _ACEOF
95886 rm -f conftest.$ac_objext conftest$ac_exeext
95887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95888 (eval $ac_link) 2>conftest.er1
95889 ac_status=$?
95890 grep -v '^ *+' conftest.er1 >conftest.err
95891 rm -f conftest.er1
95892 cat conftest.err >&5
95893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95894 (exit $ac_status); } &&
95895 { ac_try='test -z "$ac_c_werror_flag"
95896 || test ! -s conftest.err'
95897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95898 (eval $ac_try) 2>&5
95899 ac_status=$?
95900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95901 (exit $ac_status); }; } &&
95902 { ac_try='test -s conftest$ac_exeext'
95903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95904 (eval $ac_try) 2>&5
95905 ac_status=$?
95906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95907 (exit $ac_status); }; }; then
95908 glibcxx_cv_func___builtin_sinf_link=yes
95909 else
95910 echo "$as_me: failed program was:" >&5
95911 sed 's/^/| /' conftest.$ac_ext >&5
95913 glibcxx_cv_func___builtin_sinf_link=no
95915 rm -f conftest.err conftest.$ac_objext \
95916 conftest$ac_exeext conftest.$ac_ext
95921 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
95922 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
95924 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
95926 cat >>confdefs.h <<\_ACEOF
95927 #define HAVE___BUILTIN_SINF 1
95928 _ACEOF
95935 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
95936 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
95937 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
95938 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
95939 echo $ECHO_N "(cached) $ECHO_C" >&6
95940 else
95944 ac_ext=cc
95945 ac_cpp='$CXXCPP $CPPFLAGS'
95946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95950 cat >conftest.$ac_ext <<_ACEOF
95951 /* confdefs.h. */
95952 _ACEOF
95953 cat confdefs.h >>conftest.$ac_ext
95954 cat >>conftest.$ac_ext <<_ACEOF
95955 /* end confdefs.h. */
95956 #include <math.h>
95958 main ()
95960 __builtin_sin(0);
95962 return 0;
95964 _ACEOF
95965 rm -f conftest.$ac_objext
95966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95967 (eval $ac_compile) 2>conftest.er1
95968 ac_status=$?
95969 grep -v '^ *+' conftest.er1 >conftest.err
95970 rm -f conftest.er1
95971 cat conftest.err >&5
95972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95973 (exit $ac_status); } &&
95974 { ac_try='test -z "$ac_cxx_werror_flag"
95975 || test ! -s conftest.err'
95976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95977 (eval $ac_try) 2>&5
95978 ac_status=$?
95979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95980 (exit $ac_status); }; } &&
95981 { ac_try='test -s conftest.$ac_objext'
95982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95983 (eval $ac_try) 2>&5
95984 ac_status=$?
95985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95986 (exit $ac_status); }; }; then
95987 glibcxx_cv_func___builtin_sin_use=yes
95988 else
95989 echo "$as_me: failed program was:" >&5
95990 sed 's/^/| /' conftest.$ac_ext >&5
95992 glibcxx_cv_func___builtin_sin_use=no
95994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95995 ac_ext=c
95996 ac_cpp='$CPP $CPPFLAGS'
95997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
96006 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
96007 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
96008 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
96009 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
96010 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
96011 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
96012 echo $ECHO_N "(cached) $ECHO_C" >&6
96013 else
96015 if test x$gcc_no_link = xyes; then
96016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96018 { (exit 1); exit 1; }; }
96020 cat >conftest.$ac_ext <<_ACEOF
96021 /* confdefs.h. */
96022 _ACEOF
96023 cat confdefs.h >>conftest.$ac_ext
96024 cat >>conftest.$ac_ext <<_ACEOF
96025 /* end confdefs.h. */
96026 #include <math.h>
96028 main ()
96030 __builtin_sin(0);
96032 return 0;
96034 _ACEOF
96035 rm -f conftest.$ac_objext conftest$ac_exeext
96036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96037 (eval $ac_link) 2>conftest.er1
96038 ac_status=$?
96039 grep -v '^ *+' conftest.er1 >conftest.err
96040 rm -f conftest.er1
96041 cat conftest.err >&5
96042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96043 (exit $ac_status); } &&
96044 { ac_try='test -z "$ac_c_werror_flag"
96045 || test ! -s conftest.err'
96046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96047 (eval $ac_try) 2>&5
96048 ac_status=$?
96049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96050 (exit $ac_status); }; } &&
96051 { ac_try='test -s conftest$ac_exeext'
96052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96053 (eval $ac_try) 2>&5
96054 ac_status=$?
96055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96056 (exit $ac_status); }; }; then
96057 glibcxx_cv_func___builtin_sin_link=yes
96058 else
96059 echo "$as_me: failed program was:" >&5
96060 sed 's/^/| /' conftest.$ac_ext >&5
96062 glibcxx_cv_func___builtin_sin_link=no
96064 rm -f conftest.err conftest.$ac_objext \
96065 conftest$ac_exeext conftest.$ac_ext
96070 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
96071 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
96073 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
96075 cat >>confdefs.h <<\_ACEOF
96076 #define HAVE___BUILTIN_SIN 1
96077 _ACEOF
96084 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
96085 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
96086 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
96087 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
96088 echo $ECHO_N "(cached) $ECHO_C" >&6
96089 else
96093 ac_ext=cc
96094 ac_cpp='$CXXCPP $CPPFLAGS'
96095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96099 cat >conftest.$ac_ext <<_ACEOF
96100 /* confdefs.h. */
96101 _ACEOF
96102 cat confdefs.h >>conftest.$ac_ext
96103 cat >>conftest.$ac_ext <<_ACEOF
96104 /* end confdefs.h. */
96105 #include <math.h>
96107 main ()
96109 __builtin_sinl(0);
96111 return 0;
96113 _ACEOF
96114 rm -f conftest.$ac_objext
96115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96116 (eval $ac_compile) 2>conftest.er1
96117 ac_status=$?
96118 grep -v '^ *+' conftest.er1 >conftest.err
96119 rm -f conftest.er1
96120 cat conftest.err >&5
96121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96122 (exit $ac_status); } &&
96123 { ac_try='test -z "$ac_cxx_werror_flag"
96124 || test ! -s conftest.err'
96125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96126 (eval $ac_try) 2>&5
96127 ac_status=$?
96128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96129 (exit $ac_status); }; } &&
96130 { ac_try='test -s conftest.$ac_objext'
96131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96132 (eval $ac_try) 2>&5
96133 ac_status=$?
96134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96135 (exit $ac_status); }; }; then
96136 glibcxx_cv_func___builtin_sinl_use=yes
96137 else
96138 echo "$as_me: failed program was:" >&5
96139 sed 's/^/| /' conftest.$ac_ext >&5
96141 glibcxx_cv_func___builtin_sinl_use=no
96143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96144 ac_ext=c
96145 ac_cpp='$CPP $CPPFLAGS'
96146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96154 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
96155 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
96156 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
96157 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
96158 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
96159 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
96160 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
96161 echo $ECHO_N "(cached) $ECHO_C" >&6
96162 else
96164 if test x$gcc_no_link = xyes; then
96165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96167 { (exit 1); exit 1; }; }
96169 cat >conftest.$ac_ext <<_ACEOF
96170 /* confdefs.h. */
96171 _ACEOF
96172 cat confdefs.h >>conftest.$ac_ext
96173 cat >>conftest.$ac_ext <<_ACEOF
96174 /* end confdefs.h. */
96175 #include <math.h>
96177 main ()
96179 __builtin_sinl(0);
96181 return 0;
96183 _ACEOF
96184 rm -f conftest.$ac_objext conftest$ac_exeext
96185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96186 (eval $ac_link) 2>conftest.er1
96187 ac_status=$?
96188 grep -v '^ *+' conftest.er1 >conftest.err
96189 rm -f conftest.er1
96190 cat conftest.err >&5
96191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96192 (exit $ac_status); } &&
96193 { ac_try='test -z "$ac_c_werror_flag"
96194 || test ! -s conftest.err'
96195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96196 (eval $ac_try) 2>&5
96197 ac_status=$?
96198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96199 (exit $ac_status); }; } &&
96200 { ac_try='test -s conftest$ac_exeext'
96201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96202 (eval $ac_try) 2>&5
96203 ac_status=$?
96204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96205 (exit $ac_status); }; }; then
96206 glibcxx_cv_func___builtin_sinl_link=yes
96207 else
96208 echo "$as_me: failed program was:" >&5
96209 sed 's/^/| /' conftest.$ac_ext >&5
96211 glibcxx_cv_func___builtin_sinl_link=no
96213 rm -f conftest.err conftest.$ac_objext \
96214 conftest$ac_exeext conftest.$ac_ext
96219 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
96220 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
96222 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
96224 cat >>confdefs.h <<\_ACEOF
96225 #define HAVE___BUILTIN_SINL 1
96226 _ACEOF
96234 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
96235 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
96236 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
96237 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
96238 echo $ECHO_N "(cached) $ECHO_C" >&6
96239 else
96243 ac_ext=cc
96244 ac_cpp='$CXXCPP $CPPFLAGS'
96245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96249 cat >conftest.$ac_ext <<_ACEOF
96250 /* confdefs.h. */
96251 _ACEOF
96252 cat confdefs.h >>conftest.$ac_ext
96253 cat >>conftest.$ac_ext <<_ACEOF
96254 /* end confdefs.h. */
96255 #include <math.h>
96257 main ()
96259 __builtin_cosf(0);
96261 return 0;
96263 _ACEOF
96264 rm -f conftest.$ac_objext
96265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96266 (eval $ac_compile) 2>conftest.er1
96267 ac_status=$?
96268 grep -v '^ *+' conftest.er1 >conftest.err
96269 rm -f conftest.er1
96270 cat conftest.err >&5
96271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96272 (exit $ac_status); } &&
96273 { ac_try='test -z "$ac_cxx_werror_flag"
96274 || test ! -s conftest.err'
96275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96276 (eval $ac_try) 2>&5
96277 ac_status=$?
96278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96279 (exit $ac_status); }; } &&
96280 { ac_try='test -s conftest.$ac_objext'
96281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96282 (eval $ac_try) 2>&5
96283 ac_status=$?
96284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96285 (exit $ac_status); }; }; then
96286 glibcxx_cv_func___builtin_cosf_use=yes
96287 else
96288 echo "$as_me: failed program was:" >&5
96289 sed 's/^/| /' conftest.$ac_ext >&5
96291 glibcxx_cv_func___builtin_cosf_use=no
96293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96294 ac_ext=c
96295 ac_cpp='$CPP $CPPFLAGS'
96296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96304 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
96305 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
96306 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
96307 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
96308 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
96309 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
96310 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
96311 echo $ECHO_N "(cached) $ECHO_C" >&6
96312 else
96314 if test x$gcc_no_link = xyes; then
96315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96317 { (exit 1); exit 1; }; }
96319 cat >conftest.$ac_ext <<_ACEOF
96320 /* confdefs.h. */
96321 _ACEOF
96322 cat confdefs.h >>conftest.$ac_ext
96323 cat >>conftest.$ac_ext <<_ACEOF
96324 /* end confdefs.h. */
96325 #include <math.h>
96327 main ()
96329 __builtin_cosf(0);
96331 return 0;
96333 _ACEOF
96334 rm -f conftest.$ac_objext conftest$ac_exeext
96335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96336 (eval $ac_link) 2>conftest.er1
96337 ac_status=$?
96338 grep -v '^ *+' conftest.er1 >conftest.err
96339 rm -f conftest.er1
96340 cat conftest.err >&5
96341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96342 (exit $ac_status); } &&
96343 { ac_try='test -z "$ac_c_werror_flag"
96344 || test ! -s conftest.err'
96345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96346 (eval $ac_try) 2>&5
96347 ac_status=$?
96348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96349 (exit $ac_status); }; } &&
96350 { ac_try='test -s conftest$ac_exeext'
96351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96352 (eval $ac_try) 2>&5
96353 ac_status=$?
96354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96355 (exit $ac_status); }; }; then
96356 glibcxx_cv_func___builtin_cosf_link=yes
96357 else
96358 echo "$as_me: failed program was:" >&5
96359 sed 's/^/| /' conftest.$ac_ext >&5
96361 glibcxx_cv_func___builtin_cosf_link=no
96363 rm -f conftest.err conftest.$ac_objext \
96364 conftest$ac_exeext conftest.$ac_ext
96369 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
96370 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
96372 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
96374 cat >>confdefs.h <<\_ACEOF
96375 #define HAVE___BUILTIN_COSF 1
96376 _ACEOF
96383 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
96384 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
96385 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
96386 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
96387 echo $ECHO_N "(cached) $ECHO_C" >&6
96388 else
96392 ac_ext=cc
96393 ac_cpp='$CXXCPP $CPPFLAGS'
96394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96398 cat >conftest.$ac_ext <<_ACEOF
96399 /* confdefs.h. */
96400 _ACEOF
96401 cat confdefs.h >>conftest.$ac_ext
96402 cat >>conftest.$ac_ext <<_ACEOF
96403 /* end confdefs.h. */
96404 #include <math.h>
96406 main ()
96408 __builtin_cos(0);
96410 return 0;
96412 _ACEOF
96413 rm -f conftest.$ac_objext
96414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96415 (eval $ac_compile) 2>conftest.er1
96416 ac_status=$?
96417 grep -v '^ *+' conftest.er1 >conftest.err
96418 rm -f conftest.er1
96419 cat conftest.err >&5
96420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96421 (exit $ac_status); } &&
96422 { ac_try='test -z "$ac_cxx_werror_flag"
96423 || test ! -s conftest.err'
96424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96425 (eval $ac_try) 2>&5
96426 ac_status=$?
96427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96428 (exit $ac_status); }; } &&
96429 { ac_try='test -s conftest.$ac_objext'
96430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96431 (eval $ac_try) 2>&5
96432 ac_status=$?
96433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96434 (exit $ac_status); }; }; then
96435 glibcxx_cv_func___builtin_cos_use=yes
96436 else
96437 echo "$as_me: failed program was:" >&5
96438 sed 's/^/| /' conftest.$ac_ext >&5
96440 glibcxx_cv_func___builtin_cos_use=no
96442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96443 ac_ext=c
96444 ac_cpp='$CPP $CPPFLAGS'
96445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96453 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
96454 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
96455 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
96456 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
96457 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
96458 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
96459 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
96460 echo $ECHO_N "(cached) $ECHO_C" >&6
96461 else
96463 if test x$gcc_no_link = xyes; then
96464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96466 { (exit 1); exit 1; }; }
96468 cat >conftest.$ac_ext <<_ACEOF
96469 /* confdefs.h. */
96470 _ACEOF
96471 cat confdefs.h >>conftest.$ac_ext
96472 cat >>conftest.$ac_ext <<_ACEOF
96473 /* end confdefs.h. */
96474 #include <math.h>
96476 main ()
96478 __builtin_cos(0);
96480 return 0;
96482 _ACEOF
96483 rm -f conftest.$ac_objext conftest$ac_exeext
96484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96485 (eval $ac_link) 2>conftest.er1
96486 ac_status=$?
96487 grep -v '^ *+' conftest.er1 >conftest.err
96488 rm -f conftest.er1
96489 cat conftest.err >&5
96490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96491 (exit $ac_status); } &&
96492 { ac_try='test -z "$ac_c_werror_flag"
96493 || test ! -s conftest.err'
96494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96495 (eval $ac_try) 2>&5
96496 ac_status=$?
96497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96498 (exit $ac_status); }; } &&
96499 { ac_try='test -s conftest$ac_exeext'
96500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96501 (eval $ac_try) 2>&5
96502 ac_status=$?
96503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96504 (exit $ac_status); }; }; then
96505 glibcxx_cv_func___builtin_cos_link=yes
96506 else
96507 echo "$as_me: failed program was:" >&5
96508 sed 's/^/| /' conftest.$ac_ext >&5
96510 glibcxx_cv_func___builtin_cos_link=no
96512 rm -f conftest.err conftest.$ac_objext \
96513 conftest$ac_exeext conftest.$ac_ext
96518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
96519 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
96521 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
96523 cat >>confdefs.h <<\_ACEOF
96524 #define HAVE___BUILTIN_COS 1
96525 _ACEOF
96532 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
96533 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
96534 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
96535 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
96536 echo $ECHO_N "(cached) $ECHO_C" >&6
96537 else
96541 ac_ext=cc
96542 ac_cpp='$CXXCPP $CPPFLAGS'
96543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96547 cat >conftest.$ac_ext <<_ACEOF
96548 /* confdefs.h. */
96549 _ACEOF
96550 cat confdefs.h >>conftest.$ac_ext
96551 cat >>conftest.$ac_ext <<_ACEOF
96552 /* end confdefs.h. */
96553 #include <math.h>
96555 main ()
96557 __builtin_cosl(0);
96559 return 0;
96561 _ACEOF
96562 rm -f conftest.$ac_objext
96563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96564 (eval $ac_compile) 2>conftest.er1
96565 ac_status=$?
96566 grep -v '^ *+' conftest.er1 >conftest.err
96567 rm -f conftest.er1
96568 cat conftest.err >&5
96569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96570 (exit $ac_status); } &&
96571 { ac_try='test -z "$ac_cxx_werror_flag"
96572 || test ! -s conftest.err'
96573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96574 (eval $ac_try) 2>&5
96575 ac_status=$?
96576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96577 (exit $ac_status); }; } &&
96578 { ac_try='test -s conftest.$ac_objext'
96579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96580 (eval $ac_try) 2>&5
96581 ac_status=$?
96582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96583 (exit $ac_status); }; }; then
96584 glibcxx_cv_func___builtin_cosl_use=yes
96585 else
96586 echo "$as_me: failed program was:" >&5
96587 sed 's/^/| /' conftest.$ac_ext >&5
96589 glibcxx_cv_func___builtin_cosl_use=no
96591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96592 ac_ext=c
96593 ac_cpp='$CPP $CPPFLAGS'
96594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
96603 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
96604 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
96605 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
96606 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
96607 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
96608 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
96609 echo $ECHO_N "(cached) $ECHO_C" >&6
96610 else
96612 if test x$gcc_no_link = xyes; then
96613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96615 { (exit 1); exit 1; }; }
96617 cat >conftest.$ac_ext <<_ACEOF
96618 /* confdefs.h. */
96619 _ACEOF
96620 cat confdefs.h >>conftest.$ac_ext
96621 cat >>conftest.$ac_ext <<_ACEOF
96622 /* end confdefs.h. */
96623 #include <math.h>
96625 main ()
96627 __builtin_cosl(0);
96629 return 0;
96631 _ACEOF
96632 rm -f conftest.$ac_objext conftest$ac_exeext
96633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96634 (eval $ac_link) 2>conftest.er1
96635 ac_status=$?
96636 grep -v '^ *+' conftest.er1 >conftest.err
96637 rm -f conftest.er1
96638 cat conftest.err >&5
96639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96640 (exit $ac_status); } &&
96641 { ac_try='test -z "$ac_c_werror_flag"
96642 || test ! -s conftest.err'
96643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96644 (eval $ac_try) 2>&5
96645 ac_status=$?
96646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96647 (exit $ac_status); }; } &&
96648 { ac_try='test -s conftest$ac_exeext'
96649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96650 (eval $ac_try) 2>&5
96651 ac_status=$?
96652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96653 (exit $ac_status); }; }; then
96654 glibcxx_cv_func___builtin_cosl_link=yes
96655 else
96656 echo "$as_me: failed program was:" >&5
96657 sed 's/^/| /' conftest.$ac_ext >&5
96659 glibcxx_cv_func___builtin_cosl_link=no
96661 rm -f conftest.err conftest.$ac_objext \
96662 conftest$ac_exeext conftest.$ac_ext
96667 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
96668 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
96670 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
96672 cat >>confdefs.h <<\_ACEOF
96673 #define HAVE___BUILTIN_COSL 1
96674 _ACEOF
96683 echo "$as_me:$LINENO: checking for main in -lm" >&5
96684 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
96685 if test "${ac_cv_lib_m_main+set}" = set; then
96686 echo $ECHO_N "(cached) $ECHO_C" >&6
96687 else
96688 ac_check_lib_save_LIBS=$LIBS
96689 LIBS="-lm $LIBS"
96690 if test x$gcc_no_link = xyes; then
96691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96693 { (exit 1); exit 1; }; }
96695 cat >conftest.$ac_ext <<_ACEOF
96696 /* confdefs.h. */
96697 _ACEOF
96698 cat confdefs.h >>conftest.$ac_ext
96699 cat >>conftest.$ac_ext <<_ACEOF
96700 /* end confdefs.h. */
96704 main ()
96706 main ();
96708 return 0;
96710 _ACEOF
96711 rm -f conftest.$ac_objext conftest$ac_exeext
96712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96713 (eval $ac_link) 2>conftest.er1
96714 ac_status=$?
96715 grep -v '^ *+' conftest.er1 >conftest.err
96716 rm -f conftest.er1
96717 cat conftest.err >&5
96718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96719 (exit $ac_status); } &&
96720 { ac_try='test -z "$ac_c_werror_flag"
96721 || test ! -s conftest.err'
96722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96723 (eval $ac_try) 2>&5
96724 ac_status=$?
96725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96726 (exit $ac_status); }; } &&
96727 { ac_try='test -s conftest$ac_exeext'
96728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96729 (eval $ac_try) 2>&5
96730 ac_status=$?
96731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96732 (exit $ac_status); }; }; then
96733 ac_cv_lib_m_main=yes
96734 else
96735 echo "$as_me: failed program was:" >&5
96736 sed 's/^/| /' conftest.$ac_ext >&5
96738 ac_cv_lib_m_main=no
96740 rm -f conftest.err conftest.$ac_objext \
96741 conftest$ac_exeext conftest.$ac_ext
96742 LIBS=$ac_check_lib_save_LIBS
96744 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
96745 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
96746 if test $ac_cv_lib_m_main = yes; then
96747 cat >>confdefs.h <<_ACEOF
96748 #define HAVE_LIBM 1
96749 _ACEOF
96751 LIBS="-lm $LIBS"
96756 for ac_func in copysignf
96758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96759 echo "$as_me:$LINENO: checking for $ac_func" >&5
96760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96761 if eval "test \"\${$as_ac_var+set}\" = set"; then
96762 echo $ECHO_N "(cached) $ECHO_C" >&6
96763 else
96764 if test x$gcc_no_link = xyes; then
96765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96767 { (exit 1); exit 1; }; }
96769 cat >conftest.$ac_ext <<_ACEOF
96770 /* confdefs.h. */
96771 _ACEOF
96772 cat confdefs.h >>conftest.$ac_ext
96773 cat >>conftest.$ac_ext <<_ACEOF
96774 /* end confdefs.h. */
96775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96777 #define $ac_func innocuous_$ac_func
96779 /* System header to define __stub macros and hopefully few prototypes,
96780 which can conflict with char $ac_func (); below.
96781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96782 <limits.h> exists even on freestanding compilers. */
96784 #ifdef __STDC__
96785 # include <limits.h>
96786 #else
96787 # include <assert.h>
96788 #endif
96790 #undef $ac_func
96792 /* Override any gcc2 internal prototype to avoid an error. */
96793 #ifdef __cplusplus
96794 extern "C"
96796 #endif
96797 /* We use char because int might match the return type of a gcc2
96798 builtin and then its argument prototype would still apply. */
96799 char $ac_func ();
96800 /* The GNU C library defines this for functions which it implements
96801 to always fail with ENOSYS. Some functions are actually named
96802 something starting with __ and the normal name is an alias. */
96803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96804 choke me
96805 #else
96806 char (*f) () = $ac_func;
96807 #endif
96808 #ifdef __cplusplus
96810 #endif
96813 main ()
96815 return f != $ac_func;
96817 return 0;
96819 _ACEOF
96820 rm -f conftest.$ac_objext conftest$ac_exeext
96821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96822 (eval $ac_link) 2>conftest.er1
96823 ac_status=$?
96824 grep -v '^ *+' conftest.er1 >conftest.err
96825 rm -f conftest.er1
96826 cat conftest.err >&5
96827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96828 (exit $ac_status); } &&
96829 { ac_try='test -z "$ac_c_werror_flag"
96830 || test ! -s conftest.err'
96831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96832 (eval $ac_try) 2>&5
96833 ac_status=$?
96834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96835 (exit $ac_status); }; } &&
96836 { ac_try='test -s conftest$ac_exeext'
96837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96838 (eval $ac_try) 2>&5
96839 ac_status=$?
96840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96841 (exit $ac_status); }; }; then
96842 eval "$as_ac_var=yes"
96843 else
96844 echo "$as_me: failed program was:" >&5
96845 sed 's/^/| /' conftest.$ac_ext >&5
96847 eval "$as_ac_var=no"
96849 rm -f conftest.err conftest.$ac_objext \
96850 conftest$ac_exeext conftest.$ac_ext
96852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96854 if test `eval echo '${'$as_ac_var'}'` = yes; then
96855 cat >>confdefs.h <<_ACEOF
96856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96857 _ACEOF
96859 else
96860 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
96862 done
96866 for ac_func in __signbit
96868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96869 echo "$as_me:$LINENO: checking for $ac_func" >&5
96870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96871 if eval "test \"\${$as_ac_var+set}\" = set"; then
96872 echo $ECHO_N "(cached) $ECHO_C" >&6
96873 else
96874 if test x$gcc_no_link = xyes; then
96875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96877 { (exit 1); exit 1; }; }
96879 cat >conftest.$ac_ext <<_ACEOF
96880 /* confdefs.h. */
96881 _ACEOF
96882 cat confdefs.h >>conftest.$ac_ext
96883 cat >>conftest.$ac_ext <<_ACEOF
96884 /* end confdefs.h. */
96885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96887 #define $ac_func innocuous_$ac_func
96889 /* System header to define __stub macros and hopefully few prototypes,
96890 which can conflict with char $ac_func (); below.
96891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96892 <limits.h> exists even on freestanding compilers. */
96894 #ifdef __STDC__
96895 # include <limits.h>
96896 #else
96897 # include <assert.h>
96898 #endif
96900 #undef $ac_func
96902 /* Override any gcc2 internal prototype to avoid an error. */
96903 #ifdef __cplusplus
96904 extern "C"
96906 #endif
96907 /* We use char because int might match the return type of a gcc2
96908 builtin and then its argument prototype would still apply. */
96909 char $ac_func ();
96910 /* The GNU C library defines this for functions which it implements
96911 to always fail with ENOSYS. Some functions are actually named
96912 something starting with __ and the normal name is an alias. */
96913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96914 choke me
96915 #else
96916 char (*f) () = $ac_func;
96917 #endif
96918 #ifdef __cplusplus
96920 #endif
96923 main ()
96925 return f != $ac_func;
96927 return 0;
96929 _ACEOF
96930 rm -f conftest.$ac_objext conftest$ac_exeext
96931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96932 (eval $ac_link) 2>conftest.er1
96933 ac_status=$?
96934 grep -v '^ *+' conftest.er1 >conftest.err
96935 rm -f conftest.er1
96936 cat conftest.err >&5
96937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96938 (exit $ac_status); } &&
96939 { ac_try='test -z "$ac_c_werror_flag"
96940 || test ! -s conftest.err'
96941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96942 (eval $ac_try) 2>&5
96943 ac_status=$?
96944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96945 (exit $ac_status); }; } &&
96946 { ac_try='test -s conftest$ac_exeext'
96947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96948 (eval $ac_try) 2>&5
96949 ac_status=$?
96950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96951 (exit $ac_status); }; }; then
96952 eval "$as_ac_var=yes"
96953 else
96954 echo "$as_me: failed program was:" >&5
96955 sed 's/^/| /' conftest.$ac_ext >&5
96957 eval "$as_ac_var=no"
96959 rm -f conftest.err conftest.$ac_objext \
96960 conftest$ac_exeext conftest.$ac_ext
96962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96964 if test `eval echo '${'$as_ac_var'}'` = yes; then
96965 cat >>confdefs.h <<_ACEOF
96966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96967 _ACEOF
96969 else
96970 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
96972 done
96976 for ac_func in __signbitf
96978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96979 echo "$as_me:$LINENO: checking for $ac_func" >&5
96980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96981 if eval "test \"\${$as_ac_var+set}\" = set"; then
96982 echo $ECHO_N "(cached) $ECHO_C" >&6
96983 else
96984 if test x$gcc_no_link = xyes; then
96985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96987 { (exit 1); exit 1; }; }
96989 cat >conftest.$ac_ext <<_ACEOF
96990 /* confdefs.h. */
96991 _ACEOF
96992 cat confdefs.h >>conftest.$ac_ext
96993 cat >>conftest.$ac_ext <<_ACEOF
96994 /* end confdefs.h. */
96995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96997 #define $ac_func innocuous_$ac_func
96999 /* System header to define __stub macros and hopefully few prototypes,
97000 which can conflict with char $ac_func (); below.
97001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97002 <limits.h> exists even on freestanding compilers. */
97004 #ifdef __STDC__
97005 # include <limits.h>
97006 #else
97007 # include <assert.h>
97008 #endif
97010 #undef $ac_func
97012 /* Override any gcc2 internal prototype to avoid an error. */
97013 #ifdef __cplusplus
97014 extern "C"
97016 #endif
97017 /* We use char because int might match the return type of a gcc2
97018 builtin and then its argument prototype would still apply. */
97019 char $ac_func ();
97020 /* The GNU C library defines this for functions which it implements
97021 to always fail with ENOSYS. Some functions are actually named
97022 something starting with __ and the normal name is an alias. */
97023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97024 choke me
97025 #else
97026 char (*f) () = $ac_func;
97027 #endif
97028 #ifdef __cplusplus
97030 #endif
97033 main ()
97035 return f != $ac_func;
97037 return 0;
97039 _ACEOF
97040 rm -f conftest.$ac_objext conftest$ac_exeext
97041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97042 (eval $ac_link) 2>conftest.er1
97043 ac_status=$?
97044 grep -v '^ *+' conftest.er1 >conftest.err
97045 rm -f conftest.er1
97046 cat conftest.err >&5
97047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97048 (exit $ac_status); } &&
97049 { ac_try='test -z "$ac_c_werror_flag"
97050 || test ! -s conftest.err'
97051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97052 (eval $ac_try) 2>&5
97053 ac_status=$?
97054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97055 (exit $ac_status); }; } &&
97056 { ac_try='test -s conftest$ac_exeext'
97057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97058 (eval $ac_try) 2>&5
97059 ac_status=$?
97060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97061 (exit $ac_status); }; }; then
97062 eval "$as_ac_var=yes"
97063 else
97064 echo "$as_me: failed program was:" >&5
97065 sed 's/^/| /' conftest.$ac_ext >&5
97067 eval "$as_ac_var=no"
97069 rm -f conftest.err conftest.$ac_objext \
97070 conftest$ac_exeext conftest.$ac_ext
97072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97074 if test `eval echo '${'$as_ac_var'}'` = yes; then
97075 cat >>confdefs.h <<_ACEOF
97076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97077 _ACEOF
97079 else
97080 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
97082 done
97085 if test x$ac_cv_func_copysignl = x"yes"; then
97087 for ac_func in __signbitl
97089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97090 echo "$as_me:$LINENO: checking for $ac_func" >&5
97091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97092 if eval "test \"\${$as_ac_var+set}\" = set"; then
97093 echo $ECHO_N "(cached) $ECHO_C" >&6
97094 else
97095 if test x$gcc_no_link = xyes; then
97096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97098 { (exit 1); exit 1; }; }
97100 cat >conftest.$ac_ext <<_ACEOF
97101 /* confdefs.h. */
97102 _ACEOF
97103 cat confdefs.h >>conftest.$ac_ext
97104 cat >>conftest.$ac_ext <<_ACEOF
97105 /* end confdefs.h. */
97106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97108 #define $ac_func innocuous_$ac_func
97110 /* System header to define __stub macros and hopefully few prototypes,
97111 which can conflict with char $ac_func (); below.
97112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97113 <limits.h> exists even on freestanding compilers. */
97115 #ifdef __STDC__
97116 # include <limits.h>
97117 #else
97118 # include <assert.h>
97119 #endif
97121 #undef $ac_func
97123 /* Override any gcc2 internal prototype to avoid an error. */
97124 #ifdef __cplusplus
97125 extern "C"
97127 #endif
97128 /* We use char because int might match the return type of a gcc2
97129 builtin and then its argument prototype would still apply. */
97130 char $ac_func ();
97131 /* The GNU C library defines this for functions which it implements
97132 to always fail with ENOSYS. Some functions are actually named
97133 something starting with __ and the normal name is an alias. */
97134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97135 choke me
97136 #else
97137 char (*f) () = $ac_func;
97138 #endif
97139 #ifdef __cplusplus
97141 #endif
97144 main ()
97146 return f != $ac_func;
97148 return 0;
97150 _ACEOF
97151 rm -f conftest.$ac_objext conftest$ac_exeext
97152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97153 (eval $ac_link) 2>conftest.er1
97154 ac_status=$?
97155 grep -v '^ *+' conftest.er1 >conftest.err
97156 rm -f conftest.er1
97157 cat conftest.err >&5
97158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97159 (exit $ac_status); } &&
97160 { ac_try='test -z "$ac_c_werror_flag"
97161 || test ! -s conftest.err'
97162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97163 (eval $ac_try) 2>&5
97164 ac_status=$?
97165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97166 (exit $ac_status); }; } &&
97167 { ac_try='test -s conftest$ac_exeext'
97168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97169 (eval $ac_try) 2>&5
97170 ac_status=$?
97171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97172 (exit $ac_status); }; }; then
97173 eval "$as_ac_var=yes"
97174 else
97175 echo "$as_me: failed program was:" >&5
97176 sed 's/^/| /' conftest.$ac_ext >&5
97178 eval "$as_ac_var=no"
97180 rm -f conftest.err conftest.$ac_objext \
97181 conftest$ac_exeext conftest.$ac_ext
97183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97185 if test `eval echo '${'$as_ac_var'}'` = yes; then
97186 cat >>confdefs.h <<_ACEOF
97187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97188 _ACEOF
97190 else
97191 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
97193 done
97197 # Used in libmath/Makefile.am.
97198 if test -n "$LIBMATHOBJS"; then
97199 need_libmath=yes
97204 ac_test_CXXFLAGS="${CXXFLAGS+set}"
97205 ac_save_CXXFLAGS="$CXXFLAGS"
97206 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
97209 echo "$as_me:$LINENO: checking for strtold declaration" >&5
97210 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
97211 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
97212 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
97213 echo $ECHO_N "(cached) $ECHO_C" >&6
97214 else
97218 ac_ext=cc
97219 ac_cpp='$CXXCPP $CPPFLAGS'
97220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97224 cat >conftest.$ac_ext <<_ACEOF
97225 /* confdefs.h. */
97226 _ACEOF
97227 cat confdefs.h >>conftest.$ac_ext
97228 cat >>conftest.$ac_ext <<_ACEOF
97229 /* end confdefs.h. */
97230 #include <stdlib.h>
97232 main ()
97234 strtold(0, 0);
97236 return 0;
97238 _ACEOF
97239 rm -f conftest.$ac_objext
97240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97241 (eval $ac_compile) 2>conftest.er1
97242 ac_status=$?
97243 grep -v '^ *+' conftest.er1 >conftest.err
97244 rm -f conftest.er1
97245 cat conftest.err >&5
97246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97247 (exit $ac_status); } &&
97248 { ac_try='test -z "$ac_cxx_werror_flag"
97249 || test ! -s conftest.err'
97250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97251 (eval $ac_try) 2>&5
97252 ac_status=$?
97253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97254 (exit $ac_status); }; } &&
97255 { ac_try='test -s conftest.$ac_objext'
97256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97257 (eval $ac_try) 2>&5
97258 ac_status=$?
97259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97260 (exit $ac_status); }; }; then
97261 glibcxx_cv_func_strtold_use=yes
97262 else
97263 echo "$as_me: failed program was:" >&5
97264 sed 's/^/| /' conftest.$ac_ext >&5
97266 glibcxx_cv_func_strtold_use=no
97268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97269 ac_ext=c
97270 ac_cpp='$CPP $CPPFLAGS'
97271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
97280 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
97281 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
97283 for ac_func in strtold
97285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97286 echo "$as_me:$LINENO: checking for $ac_func" >&5
97287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97288 if eval "test \"\${$as_ac_var+set}\" = set"; then
97289 echo $ECHO_N "(cached) $ECHO_C" >&6
97290 else
97291 if test x$gcc_no_link = xyes; then
97292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97294 { (exit 1); exit 1; }; }
97296 cat >conftest.$ac_ext <<_ACEOF
97297 /* confdefs.h. */
97298 _ACEOF
97299 cat confdefs.h >>conftest.$ac_ext
97300 cat >>conftest.$ac_ext <<_ACEOF
97301 /* end confdefs.h. */
97302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97304 #define $ac_func innocuous_$ac_func
97306 /* System header to define __stub macros and hopefully few prototypes,
97307 which can conflict with char $ac_func (); below.
97308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97309 <limits.h> exists even on freestanding compilers. */
97311 #ifdef __STDC__
97312 # include <limits.h>
97313 #else
97314 # include <assert.h>
97315 #endif
97317 #undef $ac_func
97319 /* Override any gcc2 internal prototype to avoid an error. */
97320 #ifdef __cplusplus
97321 extern "C"
97323 #endif
97324 /* We use char because int might match the return type of a gcc2
97325 builtin and then its argument prototype would still apply. */
97326 char $ac_func ();
97327 /* The GNU C library defines this for functions which it implements
97328 to always fail with ENOSYS. Some functions are actually named
97329 something starting with __ and the normal name is an alias. */
97330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97331 choke me
97332 #else
97333 char (*f) () = $ac_func;
97334 #endif
97335 #ifdef __cplusplus
97337 #endif
97340 main ()
97342 return f != $ac_func;
97344 return 0;
97346 _ACEOF
97347 rm -f conftest.$ac_objext conftest$ac_exeext
97348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97349 (eval $ac_link) 2>conftest.er1
97350 ac_status=$?
97351 grep -v '^ *+' conftest.er1 >conftest.err
97352 rm -f conftest.er1
97353 cat conftest.err >&5
97354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97355 (exit $ac_status); } &&
97356 { ac_try='test -z "$ac_c_werror_flag"
97357 || test ! -s conftest.err'
97358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97359 (eval $ac_try) 2>&5
97360 ac_status=$?
97361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97362 (exit $ac_status); }; } &&
97363 { ac_try='test -s conftest$ac_exeext'
97364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97365 (eval $ac_try) 2>&5
97366 ac_status=$?
97367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97368 (exit $ac_status); }; }; then
97369 eval "$as_ac_var=yes"
97370 else
97371 echo "$as_me: failed program was:" >&5
97372 sed 's/^/| /' conftest.$ac_ext >&5
97374 eval "$as_ac_var=no"
97376 rm -f conftest.err conftest.$ac_objext \
97377 conftest$ac_exeext conftest.$ac_ext
97379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97381 if test `eval echo '${'$as_ac_var'}'` = yes; then
97382 cat >>confdefs.h <<_ACEOF
97383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97384 _ACEOF
97387 done
97395 echo "$as_me:$LINENO: checking for strtof declaration" >&5
97396 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
97397 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
97398 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
97399 echo $ECHO_N "(cached) $ECHO_C" >&6
97400 else
97404 ac_ext=cc
97405 ac_cpp='$CXXCPP $CPPFLAGS'
97406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97410 cat >conftest.$ac_ext <<_ACEOF
97411 /* confdefs.h. */
97412 _ACEOF
97413 cat confdefs.h >>conftest.$ac_ext
97414 cat >>conftest.$ac_ext <<_ACEOF
97415 /* end confdefs.h. */
97416 #include <stdlib.h>
97418 main ()
97420 strtof(0, 0);
97422 return 0;
97424 _ACEOF
97425 rm -f conftest.$ac_objext
97426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97427 (eval $ac_compile) 2>conftest.er1
97428 ac_status=$?
97429 grep -v '^ *+' conftest.er1 >conftest.err
97430 rm -f conftest.er1
97431 cat conftest.err >&5
97432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97433 (exit $ac_status); } &&
97434 { ac_try='test -z "$ac_cxx_werror_flag"
97435 || test ! -s conftest.err'
97436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97437 (eval $ac_try) 2>&5
97438 ac_status=$?
97439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97440 (exit $ac_status); }; } &&
97441 { ac_try='test -s conftest.$ac_objext'
97442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97443 (eval $ac_try) 2>&5
97444 ac_status=$?
97445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97446 (exit $ac_status); }; }; then
97447 glibcxx_cv_func_strtof_use=yes
97448 else
97449 echo "$as_me: failed program was:" >&5
97450 sed 's/^/| /' conftest.$ac_ext >&5
97452 glibcxx_cv_func_strtof_use=no
97454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97455 ac_ext=c
97456 ac_cpp='$CPP $CPPFLAGS'
97457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
97466 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
97467 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
97469 for ac_func in strtof
97471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97472 echo "$as_me:$LINENO: checking for $ac_func" >&5
97473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97474 if eval "test \"\${$as_ac_var+set}\" = set"; then
97475 echo $ECHO_N "(cached) $ECHO_C" >&6
97476 else
97477 if test x$gcc_no_link = xyes; then
97478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97480 { (exit 1); exit 1; }; }
97482 cat >conftest.$ac_ext <<_ACEOF
97483 /* confdefs.h. */
97484 _ACEOF
97485 cat confdefs.h >>conftest.$ac_ext
97486 cat >>conftest.$ac_ext <<_ACEOF
97487 /* end confdefs.h. */
97488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97490 #define $ac_func innocuous_$ac_func
97492 /* System header to define __stub macros and hopefully few prototypes,
97493 which can conflict with char $ac_func (); below.
97494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97495 <limits.h> exists even on freestanding compilers. */
97497 #ifdef __STDC__
97498 # include <limits.h>
97499 #else
97500 # include <assert.h>
97501 #endif
97503 #undef $ac_func
97505 /* Override any gcc2 internal prototype to avoid an error. */
97506 #ifdef __cplusplus
97507 extern "C"
97509 #endif
97510 /* We use char because int might match the return type of a gcc2
97511 builtin and then its argument prototype would still apply. */
97512 char $ac_func ();
97513 /* The GNU C library defines this for functions which it implements
97514 to always fail with ENOSYS. Some functions are actually named
97515 something starting with __ and the normal name is an alias. */
97516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97517 choke me
97518 #else
97519 char (*f) () = $ac_func;
97520 #endif
97521 #ifdef __cplusplus
97523 #endif
97526 main ()
97528 return f != $ac_func;
97530 return 0;
97532 _ACEOF
97533 rm -f conftest.$ac_objext conftest$ac_exeext
97534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97535 (eval $ac_link) 2>conftest.er1
97536 ac_status=$?
97537 grep -v '^ *+' conftest.er1 >conftest.err
97538 rm -f conftest.er1
97539 cat conftest.err >&5
97540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97541 (exit $ac_status); } &&
97542 { ac_try='test -z "$ac_c_werror_flag"
97543 || test ! -s conftest.err'
97544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97545 (eval $ac_try) 2>&5
97546 ac_status=$?
97547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97548 (exit $ac_status); }; } &&
97549 { ac_try='test -s conftest$ac_exeext'
97550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97551 (eval $ac_try) 2>&5
97552 ac_status=$?
97553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97554 (exit $ac_status); }; }; then
97555 eval "$as_ac_var=yes"
97556 else
97557 echo "$as_me: failed program was:" >&5
97558 sed 's/^/| /' conftest.$ac_ext >&5
97560 eval "$as_ac_var=no"
97562 rm -f conftest.err conftest.$ac_objext \
97563 conftest$ac_exeext conftest.$ac_ext
97565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97567 if test `eval echo '${'$as_ac_var'}'` = yes; then
97568 cat >>confdefs.h <<_ACEOF
97569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97570 _ACEOF
97573 done
97581 CXXFLAGS="$ac_save_CXXFLAGS"
97584 # For LFS.
97585 cat >>confdefs.h <<\_ACEOF
97586 #define HAVE_INT64_T 1
97587 _ACEOF
97592 ac_ext=cc
97593 ac_cpp='$CXXCPP $CPPFLAGS'
97594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97598 ac_save_CXXFLAGS="$CXXFLAGS"
97599 CXXFLAGS="$CXXFLAGS -fno-exceptions"
97600 echo "$as_me:$LINENO: checking for LFS support" >&5
97601 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
97602 if test "${glibcxx_cv_LFS+set}" = set; then
97603 echo $ECHO_N "(cached) $ECHO_C" >&6
97604 else
97606 if test x$gcc_no_link = xyes; then
97607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97609 { (exit 1); exit 1; }; }
97611 cat >conftest.$ac_ext <<_ACEOF
97612 /* confdefs.h. */
97613 _ACEOF
97614 cat confdefs.h >>conftest.$ac_ext
97615 cat >>conftest.$ac_ext <<_ACEOF
97616 /* end confdefs.h. */
97617 #include <unistd.h>
97618 #include <stdio.h>
97619 #include <sys/stat.h>
97622 main ()
97624 FILE* fp;
97625 fopen64("t", "w");
97626 fseeko64(fp, 0, SEEK_CUR);
97627 ftello64(fp);
97628 lseek64(1, 0, SEEK_CUR);
97629 struct stat64 buf;
97630 fstat64(1, &buf);
97632 return 0;
97634 _ACEOF
97635 rm -f conftest.$ac_objext conftest$ac_exeext
97636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97637 (eval $ac_link) 2>conftest.er1
97638 ac_status=$?
97639 grep -v '^ *+' conftest.er1 >conftest.err
97640 rm -f conftest.er1
97641 cat conftest.err >&5
97642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97643 (exit $ac_status); } &&
97644 { ac_try='test -z "$ac_cxx_werror_flag"
97645 || test ! -s conftest.err'
97646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97647 (eval $ac_try) 2>&5
97648 ac_status=$?
97649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97650 (exit $ac_status); }; } &&
97651 { ac_try='test -s conftest$ac_exeext'
97652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97653 (eval $ac_try) 2>&5
97654 ac_status=$?
97655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97656 (exit $ac_status); }; }; then
97657 glibcxx_cv_LFS=yes
97658 else
97659 echo "$as_me: failed program was:" >&5
97660 sed 's/^/| /' conftest.$ac_ext >&5
97662 glibcxx_cv_LFS=no
97664 rm -f conftest.err conftest.$ac_objext \
97665 conftest$ac_exeext conftest.$ac_ext
97669 if test $glibcxx_cv_LFS = yes; then
97671 cat >>confdefs.h <<\_ACEOF
97672 #define _GLIBCXX_USE_LFS 1
97673 _ACEOF
97676 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
97677 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
97678 CXXFLAGS="$ac_save_CXXFLAGS"
97679 ac_ext=c
97680 ac_cpp='$CPP $CPPFLAGS'
97681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97687 # For showmanyc_helper().
97690 for ac_header in sys/ioctl.h sys/filio.h
97692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
97693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97694 echo "$as_me:$LINENO: checking for $ac_header" >&5
97695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
97696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97697 echo $ECHO_N "(cached) $ECHO_C" >&6
97699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
97700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
97701 else
97702 # Is the header compilable?
97703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
97704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
97705 cat >conftest.$ac_ext <<_ACEOF
97706 /* confdefs.h. */
97707 _ACEOF
97708 cat confdefs.h >>conftest.$ac_ext
97709 cat >>conftest.$ac_ext <<_ACEOF
97710 /* end confdefs.h. */
97711 $ac_includes_default
97712 #include <$ac_header>
97713 _ACEOF
97714 rm -f conftest.$ac_objext
97715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97716 (eval $ac_compile) 2>conftest.er1
97717 ac_status=$?
97718 grep -v '^ *+' conftest.er1 >conftest.err
97719 rm -f conftest.er1
97720 cat conftest.err >&5
97721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97722 (exit $ac_status); } &&
97723 { ac_try='test -z "$ac_c_werror_flag"
97724 || test ! -s conftest.err'
97725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97726 (eval $ac_try) 2>&5
97727 ac_status=$?
97728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97729 (exit $ac_status); }; } &&
97730 { ac_try='test -s conftest.$ac_objext'
97731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97732 (eval $ac_try) 2>&5
97733 ac_status=$?
97734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97735 (exit $ac_status); }; }; then
97736 ac_header_compiler=yes
97737 else
97738 echo "$as_me: failed program was:" >&5
97739 sed 's/^/| /' conftest.$ac_ext >&5
97741 ac_header_compiler=no
97743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97745 echo "${ECHO_T}$ac_header_compiler" >&6
97747 # Is the header present?
97748 echo "$as_me:$LINENO: checking $ac_header presence" >&5
97749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
97750 cat >conftest.$ac_ext <<_ACEOF
97751 /* confdefs.h. */
97752 _ACEOF
97753 cat confdefs.h >>conftest.$ac_ext
97754 cat >>conftest.$ac_ext <<_ACEOF
97755 /* end confdefs.h. */
97756 #include <$ac_header>
97757 _ACEOF
97758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97760 ac_status=$?
97761 grep -v '^ *+' conftest.er1 >conftest.err
97762 rm -f conftest.er1
97763 cat conftest.err >&5
97764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97765 (exit $ac_status); } >/dev/null; then
97766 if test -s conftest.err; then
97767 ac_cpp_err=$ac_c_preproc_warn_flag
97768 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97769 else
97770 ac_cpp_err=
97772 else
97773 ac_cpp_err=yes
97775 if test -z "$ac_cpp_err"; then
97776 ac_header_preproc=yes
97777 else
97778 echo "$as_me: failed program was:" >&5
97779 sed 's/^/| /' conftest.$ac_ext >&5
97781 ac_header_preproc=no
97783 rm -f conftest.err conftest.$ac_ext
97784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97785 echo "${ECHO_T}$ac_header_preproc" >&6
97787 # So? What about this header?
97788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97789 yes:no: )
97790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
97791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
97792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
97793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
97794 ac_header_preproc=yes
97796 no:yes:* )
97797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
97798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
97799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
97800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
97801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
97802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
97803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
97804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
97805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
97806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
97807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
97808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
97810 cat <<\_ASBOX
97811 ## ----------------------------------------- ##
97812 ## Report this to the package-unused lists. ##
97813 ## ----------------------------------------- ##
97814 _ASBOX
97816 sed "s/^/$as_me: WARNING: /" >&2
97818 esac
97819 echo "$as_me:$LINENO: checking for $ac_header" >&5
97820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
97821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97822 echo $ECHO_N "(cached) $ECHO_C" >&6
97823 else
97824 eval "$as_ac_Header=\$ac_header_preproc"
97826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
97827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
97830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
97831 cat >>confdefs.h <<_ACEOF
97832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
97833 _ACEOF
97837 done
97840 echo "$as_me:$LINENO: checking for poll" >&5
97841 echo $ECHO_N "checking for poll... $ECHO_C" >&6
97842 if test "${glibcxx_cv_POLL+set}" = set; then
97843 echo $ECHO_N "(cached) $ECHO_C" >&6
97844 else
97846 if test x$gcc_no_link = xyes; then
97847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97849 { (exit 1); exit 1; }; }
97851 cat >conftest.$ac_ext <<_ACEOF
97852 /* confdefs.h. */
97853 _ACEOF
97854 cat confdefs.h >>conftest.$ac_ext
97855 cat >>conftest.$ac_ext <<_ACEOF
97856 /* end confdefs.h. */
97857 #include <poll.h>
97859 main ()
97861 struct pollfd pfd[1];
97862 pfd[0].events = POLLIN;
97863 poll(pfd, 1, 0);
97865 return 0;
97867 _ACEOF
97868 rm -f conftest.$ac_objext conftest$ac_exeext
97869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97870 (eval $ac_link) 2>conftest.er1
97871 ac_status=$?
97872 grep -v '^ *+' conftest.er1 >conftest.err
97873 rm -f conftest.er1
97874 cat conftest.err >&5
97875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97876 (exit $ac_status); } &&
97877 { ac_try='test -z "$ac_c_werror_flag"
97878 || test ! -s conftest.err'
97879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97880 (eval $ac_try) 2>&5
97881 ac_status=$?
97882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97883 (exit $ac_status); }; } &&
97884 { ac_try='test -s conftest$ac_exeext'
97885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97886 (eval $ac_try) 2>&5
97887 ac_status=$?
97888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97889 (exit $ac_status); }; }; then
97890 glibcxx_cv_POLL=yes
97891 else
97892 echo "$as_me: failed program was:" >&5
97893 sed 's/^/| /' conftest.$ac_ext >&5
97895 glibcxx_cv_POLL=no
97897 rm -f conftest.err conftest.$ac_objext \
97898 conftest$ac_exeext conftest.$ac_ext
97902 if test $glibcxx_cv_POLL = yes; then
97904 cat >>confdefs.h <<\_ACEOF
97905 #define HAVE_POLL 1
97906 _ACEOF
97909 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
97910 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
97913 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
97914 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
97915 if test "${glibcxx_cv_S_ISREG+set}" = set; then
97916 echo $ECHO_N "(cached) $ECHO_C" >&6
97917 else
97919 if test x$gcc_no_link = xyes; then
97920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97922 { (exit 1); exit 1; }; }
97924 cat >conftest.$ac_ext <<_ACEOF
97925 /* confdefs.h. */
97926 _ACEOF
97927 cat confdefs.h >>conftest.$ac_ext
97928 cat >>conftest.$ac_ext <<_ACEOF
97929 /* end confdefs.h. */
97930 #include <sys/stat.h>
97932 main ()
97934 struct stat buffer;
97935 fstat(0, &buffer);
97936 S_ISREG(buffer.st_mode);
97938 return 0;
97940 _ACEOF
97941 rm -f conftest.$ac_objext conftest$ac_exeext
97942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97943 (eval $ac_link) 2>conftest.er1
97944 ac_status=$?
97945 grep -v '^ *+' conftest.er1 >conftest.err
97946 rm -f conftest.er1
97947 cat conftest.err >&5
97948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97949 (exit $ac_status); } &&
97950 { ac_try='test -z "$ac_c_werror_flag"
97951 || test ! -s conftest.err'
97952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97953 (eval $ac_try) 2>&5
97954 ac_status=$?
97955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97956 (exit $ac_status); }; } &&
97957 { ac_try='test -s conftest$ac_exeext'
97958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97959 (eval $ac_try) 2>&5
97960 ac_status=$?
97961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97962 (exit $ac_status); }; }; then
97963 glibcxx_cv_S_ISREG=yes
97964 else
97965 echo "$as_me: failed program was:" >&5
97966 sed 's/^/| /' conftest.$ac_ext >&5
97968 glibcxx_cv_S_ISREG=no
97970 rm -f conftest.err conftest.$ac_objext \
97971 conftest$ac_exeext conftest.$ac_ext
97975 if test "${glibcxx_cv_S_IFREG+set}" = set; then
97976 echo $ECHO_N "(cached) $ECHO_C" >&6
97977 else
97979 if test x$gcc_no_link = xyes; then
97980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97982 { (exit 1); exit 1; }; }
97984 cat >conftest.$ac_ext <<_ACEOF
97985 /* confdefs.h. */
97986 _ACEOF
97987 cat confdefs.h >>conftest.$ac_ext
97988 cat >>conftest.$ac_ext <<_ACEOF
97989 /* end confdefs.h. */
97990 #include <sys/stat.h>
97992 main ()
97994 struct stat buffer;
97995 fstat(0, &buffer);
97996 S_IFREG & buffer.st_mode;
97998 return 0;
98000 _ACEOF
98001 rm -f conftest.$ac_objext conftest$ac_exeext
98002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98003 (eval $ac_link) 2>conftest.er1
98004 ac_status=$?
98005 grep -v '^ *+' conftest.er1 >conftest.err
98006 rm -f conftest.er1
98007 cat conftest.err >&5
98008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98009 (exit $ac_status); } &&
98010 { ac_try='test -z "$ac_c_werror_flag"
98011 || test ! -s conftest.err'
98012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98013 (eval $ac_try) 2>&5
98014 ac_status=$?
98015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98016 (exit $ac_status); }; } &&
98017 { ac_try='test -s conftest$ac_exeext'
98018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98019 (eval $ac_try) 2>&5
98020 ac_status=$?
98021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98022 (exit $ac_status); }; }; then
98023 glibcxx_cv_S_IFREG=yes
98024 else
98025 echo "$as_me: failed program was:" >&5
98026 sed 's/^/| /' conftest.$ac_ext >&5
98028 glibcxx_cv_S_IFREG=no
98030 rm -f conftest.err conftest.$ac_objext \
98031 conftest$ac_exeext conftest.$ac_ext
98035 res=no
98036 if test $glibcxx_cv_S_ISREG = yes; then
98038 cat >>confdefs.h <<\_ACEOF
98039 #define HAVE_S_ISREG 1
98040 _ACEOF
98042 res=S_ISREG
98043 elif test $glibcxx_cv_S_IFREG = yes; then
98045 cat >>confdefs.h <<\_ACEOF
98046 #define HAVE_S_IFREG 1
98047 _ACEOF
98049 res=S_IFREG
98051 echo "$as_me:$LINENO: result: $res" >&5
98052 echo "${ECHO_T}$res" >&6
98055 # For xsputn_2().
98057 for ac_header in sys/uio.h
98059 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
98060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98061 echo "$as_me:$LINENO: checking for $ac_header" >&5
98062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98064 echo $ECHO_N "(cached) $ECHO_C" >&6
98066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98068 else
98069 # Is the header compilable?
98070 echo "$as_me:$LINENO: checking $ac_header usability" >&5
98071 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
98072 cat >conftest.$ac_ext <<_ACEOF
98073 /* confdefs.h. */
98074 _ACEOF
98075 cat confdefs.h >>conftest.$ac_ext
98076 cat >>conftest.$ac_ext <<_ACEOF
98077 /* end confdefs.h. */
98078 $ac_includes_default
98079 #include <$ac_header>
98080 _ACEOF
98081 rm -f conftest.$ac_objext
98082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98083 (eval $ac_compile) 2>conftest.er1
98084 ac_status=$?
98085 grep -v '^ *+' conftest.er1 >conftest.err
98086 rm -f conftest.er1
98087 cat conftest.err >&5
98088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98089 (exit $ac_status); } &&
98090 { ac_try='test -z "$ac_c_werror_flag"
98091 || test ! -s conftest.err'
98092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98093 (eval $ac_try) 2>&5
98094 ac_status=$?
98095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98096 (exit $ac_status); }; } &&
98097 { ac_try='test -s conftest.$ac_objext'
98098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98099 (eval $ac_try) 2>&5
98100 ac_status=$?
98101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98102 (exit $ac_status); }; }; then
98103 ac_header_compiler=yes
98104 else
98105 echo "$as_me: failed program was:" >&5
98106 sed 's/^/| /' conftest.$ac_ext >&5
98108 ac_header_compiler=no
98110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98112 echo "${ECHO_T}$ac_header_compiler" >&6
98114 # Is the header present?
98115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
98116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
98117 cat >conftest.$ac_ext <<_ACEOF
98118 /* confdefs.h. */
98119 _ACEOF
98120 cat confdefs.h >>conftest.$ac_ext
98121 cat >>conftest.$ac_ext <<_ACEOF
98122 /* end confdefs.h. */
98123 #include <$ac_header>
98124 _ACEOF
98125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98127 ac_status=$?
98128 grep -v '^ *+' conftest.er1 >conftest.err
98129 rm -f conftest.er1
98130 cat conftest.err >&5
98131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98132 (exit $ac_status); } >/dev/null; then
98133 if test -s conftest.err; then
98134 ac_cpp_err=$ac_c_preproc_warn_flag
98135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98136 else
98137 ac_cpp_err=
98139 else
98140 ac_cpp_err=yes
98142 if test -z "$ac_cpp_err"; then
98143 ac_header_preproc=yes
98144 else
98145 echo "$as_me: failed program was:" >&5
98146 sed 's/^/| /' conftest.$ac_ext >&5
98148 ac_header_preproc=no
98150 rm -f conftest.err conftest.$ac_ext
98151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98152 echo "${ECHO_T}$ac_header_preproc" >&6
98154 # So? What about this header?
98155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98156 yes:no: )
98157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
98158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
98159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
98160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
98161 ac_header_preproc=yes
98163 no:yes:* )
98164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
98165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
98166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
98167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
98168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
98169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
98170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
98171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
98172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
98173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98177 cat <<\_ASBOX
98178 ## ----------------------------------------- ##
98179 ## Report this to the package-unused lists. ##
98180 ## ----------------------------------------- ##
98181 _ASBOX
98183 sed "s/^/$as_me: WARNING: /" >&2
98185 esac
98186 echo "$as_me:$LINENO: checking for $ac_header" >&5
98187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98189 echo $ECHO_N "(cached) $ECHO_C" >&6
98190 else
98191 eval "$as_ac_Header=\$ac_header_preproc"
98193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98198 cat >>confdefs.h <<_ACEOF
98199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
98200 _ACEOF
98204 done
98207 echo "$as_me:$LINENO: checking for writev" >&5
98208 echo $ECHO_N "checking for writev... $ECHO_C" >&6
98209 if test "${glibcxx_cv_WRITEV+set}" = set; then
98210 echo $ECHO_N "(cached) $ECHO_C" >&6
98211 else
98213 if test x$gcc_no_link = xyes; then
98214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98216 { (exit 1); exit 1; }; }
98218 cat >conftest.$ac_ext <<_ACEOF
98219 /* confdefs.h. */
98220 _ACEOF
98221 cat confdefs.h >>conftest.$ac_ext
98222 cat >>conftest.$ac_ext <<_ACEOF
98223 /* end confdefs.h. */
98224 #include <sys/uio.h>
98226 main ()
98228 struct iovec iov[2];
98229 writev(0, iov, 0);
98231 return 0;
98233 _ACEOF
98234 rm -f conftest.$ac_objext conftest$ac_exeext
98235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98236 (eval $ac_link) 2>conftest.er1
98237 ac_status=$?
98238 grep -v '^ *+' conftest.er1 >conftest.err
98239 rm -f conftest.er1
98240 cat conftest.err >&5
98241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98242 (exit $ac_status); } &&
98243 { ac_try='test -z "$ac_c_werror_flag"
98244 || test ! -s conftest.err'
98245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98246 (eval $ac_try) 2>&5
98247 ac_status=$?
98248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98249 (exit $ac_status); }; } &&
98250 { ac_try='test -s conftest$ac_exeext'
98251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98252 (eval $ac_try) 2>&5
98253 ac_status=$?
98254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98255 (exit $ac_status); }; }; then
98256 glibcxx_cv_WRITEV=yes
98257 else
98258 echo "$as_me: failed program was:" >&5
98259 sed 's/^/| /' conftest.$ac_ext >&5
98261 glibcxx_cv_WRITEV=no
98263 rm -f conftest.err conftest.$ac_objext \
98264 conftest$ac_exeext conftest.$ac_ext
98268 if test $glibcxx_cv_WRITEV = yes; then
98270 cat >>confdefs.h <<\_ACEOF
98271 #define HAVE_WRITEV 1
98272 _ACEOF
98275 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
98276 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
98279 *-mingw32*)
98283 for ac_header in sys/types.h locale.h float.h
98285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
98286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98287 echo "$as_me:$LINENO: checking for $ac_header" >&5
98288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98290 echo $ECHO_N "(cached) $ECHO_C" >&6
98292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98294 else
98295 # Is the header compilable?
98296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
98297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
98298 cat >conftest.$ac_ext <<_ACEOF
98299 /* confdefs.h. */
98300 _ACEOF
98301 cat confdefs.h >>conftest.$ac_ext
98302 cat >>conftest.$ac_ext <<_ACEOF
98303 /* end confdefs.h. */
98304 $ac_includes_default
98305 #include <$ac_header>
98306 _ACEOF
98307 rm -f conftest.$ac_objext
98308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98309 (eval $ac_compile) 2>conftest.er1
98310 ac_status=$?
98311 grep -v '^ *+' conftest.er1 >conftest.err
98312 rm -f conftest.er1
98313 cat conftest.err >&5
98314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98315 (exit $ac_status); } &&
98316 { ac_try='test -z "$ac_c_werror_flag"
98317 || test ! -s conftest.err'
98318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98319 (eval $ac_try) 2>&5
98320 ac_status=$?
98321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98322 (exit $ac_status); }; } &&
98323 { ac_try='test -s conftest.$ac_objext'
98324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98325 (eval $ac_try) 2>&5
98326 ac_status=$?
98327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98328 (exit $ac_status); }; }; then
98329 ac_header_compiler=yes
98330 else
98331 echo "$as_me: failed program was:" >&5
98332 sed 's/^/| /' conftest.$ac_ext >&5
98334 ac_header_compiler=no
98336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98338 echo "${ECHO_T}$ac_header_compiler" >&6
98340 # Is the header present?
98341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
98342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
98343 cat >conftest.$ac_ext <<_ACEOF
98344 /* confdefs.h. */
98345 _ACEOF
98346 cat confdefs.h >>conftest.$ac_ext
98347 cat >>conftest.$ac_ext <<_ACEOF
98348 /* end confdefs.h. */
98349 #include <$ac_header>
98350 _ACEOF
98351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98353 ac_status=$?
98354 grep -v '^ *+' conftest.er1 >conftest.err
98355 rm -f conftest.er1
98356 cat conftest.err >&5
98357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98358 (exit $ac_status); } >/dev/null; then
98359 if test -s conftest.err; then
98360 ac_cpp_err=$ac_c_preproc_warn_flag
98361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98362 else
98363 ac_cpp_err=
98365 else
98366 ac_cpp_err=yes
98368 if test -z "$ac_cpp_err"; then
98369 ac_header_preproc=yes
98370 else
98371 echo "$as_me: failed program was:" >&5
98372 sed 's/^/| /' conftest.$ac_ext >&5
98374 ac_header_preproc=no
98376 rm -f conftest.err conftest.$ac_ext
98377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98378 echo "${ECHO_T}$ac_header_preproc" >&6
98380 # So? What about this header?
98381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98382 yes:no: )
98383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
98384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
98385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
98386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
98387 ac_header_preproc=yes
98389 no:yes:* )
98390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
98391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
98392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
98393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
98394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
98395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
98396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
98397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
98398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
98399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98403 cat <<\_ASBOX
98404 ## ----------------------------------------- ##
98405 ## Report this to the package-unused lists. ##
98406 ## ----------------------------------------- ##
98407 _ASBOX
98409 sed "s/^/$as_me: WARNING: /" >&2
98411 esac
98412 echo "$as_me:$LINENO: checking for $ac_header" >&5
98413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98415 echo $ECHO_N "(cached) $ECHO_C" >&6
98416 else
98417 eval "$as_ac_Header=\$ac_header_preproc"
98419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98424 cat >>confdefs.h <<_ACEOF
98425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
98426 _ACEOF
98430 done
98433 # If we're not using GNU ld, then there's no point in even trying these
98434 # tests. Check for that first. We should have already tested for gld
98435 # by now (in libtool), but require it now just to be safe...
98436 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
98437 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
98441 # The name set by libtool depends on the version of libtool. Shame on us
98442 # for depending on an impl detail, but c'est la vie. Older versions used
98443 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
98444 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
98445 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
98446 # set (hence we're using an older libtool), then set it.
98447 if test x${with_gnu_ld+set} != xset; then
98448 if test x${ac_cv_prog_gnu_ld+set} != xset; then
98449 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
98450 with_gnu_ld=no
98451 else
98452 with_gnu_ld=$ac_cv_prog_gnu_ld
98456 # Start by getting the version number. I think the libtool test already
98457 # does some of this, but throws away the result.
98458 if test x"$with_gnu_ld" = x"yes"; then
98459 echo "$as_me:$LINENO: checking for ld version" >&5
98460 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
98462 ldver=`$LD --version 2>/dev/null | head -1 | \
98463 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
98465 glibcxx_gnu_ld_version=`echo $ldver | \
98466 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
98467 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
98468 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
98471 # Set --gc-sections.
98472 glibcxx_gcsections_min_ld=21602
98473 if test x"$with_gnu_ld" = x"yes" &&
98474 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
98476 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
98477 # NB: This flag only works reliably after 2.16.1. Configure tests
98478 # for this are difficult, so hard wire a value that should work.
98480 # All these tests are for C++, but run with the "C" compiler driver.
98481 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
98482 ac_test_CFLAGS="${CFLAGS+set}"
98483 ac_save_CFLAGS="$CFLAGS"
98484 CFLAGS='-x c++ -Wl,--gc-sections'
98486 # Check for -Wl,--gc-sections
98487 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
98488 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
98489 if test x$gcc_no_link = xyes; then
98490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98492 { (exit 1); exit 1; }; }
98494 cat >conftest.$ac_ext <<_ACEOF
98495 /* confdefs.h. */
98496 _ACEOF
98497 cat confdefs.h >>conftest.$ac_ext
98498 cat >>conftest.$ac_ext <<_ACEOF
98499 /* end confdefs.h. */
98500 int one(void) { return 1; }
98501 int two(void) { return 2; }
98504 main ()
98506 two();
98508 return 0;
98510 _ACEOF
98511 rm -f conftest.$ac_objext conftest$ac_exeext
98512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98513 (eval $ac_link) 2>conftest.er1
98514 ac_status=$?
98515 grep -v '^ *+' conftest.er1 >conftest.err
98516 rm -f conftest.er1
98517 cat conftest.err >&5
98518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98519 (exit $ac_status); } &&
98520 { ac_try='test -z "$ac_c_werror_flag"
98521 || test ! -s conftest.err'
98522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98523 (eval $ac_try) 2>&5
98524 ac_status=$?
98525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98526 (exit $ac_status); }; } &&
98527 { ac_try='test -s conftest$ac_exeext'
98528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98529 (eval $ac_try) 2>&5
98530 ac_status=$?
98531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98532 (exit $ac_status); }; }; then
98533 ac_gcsections=yes
98534 else
98535 echo "$as_me: failed program was:" >&5
98536 sed 's/^/| /' conftest.$ac_ext >&5
98538 ac_gcsections=no
98540 rm -f conftest.err conftest.$ac_objext \
98541 conftest$ac_exeext conftest.$ac_ext
98542 if test "$ac_gcsections" = "yes"; then
98543 rm -f conftest.c
98544 touch conftest.c
98545 if $CC -c conftest.c; then
98546 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
98547 grep "Warning: gc-sections option ignored" > /dev/null; then
98548 ac_gcsections=no
98551 rm -f conftest.c conftest.o conftest
98553 if test "$ac_gcsections" = "yes"; then
98554 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
98556 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
98557 echo "${ECHO_T}$ac_gcsections" >&6
98559 if test "$ac_test_CFLAGS" = set; then
98560 CFLAGS="$ac_save_CFLAGS"
98561 else
98562 # this is the suspicious part
98563 CFLAGS=''
98567 # Set -z,relro.
98568 # Note this is only for shared objects.
98569 ac_ld_relro=no
98570 if test x"$with_gnu_ld" = x"yes"; then
98571 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
98572 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
98573 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
98574 if test -n "$cxx_z_relo"; then
98575 OPT_LDFLAGS="-Wl,-z,relro"
98576 ac_ld_relro=yes
98578 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
98579 echo "${ECHO_T}$ac_ld_relro" >&6
98582 # Set linker optimization flags.
98583 if test x"$with_gnu_ld" = x"yes"; then
98584 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
98592 echo "$as_me:$LINENO: checking for main in -lm" >&5
98593 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98594 if test "${ac_cv_lib_m_main+set}" = set; then
98595 echo $ECHO_N "(cached) $ECHO_C" >&6
98596 else
98597 ac_check_lib_save_LIBS=$LIBS
98598 LIBS="-lm $LIBS"
98599 if test x$gcc_no_link = xyes; then
98600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98602 { (exit 1); exit 1; }; }
98604 cat >conftest.$ac_ext <<_ACEOF
98605 /* confdefs.h. */
98606 _ACEOF
98607 cat confdefs.h >>conftest.$ac_ext
98608 cat >>conftest.$ac_ext <<_ACEOF
98609 /* end confdefs.h. */
98613 main ()
98615 main ();
98617 return 0;
98619 _ACEOF
98620 rm -f conftest.$ac_objext conftest$ac_exeext
98621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98622 (eval $ac_link) 2>conftest.er1
98623 ac_status=$?
98624 grep -v '^ *+' conftest.er1 >conftest.err
98625 rm -f conftest.er1
98626 cat conftest.err >&5
98627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98628 (exit $ac_status); } &&
98629 { ac_try='test -z "$ac_c_werror_flag"
98630 || test ! -s conftest.err'
98631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98632 (eval $ac_try) 2>&5
98633 ac_status=$?
98634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98635 (exit $ac_status); }; } &&
98636 { ac_try='test -s conftest$ac_exeext'
98637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98638 (eval $ac_try) 2>&5
98639 ac_status=$?
98640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98641 (exit $ac_status); }; }; then
98642 ac_cv_lib_m_main=yes
98643 else
98644 echo "$as_me: failed program was:" >&5
98645 sed 's/^/| /' conftest.$ac_ext >&5
98647 ac_cv_lib_m_main=no
98649 rm -f conftest.err conftest.$ac_objext \
98650 conftest$ac_exeext conftest.$ac_ext
98651 LIBS=$ac_check_lib_save_LIBS
98653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98654 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98655 if test $ac_cv_lib_m_main = yes; then
98656 cat >>confdefs.h <<_ACEOF
98657 #define HAVE_LIBM 1
98658 _ACEOF
98660 LIBS="-lm $LIBS"
98665 for ac_func in copysignf
98667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98668 echo "$as_me:$LINENO: checking for $ac_func" >&5
98669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98670 if eval "test \"\${$as_ac_var+set}\" = set"; then
98671 echo $ECHO_N "(cached) $ECHO_C" >&6
98672 else
98673 if test x$gcc_no_link = xyes; then
98674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98676 { (exit 1); exit 1; }; }
98678 cat >conftest.$ac_ext <<_ACEOF
98679 /* confdefs.h. */
98680 _ACEOF
98681 cat confdefs.h >>conftest.$ac_ext
98682 cat >>conftest.$ac_ext <<_ACEOF
98683 /* end confdefs.h. */
98684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98686 #define $ac_func innocuous_$ac_func
98688 /* System header to define __stub macros and hopefully few prototypes,
98689 which can conflict with char $ac_func (); below.
98690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98691 <limits.h> exists even on freestanding compilers. */
98693 #ifdef __STDC__
98694 # include <limits.h>
98695 #else
98696 # include <assert.h>
98697 #endif
98699 #undef $ac_func
98701 /* Override any gcc2 internal prototype to avoid an error. */
98702 #ifdef __cplusplus
98703 extern "C"
98705 #endif
98706 /* We use char because int might match the return type of a gcc2
98707 builtin and then its argument prototype would still apply. */
98708 char $ac_func ();
98709 /* The GNU C library defines this for functions which it implements
98710 to always fail with ENOSYS. Some functions are actually named
98711 something starting with __ and the normal name is an alias. */
98712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98713 choke me
98714 #else
98715 char (*f) () = $ac_func;
98716 #endif
98717 #ifdef __cplusplus
98719 #endif
98722 main ()
98724 return f != $ac_func;
98726 return 0;
98728 _ACEOF
98729 rm -f conftest.$ac_objext conftest$ac_exeext
98730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98731 (eval $ac_link) 2>conftest.er1
98732 ac_status=$?
98733 grep -v '^ *+' conftest.er1 >conftest.err
98734 rm -f conftest.er1
98735 cat conftest.err >&5
98736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98737 (exit $ac_status); } &&
98738 { ac_try='test -z "$ac_c_werror_flag"
98739 || test ! -s conftest.err'
98740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98741 (eval $ac_try) 2>&5
98742 ac_status=$?
98743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98744 (exit $ac_status); }; } &&
98745 { ac_try='test -s conftest$ac_exeext'
98746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98747 (eval $ac_try) 2>&5
98748 ac_status=$?
98749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98750 (exit $ac_status); }; }; then
98751 eval "$as_ac_var=yes"
98752 else
98753 echo "$as_me: failed program was:" >&5
98754 sed 's/^/| /' conftest.$ac_ext >&5
98756 eval "$as_ac_var=no"
98758 rm -f conftest.err conftest.$ac_objext \
98759 conftest$ac_exeext conftest.$ac_ext
98761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98763 if test `eval echo '${'$as_ac_var'}'` = yes; then
98764 cat >>confdefs.h <<_ACEOF
98765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98766 _ACEOF
98768 else
98769 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98771 done
98775 for ac_func in __signbit
98777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98778 echo "$as_me:$LINENO: checking for $ac_func" >&5
98779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98780 if eval "test \"\${$as_ac_var+set}\" = set"; then
98781 echo $ECHO_N "(cached) $ECHO_C" >&6
98782 else
98783 if test x$gcc_no_link = xyes; then
98784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98786 { (exit 1); exit 1; }; }
98788 cat >conftest.$ac_ext <<_ACEOF
98789 /* confdefs.h. */
98790 _ACEOF
98791 cat confdefs.h >>conftest.$ac_ext
98792 cat >>conftest.$ac_ext <<_ACEOF
98793 /* end confdefs.h. */
98794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98796 #define $ac_func innocuous_$ac_func
98798 /* System header to define __stub macros and hopefully few prototypes,
98799 which can conflict with char $ac_func (); below.
98800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98801 <limits.h> exists even on freestanding compilers. */
98803 #ifdef __STDC__
98804 # include <limits.h>
98805 #else
98806 # include <assert.h>
98807 #endif
98809 #undef $ac_func
98811 /* Override any gcc2 internal prototype to avoid an error. */
98812 #ifdef __cplusplus
98813 extern "C"
98815 #endif
98816 /* We use char because int might match the return type of a gcc2
98817 builtin and then its argument prototype would still apply. */
98818 char $ac_func ();
98819 /* The GNU C library defines this for functions which it implements
98820 to always fail with ENOSYS. Some functions are actually named
98821 something starting with __ and the normal name is an alias. */
98822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98823 choke me
98824 #else
98825 char (*f) () = $ac_func;
98826 #endif
98827 #ifdef __cplusplus
98829 #endif
98832 main ()
98834 return f != $ac_func;
98836 return 0;
98838 _ACEOF
98839 rm -f conftest.$ac_objext conftest$ac_exeext
98840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98841 (eval $ac_link) 2>conftest.er1
98842 ac_status=$?
98843 grep -v '^ *+' conftest.er1 >conftest.err
98844 rm -f conftest.er1
98845 cat conftest.err >&5
98846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98847 (exit $ac_status); } &&
98848 { ac_try='test -z "$ac_c_werror_flag"
98849 || test ! -s conftest.err'
98850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98851 (eval $ac_try) 2>&5
98852 ac_status=$?
98853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98854 (exit $ac_status); }; } &&
98855 { ac_try='test -s conftest$ac_exeext'
98856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98857 (eval $ac_try) 2>&5
98858 ac_status=$?
98859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98860 (exit $ac_status); }; }; then
98861 eval "$as_ac_var=yes"
98862 else
98863 echo "$as_me: failed program was:" >&5
98864 sed 's/^/| /' conftest.$ac_ext >&5
98866 eval "$as_ac_var=no"
98868 rm -f conftest.err conftest.$ac_objext \
98869 conftest$ac_exeext conftest.$ac_ext
98871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98873 if test `eval echo '${'$as_ac_var'}'` = yes; then
98874 cat >>confdefs.h <<_ACEOF
98875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98876 _ACEOF
98878 else
98879 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98881 done
98885 for ac_func in __signbitf
98887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98888 echo "$as_me:$LINENO: checking for $ac_func" >&5
98889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98890 if eval "test \"\${$as_ac_var+set}\" = set"; then
98891 echo $ECHO_N "(cached) $ECHO_C" >&6
98892 else
98893 if test x$gcc_no_link = xyes; then
98894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98896 { (exit 1); exit 1; }; }
98898 cat >conftest.$ac_ext <<_ACEOF
98899 /* confdefs.h. */
98900 _ACEOF
98901 cat confdefs.h >>conftest.$ac_ext
98902 cat >>conftest.$ac_ext <<_ACEOF
98903 /* end confdefs.h. */
98904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98906 #define $ac_func innocuous_$ac_func
98908 /* System header to define __stub macros and hopefully few prototypes,
98909 which can conflict with char $ac_func (); below.
98910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98911 <limits.h> exists even on freestanding compilers. */
98913 #ifdef __STDC__
98914 # include <limits.h>
98915 #else
98916 # include <assert.h>
98917 #endif
98919 #undef $ac_func
98921 /* Override any gcc2 internal prototype to avoid an error. */
98922 #ifdef __cplusplus
98923 extern "C"
98925 #endif
98926 /* We use char because int might match the return type of a gcc2
98927 builtin and then its argument prototype would still apply. */
98928 char $ac_func ();
98929 /* The GNU C library defines this for functions which it implements
98930 to always fail with ENOSYS. Some functions are actually named
98931 something starting with __ and the normal name is an alias. */
98932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98933 choke me
98934 #else
98935 char (*f) () = $ac_func;
98936 #endif
98937 #ifdef __cplusplus
98939 #endif
98942 main ()
98944 return f != $ac_func;
98946 return 0;
98948 _ACEOF
98949 rm -f conftest.$ac_objext conftest$ac_exeext
98950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98951 (eval $ac_link) 2>conftest.er1
98952 ac_status=$?
98953 grep -v '^ *+' conftest.er1 >conftest.err
98954 rm -f conftest.er1
98955 cat conftest.err >&5
98956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98957 (exit $ac_status); } &&
98958 { ac_try='test -z "$ac_c_werror_flag"
98959 || test ! -s conftest.err'
98960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98961 (eval $ac_try) 2>&5
98962 ac_status=$?
98963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98964 (exit $ac_status); }; } &&
98965 { ac_try='test -s conftest$ac_exeext'
98966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98967 (eval $ac_try) 2>&5
98968 ac_status=$?
98969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98970 (exit $ac_status); }; }; then
98971 eval "$as_ac_var=yes"
98972 else
98973 echo "$as_me: failed program was:" >&5
98974 sed 's/^/| /' conftest.$ac_ext >&5
98976 eval "$as_ac_var=no"
98978 rm -f conftest.err conftest.$ac_objext \
98979 conftest$ac_exeext conftest.$ac_ext
98981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98983 if test `eval echo '${'$as_ac_var'}'` = yes; then
98984 cat >>confdefs.h <<_ACEOF
98985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98986 _ACEOF
98988 else
98989 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98991 done
98994 if test x$ac_cv_func_copysignl = x"yes"; then
98996 for ac_func in __signbitl
98998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98999 echo "$as_me:$LINENO: checking for $ac_func" >&5
99000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99001 if eval "test \"\${$as_ac_var+set}\" = set"; then
99002 echo $ECHO_N "(cached) $ECHO_C" >&6
99003 else
99004 if test x$gcc_no_link = xyes; then
99005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99007 { (exit 1); exit 1; }; }
99009 cat >conftest.$ac_ext <<_ACEOF
99010 /* confdefs.h. */
99011 _ACEOF
99012 cat confdefs.h >>conftest.$ac_ext
99013 cat >>conftest.$ac_ext <<_ACEOF
99014 /* end confdefs.h. */
99015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99017 #define $ac_func innocuous_$ac_func
99019 /* System header to define __stub macros and hopefully few prototypes,
99020 which can conflict with char $ac_func (); below.
99021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99022 <limits.h> exists even on freestanding compilers. */
99024 #ifdef __STDC__
99025 # include <limits.h>
99026 #else
99027 # include <assert.h>
99028 #endif
99030 #undef $ac_func
99032 /* Override any gcc2 internal prototype to avoid an error. */
99033 #ifdef __cplusplus
99034 extern "C"
99036 #endif
99037 /* We use char because int might match the return type of a gcc2
99038 builtin and then its argument prototype would still apply. */
99039 char $ac_func ();
99040 /* The GNU C library defines this for functions which it implements
99041 to always fail with ENOSYS. Some functions are actually named
99042 something starting with __ and the normal name is an alias. */
99043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99044 choke me
99045 #else
99046 char (*f) () = $ac_func;
99047 #endif
99048 #ifdef __cplusplus
99050 #endif
99053 main ()
99055 return f != $ac_func;
99057 return 0;
99059 _ACEOF
99060 rm -f conftest.$ac_objext conftest$ac_exeext
99061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99062 (eval $ac_link) 2>conftest.er1
99063 ac_status=$?
99064 grep -v '^ *+' conftest.er1 >conftest.err
99065 rm -f conftest.er1
99066 cat conftest.err >&5
99067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99068 (exit $ac_status); } &&
99069 { ac_try='test -z "$ac_c_werror_flag"
99070 || test ! -s conftest.err'
99071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99072 (eval $ac_try) 2>&5
99073 ac_status=$?
99074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99075 (exit $ac_status); }; } &&
99076 { ac_try='test -s conftest$ac_exeext'
99077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99078 (eval $ac_try) 2>&5
99079 ac_status=$?
99080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99081 (exit $ac_status); }; }; then
99082 eval "$as_ac_var=yes"
99083 else
99084 echo "$as_me: failed program was:" >&5
99085 sed 's/^/| /' conftest.$ac_ext >&5
99087 eval "$as_ac_var=no"
99089 rm -f conftest.err conftest.$ac_objext \
99090 conftest$ac_exeext conftest.$ac_ext
99092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99094 if test `eval echo '${'$as_ac_var'}'` = yes; then
99095 cat >>confdefs.h <<_ACEOF
99096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99097 _ACEOF
99099 else
99100 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99102 done
99106 # Used in libmath/Makefile.am.
99107 if test -n "$LIBMATHOBJS"; then
99108 need_libmath=yes
99113 *-netbsd*)
99126 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
99127 machine/endian.h machine/param.h sys/machine.h sys/types.h \
99128 fp.h locale.h float.h inttypes.h
99130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99132 echo "$as_me:$LINENO: checking for $ac_header" >&5
99133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99135 echo $ECHO_N "(cached) $ECHO_C" >&6
99137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99139 else
99140 # Is the header compilable?
99141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99143 cat >conftest.$ac_ext <<_ACEOF
99144 /* confdefs.h. */
99145 _ACEOF
99146 cat confdefs.h >>conftest.$ac_ext
99147 cat >>conftest.$ac_ext <<_ACEOF
99148 /* end confdefs.h. */
99149 $ac_includes_default
99150 #include <$ac_header>
99151 _ACEOF
99152 rm -f conftest.$ac_objext
99153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99154 (eval $ac_compile) 2>conftest.er1
99155 ac_status=$?
99156 grep -v '^ *+' conftest.er1 >conftest.err
99157 rm -f conftest.er1
99158 cat conftest.err >&5
99159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99160 (exit $ac_status); } &&
99161 { ac_try='test -z "$ac_c_werror_flag"
99162 || test ! -s conftest.err'
99163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99164 (eval $ac_try) 2>&5
99165 ac_status=$?
99166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99167 (exit $ac_status); }; } &&
99168 { ac_try='test -s conftest.$ac_objext'
99169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99170 (eval $ac_try) 2>&5
99171 ac_status=$?
99172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99173 (exit $ac_status); }; }; then
99174 ac_header_compiler=yes
99175 else
99176 echo "$as_me: failed program was:" >&5
99177 sed 's/^/| /' conftest.$ac_ext >&5
99179 ac_header_compiler=no
99181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99183 echo "${ECHO_T}$ac_header_compiler" >&6
99185 # Is the header present?
99186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99188 cat >conftest.$ac_ext <<_ACEOF
99189 /* confdefs.h. */
99190 _ACEOF
99191 cat confdefs.h >>conftest.$ac_ext
99192 cat >>conftest.$ac_ext <<_ACEOF
99193 /* end confdefs.h. */
99194 #include <$ac_header>
99195 _ACEOF
99196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99198 ac_status=$?
99199 grep -v '^ *+' conftest.er1 >conftest.err
99200 rm -f conftest.er1
99201 cat conftest.err >&5
99202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99203 (exit $ac_status); } >/dev/null; then
99204 if test -s conftest.err; then
99205 ac_cpp_err=$ac_c_preproc_warn_flag
99206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99207 else
99208 ac_cpp_err=
99210 else
99211 ac_cpp_err=yes
99213 if test -z "$ac_cpp_err"; then
99214 ac_header_preproc=yes
99215 else
99216 echo "$as_me: failed program was:" >&5
99217 sed 's/^/| /' conftest.$ac_ext >&5
99219 ac_header_preproc=no
99221 rm -f conftest.err conftest.$ac_ext
99222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99223 echo "${ECHO_T}$ac_header_preproc" >&6
99225 # So? What about this header?
99226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99227 yes:no: )
99228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99232 ac_header_preproc=yes
99234 no:yes:* )
99235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
99238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
99239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
99242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
99243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99248 cat <<\_ASBOX
99249 ## ----------------------------------------- ##
99250 ## Report this to the package-unused lists. ##
99251 ## ----------------------------------------- ##
99252 _ASBOX
99254 sed "s/^/$as_me: WARNING: /" >&2
99256 esac
99257 echo "$as_me:$LINENO: checking for $ac_header" >&5
99258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99260 echo $ECHO_N "(cached) $ECHO_C" >&6
99261 else
99262 eval "$as_ac_Header=\$ac_header_preproc"
99264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99269 cat >>confdefs.h <<_ACEOF
99270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99271 _ACEOF
99275 done
99277 SECTION_FLAGS='-ffunction-sections -fdata-sections'
99280 # If we're not using GNU ld, then there's no point in even trying these
99281 # tests. Check for that first. We should have already tested for gld
99282 # by now (in libtool), but require it now just to be safe...
99283 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
99284 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
99288 # The name set by libtool depends on the version of libtool. Shame on us
99289 # for depending on an impl detail, but c'est la vie. Older versions used
99290 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
99291 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
99292 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
99293 # set (hence we're using an older libtool), then set it.
99294 if test x${with_gnu_ld+set} != xset; then
99295 if test x${ac_cv_prog_gnu_ld+set} != xset; then
99296 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
99297 with_gnu_ld=no
99298 else
99299 with_gnu_ld=$ac_cv_prog_gnu_ld
99303 # Start by getting the version number. I think the libtool test already
99304 # does some of this, but throws away the result.
99305 if test x"$with_gnu_ld" = x"yes"; then
99306 echo "$as_me:$LINENO: checking for ld version" >&5
99307 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
99309 ldver=`$LD --version 2>/dev/null | head -1 | \
99310 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
99312 glibcxx_gnu_ld_version=`echo $ldver | \
99313 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
99314 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
99315 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
99318 # Set --gc-sections.
99319 glibcxx_gcsections_min_ld=21602
99320 if test x"$with_gnu_ld" = x"yes" &&
99321 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
99323 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
99324 # NB: This flag only works reliably after 2.16.1. Configure tests
99325 # for this are difficult, so hard wire a value that should work.
99327 # All these tests are for C++, but run with the "C" compiler driver.
99328 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
99329 ac_test_CFLAGS="${CFLAGS+set}"
99330 ac_save_CFLAGS="$CFLAGS"
99331 CFLAGS='-x c++ -Wl,--gc-sections'
99333 # Check for -Wl,--gc-sections
99334 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
99335 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
99336 if test x$gcc_no_link = xyes; then
99337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99339 { (exit 1); exit 1; }; }
99341 cat >conftest.$ac_ext <<_ACEOF
99342 /* confdefs.h. */
99343 _ACEOF
99344 cat confdefs.h >>conftest.$ac_ext
99345 cat >>conftest.$ac_ext <<_ACEOF
99346 /* end confdefs.h. */
99347 int one(void) { return 1; }
99348 int two(void) { return 2; }
99351 main ()
99353 two();
99355 return 0;
99357 _ACEOF
99358 rm -f conftest.$ac_objext conftest$ac_exeext
99359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99360 (eval $ac_link) 2>conftest.er1
99361 ac_status=$?
99362 grep -v '^ *+' conftest.er1 >conftest.err
99363 rm -f conftest.er1
99364 cat conftest.err >&5
99365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99366 (exit $ac_status); } &&
99367 { ac_try='test -z "$ac_c_werror_flag"
99368 || test ! -s conftest.err'
99369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99370 (eval $ac_try) 2>&5
99371 ac_status=$?
99372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99373 (exit $ac_status); }; } &&
99374 { ac_try='test -s conftest$ac_exeext'
99375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99376 (eval $ac_try) 2>&5
99377 ac_status=$?
99378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99379 (exit $ac_status); }; }; then
99380 ac_gcsections=yes
99381 else
99382 echo "$as_me: failed program was:" >&5
99383 sed 's/^/| /' conftest.$ac_ext >&5
99385 ac_gcsections=no
99387 rm -f conftest.err conftest.$ac_objext \
99388 conftest$ac_exeext conftest.$ac_ext
99389 if test "$ac_gcsections" = "yes"; then
99390 rm -f conftest.c
99391 touch conftest.c
99392 if $CC -c conftest.c; then
99393 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
99394 grep "Warning: gc-sections option ignored" > /dev/null; then
99395 ac_gcsections=no
99398 rm -f conftest.c conftest.o conftest
99400 if test "$ac_gcsections" = "yes"; then
99401 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
99403 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
99404 echo "${ECHO_T}$ac_gcsections" >&6
99406 if test "$ac_test_CFLAGS" = set; then
99407 CFLAGS="$ac_save_CFLAGS"
99408 else
99409 # this is the suspicious part
99410 CFLAGS=''
99414 # Set -z,relro.
99415 # Note this is only for shared objects.
99416 ac_ld_relro=no
99417 if test x"$with_gnu_ld" = x"yes"; then
99418 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
99419 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
99420 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
99421 if test -n "$cxx_z_relo"; then
99422 OPT_LDFLAGS="-Wl,-z,relro"
99423 ac_ld_relro=yes
99425 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
99426 echo "${ECHO_T}$ac_ld_relro" >&6
99429 # Set linker optimization flags.
99430 if test x"$with_gnu_ld" = x"yes"; then
99431 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
99439 echo "$as_me:$LINENO: checking for main in -lm" >&5
99440 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99441 if test "${ac_cv_lib_m_main+set}" = set; then
99442 echo $ECHO_N "(cached) $ECHO_C" >&6
99443 else
99444 ac_check_lib_save_LIBS=$LIBS
99445 LIBS="-lm $LIBS"
99446 if test x$gcc_no_link = xyes; then
99447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99449 { (exit 1); exit 1; }; }
99451 cat >conftest.$ac_ext <<_ACEOF
99452 /* confdefs.h. */
99453 _ACEOF
99454 cat confdefs.h >>conftest.$ac_ext
99455 cat >>conftest.$ac_ext <<_ACEOF
99456 /* end confdefs.h. */
99460 main ()
99462 main ();
99464 return 0;
99466 _ACEOF
99467 rm -f conftest.$ac_objext conftest$ac_exeext
99468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99469 (eval $ac_link) 2>conftest.er1
99470 ac_status=$?
99471 grep -v '^ *+' conftest.er1 >conftest.err
99472 rm -f conftest.er1
99473 cat conftest.err >&5
99474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99475 (exit $ac_status); } &&
99476 { ac_try='test -z "$ac_c_werror_flag"
99477 || test ! -s conftest.err'
99478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99479 (eval $ac_try) 2>&5
99480 ac_status=$?
99481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99482 (exit $ac_status); }; } &&
99483 { ac_try='test -s conftest$ac_exeext'
99484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99485 (eval $ac_try) 2>&5
99486 ac_status=$?
99487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99488 (exit $ac_status); }; }; then
99489 ac_cv_lib_m_main=yes
99490 else
99491 echo "$as_me: failed program was:" >&5
99492 sed 's/^/| /' conftest.$ac_ext >&5
99494 ac_cv_lib_m_main=no
99496 rm -f conftest.err conftest.$ac_objext \
99497 conftest$ac_exeext conftest.$ac_ext
99498 LIBS=$ac_check_lib_save_LIBS
99500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99501 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99502 if test $ac_cv_lib_m_main = yes; then
99503 cat >>confdefs.h <<_ACEOF
99504 #define HAVE_LIBM 1
99505 _ACEOF
99507 LIBS="-lm $LIBS"
99512 for ac_func in copysignf
99514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99515 echo "$as_me:$LINENO: checking for $ac_func" >&5
99516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99517 if eval "test \"\${$as_ac_var+set}\" = set"; then
99518 echo $ECHO_N "(cached) $ECHO_C" >&6
99519 else
99520 if test x$gcc_no_link = xyes; then
99521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99523 { (exit 1); exit 1; }; }
99525 cat >conftest.$ac_ext <<_ACEOF
99526 /* confdefs.h. */
99527 _ACEOF
99528 cat confdefs.h >>conftest.$ac_ext
99529 cat >>conftest.$ac_ext <<_ACEOF
99530 /* end confdefs.h. */
99531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99533 #define $ac_func innocuous_$ac_func
99535 /* System header to define __stub macros and hopefully few prototypes,
99536 which can conflict with char $ac_func (); below.
99537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99538 <limits.h> exists even on freestanding compilers. */
99540 #ifdef __STDC__
99541 # include <limits.h>
99542 #else
99543 # include <assert.h>
99544 #endif
99546 #undef $ac_func
99548 /* Override any gcc2 internal prototype to avoid an error. */
99549 #ifdef __cplusplus
99550 extern "C"
99552 #endif
99553 /* We use char because int might match the return type of a gcc2
99554 builtin and then its argument prototype would still apply. */
99555 char $ac_func ();
99556 /* The GNU C library defines this for functions which it implements
99557 to always fail with ENOSYS. Some functions are actually named
99558 something starting with __ and the normal name is an alias. */
99559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99560 choke me
99561 #else
99562 char (*f) () = $ac_func;
99563 #endif
99564 #ifdef __cplusplus
99566 #endif
99569 main ()
99571 return f != $ac_func;
99573 return 0;
99575 _ACEOF
99576 rm -f conftest.$ac_objext conftest$ac_exeext
99577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99578 (eval $ac_link) 2>conftest.er1
99579 ac_status=$?
99580 grep -v '^ *+' conftest.er1 >conftest.err
99581 rm -f conftest.er1
99582 cat conftest.err >&5
99583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99584 (exit $ac_status); } &&
99585 { ac_try='test -z "$ac_c_werror_flag"
99586 || test ! -s conftest.err'
99587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99588 (eval $ac_try) 2>&5
99589 ac_status=$?
99590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99591 (exit $ac_status); }; } &&
99592 { ac_try='test -s conftest$ac_exeext'
99593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99594 (eval $ac_try) 2>&5
99595 ac_status=$?
99596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99597 (exit $ac_status); }; }; then
99598 eval "$as_ac_var=yes"
99599 else
99600 echo "$as_me: failed program was:" >&5
99601 sed 's/^/| /' conftest.$ac_ext >&5
99603 eval "$as_ac_var=no"
99605 rm -f conftest.err conftest.$ac_objext \
99606 conftest$ac_exeext conftest.$ac_ext
99608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99610 if test `eval echo '${'$as_ac_var'}'` = yes; then
99611 cat >>confdefs.h <<_ACEOF
99612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99613 _ACEOF
99615 else
99616 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99618 done
99622 for ac_func in __signbit
99624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99625 echo "$as_me:$LINENO: checking for $ac_func" >&5
99626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99627 if eval "test \"\${$as_ac_var+set}\" = set"; then
99628 echo $ECHO_N "(cached) $ECHO_C" >&6
99629 else
99630 if test x$gcc_no_link = xyes; then
99631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99633 { (exit 1); exit 1; }; }
99635 cat >conftest.$ac_ext <<_ACEOF
99636 /* confdefs.h. */
99637 _ACEOF
99638 cat confdefs.h >>conftest.$ac_ext
99639 cat >>conftest.$ac_ext <<_ACEOF
99640 /* end confdefs.h. */
99641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99643 #define $ac_func innocuous_$ac_func
99645 /* System header to define __stub macros and hopefully few prototypes,
99646 which can conflict with char $ac_func (); below.
99647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99648 <limits.h> exists even on freestanding compilers. */
99650 #ifdef __STDC__
99651 # include <limits.h>
99652 #else
99653 # include <assert.h>
99654 #endif
99656 #undef $ac_func
99658 /* Override any gcc2 internal prototype to avoid an error. */
99659 #ifdef __cplusplus
99660 extern "C"
99662 #endif
99663 /* We use char because int might match the return type of a gcc2
99664 builtin and then its argument prototype would still apply. */
99665 char $ac_func ();
99666 /* The GNU C library defines this for functions which it implements
99667 to always fail with ENOSYS. Some functions are actually named
99668 something starting with __ and the normal name is an alias. */
99669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99670 choke me
99671 #else
99672 char (*f) () = $ac_func;
99673 #endif
99674 #ifdef __cplusplus
99676 #endif
99679 main ()
99681 return f != $ac_func;
99683 return 0;
99685 _ACEOF
99686 rm -f conftest.$ac_objext conftest$ac_exeext
99687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99688 (eval $ac_link) 2>conftest.er1
99689 ac_status=$?
99690 grep -v '^ *+' conftest.er1 >conftest.err
99691 rm -f conftest.er1
99692 cat conftest.err >&5
99693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99694 (exit $ac_status); } &&
99695 { ac_try='test -z "$ac_c_werror_flag"
99696 || test ! -s conftest.err'
99697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99698 (eval $ac_try) 2>&5
99699 ac_status=$?
99700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99701 (exit $ac_status); }; } &&
99702 { ac_try='test -s conftest$ac_exeext'
99703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99704 (eval $ac_try) 2>&5
99705 ac_status=$?
99706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99707 (exit $ac_status); }; }; then
99708 eval "$as_ac_var=yes"
99709 else
99710 echo "$as_me: failed program was:" >&5
99711 sed 's/^/| /' conftest.$ac_ext >&5
99713 eval "$as_ac_var=no"
99715 rm -f conftest.err conftest.$ac_objext \
99716 conftest$ac_exeext conftest.$ac_ext
99718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99720 if test `eval echo '${'$as_ac_var'}'` = yes; then
99721 cat >>confdefs.h <<_ACEOF
99722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99723 _ACEOF
99725 else
99726 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99728 done
99732 for ac_func in __signbitf
99734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99735 echo "$as_me:$LINENO: checking for $ac_func" >&5
99736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99737 if eval "test \"\${$as_ac_var+set}\" = set"; then
99738 echo $ECHO_N "(cached) $ECHO_C" >&6
99739 else
99740 if test x$gcc_no_link = xyes; then
99741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99743 { (exit 1); exit 1; }; }
99745 cat >conftest.$ac_ext <<_ACEOF
99746 /* confdefs.h. */
99747 _ACEOF
99748 cat confdefs.h >>conftest.$ac_ext
99749 cat >>conftest.$ac_ext <<_ACEOF
99750 /* end confdefs.h. */
99751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99753 #define $ac_func innocuous_$ac_func
99755 /* System header to define __stub macros and hopefully few prototypes,
99756 which can conflict with char $ac_func (); below.
99757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99758 <limits.h> exists even on freestanding compilers. */
99760 #ifdef __STDC__
99761 # include <limits.h>
99762 #else
99763 # include <assert.h>
99764 #endif
99766 #undef $ac_func
99768 /* Override any gcc2 internal prototype to avoid an error. */
99769 #ifdef __cplusplus
99770 extern "C"
99772 #endif
99773 /* We use char because int might match the return type of a gcc2
99774 builtin and then its argument prototype would still apply. */
99775 char $ac_func ();
99776 /* The GNU C library defines this for functions which it implements
99777 to always fail with ENOSYS. Some functions are actually named
99778 something starting with __ and the normal name is an alias. */
99779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99780 choke me
99781 #else
99782 char (*f) () = $ac_func;
99783 #endif
99784 #ifdef __cplusplus
99786 #endif
99789 main ()
99791 return f != $ac_func;
99793 return 0;
99795 _ACEOF
99796 rm -f conftest.$ac_objext conftest$ac_exeext
99797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99798 (eval $ac_link) 2>conftest.er1
99799 ac_status=$?
99800 grep -v '^ *+' conftest.er1 >conftest.err
99801 rm -f conftest.er1
99802 cat conftest.err >&5
99803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99804 (exit $ac_status); } &&
99805 { ac_try='test -z "$ac_c_werror_flag"
99806 || test ! -s conftest.err'
99807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99808 (eval $ac_try) 2>&5
99809 ac_status=$?
99810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99811 (exit $ac_status); }; } &&
99812 { ac_try='test -s conftest$ac_exeext'
99813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99814 (eval $ac_try) 2>&5
99815 ac_status=$?
99816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99817 (exit $ac_status); }; }; then
99818 eval "$as_ac_var=yes"
99819 else
99820 echo "$as_me: failed program was:" >&5
99821 sed 's/^/| /' conftest.$ac_ext >&5
99823 eval "$as_ac_var=no"
99825 rm -f conftest.err conftest.$ac_objext \
99826 conftest$ac_exeext conftest.$ac_ext
99828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99830 if test `eval echo '${'$as_ac_var'}'` = yes; then
99831 cat >>confdefs.h <<_ACEOF
99832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99833 _ACEOF
99835 else
99836 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99838 done
99841 if test x$ac_cv_func_copysignl = x"yes"; then
99843 for ac_func in __signbitl
99845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99846 echo "$as_me:$LINENO: checking for $ac_func" >&5
99847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99848 if eval "test \"\${$as_ac_var+set}\" = set"; then
99849 echo $ECHO_N "(cached) $ECHO_C" >&6
99850 else
99851 if test x$gcc_no_link = xyes; then
99852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99854 { (exit 1); exit 1; }; }
99856 cat >conftest.$ac_ext <<_ACEOF
99857 /* confdefs.h. */
99858 _ACEOF
99859 cat confdefs.h >>conftest.$ac_ext
99860 cat >>conftest.$ac_ext <<_ACEOF
99861 /* end confdefs.h. */
99862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99864 #define $ac_func innocuous_$ac_func
99866 /* System header to define __stub macros and hopefully few prototypes,
99867 which can conflict with char $ac_func (); below.
99868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99869 <limits.h> exists even on freestanding compilers. */
99871 #ifdef __STDC__
99872 # include <limits.h>
99873 #else
99874 # include <assert.h>
99875 #endif
99877 #undef $ac_func
99879 /* Override any gcc2 internal prototype to avoid an error. */
99880 #ifdef __cplusplus
99881 extern "C"
99883 #endif
99884 /* We use char because int might match the return type of a gcc2
99885 builtin and then its argument prototype would still apply. */
99886 char $ac_func ();
99887 /* The GNU C library defines this for functions which it implements
99888 to always fail with ENOSYS. Some functions are actually named
99889 something starting with __ and the normal name is an alias. */
99890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99891 choke me
99892 #else
99893 char (*f) () = $ac_func;
99894 #endif
99895 #ifdef __cplusplus
99897 #endif
99900 main ()
99902 return f != $ac_func;
99904 return 0;
99906 _ACEOF
99907 rm -f conftest.$ac_objext conftest$ac_exeext
99908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99909 (eval $ac_link) 2>conftest.er1
99910 ac_status=$?
99911 grep -v '^ *+' conftest.er1 >conftest.err
99912 rm -f conftest.er1
99913 cat conftest.err >&5
99914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99915 (exit $ac_status); } &&
99916 { ac_try='test -z "$ac_c_werror_flag"
99917 || test ! -s conftest.err'
99918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99919 (eval $ac_try) 2>&5
99920 ac_status=$?
99921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99922 (exit $ac_status); }; } &&
99923 { ac_try='test -s conftest$ac_exeext'
99924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99925 (eval $ac_try) 2>&5
99926 ac_status=$?
99927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99928 (exit $ac_status); }; }; then
99929 eval "$as_ac_var=yes"
99930 else
99931 echo "$as_me: failed program was:" >&5
99932 sed 's/^/| /' conftest.$ac_ext >&5
99934 eval "$as_ac_var=no"
99936 rm -f conftest.err conftest.$ac_objext \
99937 conftest$ac_exeext conftest.$ac_ext
99939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99941 if test `eval echo '${'$as_ac_var'}'` = yes; then
99942 cat >>confdefs.h <<_ACEOF
99943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99944 _ACEOF
99946 else
99947 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99949 done
99953 # Used in libmath/Makefile.am.
99954 if test -n "$LIBMATHOBJS"; then
99955 need_libmath=yes
99959 cat >>confdefs.h <<\_ACEOF
99960 #define HAVE_COPYSIGN 1
99961 _ACEOF
99963 cat >>confdefs.h <<\_ACEOF
99964 #define HAVE_COPYSIGNF 1
99965 _ACEOF
99967 cat >>confdefs.h <<\_ACEOF
99968 #define HAVE_FINITEF 1
99969 _ACEOF
99971 cat >>confdefs.h <<\_ACEOF
99972 #define HAVE_FINITE 1
99973 _ACEOF
99975 cat >>confdefs.h <<\_ACEOF
99976 #define HAVE_FREXPF 1
99977 _ACEOF
99979 cat >>confdefs.h <<\_ACEOF
99980 #define HAVE_HYPOTF 1
99981 _ACEOF
99983 cat >>confdefs.h <<\_ACEOF
99984 #define HAVE_ISINF 1
99985 _ACEOF
99987 cat >>confdefs.h <<\_ACEOF
99988 #define HAVE_ISINFF 1
99989 _ACEOF
99991 cat >>confdefs.h <<\_ACEOF
99992 #define HAVE_ISNAN 1
99993 _ACEOF
99995 cat >>confdefs.h <<\_ACEOF
99996 #define HAVE_ISNANF 1
99997 _ACEOF
99999 if test x"long_double_math_on_this_cpu" = x"yes"; then
100000 cat >>confdefs.h <<\_ACEOF
100001 #define HAVE_FINITEL 1
100002 _ACEOF
100004 cat >>confdefs.h <<\_ACEOF
100005 #define HAVE_ISINFL 1
100006 _ACEOF
100008 cat >>confdefs.h <<\_ACEOF
100009 #define HAVE_ISNANL 1
100010 _ACEOF
100014 *-netware)
100023 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
100024 sys/types.h locale.h float.h inttypes.h
100026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100028 echo "$as_me:$LINENO: checking for $ac_header" >&5
100029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100031 echo $ECHO_N "(cached) $ECHO_C" >&6
100033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100036 # Is the header compilable?
100037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100039 cat >conftest.$ac_ext <<_ACEOF
100040 /* confdefs.h. */
100041 _ACEOF
100042 cat confdefs.h >>conftest.$ac_ext
100043 cat >>conftest.$ac_ext <<_ACEOF
100044 /* end confdefs.h. */
100045 $ac_includes_default
100046 #include <$ac_header>
100047 _ACEOF
100048 rm -f conftest.$ac_objext
100049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100050 (eval $ac_compile) 2>conftest.er1
100051 ac_status=$?
100052 grep -v '^ *+' conftest.er1 >conftest.err
100053 rm -f conftest.er1
100054 cat conftest.err >&5
100055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100056 (exit $ac_status); } &&
100057 { ac_try='test -z "$ac_c_werror_flag"
100058 || test ! -s conftest.err'
100059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100060 (eval $ac_try) 2>&5
100061 ac_status=$?
100062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100063 (exit $ac_status); }; } &&
100064 { ac_try='test -s conftest.$ac_objext'
100065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100066 (eval $ac_try) 2>&5
100067 ac_status=$?
100068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100069 (exit $ac_status); }; }; then
100070 ac_header_compiler=yes
100072 echo "$as_me: failed program was:" >&5
100073 sed 's/^/| /' conftest.$ac_ext >&5
100075 ac_header_compiler=no
100077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100079 echo "${ECHO_T}$ac_header_compiler" >&6
100081 # Is the header present?
100082 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100084 cat >conftest.$ac_ext <<_ACEOF
100085 /* confdefs.h. */
100086 _ACEOF
100087 cat confdefs.h >>conftest.$ac_ext
100088 cat >>conftest.$ac_ext <<_ACEOF
100089 /* end confdefs.h. */
100090 #include <$ac_header>
100091 _ACEOF
100092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100093 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100094 ac_status=$?
100095 grep -v '^ *+' conftest.er1 >conftest.err
100096 rm -f conftest.er1
100097 cat conftest.err >&5
100098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100099 (exit $ac_status); } >/dev/null; then
100100 if test -s conftest.err; then
100101 ac_cpp_err=$ac_c_preproc_warn_flag
100102 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100104 ac_cpp_err=
100107 ac_cpp_err=yes
100109 if test -z "$ac_cpp_err"; then
100110 ac_header_preproc=yes
100112 echo "$as_me: failed program was:" >&5
100113 sed 's/^/| /' conftest.$ac_ext >&5
100115 ac_header_preproc=no
100117 rm -f conftest.err conftest.$ac_ext
100118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100119 echo "${ECHO_T}$ac_header_preproc" >&6
100121 # So? What about this header?
100122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100123 yes:no: )
100124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100127 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100128 ac_header_preproc=yes
100130 no:yes:* )
100131 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100132 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100133 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100134 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100135 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100136 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100137 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100138 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100141 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100142 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100144 cat <<\_ASBOX
100145 ## ----------------------------------------- ##
100146 ## Report this to the package-unused lists. ##
100147 ## ----------------------------------------- ##
100148 _ASBOX
100150 sed "s/^/$as_me: WARNING: /" >&2
100153 echo "$as_me:$LINENO: checking for $ac_header" >&5
100154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100156 echo $ECHO_N "(cached) $ECHO_C" >&6
100158 eval "$as_ac_Header=\$ac_header_preproc"
100160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100165 cat >>confdefs.h <<_ACEOF
100166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100167 _ACEOF
100173 SECTION_FLAGS='-ffunction-sections -fdata-sections'
100176 # If we're not using GNU ld, then there's no point in even trying these
100177 # tests. Check for that first. We should have already tested for gld
100178 # by now (in libtool), but require it now just to be safe...
100179 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100180 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100184 # The name set by libtool depends on the version of libtool. Shame on us
100185 # for depending on an impl detail, but c'est la vie. Older versions used
100186 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100187 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100188 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100189 # set (hence we're using an older libtool), then set it.
100190 if test x${with_gnu_ld+set} != xset; then
100191 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100192 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100193 with_gnu_ld=no
100195 with_gnu_ld=$ac_cv_prog_gnu_ld
100199 # Start by getting the version number. I think the libtool test already
100200 # does some of this, but throws away the result.
100201 if test x"$with_gnu_ld" = x"yes"; then
100202 echo "$as_me:$LINENO: checking for ld version" >&5
100203 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100205 ldver=`$LD --version 2>/dev/null | head -1 | \
100206 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100208 glibcxx_gnu_ld_version=`echo $ldver | \
100209 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100210 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100211 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100214 # Set --gc-sections.
100215 glibcxx_gcsections_min_ld=21602
100216 if test x"$with_gnu_ld" = x"yes" &&
100217 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100219 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100220 # NB: This flag only works reliably after 2.16.1. Configure tests
100221 # for this are difficult, so hard wire a value that should work.
100223 # All these tests are for C++, but run with the "C" compiler driver.
100224 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100225 ac_test_CFLAGS="${CFLAGS+set}"
100226 ac_save_CFLAGS="$CFLAGS"
100227 CFLAGS='-x c++ -Wl,--gc-sections'
100229 # Check for -Wl,--gc-sections
100230 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100231 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100232 if test x$gcc_no_link = xyes; then
100233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100235 { (exit 1); exit 1; }; }
100237 cat >conftest.$ac_ext <<_ACEOF
100238 /* confdefs.h. */
100239 _ACEOF
100240 cat confdefs.h >>conftest.$ac_ext
100241 cat >>conftest.$ac_ext <<_ACEOF
100242 /* end confdefs.h. */
100243 int one(void) { return 1; }
100244 int two(void) { return 2; }
100247 main ()
100249 two();
100251 return 0;
100253 _ACEOF
100254 rm -f conftest.$ac_objext conftest$ac_exeext
100255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100256 (eval $ac_link) 2>conftest.er1
100257 ac_status=$?
100258 grep -v '^ *+' conftest.er1 >conftest.err
100259 rm -f conftest.er1
100260 cat conftest.err >&5
100261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100262 (exit $ac_status); } &&
100263 { ac_try='test -z "$ac_c_werror_flag"
100264 || test ! -s conftest.err'
100265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100266 (eval $ac_try) 2>&5
100267 ac_status=$?
100268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100269 (exit $ac_status); }; } &&
100270 { ac_try='test -s conftest$ac_exeext'
100271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100272 (eval $ac_try) 2>&5
100273 ac_status=$?
100274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100275 (exit $ac_status); }; }; then
100276 ac_gcsections=yes
100278 echo "$as_me: failed program was:" >&5
100279 sed 's/^/| /' conftest.$ac_ext >&5
100281 ac_gcsections=no
100283 rm -f conftest.err conftest.$ac_objext \
100284 conftest$ac_exeext conftest.$ac_ext
100285 if test "$ac_gcsections" = "yes"; then
100286 rm -f conftest.c
100287 touch conftest.c
100288 if $CC -c conftest.c; then
100289 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100290 grep "Warning: gc-sections option ignored" > /dev/null; then
100291 ac_gcsections=no
100294 rm -f conftest.c conftest.o conftest
100296 if test "$ac_gcsections" = "yes"; then
100297 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100299 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100300 echo "${ECHO_T}$ac_gcsections" >&6
100302 if test "$ac_test_CFLAGS" = set; then
100303 CFLAGS="$ac_save_CFLAGS"
100305 # this is the suspicious part
100306 CFLAGS=''
100310 # Set -z,relro.
100311 # Note this is only for shared objects.
100312 ac_ld_relro=no
100313 if test x"$with_gnu_ld" = x"yes"; then
100314 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100315 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100316 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100317 if test -n "$cxx_z_relo"; then
100318 OPT_LDFLAGS="-Wl,-z,relro"
100319 ac_ld_relro=yes
100321 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100322 echo "${ECHO_T}$ac_ld_relro" >&6
100325 # Set linker optimization flags.
100326 if test x"$with_gnu_ld" = x"yes"; then
100327 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100335 echo "$as_me:$LINENO: checking for main in -lm" >&5
100336 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100337 if test "${ac_cv_lib_m_main+set}" = set; then
100338 echo $ECHO_N "(cached) $ECHO_C" >&6
100340 ac_check_lib_save_LIBS=$LIBS
100341 LIBS="-lm $LIBS"
100342 if test x$gcc_no_link = xyes; then
100343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100345 { (exit 1); exit 1; }; }
100347 cat >conftest.$ac_ext <<_ACEOF
100348 /* confdefs.h. */
100349 _ACEOF
100350 cat confdefs.h >>conftest.$ac_ext
100351 cat >>conftest.$ac_ext <<_ACEOF
100352 /* end confdefs.h. */
100356 main ()
100358 main ();
100360 return 0;
100362 _ACEOF
100363 rm -f conftest.$ac_objext conftest$ac_exeext
100364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100365 (eval $ac_link) 2>conftest.er1
100366 ac_status=$?
100367 grep -v '^ *+' conftest.er1 >conftest.err
100368 rm -f conftest.er1
100369 cat conftest.err >&5
100370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100371 (exit $ac_status); } &&
100372 { ac_try='test -z "$ac_c_werror_flag"
100373 || test ! -s conftest.err'
100374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100375 (eval $ac_try) 2>&5
100376 ac_status=$?
100377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100378 (exit $ac_status); }; } &&
100379 { ac_try='test -s conftest$ac_exeext'
100380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100381 (eval $ac_try) 2>&5
100382 ac_status=$?
100383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100384 (exit $ac_status); }; }; then
100385 ac_cv_lib_m_main=yes
100387 echo "$as_me: failed program was:" >&5
100388 sed 's/^/| /' conftest.$ac_ext >&5
100390 ac_cv_lib_m_main=no
100392 rm -f conftest.err conftest.$ac_objext \
100393 conftest$ac_exeext conftest.$ac_ext
100394 LIBS=$ac_check_lib_save_LIBS
100396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100397 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100398 if test $ac_cv_lib_m_main = yes; then
100399 cat >>confdefs.h <<_ACEOF
100400 #define HAVE_LIBM 1
100401 _ACEOF
100403 LIBS="-lm $LIBS"
100408 for ac_func in copysignf
100410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100411 echo "$as_me:$LINENO: checking for $ac_func" >&5
100412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100413 if eval "test \"\${$as_ac_var+set}\" = set"; then
100414 echo $ECHO_N "(cached) $ECHO_C" >&6
100416 if test x$gcc_no_link = xyes; then
100417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100419 { (exit 1); exit 1; }; }
100421 cat >conftest.$ac_ext <<_ACEOF
100422 /* confdefs.h. */
100423 _ACEOF
100424 cat confdefs.h >>conftest.$ac_ext
100425 cat >>conftest.$ac_ext <<_ACEOF
100426 /* end confdefs.h. */
100427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100429 #define $ac_func innocuous_$ac_func
100431 /* System header to define __stub macros and hopefully few prototypes,
100432 which can conflict with char $ac_func (); below.
100433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100434 <limits.h> exists even on freestanding compilers. */
100436 #ifdef __STDC__
100437 # include <limits.h>
100438 #else
100439 # include <assert.h>
100440 #endif
100442 #undef $ac_func
100444 /* Override any gcc2 internal prototype to avoid an error. */
100445 #ifdef __cplusplus
100446 extern "C"
100448 #endif
100449 /* We use char because int might match the return type of a gcc2
100450 builtin and then its argument prototype would still apply. */
100451 char $ac_func ();
100452 /* The GNU C library defines this for functions which it implements
100453 to always fail with ENOSYS. Some functions are actually named
100454 something starting with __ and the normal name is an alias. */
100455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100456 choke me
100457 #else
100458 char (*f) () = $ac_func;
100459 #endif
100460 #ifdef __cplusplus
100462 #endif
100465 main ()
100467 return f != $ac_func;
100469 return 0;
100471 _ACEOF
100472 rm -f conftest.$ac_objext conftest$ac_exeext
100473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100474 (eval $ac_link) 2>conftest.er1
100475 ac_status=$?
100476 grep -v '^ *+' conftest.er1 >conftest.err
100477 rm -f conftest.er1
100478 cat conftest.err >&5
100479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100480 (exit $ac_status); } &&
100481 { ac_try='test -z "$ac_c_werror_flag"
100482 || test ! -s conftest.err'
100483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100484 (eval $ac_try) 2>&5
100485 ac_status=$?
100486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100487 (exit $ac_status); }; } &&
100488 { ac_try='test -s conftest$ac_exeext'
100489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100490 (eval $ac_try) 2>&5
100491 ac_status=$?
100492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100493 (exit $ac_status); }; }; then
100494 eval "$as_ac_var=yes"
100496 echo "$as_me: failed program was:" >&5
100497 sed 's/^/| /' conftest.$ac_ext >&5
100499 eval "$as_ac_var=no"
100501 rm -f conftest.err conftest.$ac_objext \
100502 conftest$ac_exeext conftest.$ac_ext
100504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100506 if test `eval echo '${'$as_ac_var'}'` = yes; then
100507 cat >>confdefs.h <<_ACEOF
100508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100509 _ACEOF
100512 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100518 for ac_func in __signbit
100520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100521 echo "$as_me:$LINENO: checking for $ac_func" >&5
100522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100523 if eval "test \"\${$as_ac_var+set}\" = set"; then
100524 echo $ECHO_N "(cached) $ECHO_C" >&6
100526 if test x$gcc_no_link = xyes; then
100527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100529 { (exit 1); exit 1; }; }
100531 cat >conftest.$ac_ext <<_ACEOF
100532 /* confdefs.h. */
100533 _ACEOF
100534 cat confdefs.h >>conftest.$ac_ext
100535 cat >>conftest.$ac_ext <<_ACEOF
100536 /* end confdefs.h. */
100537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100539 #define $ac_func innocuous_$ac_func
100541 /* System header to define __stub macros and hopefully few prototypes,
100542 which can conflict with char $ac_func (); below.
100543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100544 <limits.h> exists even on freestanding compilers. */
100546 #ifdef __STDC__
100547 # include <limits.h>
100548 #else
100549 # include <assert.h>
100550 #endif
100552 #undef $ac_func
100554 /* Override any gcc2 internal prototype to avoid an error. */
100555 #ifdef __cplusplus
100556 extern "C"
100558 #endif
100559 /* We use char because int might match the return type of a gcc2
100560 builtin and then its argument prototype would still apply. */
100561 char $ac_func ();
100562 /* The GNU C library defines this for functions which it implements
100563 to always fail with ENOSYS. Some functions are actually named
100564 something starting with __ and the normal name is an alias. */
100565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100566 choke me
100567 #else
100568 char (*f) () = $ac_func;
100569 #endif
100570 #ifdef __cplusplus
100572 #endif
100575 main ()
100577 return f != $ac_func;
100579 return 0;
100581 _ACEOF
100582 rm -f conftest.$ac_objext conftest$ac_exeext
100583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100584 (eval $ac_link) 2>conftest.er1
100585 ac_status=$?
100586 grep -v '^ *+' conftest.er1 >conftest.err
100587 rm -f conftest.er1
100588 cat conftest.err >&5
100589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100590 (exit $ac_status); } &&
100591 { ac_try='test -z "$ac_c_werror_flag"
100592 || test ! -s conftest.err'
100593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100594 (eval $ac_try) 2>&5
100595 ac_status=$?
100596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100597 (exit $ac_status); }; } &&
100598 { ac_try='test -s conftest$ac_exeext'
100599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100600 (eval $ac_try) 2>&5
100601 ac_status=$?
100602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100603 (exit $ac_status); }; }; then
100604 eval "$as_ac_var=yes"
100606 echo "$as_me: failed program was:" >&5
100607 sed 's/^/| /' conftest.$ac_ext >&5
100609 eval "$as_ac_var=no"
100611 rm -f conftest.err conftest.$ac_objext \
100612 conftest$ac_exeext conftest.$ac_ext
100614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100616 if test `eval echo '${'$as_ac_var'}'` = yes; then
100617 cat >>confdefs.h <<_ACEOF
100618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100619 _ACEOF
100622 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100628 for ac_func in __signbitf
100630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100631 echo "$as_me:$LINENO: checking for $ac_func" >&5
100632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100633 if eval "test \"\${$as_ac_var+set}\" = set"; then
100634 echo $ECHO_N "(cached) $ECHO_C" >&6
100636 if test x$gcc_no_link = xyes; then
100637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100639 { (exit 1); exit 1; }; }
100641 cat >conftest.$ac_ext <<_ACEOF
100642 /* confdefs.h. */
100643 _ACEOF
100644 cat confdefs.h >>conftest.$ac_ext
100645 cat >>conftest.$ac_ext <<_ACEOF
100646 /* end confdefs.h. */
100647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100649 #define $ac_func innocuous_$ac_func
100651 /* System header to define __stub macros and hopefully few prototypes,
100652 which can conflict with char $ac_func (); below.
100653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100654 <limits.h> exists even on freestanding compilers. */
100656 #ifdef __STDC__
100657 # include <limits.h>
100658 #else
100659 # include <assert.h>
100660 #endif
100662 #undef $ac_func
100664 /* Override any gcc2 internal prototype to avoid an error. */
100665 #ifdef __cplusplus
100666 extern "C"
100668 #endif
100669 /* We use char because int might match the return type of a gcc2
100670 builtin and then its argument prototype would still apply. */
100671 char $ac_func ();
100672 /* The GNU C library defines this for functions which it implements
100673 to always fail with ENOSYS. Some functions are actually named
100674 something starting with __ and the normal name is an alias. */
100675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100676 choke me
100677 #else
100678 char (*f) () = $ac_func;
100679 #endif
100680 #ifdef __cplusplus
100682 #endif
100685 main ()
100687 return f != $ac_func;
100689 return 0;
100691 _ACEOF
100692 rm -f conftest.$ac_objext conftest$ac_exeext
100693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100694 (eval $ac_link) 2>conftest.er1
100695 ac_status=$?
100696 grep -v '^ *+' conftest.er1 >conftest.err
100697 rm -f conftest.er1
100698 cat conftest.err >&5
100699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100700 (exit $ac_status); } &&
100701 { ac_try='test -z "$ac_c_werror_flag"
100702 || test ! -s conftest.err'
100703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100704 (eval $ac_try) 2>&5
100705 ac_status=$?
100706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100707 (exit $ac_status); }; } &&
100708 { ac_try='test -s conftest$ac_exeext'
100709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100710 (eval $ac_try) 2>&5
100711 ac_status=$?
100712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100713 (exit $ac_status); }; }; then
100714 eval "$as_ac_var=yes"
100716 echo "$as_me: failed program was:" >&5
100717 sed 's/^/| /' conftest.$ac_ext >&5
100719 eval "$as_ac_var=no"
100721 rm -f conftest.err conftest.$ac_objext \
100722 conftest$ac_exeext conftest.$ac_ext
100724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100726 if test `eval echo '${'$as_ac_var'}'` = yes; then
100727 cat >>confdefs.h <<_ACEOF
100728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100729 _ACEOF
100732 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100737 if test x$ac_cv_func_copysignl = x"yes"; then
100739 for ac_func in __signbitl
100741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100742 echo "$as_me:$LINENO: checking for $ac_func" >&5
100743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100744 if eval "test \"\${$as_ac_var+set}\" = set"; then
100745 echo $ECHO_N "(cached) $ECHO_C" >&6
100747 if test x$gcc_no_link = xyes; then
100748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100750 { (exit 1); exit 1; }; }
100752 cat >conftest.$ac_ext <<_ACEOF
100753 /* confdefs.h. */
100754 _ACEOF
100755 cat confdefs.h >>conftest.$ac_ext
100756 cat >>conftest.$ac_ext <<_ACEOF
100757 /* end confdefs.h. */
100758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100760 #define $ac_func innocuous_$ac_func
100762 /* System header to define __stub macros and hopefully few prototypes,
100763 which can conflict with char $ac_func (); below.
100764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100765 <limits.h> exists even on freestanding compilers. */
100767 #ifdef __STDC__
100768 # include <limits.h>
100769 #else
100770 # include <assert.h>
100771 #endif
100773 #undef $ac_func
100775 /* Override any gcc2 internal prototype to avoid an error. */
100776 #ifdef __cplusplus
100777 extern "C"
100779 #endif
100780 /* We use char because int might match the return type of a gcc2
100781 builtin and then its argument prototype would still apply. */
100782 char $ac_func ();
100783 /* The GNU C library defines this for functions which it implements
100784 to always fail with ENOSYS. Some functions are actually named
100785 something starting with __ and the normal name is an alias. */
100786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100787 choke me
100788 #else
100789 char (*f) () = $ac_func;
100790 #endif
100791 #ifdef __cplusplus
100793 #endif
100796 main ()
100798 return f != $ac_func;
100800 return 0;
100802 _ACEOF
100803 rm -f conftest.$ac_objext conftest$ac_exeext
100804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100805 (eval $ac_link) 2>conftest.er1
100806 ac_status=$?
100807 grep -v '^ *+' conftest.er1 >conftest.err
100808 rm -f conftest.er1
100809 cat conftest.err >&5
100810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100811 (exit $ac_status); } &&
100812 { ac_try='test -z "$ac_c_werror_flag"
100813 || test ! -s conftest.err'
100814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100815 (eval $ac_try) 2>&5
100816 ac_status=$?
100817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100818 (exit $ac_status); }; } &&
100819 { ac_try='test -s conftest$ac_exeext'
100820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100821 (eval $ac_try) 2>&5
100822 ac_status=$?
100823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100824 (exit $ac_status); }; }; then
100825 eval "$as_ac_var=yes"
100827 echo "$as_me: failed program was:" >&5
100828 sed 's/^/| /' conftest.$ac_ext >&5
100830 eval "$as_ac_var=no"
100832 rm -f conftest.err conftest.$ac_objext \
100833 conftest$ac_exeext conftest.$ac_ext
100835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100837 if test `eval echo '${'$as_ac_var'}'` = yes; then
100838 cat >>confdefs.h <<_ACEOF
100839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100840 _ACEOF
100843 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
100849 # Used in libmath/Makefile.am.
100850 if test -n "$LIBMATHOBJS"; then
100851 need_libmath=yes
100855 cat >>confdefs.h <<\_ACEOF
100856 #define HAVE_HYPOT 1
100857 _ACEOF
100859 cat >>confdefs.h <<\_ACEOF
100860 #define HAVE_ISINF 1
100861 _ACEOF
100863 cat >>confdefs.h <<\_ACEOF
100864 #define HAVE_ISNAN 1
100865 _ACEOF
100868 # For showmanyc_helper().
100871 for ac_header in sys/ioctl.h sys/filio.h
100873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100875 echo "$as_me:$LINENO: checking for $ac_header" >&5
100876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100878 echo $ECHO_N "(cached) $ECHO_C" >&6
100880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100883 # Is the header compilable?
100884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100886 cat >conftest.$ac_ext <<_ACEOF
100887 /* confdefs.h. */
100888 _ACEOF
100889 cat confdefs.h >>conftest.$ac_ext
100890 cat >>conftest.$ac_ext <<_ACEOF
100891 /* end confdefs.h. */
100892 $ac_includes_default
100893 #include <$ac_header>
100894 _ACEOF
100895 rm -f conftest.$ac_objext
100896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100897 (eval $ac_compile) 2>conftest.er1
100898 ac_status=$?
100899 grep -v '^ *+' conftest.er1 >conftest.err
100900 rm -f conftest.er1
100901 cat conftest.err >&5
100902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100903 (exit $ac_status); } &&
100904 { ac_try='test -z "$ac_c_werror_flag"
100905 || test ! -s conftest.err'
100906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100907 (eval $ac_try) 2>&5
100908 ac_status=$?
100909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100910 (exit $ac_status); }; } &&
100911 { ac_try='test -s conftest.$ac_objext'
100912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100913 (eval $ac_try) 2>&5
100914 ac_status=$?
100915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100916 (exit $ac_status); }; }; then
100917 ac_header_compiler=yes
100919 echo "$as_me: failed program was:" >&5
100920 sed 's/^/| /' conftest.$ac_ext >&5
100922 ac_header_compiler=no
100924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100926 echo "${ECHO_T}$ac_header_compiler" >&6
100928 # Is the header present?
100929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100931 cat >conftest.$ac_ext <<_ACEOF
100932 /* confdefs.h. */
100933 _ACEOF
100934 cat confdefs.h >>conftest.$ac_ext
100935 cat >>conftest.$ac_ext <<_ACEOF
100936 /* end confdefs.h. */
100937 #include <$ac_header>
100938 _ACEOF
100939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100941 ac_status=$?
100942 grep -v '^ *+' conftest.er1 >conftest.err
100943 rm -f conftest.er1
100944 cat conftest.err >&5
100945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100946 (exit $ac_status); } >/dev/null; then
100947 if test -s conftest.err; then
100948 ac_cpp_err=$ac_c_preproc_warn_flag
100949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100951 ac_cpp_err=
100954 ac_cpp_err=yes
100956 if test -z "$ac_cpp_err"; then
100957 ac_header_preproc=yes
100959 echo "$as_me: failed program was:" >&5
100960 sed 's/^/| /' conftest.$ac_ext >&5
100962 ac_header_preproc=no
100964 rm -f conftest.err conftest.$ac_ext
100965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100966 echo "${ECHO_T}$ac_header_preproc" >&6
100968 # So? What about this header?
100969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100970 yes:no: )
100971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100975 ac_header_preproc=yes
100977 no:yes:* )
100978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100991 cat <<\_ASBOX
100992 ## ----------------------------------------- ##
100993 ## Report this to the package-unused lists. ##
100994 ## ----------------------------------------- ##
100995 _ASBOX
100997 sed "s/^/$as_me: WARNING: /" >&2
101000 echo "$as_me:$LINENO: checking for $ac_header" >&5
101001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101003 echo $ECHO_N "(cached) $ECHO_C" >&6
101005 eval "$as_ac_Header=\$ac_header_preproc"
101007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101012 cat >>confdefs.h <<_ACEOF
101013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101014 _ACEOF
101021 echo "$as_me:$LINENO: checking for poll" >&5
101022 echo $ECHO_N "checking for poll... $ECHO_C" >&6
101023 if test "${glibcxx_cv_POLL+set}" = set; then
101024 echo $ECHO_N "(cached) $ECHO_C" >&6
101027 if test x$gcc_no_link = xyes; then
101028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101030 { (exit 1); exit 1; }; }
101032 cat >conftest.$ac_ext <<_ACEOF
101033 /* confdefs.h. */
101034 _ACEOF
101035 cat confdefs.h >>conftest.$ac_ext
101036 cat >>conftest.$ac_ext <<_ACEOF
101037 /* end confdefs.h. */
101038 #include <poll.h>
101040 main ()
101042 struct pollfd pfd[1];
101043 pfd[0].events = POLLIN;
101044 poll(pfd, 1, 0);
101046 return 0;
101048 _ACEOF
101049 rm -f conftest.$ac_objext conftest$ac_exeext
101050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101051 (eval $ac_link) 2>conftest.er1
101052 ac_status=$?
101053 grep -v '^ *+' conftest.er1 >conftest.err
101054 rm -f conftest.er1
101055 cat conftest.err >&5
101056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101057 (exit $ac_status); } &&
101058 { ac_try='test -z "$ac_c_werror_flag"
101059 || test ! -s conftest.err'
101060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101061 (eval $ac_try) 2>&5
101062 ac_status=$?
101063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101064 (exit $ac_status); }; } &&
101065 { ac_try='test -s conftest$ac_exeext'
101066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101067 (eval $ac_try) 2>&5
101068 ac_status=$?
101069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101070 (exit $ac_status); }; }; then
101071 glibcxx_cv_POLL=yes
101073 echo "$as_me: failed program was:" >&5
101074 sed 's/^/| /' conftest.$ac_ext >&5
101076 glibcxx_cv_POLL=no
101078 rm -f conftest.err conftest.$ac_objext \
101079 conftest$ac_exeext conftest.$ac_ext
101083 if test $glibcxx_cv_POLL = yes; then
101085 cat >>confdefs.h <<\_ACEOF
101086 #define HAVE_POLL 1
101087 _ACEOF
101090 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
101091 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
101094 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
101095 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
101096 if test "${glibcxx_cv_S_ISREG+set}" = set; then
101097 echo $ECHO_N "(cached) $ECHO_C" >&6
101100 if test x$gcc_no_link = xyes; then
101101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101103 { (exit 1); exit 1; }; }
101105 cat >conftest.$ac_ext <<_ACEOF
101106 /* confdefs.h. */
101107 _ACEOF
101108 cat confdefs.h >>conftest.$ac_ext
101109 cat >>conftest.$ac_ext <<_ACEOF
101110 /* end confdefs.h. */
101111 #include <sys/stat.h>
101113 main ()
101115 struct stat buffer;
101116 fstat(0, &buffer);
101117 S_ISREG(buffer.st_mode);
101119 return 0;
101121 _ACEOF
101122 rm -f conftest.$ac_objext conftest$ac_exeext
101123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101124 (eval $ac_link) 2>conftest.er1
101125 ac_status=$?
101126 grep -v '^ *+' conftest.er1 >conftest.err
101127 rm -f conftest.er1
101128 cat conftest.err >&5
101129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101130 (exit $ac_status); } &&
101131 { ac_try='test -z "$ac_c_werror_flag"
101132 || test ! -s conftest.err'
101133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101134 (eval $ac_try) 2>&5
101135 ac_status=$?
101136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101137 (exit $ac_status); }; } &&
101138 { ac_try='test -s conftest$ac_exeext'
101139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101140 (eval $ac_try) 2>&5
101141 ac_status=$?
101142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101143 (exit $ac_status); }; }; then
101144 glibcxx_cv_S_ISREG=yes
101146 echo "$as_me: failed program was:" >&5
101147 sed 's/^/| /' conftest.$ac_ext >&5
101149 glibcxx_cv_S_ISREG=no
101151 rm -f conftest.err conftest.$ac_objext \
101152 conftest$ac_exeext conftest.$ac_ext
101156 if test "${glibcxx_cv_S_IFREG+set}" = set; then
101157 echo $ECHO_N "(cached) $ECHO_C" >&6
101160 if test x$gcc_no_link = xyes; then
101161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101163 { (exit 1); exit 1; }; }
101165 cat >conftest.$ac_ext <<_ACEOF
101166 /* confdefs.h. */
101167 _ACEOF
101168 cat confdefs.h >>conftest.$ac_ext
101169 cat >>conftest.$ac_ext <<_ACEOF
101170 /* end confdefs.h. */
101171 #include <sys/stat.h>
101173 main ()
101175 struct stat buffer;
101176 fstat(0, &buffer);
101177 S_IFREG & buffer.st_mode;
101179 return 0;
101181 _ACEOF
101182 rm -f conftest.$ac_objext conftest$ac_exeext
101183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101184 (eval $ac_link) 2>conftest.er1
101185 ac_status=$?
101186 grep -v '^ *+' conftest.er1 >conftest.err
101187 rm -f conftest.er1
101188 cat conftest.err >&5
101189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101190 (exit $ac_status); } &&
101191 { ac_try='test -z "$ac_c_werror_flag"
101192 || test ! -s conftest.err'
101193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101194 (eval $ac_try) 2>&5
101195 ac_status=$?
101196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101197 (exit $ac_status); }; } &&
101198 { ac_try='test -s conftest$ac_exeext'
101199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101200 (eval $ac_try) 2>&5
101201 ac_status=$?
101202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101203 (exit $ac_status); }; }; then
101204 glibcxx_cv_S_IFREG=yes
101206 echo "$as_me: failed program was:" >&5
101207 sed 's/^/| /' conftest.$ac_ext >&5
101209 glibcxx_cv_S_IFREG=no
101211 rm -f conftest.err conftest.$ac_objext \
101212 conftest$ac_exeext conftest.$ac_ext
101216 res=no
101217 if test $glibcxx_cv_S_ISREG = yes; then
101219 cat >>confdefs.h <<\_ACEOF
101220 #define HAVE_S_ISREG 1
101221 _ACEOF
101223 res=S_ISREG
101224 elif test $glibcxx_cv_S_IFREG = yes; then
101226 cat >>confdefs.h <<\_ACEOF
101227 #define HAVE_S_IFREG 1
101228 _ACEOF
101230 res=S_IFREG
101232 echo "$as_me:$LINENO: result: $res" >&5
101233 echo "${ECHO_T}$res" >&6
101236 # For xsputn_2().
101238 for ac_header in sys/uio.h
101240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101242 echo "$as_me:$LINENO: checking for $ac_header" >&5
101243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101245 echo $ECHO_N "(cached) $ECHO_C" >&6
101247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101250 # Is the header compilable?
101251 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101252 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101253 cat >conftest.$ac_ext <<_ACEOF
101254 /* confdefs.h. */
101255 _ACEOF
101256 cat confdefs.h >>conftest.$ac_ext
101257 cat >>conftest.$ac_ext <<_ACEOF
101258 /* end confdefs.h. */
101259 $ac_includes_default
101260 #include <$ac_header>
101261 _ACEOF
101262 rm -f conftest.$ac_objext
101263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101264 (eval $ac_compile) 2>conftest.er1
101265 ac_status=$?
101266 grep -v '^ *+' conftest.er1 >conftest.err
101267 rm -f conftest.er1
101268 cat conftest.err >&5
101269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101270 (exit $ac_status); } &&
101271 { ac_try='test -z "$ac_c_werror_flag"
101272 || test ! -s conftest.err'
101273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101274 (eval $ac_try) 2>&5
101275 ac_status=$?
101276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101277 (exit $ac_status); }; } &&
101278 { ac_try='test -s conftest.$ac_objext'
101279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101280 (eval $ac_try) 2>&5
101281 ac_status=$?
101282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101283 (exit $ac_status); }; }; then
101284 ac_header_compiler=yes
101286 echo "$as_me: failed program was:" >&5
101287 sed 's/^/| /' conftest.$ac_ext >&5
101289 ac_header_compiler=no
101291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101293 echo "${ECHO_T}$ac_header_compiler" >&6
101295 # Is the header present?
101296 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101297 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101298 cat >conftest.$ac_ext <<_ACEOF
101299 /* confdefs.h. */
101300 _ACEOF
101301 cat confdefs.h >>conftest.$ac_ext
101302 cat >>conftest.$ac_ext <<_ACEOF
101303 /* end confdefs.h. */
101304 #include <$ac_header>
101305 _ACEOF
101306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101308 ac_status=$?
101309 grep -v '^ *+' conftest.er1 >conftest.err
101310 rm -f conftest.er1
101311 cat conftest.err >&5
101312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101313 (exit $ac_status); } >/dev/null; then
101314 if test -s conftest.err; then
101315 ac_cpp_err=$ac_c_preproc_warn_flag
101316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101318 ac_cpp_err=
101321 ac_cpp_err=yes
101323 if test -z "$ac_cpp_err"; then
101324 ac_header_preproc=yes
101326 echo "$as_me: failed program was:" >&5
101327 sed 's/^/| /' conftest.$ac_ext >&5
101329 ac_header_preproc=no
101331 rm -f conftest.err conftest.$ac_ext
101332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101333 echo "${ECHO_T}$ac_header_preproc" >&6
101335 # So? What about this header?
101336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101337 yes:no: )
101338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101342 ac_header_preproc=yes
101344 no:yes:* )
101345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
101348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
101349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
101352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
101353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101358 cat <<\_ASBOX
101359 ## ----------------------------------------- ##
101360 ## Report this to the package-unused lists. ##
101361 ## ----------------------------------------- ##
101362 _ASBOX
101364 sed "s/^/$as_me: WARNING: /" >&2
101367 echo "$as_me:$LINENO: checking for $ac_header" >&5
101368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101370 echo $ECHO_N "(cached) $ECHO_C" >&6
101372 eval "$as_ac_Header=\$ac_header_preproc"
101374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101379 cat >>confdefs.h <<_ACEOF
101380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101381 _ACEOF
101388 echo "$as_me:$LINENO: checking for writev" >&5
101389 echo $ECHO_N "checking for writev... $ECHO_C" >&6
101390 if test "${glibcxx_cv_WRITEV+set}" = set; then
101391 echo $ECHO_N "(cached) $ECHO_C" >&6
101394 if test x$gcc_no_link = xyes; then
101395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101397 { (exit 1); exit 1; }; }
101399 cat >conftest.$ac_ext <<_ACEOF
101400 /* confdefs.h. */
101401 _ACEOF
101402 cat confdefs.h >>conftest.$ac_ext
101403 cat >>conftest.$ac_ext <<_ACEOF
101404 /* end confdefs.h. */
101405 #include <sys/uio.h>
101407 main ()
101409 struct iovec iov[2];
101410 writev(0, iov, 0);
101412 return 0;
101414 _ACEOF
101415 rm -f conftest.$ac_objext conftest$ac_exeext
101416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101417 (eval $ac_link) 2>conftest.er1
101418 ac_status=$?
101419 grep -v '^ *+' conftest.er1 >conftest.err
101420 rm -f conftest.er1
101421 cat conftest.err >&5
101422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101423 (exit $ac_status); } &&
101424 { ac_try='test -z "$ac_c_werror_flag"
101425 || test ! -s conftest.err'
101426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101427 (eval $ac_try) 2>&5
101428 ac_status=$?
101429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101430 (exit $ac_status); }; } &&
101431 { ac_try='test -s conftest$ac_exeext'
101432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101433 (eval $ac_try) 2>&5
101434 ac_status=$?
101435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101436 (exit $ac_status); }; }; then
101437 glibcxx_cv_WRITEV=yes
101439 echo "$as_me: failed program was:" >&5
101440 sed 's/^/| /' conftest.$ac_ext >&5
101442 glibcxx_cv_WRITEV=no
101444 rm -f conftest.err conftest.$ac_objext \
101445 conftest$ac_exeext conftest.$ac_ext
101449 if test $glibcxx_cv_WRITEV = yes; then
101451 cat >>confdefs.h <<\_ACEOF
101452 #define HAVE_WRITEV 1
101453 _ACEOF
101456 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
101457 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
101460 *-qnx6.1* | *-qnx6.2*)
101461 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101464 # If we're not using GNU ld, then there's no point in even trying these
101465 # tests. Check for that first. We should have already tested for gld
101466 # by now (in libtool), but require it now just to be safe...
101467 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101468 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101472 # The name set by libtool depends on the version of libtool. Shame on us
101473 # for depending on an impl detail, but c'est la vie. Older versions used
101474 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101475 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101476 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101477 # set (hence we're using an older libtool), then set it.
101478 if test x${with_gnu_ld+set} != xset; then
101479 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101480 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101481 with_gnu_ld=no
101483 with_gnu_ld=$ac_cv_prog_gnu_ld
101487 # Start by getting the version number. I think the libtool test already
101488 # does some of this, but throws away the result.
101489 if test x"$with_gnu_ld" = x"yes"; then
101490 echo "$as_me:$LINENO: checking for ld version" >&5
101491 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101493 ldver=`$LD --version 2>/dev/null | head -1 | \
101494 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101496 glibcxx_gnu_ld_version=`echo $ldver | \
101497 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101498 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101499 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101502 # Set --gc-sections.
101503 glibcxx_gcsections_min_ld=21602
101504 if test x"$with_gnu_ld" = x"yes" &&
101505 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101507 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101508 # NB: This flag only works reliably after 2.16.1. Configure tests
101509 # for this are difficult, so hard wire a value that should work.
101511 # All these tests are for C++, but run with the "C" compiler driver.
101512 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101513 ac_test_CFLAGS="${CFLAGS+set}"
101514 ac_save_CFLAGS="$CFLAGS"
101515 CFLAGS='-x c++ -Wl,--gc-sections'
101517 # Check for -Wl,--gc-sections
101518 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101519 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101520 if test x$gcc_no_link = xyes; then
101521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101523 { (exit 1); exit 1; }; }
101525 cat >conftest.$ac_ext <<_ACEOF
101526 /* confdefs.h. */
101527 _ACEOF
101528 cat confdefs.h >>conftest.$ac_ext
101529 cat >>conftest.$ac_ext <<_ACEOF
101530 /* end confdefs.h. */
101531 int one(void) { return 1; }
101532 int two(void) { return 2; }
101535 main ()
101537 two();
101539 return 0;
101541 _ACEOF
101542 rm -f conftest.$ac_objext conftest$ac_exeext
101543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101544 (eval $ac_link) 2>conftest.er1
101545 ac_status=$?
101546 grep -v '^ *+' conftest.er1 >conftest.err
101547 rm -f conftest.er1
101548 cat conftest.err >&5
101549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101550 (exit $ac_status); } &&
101551 { ac_try='test -z "$ac_c_werror_flag"
101552 || test ! -s conftest.err'
101553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101554 (eval $ac_try) 2>&5
101555 ac_status=$?
101556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101557 (exit $ac_status); }; } &&
101558 { ac_try='test -s conftest$ac_exeext'
101559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101560 (eval $ac_try) 2>&5
101561 ac_status=$?
101562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101563 (exit $ac_status); }; }; then
101564 ac_gcsections=yes
101566 echo "$as_me: failed program was:" >&5
101567 sed 's/^/| /' conftest.$ac_ext >&5
101569 ac_gcsections=no
101571 rm -f conftest.err conftest.$ac_objext \
101572 conftest$ac_exeext conftest.$ac_ext
101573 if test "$ac_gcsections" = "yes"; then
101574 rm -f conftest.c
101575 touch conftest.c
101576 if $CC -c conftest.c; then
101577 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101578 grep "Warning: gc-sections option ignored" > /dev/null; then
101579 ac_gcsections=no
101582 rm -f conftest.c conftest.o conftest
101584 if test "$ac_gcsections" = "yes"; then
101585 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101587 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101588 echo "${ECHO_T}$ac_gcsections" >&6
101590 if test "$ac_test_CFLAGS" = set; then
101591 CFLAGS="$ac_save_CFLAGS"
101593 # this is the suspicious part
101594 CFLAGS=''
101598 # Set -z,relro.
101599 # Note this is only for shared objects.
101600 ac_ld_relro=no
101601 if test x"$with_gnu_ld" = x"yes"; then
101602 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101603 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101604 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101605 if test -n "$cxx_z_relo"; then
101606 OPT_LDFLAGS="-Wl,-z,relro"
101607 ac_ld_relro=yes
101609 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101610 echo "${ECHO_T}$ac_ld_relro" >&6
101613 # Set linker optimization flags.
101614 if test x"$with_gnu_ld" = x"yes"; then
101615 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101623 echo "$as_me:$LINENO: checking for main in -lm" >&5
101624 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101625 if test "${ac_cv_lib_m_main+set}" = set; then
101626 echo $ECHO_N "(cached) $ECHO_C" >&6
101628 ac_check_lib_save_LIBS=$LIBS
101629 LIBS="-lm $LIBS"
101630 if test x$gcc_no_link = xyes; then
101631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101633 { (exit 1); exit 1; }; }
101635 cat >conftest.$ac_ext <<_ACEOF
101636 /* confdefs.h. */
101637 _ACEOF
101638 cat confdefs.h >>conftest.$ac_ext
101639 cat >>conftest.$ac_ext <<_ACEOF
101640 /* end confdefs.h. */
101644 main ()
101646 main ();
101648 return 0;
101650 _ACEOF
101651 rm -f conftest.$ac_objext conftest$ac_exeext
101652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101653 (eval $ac_link) 2>conftest.er1
101654 ac_status=$?
101655 grep -v '^ *+' conftest.er1 >conftest.err
101656 rm -f conftest.er1
101657 cat conftest.err >&5
101658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101659 (exit $ac_status); } &&
101660 { ac_try='test -z "$ac_c_werror_flag"
101661 || test ! -s conftest.err'
101662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101663 (eval $ac_try) 2>&5
101664 ac_status=$?
101665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101666 (exit $ac_status); }; } &&
101667 { ac_try='test -s conftest$ac_exeext'
101668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101669 (eval $ac_try) 2>&5
101670 ac_status=$?
101671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101672 (exit $ac_status); }; }; then
101673 ac_cv_lib_m_main=yes
101675 echo "$as_me: failed program was:" >&5
101676 sed 's/^/| /' conftest.$ac_ext >&5
101678 ac_cv_lib_m_main=no
101680 rm -f conftest.err conftest.$ac_objext \
101681 conftest$ac_exeext conftest.$ac_ext
101682 LIBS=$ac_check_lib_save_LIBS
101684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101685 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101686 if test $ac_cv_lib_m_main = yes; then
101687 cat >>confdefs.h <<_ACEOF
101688 #define HAVE_LIBM 1
101689 _ACEOF
101691 LIBS="-lm $LIBS"
101696 for ac_func in copysignf
101698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101699 echo "$as_me:$LINENO: checking for $ac_func" >&5
101700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101701 if eval "test \"\${$as_ac_var+set}\" = set"; then
101702 echo $ECHO_N "(cached) $ECHO_C" >&6
101704 if test x$gcc_no_link = xyes; then
101705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101707 { (exit 1); exit 1; }; }
101709 cat >conftest.$ac_ext <<_ACEOF
101710 /* confdefs.h. */
101711 _ACEOF
101712 cat confdefs.h >>conftest.$ac_ext
101713 cat >>conftest.$ac_ext <<_ACEOF
101714 /* end confdefs.h. */
101715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101717 #define $ac_func innocuous_$ac_func
101719 /* System header to define __stub macros and hopefully few prototypes,
101720 which can conflict with char $ac_func (); below.
101721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101722 <limits.h> exists even on freestanding compilers. */
101724 #ifdef __STDC__
101725 # include <limits.h>
101726 #else
101727 # include <assert.h>
101728 #endif
101730 #undef $ac_func
101732 /* Override any gcc2 internal prototype to avoid an error. */
101733 #ifdef __cplusplus
101734 extern "C"
101736 #endif
101737 /* We use char because int might match the return type of a gcc2
101738 builtin and then its argument prototype would still apply. */
101739 char $ac_func ();
101740 /* The GNU C library defines this for functions which it implements
101741 to always fail with ENOSYS. Some functions are actually named
101742 something starting with __ and the normal name is an alias. */
101743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101744 choke me
101745 #else
101746 char (*f) () = $ac_func;
101747 #endif
101748 #ifdef __cplusplus
101750 #endif
101753 main ()
101755 return f != $ac_func;
101757 return 0;
101759 _ACEOF
101760 rm -f conftest.$ac_objext conftest$ac_exeext
101761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101762 (eval $ac_link) 2>conftest.er1
101763 ac_status=$?
101764 grep -v '^ *+' conftest.er1 >conftest.err
101765 rm -f conftest.er1
101766 cat conftest.err >&5
101767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101768 (exit $ac_status); } &&
101769 { ac_try='test -z "$ac_c_werror_flag"
101770 || test ! -s conftest.err'
101771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101772 (eval $ac_try) 2>&5
101773 ac_status=$?
101774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101775 (exit $ac_status); }; } &&
101776 { ac_try='test -s conftest$ac_exeext'
101777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101778 (eval $ac_try) 2>&5
101779 ac_status=$?
101780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101781 (exit $ac_status); }; }; then
101782 eval "$as_ac_var=yes"
101784 echo "$as_me: failed program was:" >&5
101785 sed 's/^/| /' conftest.$ac_ext >&5
101787 eval "$as_ac_var=no"
101789 rm -f conftest.err conftest.$ac_objext \
101790 conftest$ac_exeext conftest.$ac_ext
101792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101794 if test `eval echo '${'$as_ac_var'}'` = yes; then
101795 cat >>confdefs.h <<_ACEOF
101796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101797 _ACEOF
101800 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101806 for ac_func in __signbit
101808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101809 echo "$as_me:$LINENO: checking for $ac_func" >&5
101810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101811 if eval "test \"\${$as_ac_var+set}\" = set"; then
101812 echo $ECHO_N "(cached) $ECHO_C" >&6
101814 if test x$gcc_no_link = xyes; then
101815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101817 { (exit 1); exit 1; }; }
101819 cat >conftest.$ac_ext <<_ACEOF
101820 /* confdefs.h. */
101821 _ACEOF
101822 cat confdefs.h >>conftest.$ac_ext
101823 cat >>conftest.$ac_ext <<_ACEOF
101824 /* end confdefs.h. */
101825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101827 #define $ac_func innocuous_$ac_func
101829 /* System header to define __stub macros and hopefully few prototypes,
101830 which can conflict with char $ac_func (); below.
101831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101832 <limits.h> exists even on freestanding compilers. */
101834 #ifdef __STDC__
101835 # include <limits.h>
101836 #else
101837 # include <assert.h>
101838 #endif
101840 #undef $ac_func
101842 /* Override any gcc2 internal prototype to avoid an error. */
101843 #ifdef __cplusplus
101844 extern "C"
101846 #endif
101847 /* We use char because int might match the return type of a gcc2
101848 builtin and then its argument prototype would still apply. */
101849 char $ac_func ();
101850 /* The GNU C library defines this for functions which it implements
101851 to always fail with ENOSYS. Some functions are actually named
101852 something starting with __ and the normal name is an alias. */
101853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101854 choke me
101855 #else
101856 char (*f) () = $ac_func;
101857 #endif
101858 #ifdef __cplusplus
101860 #endif
101863 main ()
101865 return f != $ac_func;
101867 return 0;
101869 _ACEOF
101870 rm -f conftest.$ac_objext conftest$ac_exeext
101871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101872 (eval $ac_link) 2>conftest.er1
101873 ac_status=$?
101874 grep -v '^ *+' conftest.er1 >conftest.err
101875 rm -f conftest.er1
101876 cat conftest.err >&5
101877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101878 (exit $ac_status); } &&
101879 { ac_try='test -z "$ac_c_werror_flag"
101880 || test ! -s conftest.err'
101881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101882 (eval $ac_try) 2>&5
101883 ac_status=$?
101884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101885 (exit $ac_status); }; } &&
101886 { ac_try='test -s conftest$ac_exeext'
101887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101888 (eval $ac_try) 2>&5
101889 ac_status=$?
101890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101891 (exit $ac_status); }; }; then
101892 eval "$as_ac_var=yes"
101894 echo "$as_me: failed program was:" >&5
101895 sed 's/^/| /' conftest.$ac_ext >&5
101897 eval "$as_ac_var=no"
101899 rm -f conftest.err conftest.$ac_objext \
101900 conftest$ac_exeext conftest.$ac_ext
101902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101904 if test `eval echo '${'$as_ac_var'}'` = yes; then
101905 cat >>confdefs.h <<_ACEOF
101906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101907 _ACEOF
101910 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101916 for ac_func in __signbitf
101918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101919 echo "$as_me:$LINENO: checking for $ac_func" >&5
101920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101921 if eval "test \"\${$as_ac_var+set}\" = set"; then
101922 echo $ECHO_N "(cached) $ECHO_C" >&6
101924 if test x$gcc_no_link = xyes; then
101925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101927 { (exit 1); exit 1; }; }
101929 cat >conftest.$ac_ext <<_ACEOF
101930 /* confdefs.h. */
101931 _ACEOF
101932 cat confdefs.h >>conftest.$ac_ext
101933 cat >>conftest.$ac_ext <<_ACEOF
101934 /* end confdefs.h. */
101935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101937 #define $ac_func innocuous_$ac_func
101939 /* System header to define __stub macros and hopefully few prototypes,
101940 which can conflict with char $ac_func (); below.
101941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101942 <limits.h> exists even on freestanding compilers. */
101944 #ifdef __STDC__
101945 # include <limits.h>
101946 #else
101947 # include <assert.h>
101948 #endif
101950 #undef $ac_func
101952 /* Override any gcc2 internal prototype to avoid an error. */
101953 #ifdef __cplusplus
101954 extern "C"
101956 #endif
101957 /* We use char because int might match the return type of a gcc2
101958 builtin and then its argument prototype would still apply. */
101959 char $ac_func ();
101960 /* The GNU C library defines this for functions which it implements
101961 to always fail with ENOSYS. Some functions are actually named
101962 something starting with __ and the normal name is an alias. */
101963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101964 choke me
101965 #else
101966 char (*f) () = $ac_func;
101967 #endif
101968 #ifdef __cplusplus
101970 #endif
101973 main ()
101975 return f != $ac_func;
101977 return 0;
101979 _ACEOF
101980 rm -f conftest.$ac_objext conftest$ac_exeext
101981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101982 (eval $ac_link) 2>conftest.er1
101983 ac_status=$?
101984 grep -v '^ *+' conftest.er1 >conftest.err
101985 rm -f conftest.er1
101986 cat conftest.err >&5
101987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101988 (exit $ac_status); } &&
101989 { ac_try='test -z "$ac_c_werror_flag"
101990 || test ! -s conftest.err'
101991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101992 (eval $ac_try) 2>&5
101993 ac_status=$?
101994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101995 (exit $ac_status); }; } &&
101996 { ac_try='test -s conftest$ac_exeext'
101997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101998 (eval $ac_try) 2>&5
101999 ac_status=$?
102000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102001 (exit $ac_status); }; }; then
102002 eval "$as_ac_var=yes"
102004 echo "$as_me: failed program was:" >&5
102005 sed 's/^/| /' conftest.$ac_ext >&5
102007 eval "$as_ac_var=no"
102009 rm -f conftest.err conftest.$ac_objext \
102010 conftest$ac_exeext conftest.$ac_ext
102012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102014 if test `eval echo '${'$as_ac_var'}'` = yes; then
102015 cat >>confdefs.h <<_ACEOF
102016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102017 _ACEOF
102020 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102025 if test x$ac_cv_func_copysignl = x"yes"; then
102027 for ac_func in __signbitl
102029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102030 echo "$as_me:$LINENO: checking for $ac_func" >&5
102031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102032 if eval "test \"\${$as_ac_var+set}\" = set"; then
102033 echo $ECHO_N "(cached) $ECHO_C" >&6
102035 if test x$gcc_no_link = xyes; then
102036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102038 { (exit 1); exit 1; }; }
102040 cat >conftest.$ac_ext <<_ACEOF
102041 /* confdefs.h. */
102042 _ACEOF
102043 cat confdefs.h >>conftest.$ac_ext
102044 cat >>conftest.$ac_ext <<_ACEOF
102045 /* end confdefs.h. */
102046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102048 #define $ac_func innocuous_$ac_func
102050 /* System header to define __stub macros and hopefully few prototypes,
102051 which can conflict with char $ac_func (); below.
102052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102053 <limits.h> exists even on freestanding compilers. */
102055 #ifdef __STDC__
102056 # include <limits.h>
102057 #else
102058 # include <assert.h>
102059 #endif
102061 #undef $ac_func
102063 /* Override any gcc2 internal prototype to avoid an error. */
102064 #ifdef __cplusplus
102065 extern "C"
102067 #endif
102068 /* We use char because int might match the return type of a gcc2
102069 builtin and then its argument prototype would still apply. */
102070 char $ac_func ();
102071 /* The GNU C library defines this for functions which it implements
102072 to always fail with ENOSYS. Some functions are actually named
102073 something starting with __ and the normal name is an alias. */
102074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102075 choke me
102076 #else
102077 char (*f) () = $ac_func;
102078 #endif
102079 #ifdef __cplusplus
102081 #endif
102084 main ()
102086 return f != $ac_func;
102088 return 0;
102090 _ACEOF
102091 rm -f conftest.$ac_objext conftest$ac_exeext
102092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102093 (eval $ac_link) 2>conftest.er1
102094 ac_status=$?
102095 grep -v '^ *+' conftest.er1 >conftest.err
102096 rm -f conftest.er1
102097 cat conftest.err >&5
102098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102099 (exit $ac_status); } &&
102100 { ac_try='test -z "$ac_c_werror_flag"
102101 || test ! -s conftest.err'
102102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102103 (eval $ac_try) 2>&5
102104 ac_status=$?
102105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102106 (exit $ac_status); }; } &&
102107 { ac_try='test -s conftest$ac_exeext'
102108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102109 (eval $ac_try) 2>&5
102110 ac_status=$?
102111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102112 (exit $ac_status); }; }; then
102113 eval "$as_ac_var=yes"
102115 echo "$as_me: failed program was:" >&5
102116 sed 's/^/| /' conftest.$ac_ext >&5
102118 eval "$as_ac_var=no"
102120 rm -f conftest.err conftest.$ac_objext \
102121 conftest$ac_exeext conftest.$ac_ext
102123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102125 if test `eval echo '${'$as_ac_var'}'` = yes; then
102126 cat >>confdefs.h <<_ACEOF
102127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102128 _ACEOF
102131 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102137 # Used in libmath/Makefile.am.
102138 if test -n "$LIBMATHOBJS"; then
102139 need_libmath=yes
102143 cat >>confdefs.h <<\_ACEOF
102144 #define HAVE_COSF 1
102145 _ACEOF
102147 cat >>confdefs.h <<\_ACEOF
102148 #define HAVE_COSL 1
102149 _ACEOF
102151 cat >>confdefs.h <<\_ACEOF
102152 #define HAVE_COSHF 1
102153 _ACEOF
102155 cat >>confdefs.h <<\_ACEOF
102156 #define HAVE_COSHL 1
102157 _ACEOF
102159 cat >>confdefs.h <<\_ACEOF
102160 #define HAVE_LOGF 1
102161 _ACEOF
102163 cat >>confdefs.h <<\_ACEOF
102164 #define HAVE_LOGL 1
102165 _ACEOF
102167 cat >>confdefs.h <<\_ACEOF
102168 #define HAVE_LOG10F 1
102169 _ACEOF
102171 cat >>confdefs.h <<\_ACEOF
102172 #define HAVE_LOG10L 1
102173 _ACEOF
102175 cat >>confdefs.h <<\_ACEOF
102176 #define HAVE_SINF 1
102177 _ACEOF
102179 cat >>confdefs.h <<\_ACEOF
102180 #define HAVE_SINL 1
102181 _ACEOF
102183 cat >>confdefs.h <<\_ACEOF
102184 #define HAVE_SINHF 1
102185 _ACEOF
102187 cat >>confdefs.h <<\_ACEOF
102188 #define HAVE_SINHL 1
102189 _ACEOF
102192 *-solaris*)
102193 case "$target" in
102194 # *-solaris2.5)
102195 # os_include_dir="os/solaris/solaris2.5"
102197 # *-solaris2.6)
102198 # os_include_dir="os/solaris/solaris2.6"
102200 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
102202 # If we're not using GNU ld, then there's no point in even trying these
102203 # tests. Check for that first. We should have already tested for gld
102204 # by now (in libtool), but require it now just to be safe...
102205 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102206 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102210 # The name set by libtool depends on the version of libtool. Shame on us
102211 # for depending on an impl detail, but c'est la vie. Older versions used
102212 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102213 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102214 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
102215 # set (hence we're using an older libtool), then set it.
102216 if test x${with_gnu_ld+set} != xset; then
102217 if test x${ac_cv_prog_gnu_ld+set} != xset; then
102218 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
102219 with_gnu_ld=no
102221 with_gnu_ld=$ac_cv_prog_gnu_ld
102225 # Start by getting the version number. I think the libtool test already
102226 # does some of this, but throws away the result.
102227 if test x"$with_gnu_ld" = x"yes"; then
102228 echo "$as_me:$LINENO: checking for ld version" >&5
102229 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102231 ldver=`$LD --version 2>/dev/null | head -1 | \
102232 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
102234 glibcxx_gnu_ld_version=`echo $ldver | \
102235 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102236 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102237 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102240 # Set --gc-sections.
102241 glibcxx_gcsections_min_ld=21602
102242 if test x"$with_gnu_ld" = x"yes" &&
102243 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102245 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
102246 # NB: This flag only works reliably after 2.16.1. Configure tests
102247 # for this are difficult, so hard wire a value that should work.
102249 # All these tests are for C++, but run with the "C" compiler driver.
102250 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
102251 ac_test_CFLAGS="${CFLAGS+set}"
102252 ac_save_CFLAGS="$CFLAGS"
102253 CFLAGS='-x c++ -Wl,--gc-sections'
102255 # Check for -Wl,--gc-sections
102256 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102257 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102258 if test x$gcc_no_link = xyes; then
102259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102261 { (exit 1); exit 1; }; }
102263 cat >conftest.$ac_ext <<_ACEOF
102264 /* confdefs.h. */
102265 _ACEOF
102266 cat confdefs.h >>conftest.$ac_ext
102267 cat >>conftest.$ac_ext <<_ACEOF
102268 /* end confdefs.h. */
102269 int one(void) { return 1; }
102270 int two(void) { return 2; }
102273 main ()
102275 two();
102277 return 0;
102279 _ACEOF
102280 rm -f conftest.$ac_objext conftest$ac_exeext
102281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102282 (eval $ac_link) 2>conftest.er1
102283 ac_status=$?
102284 grep -v '^ *+' conftest.er1 >conftest.err
102285 rm -f conftest.er1
102286 cat conftest.err >&5
102287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102288 (exit $ac_status); } &&
102289 { ac_try='test -z "$ac_c_werror_flag"
102290 || test ! -s conftest.err'
102291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102292 (eval $ac_try) 2>&5
102293 ac_status=$?
102294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102295 (exit $ac_status); }; } &&
102296 { ac_try='test -s conftest$ac_exeext'
102297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102298 (eval $ac_try) 2>&5
102299 ac_status=$?
102300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102301 (exit $ac_status); }; }; then
102302 ac_gcsections=yes
102304 echo "$as_me: failed program was:" >&5
102305 sed 's/^/| /' conftest.$ac_ext >&5
102307 ac_gcsections=no
102309 rm -f conftest.err conftest.$ac_objext \
102310 conftest$ac_exeext conftest.$ac_ext
102311 if test "$ac_gcsections" = "yes"; then
102312 rm -f conftest.c
102313 touch conftest.c
102314 if $CC -c conftest.c; then
102315 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102316 grep "Warning: gc-sections option ignored" > /dev/null; then
102317 ac_gcsections=no
102320 rm -f conftest.c conftest.o conftest
102322 if test "$ac_gcsections" = "yes"; then
102323 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102325 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102326 echo "${ECHO_T}$ac_gcsections" >&6
102328 if test "$ac_test_CFLAGS" = set; then
102329 CFLAGS="$ac_save_CFLAGS"
102331 # this is the suspicious part
102332 CFLAGS=''
102336 # Set -z,relro.
102337 # Note this is only for shared objects.
102338 ac_ld_relro=no
102339 if test x"$with_gnu_ld" = x"yes"; then
102340 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102341 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102342 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102343 if test -n "$cxx_z_relo"; then
102344 OPT_LDFLAGS="-Wl,-z,relro"
102345 ac_ld_relro=yes
102347 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102348 echo "${ECHO_T}$ac_ld_relro" >&6
102351 # Set linker optimization flags.
102352 if test x"$with_gnu_ld" = x"yes"; then
102353 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102359 cat >>confdefs.h <<\_ACEOF
102360 #define HAVE_GETPAGESIZE 1
102361 _ACEOF
102363 cat >>confdefs.h <<\_ACEOF
102364 #define HAVE_SIGSETJMP 1
102365 _ACEOF
102367 cat >>confdefs.h <<\_ACEOF
102368 #define HAVE_MBSTATE_T 1
102369 _ACEOF
102371 cat >>confdefs.h <<\_ACEOF
102372 #define HAVE_POLL 1
102373 _ACEOF
102375 cat >>confdefs.h <<\_ACEOF
102376 #define HAVE_S_ISREG 1
102377 _ACEOF
102379 cat >>confdefs.h <<\_ACEOF
102380 #define HAVE_LC_MESSAGES 1
102381 _ACEOF
102383 cat >>confdefs.h <<\_ACEOF
102384 #define HAVE_FINITE 1
102385 _ACEOF
102387 cat >>confdefs.h <<\_ACEOF
102388 #define HAVE_FPCLASS 1
102389 _ACEOF
102391 cat >>confdefs.h <<\_ACEOF
102392 #define HAVE_GETPAGESIZE 1
102393 _ACEOF
102395 # All of the dependencies for wide character support are here, so
102396 # turn it on.
102397 cat >>confdefs.h <<\_ACEOF
102398 #define _GLIBCXX_USE_WCHAR_T 1
102399 _ACEOF
102401 # Are these tested for even when cross?
102402 cat >>confdefs.h <<\_ACEOF
102403 #define HAVE_FLOAT_H 1
102404 _ACEOF
102406 cat >>confdefs.h <<\_ACEOF
102407 #define HAVE_IEEEFP_H 1
102408 _ACEOF
102410 cat >>confdefs.h <<\_ACEOF
102411 #define HAVE_INTTYPES_H 1
102412 _ACEOF
102414 cat >>confdefs.h <<\_ACEOF
102415 #define HAVE_LOCALE_H 1
102416 _ACEOF
102418 cat >>confdefs.h <<\_ACEOF
102419 #define HAVE_NAN_H 1
102420 _ACEOF
102422 cat >>confdefs.h <<\_ACEOF
102423 #define HAVE_SYS_FILIO_H 1
102424 _ACEOF
102426 cat >>confdefs.h <<\_ACEOF
102427 #define HAVE_SYS_IOCTL_H 1
102428 _ACEOF
102430 cat >>confdefs.h <<\_ACEOF
102431 #define HAVE_SYS_ISA_DEFS_H 1
102432 _ACEOF
102434 cat >>confdefs.h <<\_ACEOF
102435 #define HAVE_SYS_RESOURCE_H 1
102436 _ACEOF
102438 cat >>confdefs.h <<\_ACEOF
102439 #define HAVE_SYS_TIME_H 1
102440 _ACEOF
102442 cat >>confdefs.h <<\_ACEOF
102443 #define HAVE_SYS_TYPES_H 1
102444 _ACEOF
102446 cat >>confdefs.h <<\_ACEOF
102447 #define HAVE_UNISTD_H 1
102448 _ACEOF
102450 cat >>confdefs.h <<\_ACEOF
102451 #define HAVE_WCHAR_H 1
102452 _ACEOF
102454 cat >>confdefs.h <<\_ACEOF
102455 #define HAVE_WCTYPE_H 1
102456 _ACEOF
102458 cat >>confdefs.h <<\_ACEOF
102459 #define HAVE_LIBM 1
102460 _ACEOF
102464 case "$target" in
102465 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
102466 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
102467 cat >>confdefs.h <<\_ACEOF
102468 #define HAVE___BUILTIN_ABS 1
102469 _ACEOF
102471 cat >>confdefs.h <<\_ACEOF
102472 #define HAVE___BUILTIN_LABS 1
102473 _ACEOF
102475 cat >>confdefs.h <<\_ACEOF
102476 #define HAVE___BUILTIN_FABS 1
102477 _ACEOF
102479 cat >>confdefs.h <<\_ACEOF
102480 #define HAVE___BUILTIN_FABSF 1
102481 _ACEOF
102483 cat >>confdefs.h <<\_ACEOF
102484 #define HAVE___BUILTIN_FABSL 1
102485 _ACEOF
102487 cat >>confdefs.h <<\_ACEOF
102488 #define HAVE___BUILTIN_COS 1
102489 _ACEOF
102491 cat >>confdefs.h <<\_ACEOF
102492 #define HAVE___BUILTIN_COSF 1
102493 _ACEOF
102495 cat >>confdefs.h <<\_ACEOF
102496 #define HAVE___BUILTIN_SIN 1
102497 _ACEOF
102499 cat >>confdefs.h <<\_ACEOF
102500 #define HAVE___BUILTIN_SINF 1
102501 _ACEOF
102505 case "$target" in
102506 *-*-solaris2.10)
102507 # These two C99 functions are present only in Solaris >= 10
102508 cat >>confdefs.h <<\_ACEOF
102509 #define HAVE_STRTOF 1
102510 _ACEOF
102512 cat >>confdefs.h <<\_ACEOF
102513 #define HAVE_STRTOLD 1
102514 _ACEOF
102518 cat >>confdefs.h <<\_ACEOF
102519 #define HAVE_MMAP 1
102520 _ACEOF
102522 cat >>confdefs.h <<\_ACEOF
102523 #define HAVE_COPYSIGN 1
102524 _ACEOF
102526 cat >>confdefs.h <<\_ACEOF
102527 #define HAVE_ISNAN 1
102528 _ACEOF
102530 cat >>confdefs.h <<\_ACEOF
102531 #define HAVE_ISNANF 1
102532 _ACEOF
102534 cat >>confdefs.h <<\_ACEOF
102535 #define HAVE_MODFF 1
102536 _ACEOF
102538 cat >>confdefs.h <<\_ACEOF
102539 #define HAVE_HYPOT 1
102540 _ACEOF
102543 *-tpf)
102552 for ac_header in nan.h endian.h machine/endian.h \
102553 sys/param.h sys/types.h locale.h float.h inttypes.h
102555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102557 echo "$as_me:$LINENO: checking for $ac_header" >&5
102558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102560 echo $ECHO_N "(cached) $ECHO_C" >&6
102562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102565 # Is the header compilable?
102566 echo "$as_me:$LINENO: checking $ac_header usability" >&5
102567 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
102568 cat >conftest.$ac_ext <<_ACEOF
102569 /* confdefs.h. */
102570 _ACEOF
102571 cat confdefs.h >>conftest.$ac_ext
102572 cat >>conftest.$ac_ext <<_ACEOF
102573 /* end confdefs.h. */
102574 $ac_includes_default
102575 #include <$ac_header>
102576 _ACEOF
102577 rm -f conftest.$ac_objext
102578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102579 (eval $ac_compile) 2>conftest.er1
102580 ac_status=$?
102581 grep -v '^ *+' conftest.er1 >conftest.err
102582 rm -f conftest.er1
102583 cat conftest.err >&5
102584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102585 (exit $ac_status); } &&
102586 { ac_try='test -z "$ac_c_werror_flag"
102587 || test ! -s conftest.err'
102588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102589 (eval $ac_try) 2>&5
102590 ac_status=$?
102591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102592 (exit $ac_status); }; } &&
102593 { ac_try='test -s conftest.$ac_objext'
102594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102595 (eval $ac_try) 2>&5
102596 ac_status=$?
102597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102598 (exit $ac_status); }; }; then
102599 ac_header_compiler=yes
102601 echo "$as_me: failed program was:" >&5
102602 sed 's/^/| /' conftest.$ac_ext >&5
102604 ac_header_compiler=no
102606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102608 echo "${ECHO_T}$ac_header_compiler" >&6
102610 # Is the header present?
102611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
102612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
102613 cat >conftest.$ac_ext <<_ACEOF
102614 /* confdefs.h. */
102615 _ACEOF
102616 cat confdefs.h >>conftest.$ac_ext
102617 cat >>conftest.$ac_ext <<_ACEOF
102618 /* end confdefs.h. */
102619 #include <$ac_header>
102620 _ACEOF
102621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102623 ac_status=$?
102624 grep -v '^ *+' conftest.er1 >conftest.err
102625 rm -f conftest.er1
102626 cat conftest.err >&5
102627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102628 (exit $ac_status); } >/dev/null; then
102629 if test -s conftest.err; then
102630 ac_cpp_err=$ac_c_preproc_warn_flag
102631 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102633 ac_cpp_err=
102636 ac_cpp_err=yes
102638 if test -z "$ac_cpp_err"; then
102639 ac_header_preproc=yes
102641 echo "$as_me: failed program was:" >&5
102642 sed 's/^/| /' conftest.$ac_ext >&5
102644 ac_header_preproc=no
102646 rm -f conftest.err conftest.$ac_ext
102647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102648 echo "${ECHO_T}$ac_header_preproc" >&6
102650 # So? What about this header?
102651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102652 yes:no: )
102653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102657 ac_header_preproc=yes
102659 no:yes:* )
102660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
102661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
102662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
102663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
102664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
102665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
102666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
102667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
102668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
102669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
102670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
102671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
102673 cat <<\_ASBOX
102674 ## ----------------------------------------- ##
102675 ## Report this to the package-unused lists. ##
102676 ## ----------------------------------------- ##
102677 _ASBOX
102679 sed "s/^/$as_me: WARNING: /" >&2
102682 echo "$as_me:$LINENO: checking for $ac_header" >&5
102683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102685 echo $ECHO_N "(cached) $ECHO_C" >&6
102687 eval "$as_ac_Header=\$ac_header_preproc"
102689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
102694 cat >>confdefs.h <<_ACEOF
102695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
102696 _ACEOF
102702 SECTION_FLAGS='-ffunction-sections -fdata-sections'
102705 # If we're not using GNU ld, then there's no point in even trying these
102706 # tests. Check for that first. We should have already tested for gld
102707 # by now (in libtool), but require it now just to be safe...
102708 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102709 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102713 # The name set by libtool depends on the version of libtool. Shame on us
102714 # for depending on an impl detail, but c'est la vie. Older versions used
102715 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102716 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102717 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
102718 # set (hence we're using an older libtool), then set it.
102719 if test x${with_gnu_ld+set} != xset; then
102720 if test x${ac_cv_prog_gnu_ld+set} != xset; then
102721 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
102722 with_gnu_ld=no
102724 with_gnu_ld=$ac_cv_prog_gnu_ld
102728 # Start by getting the version number. I think the libtool test already
102729 # does some of this, but throws away the result.
102730 if test x"$with_gnu_ld" = x"yes"; then
102731 echo "$as_me:$LINENO: checking for ld version" >&5
102732 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102734 ldver=`$LD --version 2>/dev/null | head -1 | \
102735 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
102737 glibcxx_gnu_ld_version=`echo $ldver | \
102738 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102739 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102740 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102743 # Set --gc-sections.
102744 glibcxx_gcsections_min_ld=21602
102745 if test x"$with_gnu_ld" = x"yes" &&
102746 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102748 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
102749 # NB: This flag only works reliably after 2.16.1. Configure tests
102750 # for this are difficult, so hard wire a value that should work.
102752 # All these tests are for C++, but run with the "C" compiler driver.
102753 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
102754 ac_test_CFLAGS="${CFLAGS+set}"
102755 ac_save_CFLAGS="$CFLAGS"
102756 CFLAGS='-x c++ -Wl,--gc-sections'
102758 # Check for -Wl,--gc-sections
102759 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102760 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102761 if test x$gcc_no_link = xyes; then
102762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102764 { (exit 1); exit 1; }; }
102766 cat >conftest.$ac_ext <<_ACEOF
102767 /* confdefs.h. */
102768 _ACEOF
102769 cat confdefs.h >>conftest.$ac_ext
102770 cat >>conftest.$ac_ext <<_ACEOF
102771 /* end confdefs.h. */
102772 int one(void) { return 1; }
102773 int two(void) { return 2; }
102776 main ()
102778 two();
102780 return 0;
102782 _ACEOF
102783 rm -f conftest.$ac_objext conftest$ac_exeext
102784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102785 (eval $ac_link) 2>conftest.er1
102786 ac_status=$?
102787 grep -v '^ *+' conftest.er1 >conftest.err
102788 rm -f conftest.er1
102789 cat conftest.err >&5
102790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102791 (exit $ac_status); } &&
102792 { ac_try='test -z "$ac_c_werror_flag"
102793 || test ! -s conftest.err'
102794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102795 (eval $ac_try) 2>&5
102796 ac_status=$?
102797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102798 (exit $ac_status); }; } &&
102799 { ac_try='test -s conftest$ac_exeext'
102800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102801 (eval $ac_try) 2>&5
102802 ac_status=$?
102803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102804 (exit $ac_status); }; }; then
102805 ac_gcsections=yes
102807 echo "$as_me: failed program was:" >&5
102808 sed 's/^/| /' conftest.$ac_ext >&5
102810 ac_gcsections=no
102812 rm -f conftest.err conftest.$ac_objext \
102813 conftest$ac_exeext conftest.$ac_ext
102814 if test "$ac_gcsections" = "yes"; then
102815 rm -f conftest.c
102816 touch conftest.c
102817 if $CC -c conftest.c; then
102818 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102819 grep "Warning: gc-sections option ignored" > /dev/null; then
102820 ac_gcsections=no
102823 rm -f conftest.c conftest.o conftest
102825 if test "$ac_gcsections" = "yes"; then
102826 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102828 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102829 echo "${ECHO_T}$ac_gcsections" >&6
102831 if test "$ac_test_CFLAGS" = set; then
102832 CFLAGS="$ac_save_CFLAGS"
102834 # this is the suspicious part
102835 CFLAGS=''
102839 # Set -z,relro.
102840 # Note this is only for shared objects.
102841 ac_ld_relro=no
102842 if test x"$with_gnu_ld" = x"yes"; then
102843 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102844 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102845 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102846 if test -n "$cxx_z_relo"; then
102847 OPT_LDFLAGS="-Wl,-z,relro"
102848 ac_ld_relro=yes
102850 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102851 echo "${ECHO_T}$ac_ld_relro" >&6
102854 # Set linker optimization flags.
102855 if test x"$with_gnu_ld" = x"yes"; then
102856 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102864 echo "$as_me:$LINENO: checking for main in -lm" >&5
102865 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102866 if test "${ac_cv_lib_m_main+set}" = set; then
102867 echo $ECHO_N "(cached) $ECHO_C" >&6
102869 ac_check_lib_save_LIBS=$LIBS
102870 LIBS="-lm $LIBS"
102871 if test x$gcc_no_link = xyes; then
102872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102874 { (exit 1); exit 1; }; }
102876 cat >conftest.$ac_ext <<_ACEOF
102877 /* confdefs.h. */
102878 _ACEOF
102879 cat confdefs.h >>conftest.$ac_ext
102880 cat >>conftest.$ac_ext <<_ACEOF
102881 /* end confdefs.h. */
102885 main ()
102887 main ();
102889 return 0;
102891 _ACEOF
102892 rm -f conftest.$ac_objext conftest$ac_exeext
102893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102894 (eval $ac_link) 2>conftest.er1
102895 ac_status=$?
102896 grep -v '^ *+' conftest.er1 >conftest.err
102897 rm -f conftest.er1
102898 cat conftest.err >&5
102899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102900 (exit $ac_status); } &&
102901 { ac_try='test -z "$ac_c_werror_flag"
102902 || test ! -s conftest.err'
102903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102904 (eval $ac_try) 2>&5
102905 ac_status=$?
102906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102907 (exit $ac_status); }; } &&
102908 { ac_try='test -s conftest$ac_exeext'
102909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102910 (eval $ac_try) 2>&5
102911 ac_status=$?
102912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102913 (exit $ac_status); }; }; then
102914 ac_cv_lib_m_main=yes
102916 echo "$as_me: failed program was:" >&5
102917 sed 's/^/| /' conftest.$ac_ext >&5
102919 ac_cv_lib_m_main=no
102921 rm -f conftest.err conftest.$ac_objext \
102922 conftest$ac_exeext conftest.$ac_ext
102923 LIBS=$ac_check_lib_save_LIBS
102925 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102926 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102927 if test $ac_cv_lib_m_main = yes; then
102928 cat >>confdefs.h <<_ACEOF
102929 #define HAVE_LIBM 1
102930 _ACEOF
102932 LIBS="-lm $LIBS"
102937 for ac_func in copysignf
102939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102940 echo "$as_me:$LINENO: checking for $ac_func" >&5
102941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102942 if eval "test \"\${$as_ac_var+set}\" = set"; then
102943 echo $ECHO_N "(cached) $ECHO_C" >&6
102945 if test x$gcc_no_link = xyes; then
102946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102948 { (exit 1); exit 1; }; }
102950 cat >conftest.$ac_ext <<_ACEOF
102951 /* confdefs.h. */
102952 _ACEOF
102953 cat confdefs.h >>conftest.$ac_ext
102954 cat >>conftest.$ac_ext <<_ACEOF
102955 /* end confdefs.h. */
102956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102958 #define $ac_func innocuous_$ac_func
102960 /* System header to define __stub macros and hopefully few prototypes,
102961 which can conflict with char $ac_func (); below.
102962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102963 <limits.h> exists even on freestanding compilers. */
102965 #ifdef __STDC__
102966 # include <limits.h>
102967 #else
102968 # include <assert.h>
102969 #endif
102971 #undef $ac_func
102973 /* Override any gcc2 internal prototype to avoid an error. */
102974 #ifdef __cplusplus
102975 extern "C"
102977 #endif
102978 /* We use char because int might match the return type of a gcc2
102979 builtin and then its argument prototype would still apply. */
102980 char $ac_func ();
102981 /* The GNU C library defines this for functions which it implements
102982 to always fail with ENOSYS. Some functions are actually named
102983 something starting with __ and the normal name is an alias. */
102984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102985 choke me
102986 #else
102987 char (*f) () = $ac_func;
102988 #endif
102989 #ifdef __cplusplus
102991 #endif
102994 main ()
102996 return f != $ac_func;
102998 return 0;
103000 _ACEOF
103001 rm -f conftest.$ac_objext conftest$ac_exeext
103002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103003 (eval $ac_link) 2>conftest.er1
103004 ac_status=$?
103005 grep -v '^ *+' conftest.er1 >conftest.err
103006 rm -f conftest.er1
103007 cat conftest.err >&5
103008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103009 (exit $ac_status); } &&
103010 { ac_try='test -z "$ac_c_werror_flag"
103011 || test ! -s conftest.err'
103012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103013 (eval $ac_try) 2>&5
103014 ac_status=$?
103015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103016 (exit $ac_status); }; } &&
103017 { ac_try='test -s conftest$ac_exeext'
103018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103019 (eval $ac_try) 2>&5
103020 ac_status=$?
103021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103022 (exit $ac_status); }; }; then
103023 eval "$as_ac_var=yes"
103025 echo "$as_me: failed program was:" >&5
103026 sed 's/^/| /' conftest.$ac_ext >&5
103028 eval "$as_ac_var=no"
103030 rm -f conftest.err conftest.$ac_objext \
103031 conftest$ac_exeext conftest.$ac_ext
103033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103035 if test `eval echo '${'$as_ac_var'}'` = yes; then
103036 cat >>confdefs.h <<_ACEOF
103037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103038 _ACEOF
103041 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103047 for ac_func in __signbit
103049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103050 echo "$as_me:$LINENO: checking for $ac_func" >&5
103051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103052 if eval "test \"\${$as_ac_var+set}\" = set"; then
103053 echo $ECHO_N "(cached) $ECHO_C" >&6
103055 if test x$gcc_no_link = xyes; then
103056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103058 { (exit 1); exit 1; }; }
103060 cat >conftest.$ac_ext <<_ACEOF
103061 /* confdefs.h. */
103062 _ACEOF
103063 cat confdefs.h >>conftest.$ac_ext
103064 cat >>conftest.$ac_ext <<_ACEOF
103065 /* end confdefs.h. */
103066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103068 #define $ac_func innocuous_$ac_func
103070 /* System header to define __stub macros and hopefully few prototypes,
103071 which can conflict with char $ac_func (); below.
103072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103073 <limits.h> exists even on freestanding compilers. */
103075 #ifdef __STDC__
103076 # include <limits.h>
103077 #else
103078 # include <assert.h>
103079 #endif
103081 #undef $ac_func
103083 /* Override any gcc2 internal prototype to avoid an error. */
103084 #ifdef __cplusplus
103085 extern "C"
103087 #endif
103088 /* We use char because int might match the return type of a gcc2
103089 builtin and then its argument prototype would still apply. */
103090 char $ac_func ();
103091 /* The GNU C library defines this for functions which it implements
103092 to always fail with ENOSYS. Some functions are actually named
103093 something starting with __ and the normal name is an alias. */
103094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103095 choke me
103096 #else
103097 char (*f) () = $ac_func;
103098 #endif
103099 #ifdef __cplusplus
103101 #endif
103104 main ()
103106 return f != $ac_func;
103108 return 0;
103110 _ACEOF
103111 rm -f conftest.$ac_objext conftest$ac_exeext
103112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103113 (eval $ac_link) 2>conftest.er1
103114 ac_status=$?
103115 grep -v '^ *+' conftest.er1 >conftest.err
103116 rm -f conftest.er1
103117 cat conftest.err >&5
103118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103119 (exit $ac_status); } &&
103120 { ac_try='test -z "$ac_c_werror_flag"
103121 || test ! -s conftest.err'
103122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103123 (eval $ac_try) 2>&5
103124 ac_status=$?
103125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103126 (exit $ac_status); }; } &&
103127 { ac_try='test -s conftest$ac_exeext'
103128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103129 (eval $ac_try) 2>&5
103130 ac_status=$?
103131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103132 (exit $ac_status); }; }; then
103133 eval "$as_ac_var=yes"
103135 echo "$as_me: failed program was:" >&5
103136 sed 's/^/| /' conftest.$ac_ext >&5
103138 eval "$as_ac_var=no"
103140 rm -f conftest.err conftest.$ac_objext \
103141 conftest$ac_exeext conftest.$ac_ext
103143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103145 if test `eval echo '${'$as_ac_var'}'` = yes; then
103146 cat >>confdefs.h <<_ACEOF
103147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103148 _ACEOF
103151 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103157 for ac_func in __signbitf
103159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103160 echo "$as_me:$LINENO: checking for $ac_func" >&5
103161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103162 if eval "test \"\${$as_ac_var+set}\" = set"; then
103163 echo $ECHO_N "(cached) $ECHO_C" >&6
103165 if test x$gcc_no_link = xyes; then
103166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103168 { (exit 1); exit 1; }; }
103170 cat >conftest.$ac_ext <<_ACEOF
103171 /* confdefs.h. */
103172 _ACEOF
103173 cat confdefs.h >>conftest.$ac_ext
103174 cat >>conftest.$ac_ext <<_ACEOF
103175 /* end confdefs.h. */
103176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103178 #define $ac_func innocuous_$ac_func
103180 /* System header to define __stub macros and hopefully few prototypes,
103181 which can conflict with char $ac_func (); below.
103182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103183 <limits.h> exists even on freestanding compilers. */
103185 #ifdef __STDC__
103186 # include <limits.h>
103187 #else
103188 # include <assert.h>
103189 #endif
103191 #undef $ac_func
103193 /* Override any gcc2 internal prototype to avoid an error. */
103194 #ifdef __cplusplus
103195 extern "C"
103197 #endif
103198 /* We use char because int might match the return type of a gcc2
103199 builtin and then its argument prototype would still apply. */
103200 char $ac_func ();
103201 /* The GNU C library defines this for functions which it implements
103202 to always fail with ENOSYS. Some functions are actually named
103203 something starting with __ and the normal name is an alias. */
103204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103205 choke me
103206 #else
103207 char (*f) () = $ac_func;
103208 #endif
103209 #ifdef __cplusplus
103211 #endif
103214 main ()
103216 return f != $ac_func;
103218 return 0;
103220 _ACEOF
103221 rm -f conftest.$ac_objext conftest$ac_exeext
103222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103223 (eval $ac_link) 2>conftest.er1
103224 ac_status=$?
103225 grep -v '^ *+' conftest.er1 >conftest.err
103226 rm -f conftest.er1
103227 cat conftest.err >&5
103228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103229 (exit $ac_status); } &&
103230 { ac_try='test -z "$ac_c_werror_flag"
103231 || test ! -s conftest.err'
103232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103233 (eval $ac_try) 2>&5
103234 ac_status=$?
103235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103236 (exit $ac_status); }; } &&
103237 { ac_try='test -s conftest$ac_exeext'
103238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103239 (eval $ac_try) 2>&5
103240 ac_status=$?
103241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103242 (exit $ac_status); }; }; then
103243 eval "$as_ac_var=yes"
103245 echo "$as_me: failed program was:" >&5
103246 sed 's/^/| /' conftest.$ac_ext >&5
103248 eval "$as_ac_var=no"
103250 rm -f conftest.err conftest.$ac_objext \
103251 conftest$ac_exeext conftest.$ac_ext
103253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103255 if test `eval echo '${'$as_ac_var'}'` = yes; then
103256 cat >>confdefs.h <<_ACEOF
103257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103258 _ACEOF
103261 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103266 if test x$ac_cv_func_copysignl = x"yes"; then
103268 for ac_func in __signbitl
103270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103271 echo "$as_me:$LINENO: checking for $ac_func" >&5
103272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103273 if eval "test \"\${$as_ac_var+set}\" = set"; then
103274 echo $ECHO_N "(cached) $ECHO_C" >&6
103276 if test x$gcc_no_link = xyes; then
103277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103279 { (exit 1); exit 1; }; }
103281 cat >conftest.$ac_ext <<_ACEOF
103282 /* confdefs.h. */
103283 _ACEOF
103284 cat confdefs.h >>conftest.$ac_ext
103285 cat >>conftest.$ac_ext <<_ACEOF
103286 /* end confdefs.h. */
103287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103289 #define $ac_func innocuous_$ac_func
103291 /* System header to define __stub macros and hopefully few prototypes,
103292 which can conflict with char $ac_func (); below.
103293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103294 <limits.h> exists even on freestanding compilers. */
103296 #ifdef __STDC__
103297 # include <limits.h>
103298 #else
103299 # include <assert.h>
103300 #endif
103302 #undef $ac_func
103304 /* Override any gcc2 internal prototype to avoid an error. */
103305 #ifdef __cplusplus
103306 extern "C"
103308 #endif
103309 /* We use char because int might match the return type of a gcc2
103310 builtin and then its argument prototype would still apply. */
103311 char $ac_func ();
103312 /* The GNU C library defines this for functions which it implements
103313 to always fail with ENOSYS. Some functions are actually named
103314 something starting with __ and the normal name is an alias. */
103315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103316 choke me
103317 #else
103318 char (*f) () = $ac_func;
103319 #endif
103320 #ifdef __cplusplus
103322 #endif
103325 main ()
103327 return f != $ac_func;
103329 return 0;
103331 _ACEOF
103332 rm -f conftest.$ac_objext conftest$ac_exeext
103333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103334 (eval $ac_link) 2>conftest.er1
103335 ac_status=$?
103336 grep -v '^ *+' conftest.er1 >conftest.err
103337 rm -f conftest.er1
103338 cat conftest.err >&5
103339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103340 (exit $ac_status); } &&
103341 { ac_try='test -z "$ac_c_werror_flag"
103342 || test ! -s conftest.err'
103343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103344 (eval $ac_try) 2>&5
103345 ac_status=$?
103346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103347 (exit $ac_status); }; } &&
103348 { ac_try='test -s conftest$ac_exeext'
103349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103350 (eval $ac_try) 2>&5
103351 ac_status=$?
103352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103353 (exit $ac_status); }; }; then
103354 eval "$as_ac_var=yes"
103356 echo "$as_me: failed program was:" >&5
103357 sed 's/^/| /' conftest.$ac_ext >&5
103359 eval "$as_ac_var=no"
103361 rm -f conftest.err conftest.$ac_objext \
103362 conftest$ac_exeext conftest.$ac_ext
103364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103366 if test `eval echo '${'$as_ac_var'}'` = yes; then
103367 cat >>confdefs.h <<_ACEOF
103368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103369 _ACEOF
103372 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103378 # Used in libmath/Makefile.am.
103379 if test -n "$LIBMATHOBJS"; then
103380 need_libmath=yes
103384 cat >>confdefs.h <<\_ACEOF
103385 #define HAVE_COPYSIGN 1
103386 _ACEOF
103388 cat >>confdefs.h <<\_ACEOF
103389 #define HAVE_COPYSIGNF 1
103390 _ACEOF
103392 cat >>confdefs.h <<\_ACEOF
103393 #define HAVE_FINITE 1
103394 _ACEOF
103396 cat >>confdefs.h <<\_ACEOF
103397 #define HAVE_FINITEF 1
103398 _ACEOF
103400 cat >>confdefs.h <<\_ACEOF
103401 #define HAVE_FREXPF 1
103402 _ACEOF
103404 cat >>confdefs.h <<\_ACEOF
103405 #define HAVE_HYPOTF 1
103406 _ACEOF
103408 cat >>confdefs.h <<\_ACEOF
103409 #define HAVE_ISINF 1
103410 _ACEOF
103412 cat >>confdefs.h <<\_ACEOF
103413 #define HAVE_ISINFF 1
103414 _ACEOF
103416 cat >>confdefs.h <<\_ACEOF
103417 #define HAVE_ISNAN 1
103418 _ACEOF
103420 cat >>confdefs.h <<\_ACEOF
103421 #define HAVE_ISNANF 1
103422 _ACEOF
103424 cat >>confdefs.h <<\_ACEOF
103425 #define HAVE_SINCOS 1
103426 _ACEOF
103428 cat >>confdefs.h <<\_ACEOF
103429 #define HAVE_SINCOSF 1
103430 _ACEOF
103432 if test x"long_double_math_on_this_cpu" = x"yes"; then
103433 cat >>confdefs.h <<\_ACEOF
103434 #define HAVE_FINITEL 1
103435 _ACEOF
103437 cat >>confdefs.h <<\_ACEOF
103438 #define HAVE_HYPOTL 1
103439 _ACEOF
103441 cat >>confdefs.h <<\_ACEOF
103442 #define HAVE_ISINFL 1
103443 _ACEOF
103445 cat >>confdefs.h <<\_ACEOF
103446 #define HAVE_ISNANL 1
103447 _ACEOF
103451 *-vxworks)
103452 cat >>confdefs.h <<\_ACEOF
103453 #define HAVE_MMAP 1
103454 _ACEOF
103456 cat >>confdefs.h <<\_ACEOF
103457 #define HAVE_ACOSF 1
103458 _ACEOF
103460 cat >>confdefs.h <<\_ACEOF
103461 #define HAVE_ASINF 1
103462 _ACEOF
103464 cat >>confdefs.h <<\_ACEOF
103465 #define HAVE_ATAN2F 1
103466 _ACEOF
103468 cat >>confdefs.h <<\_ACEOF
103469 #define HAVE_ATANF 1
103470 _ACEOF
103472 cat >>confdefs.h <<\_ACEOF
103473 #define HAVE_CEILF 1
103474 _ACEOF
103476 cat >>confdefs.h <<\_ACEOF
103477 #define HAVE_COSF 1
103478 _ACEOF
103480 cat >>confdefs.h <<\_ACEOF
103481 #define HAVE_COSHF 1
103482 _ACEOF
103484 cat >>confdefs.h <<\_ACEOF
103485 #define HAVE_EXPF 1
103486 _ACEOF
103488 cat >>confdefs.h <<\_ACEOF
103489 #define HAVE_FABSF 1
103490 _ACEOF
103492 cat >>confdefs.h <<\_ACEOF
103493 #define HAVE_FLOORF 1
103494 _ACEOF
103496 cat >>confdefs.h <<\_ACEOF
103497 #define HAVE_FMODF 1
103498 _ACEOF
103500 cat >>confdefs.h <<\_ACEOF
103501 #define HAVE_HYPOT 1
103502 _ACEOF
103504 cat >>confdefs.h <<\_ACEOF
103505 #define HAVE_LOG10F 1
103506 _ACEOF
103508 cat >>confdefs.h <<\_ACEOF
103509 #define HAVE_LOGF 1
103510 _ACEOF
103512 cat >>confdefs.h <<\_ACEOF
103513 #define HAVE_POWF 1
103514 _ACEOF
103516 cat >>confdefs.h <<\_ACEOF
103517 #define HAVE_SINF 1
103518 _ACEOF
103520 cat >>confdefs.h <<\_ACEOF
103521 #define HAVE_SINHF 1
103522 _ACEOF
103524 cat >>confdefs.h <<\_ACEOF
103525 #define HAVE_SQRTF 1
103526 _ACEOF
103528 cat >>confdefs.h <<\_ACEOF
103529 #define HAVE_TANF 1
103530 _ACEOF
103532 cat >>confdefs.h <<\_ACEOF
103533 #define HAVE_TANHF 1
103534 _ACEOF
103537 *-windiss*)
103538 cat >>confdefs.h <<\_ACEOF
103539 #define HAVE_ACOSF 1
103540 _ACEOF
103542 cat >>confdefs.h <<\_ACEOF
103543 #define HAVE_ACOSL 1
103544 _ACEOF
103546 cat >>confdefs.h <<\_ACEOF
103547 #define HAVE_ASINF 1
103548 _ACEOF
103550 cat >>confdefs.h <<\_ACEOF
103551 #define HAVE_ASINL 1
103552 _ACEOF
103554 cat >>confdefs.h <<\_ACEOF
103555 #define HAVE_ATAN2F 1
103556 _ACEOF
103558 cat >>confdefs.h <<\_ACEOF
103559 #define HAVE_ATAN2L 1
103560 _ACEOF
103562 cat >>confdefs.h <<\_ACEOF
103563 #define HAVE_ATANF 1
103564 _ACEOF
103566 cat >>confdefs.h <<\_ACEOF
103567 #define HAVE_ATANL 1
103568 _ACEOF
103570 cat >>confdefs.h <<\_ACEOF
103571 #define HAVE_CEILF 1
103572 _ACEOF
103574 cat >>confdefs.h <<\_ACEOF
103575 #define HAVE_CEILL 1
103576 _ACEOF
103578 cat >>confdefs.h <<\_ACEOF
103579 #define HAVE_COPYSIGN 1
103580 _ACEOF
103582 cat >>confdefs.h <<\_ACEOF
103583 #define HAVE_COPYSIGNF 1
103584 _ACEOF
103586 cat >>confdefs.h <<\_ACEOF
103587 #define HAVE_COSF 1
103588 _ACEOF
103590 cat >>confdefs.h <<\_ACEOF
103591 #define HAVE_COSL 1
103592 _ACEOF
103594 cat >>confdefs.h <<\_ACEOF
103595 #define HAVE_COSHF 1
103596 _ACEOF
103598 cat >>confdefs.h <<\_ACEOF
103599 #define HAVE_COSHL 1
103600 _ACEOF
103602 cat >>confdefs.h <<\_ACEOF
103603 #define HAVE_EXPF 1
103604 _ACEOF
103606 cat >>confdefs.h <<\_ACEOF
103607 #define HAVE_EXPL 1
103608 _ACEOF
103610 cat >>confdefs.h <<\_ACEOF
103611 #define HAVE_FABSF 1
103612 _ACEOF
103614 cat >>confdefs.h <<\_ACEOF
103615 #define HAVE_FABSL 1
103616 _ACEOF
103618 cat >>confdefs.h <<\_ACEOF
103619 #define HAVE_FLOORF 1
103620 _ACEOF
103622 cat >>confdefs.h <<\_ACEOF
103623 #define HAVE_FLOORL 1
103624 _ACEOF
103626 cat >>confdefs.h <<\_ACEOF
103627 #define HAVE_FMODF 1
103628 _ACEOF
103630 cat >>confdefs.h <<\_ACEOF
103631 #define HAVE_FMODL 1
103632 _ACEOF
103634 cat >>confdefs.h <<\_ACEOF
103635 #define HAVE_FREXPF 1
103636 _ACEOF
103638 cat >>confdefs.h <<\_ACEOF
103639 #define HAVE_FREXPL 1
103640 _ACEOF
103642 cat >>confdefs.h <<\_ACEOF
103643 #define HAVE_LDEXPF 1
103644 _ACEOF
103646 cat >>confdefs.h <<\_ACEOF
103647 #define HAVE_LDEXPL 1
103648 _ACEOF
103650 cat >>confdefs.h <<\_ACEOF
103651 #define HAVE_LOG10F 1
103652 _ACEOF
103654 cat >>confdefs.h <<\_ACEOF
103655 #define HAVE_LOG10L 1
103656 _ACEOF
103658 cat >>confdefs.h <<\_ACEOF
103659 #define HAVE_LOGF 1
103660 _ACEOF
103662 cat >>confdefs.h <<\_ACEOF
103663 #define HAVE_MODFF 1
103664 _ACEOF
103666 cat >>confdefs.h <<\_ACEOF
103667 #define HAVE_MODFL 1
103668 _ACEOF
103670 cat >>confdefs.h <<\_ACEOF
103671 #define HAVE_POWF 1
103672 _ACEOF
103674 cat >>confdefs.h <<\_ACEOF
103675 #define HAVE_POWL 1
103676 _ACEOF
103678 cat >>confdefs.h <<\_ACEOF
103679 #define HAVE_SINF 1
103680 _ACEOF
103682 cat >>confdefs.h <<\_ACEOF
103683 #define HAVE_SINL 1
103684 _ACEOF
103686 cat >>confdefs.h <<\_ACEOF
103687 #define HAVE_SINHF 1
103688 _ACEOF
103690 cat >>confdefs.h <<\_ACEOF
103691 #define HAVE_SINHL 1
103692 _ACEOF
103694 cat >>confdefs.h <<\_ACEOF
103695 #define HAVE_SQRTF 1
103696 _ACEOF
103698 cat >>confdefs.h <<\_ACEOF
103699 #define HAVE_SQRTL 1
103700 _ACEOF
103702 cat >>confdefs.h <<\_ACEOF
103703 #define HAVE_TANF 1
103704 _ACEOF
103706 cat >>confdefs.h <<\_ACEOF
103707 #define HAVE_TANL 1
103708 _ACEOF
103710 cat >>confdefs.h <<\_ACEOF
103711 #define HAVE_TANHF 1
103712 _ACEOF
103714 cat >>confdefs.h <<\_ACEOF
103715 #define HAVE_TANHL 1
103716 _ACEOF
103720 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
103721 echo "$as_me: error: No support for this host/target combination." >&2;}
103722 { (exit 1); exit 1; }; }
103728 # At some point, we should differentiate between architectures
103729 # like x86, which have long double versions, and alpha/powerpc/etc.,
103730 # which don't. For the time being, punt.
103731 if test x"long_double_math_on_this_cpu" = x"yes"; then
103732 cat >>confdefs.h <<\_ACEOF
103733 #define HAVE_ACOSL 1
103734 _ACEOF
103736 cat >>confdefs.h <<\_ACEOF
103737 #define HAVE_ASINL 1
103738 _ACEOF
103740 cat >>confdefs.h <<\_ACEOF
103741 #define HAVE_ATAN2L 1
103742 _ACEOF
103744 cat >>confdefs.h <<\_ACEOF
103745 #define HAVE_ATANL 1
103746 _ACEOF
103748 cat >>confdefs.h <<\_ACEOF
103749 #define HAVE_CEILL 1
103750 _ACEOF
103752 cat >>confdefs.h <<\_ACEOF
103753 #define HAVE_COPYSIGNL 1
103754 _ACEOF
103756 cat >>confdefs.h <<\_ACEOF
103757 #define HAVE_COSL 1
103758 _ACEOF
103760 cat >>confdefs.h <<\_ACEOF
103761 #define HAVE_COSHL 1
103762 _ACEOF
103764 cat >>confdefs.h <<\_ACEOF
103765 #define HAVE_EXPL 1
103766 _ACEOF
103768 cat >>confdefs.h <<\_ACEOF
103769 #define HAVE_FABSL 1
103770 _ACEOF
103772 cat >>confdefs.h <<\_ACEOF
103773 #define HAVE_FLOORL 1
103774 _ACEOF
103776 cat >>confdefs.h <<\_ACEOF
103777 #define HAVE_FMODL 1
103778 _ACEOF
103780 cat >>confdefs.h <<\_ACEOF
103781 #define HAVE_FREXPL 1
103782 _ACEOF
103784 cat >>confdefs.h <<\_ACEOF
103785 #define HAVE_LDEXPL 1
103786 _ACEOF
103788 cat >>confdefs.h <<\_ACEOF
103789 #define HAVE_LOG10L 1
103790 _ACEOF
103792 cat >>confdefs.h <<\_ACEOF
103793 #define HAVE_LOGL 1
103794 _ACEOF
103796 cat >>confdefs.h <<\_ACEOF
103797 #define HAVE_MODFL 1
103798 _ACEOF
103800 cat >>confdefs.h <<\_ACEOF
103801 #define HAVE_POWL 1
103802 _ACEOF
103804 cat >>confdefs.h <<\_ACEOF
103805 #define HAVE_SINCOSL 1
103806 _ACEOF
103808 cat >>confdefs.h <<\_ACEOF
103809 #define HAVE_SINL 1
103810 _ACEOF
103812 cat >>confdefs.h <<\_ACEOF
103813 #define HAVE_SINHL 1
103814 _ACEOF
103816 cat >>confdefs.h <<\_ACEOF
103817 #define HAVE_SQRTL 1
103818 _ACEOF
103820 cat >>confdefs.h <<\_ACEOF
103821 #define HAVE_TANL 1
103822 _ACEOF
103824 cat >>confdefs.h <<\_ACEOF
103825 #define HAVE_TANHL 1
103826 _ACEOF
103830 # Assume we have _Unwind_GetIPInfo for cross-compiles.
103831 cat >>confdefs.h <<\_ACEOF
103832 #define HAVE_GETIPINFO 1
103833 _ACEOF
103838 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
103841 # Check whether --enable-symvers or --disable-symvers was given.
103842 if test "${enable_symvers+set}" = set; then
103843 enableval="$enable_symvers"
103845 case "$enableval" in
103846 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
103847 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
103848 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
103849 { (exit 1); exit 1; }; } ;;
103853 enable_symvers=yes
103857 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
103858 # don't know enough about $LD to do tricks...
103861 # Turn a 'yes' into a suitable default.
103862 if test x$enable_symvers = xyes ; then
103863 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
103864 enable_symvers=no
103866 if test $with_gnu_ld = yes ; then
103867 enable_symvers=gnu
103869 case ${target_os} in
103870 darwin*)
103871 enable_symvers=darwin ;;
103873 enable_symvers=no ;;
103879 # Check to see if 'darwin' or 'darwin-export' can win.
103880 if test x$enable_symvers = xdarwin-export ; then
103881 enable_symvers=darwin
103884 # Check to see if 'gnu' can win.
103885 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
103886 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
103887 echo "$as_me:$LINENO: checking for shared libgcc" >&5
103888 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
103889 ac_save_CFLAGS="$CFLAGS"
103890 CFLAGS=' -lgcc_s'
103891 if test x$gcc_no_link = xyes; then
103892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103894 { (exit 1); exit 1; }; }
103896 cat >conftest.$ac_ext <<_ACEOF
103897 /* confdefs.h. */
103898 _ACEOF
103899 cat confdefs.h >>conftest.$ac_ext
103900 cat >>conftest.$ac_ext <<_ACEOF
103901 /* end confdefs.h. */
103904 main ()
103906 return 0;
103908 return 0;
103910 _ACEOF
103911 rm -f conftest.$ac_objext conftest$ac_exeext
103912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103913 (eval $ac_link) 2>conftest.er1
103914 ac_status=$?
103915 grep -v '^ *+' conftest.er1 >conftest.err
103916 rm -f conftest.er1
103917 cat conftest.err >&5
103918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103919 (exit $ac_status); } &&
103920 { ac_try='test -z "$ac_c_werror_flag"
103921 || test ! -s conftest.err'
103922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103923 (eval $ac_try) 2>&5
103924 ac_status=$?
103925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103926 (exit $ac_status); }; } &&
103927 { ac_try='test -s conftest$ac_exeext'
103928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103929 (eval $ac_try) 2>&5
103930 ac_status=$?
103931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103932 (exit $ac_status); }; }; then
103933 glibcxx_shared_libgcc=yes
103935 echo "$as_me: failed program was:" >&5
103936 sed 's/^/| /' conftest.$ac_ext >&5
103938 glibcxx_shared_libgcc=no
103940 rm -f conftest.err conftest.$ac_objext \
103941 conftest$ac_exeext conftest.$ac_ext
103942 CFLAGS="$ac_save_CFLAGS"
103943 if test $glibcxx_shared_libgcc = no; then
103944 cat > conftest.c <<EOF
103945 int main (void) { return 0; }
103947 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
103948 -shared -shared-libgcc -o conftest.so \
103949 conftest.c -v 2>&1 >/dev/null \
103950 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
103951 rm -f conftest.c conftest.so
103952 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
103953 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
103954 if test x$gcc_no_link = xyes; then
103955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103957 { (exit 1); exit 1; }; }
103959 cat >conftest.$ac_ext <<_ACEOF
103960 /* confdefs.h. */
103961 _ACEOF
103962 cat confdefs.h >>conftest.$ac_ext
103963 cat >>conftest.$ac_ext <<_ACEOF
103964 /* end confdefs.h. */
103967 main ()
103969 return 0;
103971 return 0;
103973 _ACEOF
103974 rm -f conftest.$ac_objext conftest$ac_exeext
103975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103976 (eval $ac_link) 2>conftest.er1
103977 ac_status=$?
103978 grep -v '^ *+' conftest.er1 >conftest.err
103979 rm -f conftest.er1
103980 cat conftest.err >&5
103981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103982 (exit $ac_status); } &&
103983 { ac_try='test -z "$ac_c_werror_flag"
103984 || test ! -s conftest.err'
103985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103986 (eval $ac_try) 2>&5
103987 ac_status=$?
103988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103989 (exit $ac_status); }; } &&
103990 { ac_try='test -s conftest$ac_exeext'
103991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103992 (eval $ac_try) 2>&5
103993 ac_status=$?
103994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103995 (exit $ac_status); }; }; then
103996 glibcxx_shared_libgcc=yes
103998 echo "$as_me: failed program was:" >&5
103999 sed 's/^/| /' conftest.$ac_ext >&5
104002 rm -f conftest.err conftest.$ac_objext \
104003 conftest$ac_exeext conftest.$ac_ext
104004 CFLAGS="$ac_save_CFLAGS"
104007 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
104008 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
104010 # For GNU ld, we need at least this version. The format is described in
104011 # GLIBCXX_CHECK_LINKER_FEATURES above.
104012 glibcxx_min_gnu_ld_version=21400
104014 # If no shared libgcc, can't win.
104015 if test $glibcxx_shared_libgcc != yes; then
104016 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
104017 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
104018 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
104019 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
104020 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
104021 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
104022 enable_symvers=no
104023 elif test $with_gnu_ld != yes ; then
104024 # just fail for now
104025 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
104026 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
104027 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
104028 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
104029 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
104030 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
104031 enable_symvers=no
104032 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
104033 # The right tools, the right setup, but too old. Fallbacks?
104034 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
104035 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
104036 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
104037 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
104038 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
104039 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
104040 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
104041 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
104042 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
104043 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
104044 enable_symvers=no
104048 # Everything parsed; figure out what file to use.
104049 case $enable_symvers in
104051 SYMVER_FILE=config/abi/pre/none.ver
104054 SYMVER_FILE=config/abi/pre/gnu.ver
104056 cat >>confdefs.h <<\_ACEOF
104057 #define _GLIBCXX_SYMVER_GNU 1
104058 _ACEOF
104061 gnu-versioned-namespace)
104062 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
104064 cat >>confdefs.h <<\_ACEOF
104065 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
104066 _ACEOF
104069 darwin)
104070 SYMVER_FILE=config/abi/pre/gnu.ver
104072 cat >>confdefs.h <<\_ACEOF
104073 #define _GLIBCXX_SYMVER_DARWIN 1
104074 _ACEOF
104079 if test x$enable_symvers != xno ; then
104081 cat >>confdefs.h <<\_ACEOF
104082 #define _GLIBCXX_SYMVER 1
104083 _ACEOF
104093 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
104094 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
104096 # Now, set up compatibility support, if any.
104097 # In addition, need this to deal with std::size_t mangling in
104098 # src/compatibility.cc. In a perfect world, could use
104099 # typeid(std::size_t).name()[0] to do direct substitution.
104100 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
104101 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
104102 ac_save_CFLAGS="$CFLAGS"
104103 CFLAGS="-Werror"
104104 cat >conftest.$ac_ext <<_ACEOF
104105 /* confdefs.h. */
104106 _ACEOF
104107 cat confdefs.h >>conftest.$ac_ext
104108 cat >>conftest.$ac_ext <<_ACEOF
104109 /* end confdefs.h. */
104112 main ()
104114 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
104116 return 0;
104118 _ACEOF
104119 rm -f conftest.$ac_objext
104120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104121 (eval $ac_compile) 2>conftest.er1
104122 ac_status=$?
104123 grep -v '^ *+' conftest.er1 >conftest.err
104124 rm -f conftest.er1
104125 cat conftest.err >&5
104126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104127 (exit $ac_status); } &&
104128 { ac_try='test -z "$ac_c_werror_flag"
104129 || test ! -s conftest.err'
104130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104131 (eval $ac_try) 2>&5
104132 ac_status=$?
104133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104134 (exit $ac_status); }; } &&
104135 { ac_try='test -s conftest.$ac_objext'
104136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104137 (eval $ac_try) 2>&5
104138 ac_status=$?
104139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104140 (exit $ac_status); }; }; then
104141 glibcxx_size_t_is_i=yes
104143 echo "$as_me: failed program was:" >&5
104144 sed 's/^/| /' conftest.$ac_ext >&5
104146 glibcxx_size_t_is_i=no
104148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104149 CFLAGS=$ac_save_CFLAGS
104150 if test "$glibcxx_size_t_is_i" = yes; then
104152 cat >>confdefs.h <<\_ACEOF
104153 #define _GLIBCXX_SIZE_T_IS_UINT 1
104154 _ACEOF
104157 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
104158 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
104160 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
104161 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
104162 ac_save_CFLAGS="$CFLAGS"
104163 CFLAGS="-Werror"
104164 cat >conftest.$ac_ext <<_ACEOF
104165 /* confdefs.h. */
104166 _ACEOF
104167 cat confdefs.h >>conftest.$ac_ext
104168 cat >>conftest.$ac_ext <<_ACEOF
104169 /* end confdefs.h. */
104172 main ()
104174 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
104176 return 0;
104178 _ACEOF
104179 rm -f conftest.$ac_objext
104180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104181 (eval $ac_compile) 2>conftest.er1
104182 ac_status=$?
104183 grep -v '^ *+' conftest.er1 >conftest.err
104184 rm -f conftest.er1
104185 cat conftest.err >&5
104186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104187 (exit $ac_status); } &&
104188 { ac_try='test -z "$ac_c_werror_flag"
104189 || test ! -s conftest.err'
104190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104191 (eval $ac_try) 2>&5
104192 ac_status=$?
104193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104194 (exit $ac_status); }; } &&
104195 { ac_try='test -s conftest.$ac_objext'
104196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104197 (eval $ac_try) 2>&5
104198 ac_status=$?
104199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104200 (exit $ac_status); }; }; then
104201 glibcxx_ptrdiff_t_is_i=yes
104203 echo "$as_me: failed program was:" >&5
104204 sed 's/^/| /' conftest.$ac_ext >&5
104206 glibcxx_ptrdiff_t_is_i=no
104208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104209 CFLAGS=$ac_save_CFLAGS
104210 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
104212 cat >>confdefs.h <<\_ACEOF
104213 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
104214 _ACEOF
104217 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
104218 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
104221 # Check whether --enable-visibility or --disable-visibility was given.
104222 if test "${enable_visibility+set}" = set; then
104223 enableval="$enable_visibility"
104225 case "$enableval" in
104226 yes|no) ;;
104227 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
104228 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
104229 { (exit 1); exit 1; }; } ;;
104233 enable_visibility=yes
104237 if test x$enable_visibility = xyes ; then
104238 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
104239 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
104240 if test "${have_attribute_visibility+set}" = set; then
104241 echo $ECHO_N "(cached) $ECHO_C" >&6
104244 save_CFLAGS="$CFLAGS"
104245 CFLAGS="$CFLAGS -Werror"
104246 cat >conftest.$ac_ext <<_ACEOF
104247 /* confdefs.h. */
104248 _ACEOF
104249 cat confdefs.h >>conftest.$ac_ext
104250 cat >>conftest.$ac_ext <<_ACEOF
104251 /* end confdefs.h. */
104252 void __attribute__((visibility("hidden"))) foo(void) { }
104254 main ()
104258 return 0;
104260 _ACEOF
104261 rm -f conftest.$ac_objext
104262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104263 (eval $ac_compile) 2>conftest.er1
104264 ac_status=$?
104265 grep -v '^ *+' conftest.er1 >conftest.err
104266 rm -f conftest.er1
104267 cat conftest.err >&5
104268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104269 (exit $ac_status); } &&
104270 { ac_try='test -z "$ac_c_werror_flag"
104271 || test ! -s conftest.err'
104272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104273 (eval $ac_try) 2>&5
104274 ac_status=$?
104275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104276 (exit $ac_status); }; } &&
104277 { ac_try='test -s conftest.$ac_objext'
104278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104279 (eval $ac_try) 2>&5
104280 ac_status=$?
104281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104282 (exit $ac_status); }; }; then
104283 have_attribute_visibility=yes
104285 echo "$as_me: failed program was:" >&5
104286 sed 's/^/| /' conftest.$ac_ext >&5
104288 have_attribute_visibility=no
104290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104291 CFLAGS="$save_CFLAGS"
104293 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
104294 echo "${ECHO_T}$have_attribute_visibility" >&6
104295 if test $have_attribute_visibility = no; then
104296 enable_visibility=no
104301 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
104302 echo "$as_me: visibility supported: $enable_visibility" >&6;}
104305 ac_ldbl_compat=no
104306 case "$target" in
104307 powerpc*-*-*gnu* | \
104308 sparc*-*-linux* | \
104309 s390*-*-linux* | \
104310 alpha*-*-linux*)
104311 cat >conftest.$ac_ext <<_ACEOF
104312 /* confdefs.h. */
104313 _ACEOF
104314 cat confdefs.h >>conftest.$ac_ext
104315 cat >>conftest.$ac_ext <<_ACEOF
104316 /* end confdefs.h. */
104319 main ()
104322 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
104323 #error no need for long double compatibility
104324 #endif
104327 return 0;
104329 _ACEOF
104330 rm -f conftest.$ac_objext
104331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104332 (eval $ac_compile) 2>conftest.er1
104333 ac_status=$?
104334 grep -v '^ *+' conftest.er1 >conftest.err
104335 rm -f conftest.er1
104336 cat conftest.err >&5
104337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104338 (exit $ac_status); } &&
104339 { ac_try='test -z "$ac_c_werror_flag"
104340 || test ! -s conftest.err'
104341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104342 (eval $ac_try) 2>&5
104343 ac_status=$?
104344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104345 (exit $ac_status); }; } &&
104346 { ac_try='test -s conftest.$ac_objext'
104347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104348 (eval $ac_try) 2>&5
104349 ac_status=$?
104350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104351 (exit $ac_status); }; }; then
104352 ac_ldbl_compat=yes
104354 echo "$as_me: failed program was:" >&5
104355 sed 's/^/| /' conftest.$ac_ext >&5
104357 ac_ldbl_compat=no
104359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104360 if test "$ac_ldbl_compat" = yes; then
104362 cat >>confdefs.h <<\_ACEOF
104363 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
104364 _ACEOF
104366 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
104371 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
104373 if $GLIBCXX_IS_NATIVE ; then
104374 # Do checks for resource limit functions.
104376 setrlimit_have_headers=yes
104380 for ac_header in unistd.h sys/time.h sys/resource.h
104382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104384 echo "$as_me:$LINENO: checking for $ac_header" >&5
104385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104387 echo $ECHO_N "(cached) $ECHO_C" >&6
104389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104392 # Is the header compilable?
104393 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104395 cat >conftest.$ac_ext <<_ACEOF
104396 /* confdefs.h. */
104397 _ACEOF
104398 cat confdefs.h >>conftest.$ac_ext
104399 cat >>conftest.$ac_ext <<_ACEOF
104400 /* end confdefs.h. */
104401 $ac_includes_default
104402 #include <$ac_header>
104403 _ACEOF
104404 rm -f conftest.$ac_objext
104405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104406 (eval $ac_compile) 2>conftest.er1
104407 ac_status=$?
104408 grep -v '^ *+' conftest.er1 >conftest.err
104409 rm -f conftest.er1
104410 cat conftest.err >&5
104411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104412 (exit $ac_status); } &&
104413 { ac_try='test -z "$ac_c_werror_flag"
104414 || test ! -s conftest.err'
104415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104416 (eval $ac_try) 2>&5
104417 ac_status=$?
104418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104419 (exit $ac_status); }; } &&
104420 { ac_try='test -s conftest.$ac_objext'
104421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104422 (eval $ac_try) 2>&5
104423 ac_status=$?
104424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104425 (exit $ac_status); }; }; then
104426 ac_header_compiler=yes
104428 echo "$as_me: failed program was:" >&5
104429 sed 's/^/| /' conftest.$ac_ext >&5
104431 ac_header_compiler=no
104433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104435 echo "${ECHO_T}$ac_header_compiler" >&6
104437 # Is the header present?
104438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104440 cat >conftest.$ac_ext <<_ACEOF
104441 /* confdefs.h. */
104442 _ACEOF
104443 cat confdefs.h >>conftest.$ac_ext
104444 cat >>conftest.$ac_ext <<_ACEOF
104445 /* end confdefs.h. */
104446 #include <$ac_header>
104447 _ACEOF
104448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104450 ac_status=$?
104451 grep -v '^ *+' conftest.er1 >conftest.err
104452 rm -f conftest.er1
104453 cat conftest.err >&5
104454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104455 (exit $ac_status); } >/dev/null; then
104456 if test -s conftest.err; then
104457 ac_cpp_err=$ac_c_preproc_warn_flag
104458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104460 ac_cpp_err=
104463 ac_cpp_err=yes
104465 if test -z "$ac_cpp_err"; then
104466 ac_header_preproc=yes
104468 echo "$as_me: failed program was:" >&5
104469 sed 's/^/| /' conftest.$ac_ext >&5
104471 ac_header_preproc=no
104473 rm -f conftest.err conftest.$ac_ext
104474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104475 echo "${ECHO_T}$ac_header_preproc" >&6
104477 # So? What about this header?
104478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104479 yes:no: )
104480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104484 ac_header_preproc=yes
104486 no:yes:* )
104487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104500 cat <<\_ASBOX
104501 ## ----------------------------------------- ##
104502 ## Report this to the package-unused lists. ##
104503 ## ----------------------------------------- ##
104504 _ASBOX
104506 sed "s/^/$as_me: WARNING: /" >&2
104509 echo "$as_me:$LINENO: checking for $ac_header" >&5
104510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104512 echo $ECHO_N "(cached) $ECHO_C" >&6
104514 eval "$as_ac_Header=\$ac_header_preproc"
104516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104521 cat >>confdefs.h <<_ACEOF
104522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104523 _ACEOF
104526 setrlimit_have_headers=no
104531 # If don't have the headers, then we can't run the tests now, and we
104532 # won't be seeing any of these during testsuite compilation.
104533 if test $setrlimit_have_headers = yes; then
104534 # Can't do these in a loop, else the resulting syntax is wrong.
104536 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
104537 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
104538 cat >conftest.$ac_ext <<_ACEOF
104539 /* confdefs.h. */
104540 _ACEOF
104541 cat confdefs.h >>conftest.$ac_ext
104542 cat >>conftest.$ac_ext <<_ACEOF
104543 /* end confdefs.h. */
104544 #include <unistd.h>
104545 #include <sys/time.h>
104546 #include <sys/resource.h>
104549 main ()
104551 int f = RLIMIT_DATA ;
104553 return 0;
104555 _ACEOF
104556 rm -f conftest.$ac_objext
104557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104558 (eval $ac_compile) 2>conftest.er1
104559 ac_status=$?
104560 grep -v '^ *+' conftest.er1 >conftest.err
104561 rm -f conftest.er1
104562 cat conftest.err >&5
104563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104564 (exit $ac_status); } &&
104565 { ac_try='test -z "$ac_c_werror_flag"
104566 || test ! -s conftest.err'
104567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104568 (eval $ac_try) 2>&5
104569 ac_status=$?
104570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104571 (exit $ac_status); }; } &&
104572 { ac_try='test -s conftest.$ac_objext'
104573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104574 (eval $ac_try) 2>&5
104575 ac_status=$?
104576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104577 (exit $ac_status); }; }; then
104578 glibcxx_mresult=1
104580 echo "$as_me: failed program was:" >&5
104581 sed 's/^/| /' conftest.$ac_ext >&5
104583 glibcxx_mresult=0
104585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104587 cat >>confdefs.h <<_ACEOF
104588 #define HAVE_LIMIT_DATA $glibcxx_mresult
104589 _ACEOF
104591 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104592 echo "$as_me:$LINENO: result: $res" >&5
104593 echo "${ECHO_T}$res" >&6
104596 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
104597 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
104598 cat >conftest.$ac_ext <<_ACEOF
104599 /* confdefs.h. */
104600 _ACEOF
104601 cat confdefs.h >>conftest.$ac_ext
104602 cat >>conftest.$ac_ext <<_ACEOF
104603 /* end confdefs.h. */
104604 #include <unistd.h>
104605 #include <sys/time.h>
104606 #include <sys/resource.h>
104609 main ()
104611 int f = RLIMIT_RSS ;
104613 return 0;
104615 _ACEOF
104616 rm -f conftest.$ac_objext
104617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104618 (eval $ac_compile) 2>conftest.er1
104619 ac_status=$?
104620 grep -v '^ *+' conftest.er1 >conftest.err
104621 rm -f conftest.er1
104622 cat conftest.err >&5
104623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104624 (exit $ac_status); } &&
104625 { ac_try='test -z "$ac_c_werror_flag"
104626 || test ! -s conftest.err'
104627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104628 (eval $ac_try) 2>&5
104629 ac_status=$?
104630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104631 (exit $ac_status); }; } &&
104632 { ac_try='test -s conftest.$ac_objext'
104633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104634 (eval $ac_try) 2>&5
104635 ac_status=$?
104636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104637 (exit $ac_status); }; }; then
104638 glibcxx_mresult=1
104640 echo "$as_me: failed program was:" >&5
104641 sed 's/^/| /' conftest.$ac_ext >&5
104643 glibcxx_mresult=0
104645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104647 cat >>confdefs.h <<_ACEOF
104648 #define HAVE_LIMIT_RSS $glibcxx_mresult
104649 _ACEOF
104651 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104652 echo "$as_me:$LINENO: result: $res" >&5
104653 echo "${ECHO_T}$res" >&6
104656 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
104657 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
104658 cat >conftest.$ac_ext <<_ACEOF
104659 /* confdefs.h. */
104660 _ACEOF
104661 cat confdefs.h >>conftest.$ac_ext
104662 cat >>conftest.$ac_ext <<_ACEOF
104663 /* end confdefs.h. */
104664 #include <unistd.h>
104665 #include <sys/time.h>
104666 #include <sys/resource.h>
104669 main ()
104671 int f = RLIMIT_VMEM ;
104673 return 0;
104675 _ACEOF
104676 rm -f conftest.$ac_objext
104677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104678 (eval $ac_compile) 2>conftest.er1
104679 ac_status=$?
104680 grep -v '^ *+' conftest.er1 >conftest.err
104681 rm -f conftest.er1
104682 cat conftest.err >&5
104683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104684 (exit $ac_status); } &&
104685 { ac_try='test -z "$ac_c_werror_flag"
104686 || test ! -s conftest.err'
104687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104688 (eval $ac_try) 2>&5
104689 ac_status=$?
104690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104691 (exit $ac_status); }; } &&
104692 { ac_try='test -s conftest.$ac_objext'
104693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104694 (eval $ac_try) 2>&5
104695 ac_status=$?
104696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104697 (exit $ac_status); }; }; then
104698 glibcxx_mresult=1
104700 echo "$as_me: failed program was:" >&5
104701 sed 's/^/| /' conftest.$ac_ext >&5
104703 glibcxx_mresult=0
104705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104707 cat >>confdefs.h <<_ACEOF
104708 #define HAVE_LIMIT_VMEM $glibcxx_mresult
104709 _ACEOF
104711 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104712 echo "$as_me:$LINENO: result: $res" >&5
104713 echo "${ECHO_T}$res" >&6
104716 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
104717 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
104718 cat >conftest.$ac_ext <<_ACEOF
104719 /* confdefs.h. */
104720 _ACEOF
104721 cat confdefs.h >>conftest.$ac_ext
104722 cat >>conftest.$ac_ext <<_ACEOF
104723 /* end confdefs.h. */
104724 #include <unistd.h>
104725 #include <sys/time.h>
104726 #include <sys/resource.h>
104729 main ()
104731 int f = RLIMIT_AS ;
104733 return 0;
104735 _ACEOF
104736 rm -f conftest.$ac_objext
104737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104738 (eval $ac_compile) 2>conftest.er1
104739 ac_status=$?
104740 grep -v '^ *+' conftest.er1 >conftest.err
104741 rm -f conftest.er1
104742 cat conftest.err >&5
104743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104744 (exit $ac_status); } &&
104745 { ac_try='test -z "$ac_c_werror_flag"
104746 || test ! -s conftest.err'
104747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104748 (eval $ac_try) 2>&5
104749 ac_status=$?
104750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104751 (exit $ac_status); }; } &&
104752 { ac_try='test -s conftest.$ac_objext'
104753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104754 (eval $ac_try) 2>&5
104755 ac_status=$?
104756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104757 (exit $ac_status); }; }; then
104758 glibcxx_mresult=1
104760 echo "$as_me: failed program was:" >&5
104761 sed 's/^/| /' conftest.$ac_ext >&5
104763 glibcxx_mresult=0
104765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104767 cat >>confdefs.h <<_ACEOF
104768 #define HAVE_LIMIT_AS $glibcxx_mresult
104769 _ACEOF
104771 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104772 echo "$as_me:$LINENO: result: $res" >&5
104773 echo "${ECHO_T}$res" >&6
104776 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
104777 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
104778 cat >conftest.$ac_ext <<_ACEOF
104779 /* confdefs.h. */
104780 _ACEOF
104781 cat confdefs.h >>conftest.$ac_ext
104782 cat >>conftest.$ac_ext <<_ACEOF
104783 /* end confdefs.h. */
104784 #include <unistd.h>
104785 #include <sys/time.h>
104786 #include <sys/resource.h>
104789 main ()
104791 int f = RLIMIT_FSIZE ;
104793 return 0;
104795 _ACEOF
104796 rm -f conftest.$ac_objext
104797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104798 (eval $ac_compile) 2>conftest.er1
104799 ac_status=$?
104800 grep -v '^ *+' conftest.er1 >conftest.err
104801 rm -f conftest.er1
104802 cat conftest.err >&5
104803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104804 (exit $ac_status); } &&
104805 { ac_try='test -z "$ac_c_werror_flag"
104806 || test ! -s conftest.err'
104807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104808 (eval $ac_try) 2>&5
104809 ac_status=$?
104810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104811 (exit $ac_status); }; } &&
104812 { ac_try='test -s conftest.$ac_objext'
104813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104814 (eval $ac_try) 2>&5
104815 ac_status=$?
104816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104817 (exit $ac_status); }; }; then
104818 glibcxx_mresult=1
104820 echo "$as_me: failed program was:" >&5
104821 sed 's/^/| /' conftest.$ac_ext >&5
104823 glibcxx_mresult=0
104825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104827 cat >>confdefs.h <<_ACEOF
104828 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
104829 _ACEOF
104831 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104832 echo "$as_me:$LINENO: result: $res" >&5
104833 echo "${ECHO_T}$res" >&6
104836 # Check for rlimit, setrlimit.
104837 if test "${ac_setrlimit+set}" = set; then
104838 echo $ECHO_N "(cached) $ECHO_C" >&6
104841 cat >conftest.$ac_ext <<_ACEOF
104842 /* confdefs.h. */
104843 _ACEOF
104844 cat confdefs.h >>conftest.$ac_ext
104845 cat >>conftest.$ac_ext <<_ACEOF
104846 /* end confdefs.h. */
104847 #include <unistd.h>
104848 #include <sys/time.h>
104849 #include <sys/resource.h>
104852 main ()
104854 struct rlimit r;
104855 setrlimit(0, &r);
104857 return 0;
104859 _ACEOF
104860 rm -f conftest.$ac_objext
104861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104862 (eval $ac_compile) 2>conftest.er1
104863 ac_status=$?
104864 grep -v '^ *+' conftest.er1 >conftest.err
104865 rm -f conftest.er1
104866 cat conftest.err >&5
104867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104868 (exit $ac_status); } &&
104869 { ac_try='test -z "$ac_c_werror_flag"
104870 || test ! -s conftest.err'
104871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104872 (eval $ac_try) 2>&5
104873 ac_status=$?
104874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104875 (exit $ac_status); }; } &&
104876 { ac_try='test -s conftest.$ac_objext'
104877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104878 (eval $ac_try) 2>&5
104879 ac_status=$?
104880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104881 (exit $ac_status); }; }; then
104882 ac_setrlimit=yes
104884 echo "$as_me: failed program was:" >&5
104885 sed 's/^/| /' conftest.$ac_ext >&5
104887 ac_setrlimit=no
104889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104895 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
104896 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
104897 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
104898 ac_res_limits=yes
104900 cat >>confdefs.h <<\_ACEOF
104901 #define _GLIBCXX_RES_LIMITS 1
104902 _ACEOF
104905 ac_res_limits=no
104907 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
104908 echo "${ECHO_T}$ac_res_limits" >&6
104911 # Look for setenv, so that extended locale tests can be performed.
104913 echo "$as_me:$LINENO: checking for setenv declaration" >&5
104914 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
104915 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
104916 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
104917 echo $ECHO_N "(cached) $ECHO_C" >&6
104922 ac_ext=cc
104923 ac_cpp='$CXXCPP $CPPFLAGS'
104924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104928 cat >conftest.$ac_ext <<_ACEOF
104929 /* confdefs.h. */
104930 _ACEOF
104931 cat confdefs.h >>conftest.$ac_ext
104932 cat >>conftest.$ac_ext <<_ACEOF
104933 /* end confdefs.h. */
104934 #include <stdlib.h>
104936 main ()
104938 setenv(0, 0, 0);
104940 return 0;
104942 _ACEOF
104943 rm -f conftest.$ac_objext
104944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104945 (eval $ac_compile) 2>conftest.er1
104946 ac_status=$?
104947 grep -v '^ *+' conftest.er1 >conftest.err
104948 rm -f conftest.er1
104949 cat conftest.err >&5
104950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104951 (exit $ac_status); } &&
104952 { ac_try='test -z "$ac_cxx_werror_flag"
104953 || test ! -s conftest.err'
104954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104955 (eval $ac_try) 2>&5
104956 ac_status=$?
104957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104958 (exit $ac_status); }; } &&
104959 { ac_try='test -s conftest.$ac_objext'
104960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104961 (eval $ac_try) 2>&5
104962 ac_status=$?
104963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104964 (exit $ac_status); }; }; then
104965 glibcxx_cv_func_setenv_use=yes
104967 echo "$as_me: failed program was:" >&5
104968 sed 's/^/| /' conftest.$ac_ext >&5
104970 glibcxx_cv_func_setenv_use=no
104972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104973 ac_ext=c
104974 ac_cpp='$CPP $CPPFLAGS'
104975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
104984 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
104985 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
104987 for ac_func in setenv
104989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104990 echo "$as_me:$LINENO: checking for $ac_func" >&5
104991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104992 if eval "test \"\${$as_ac_var+set}\" = set"; then
104993 echo $ECHO_N "(cached) $ECHO_C" >&6
104995 if test x$gcc_no_link = xyes; then
104996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104998 { (exit 1); exit 1; }; }
105000 cat >conftest.$ac_ext <<_ACEOF
105001 /* confdefs.h. */
105002 _ACEOF
105003 cat confdefs.h >>conftest.$ac_ext
105004 cat >>conftest.$ac_ext <<_ACEOF
105005 /* end confdefs.h. */
105006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105008 #define $ac_func innocuous_$ac_func
105010 /* System header to define __stub macros and hopefully few prototypes,
105011 which can conflict with char $ac_func (); below.
105012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105013 <limits.h> exists even on freestanding compilers. */
105015 #ifdef __STDC__
105016 # include <limits.h>
105017 #else
105018 # include <assert.h>
105019 #endif
105021 #undef $ac_func
105023 /* Override any gcc2 internal prototype to avoid an error. */
105024 #ifdef __cplusplus
105025 extern "C"
105027 #endif
105028 /* We use char because int might match the return type of a gcc2
105029 builtin and then its argument prototype would still apply. */
105030 char $ac_func ();
105031 /* The GNU C library defines this for functions which it implements
105032 to always fail with ENOSYS. Some functions are actually named
105033 something starting with __ and the normal name is an alias. */
105034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105035 choke me
105036 #else
105037 char (*f) () = $ac_func;
105038 #endif
105039 #ifdef __cplusplus
105041 #endif
105044 main ()
105046 return f != $ac_func;
105048 return 0;
105050 _ACEOF
105051 rm -f conftest.$ac_objext conftest$ac_exeext
105052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105053 (eval $ac_link) 2>conftest.er1
105054 ac_status=$?
105055 grep -v '^ *+' conftest.er1 >conftest.err
105056 rm -f conftest.er1
105057 cat conftest.err >&5
105058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105059 (exit $ac_status); } &&
105060 { ac_try='test -z "$ac_c_werror_flag"
105061 || test ! -s conftest.err'
105062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105063 (eval $ac_try) 2>&5
105064 ac_status=$?
105065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105066 (exit $ac_status); }; } &&
105067 { ac_try='test -s conftest$ac_exeext'
105068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105069 (eval $ac_try) 2>&5
105070 ac_status=$?
105071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105072 (exit $ac_status); }; }; then
105073 eval "$as_ac_var=yes"
105075 echo "$as_me: failed program was:" >&5
105076 sed 's/^/| /' conftest.$ac_ext >&5
105078 eval "$as_ac_var=no"
105080 rm -f conftest.err conftest.$ac_objext \
105081 conftest$ac_exeext conftest.$ac_ext
105083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105085 if test `eval echo '${'$as_ac_var'}'` = yes; then
105086 cat >>confdefs.h <<_ACEOF
105087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105088 _ACEOF
105097 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
105098 test $enable_symvers != no; then
105099 case "$host" in
105100 *-*-cygwin*)
105101 enable_abi_check=no ;;
105103 enable_abi_check=yes ;;
105106 # Only build this as native, since automake does not understand
105107 # CXX_FOR_BUILD.
105108 enable_abi_check=no
105111 # Export file names for ABI checking.
105112 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
105116 # Propagate the target-specific source directories through the build chain.
105117 ATOMICITY_SRCDIR=config/${atomicity_dir}
105118 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
105119 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
105120 OS_INC_SRCDIR=config/${os_include_dir}
105121 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
105129 # Determine cross-compile flags and AM_CONDITIONALs.
105130 #AC_SUBST(GLIBCXX_IS_NATIVE)
105131 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
105132 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
105133 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
105136 if test $is_hosted = yes; then
105137 GLIBCXX_HOSTED_TRUE=
105138 GLIBCXX_HOSTED_FALSE='#'
105140 GLIBCXX_HOSTED_TRUE='#'
105141 GLIBCXX_HOSTED_FALSE=
105147 if test $enable_libstdcxx_pch = yes; then
105148 GLIBCXX_BUILD_PCH_TRUE=
105149 GLIBCXX_BUILD_PCH_FALSE='#'
105151 GLIBCXX_BUILD_PCH_TRUE='#'
105152 GLIBCXX_BUILD_PCH_FALSE=
105158 if test $enable_cheaders = c; then
105159 GLIBCXX_C_HEADERS_C_TRUE=
105160 GLIBCXX_C_HEADERS_C_FALSE='#'
105162 GLIBCXX_C_HEADERS_C_TRUE='#'
105163 GLIBCXX_C_HEADERS_C_FALSE=
105169 if test $enable_cheaders = c_std; then
105170 GLIBCXX_C_HEADERS_C_STD_TRUE=
105171 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
105173 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
105174 GLIBCXX_C_HEADERS_C_STD_FALSE=
105180 if test $c_compatibility = yes; then
105181 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
105182 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
105184 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
105185 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
105191 if test $enable_libstdcxx_debug = yes; then
105192 GLIBCXX_BUILD_DEBUG_TRUE=
105193 GLIBCXX_BUILD_DEBUG_FALSE='#'
105195 GLIBCXX_BUILD_DEBUG_TRUE='#'
105196 GLIBCXX_BUILD_DEBUG_FALSE=
105202 if test $enable_symvers != no; then
105203 ENABLE_SYMVERS_TRUE=
105204 ENABLE_SYMVERS_FALSE='#'
105206 ENABLE_SYMVERS_TRUE='#'
105207 ENABLE_SYMVERS_FALSE=
105213 if test $enable_symvers = gnu; then
105214 ENABLE_SYMVERS_GNU_TRUE=
105215 ENABLE_SYMVERS_GNU_FALSE='#'
105217 ENABLE_SYMVERS_GNU_TRUE='#'
105218 ENABLE_SYMVERS_GNU_FALSE=
105224 if test $enable_symvers = gnu-versioned-namespace; then
105225 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
105226 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
105228 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
105229 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
105235 if test $enable_symvers = darwin; then
105236 ENABLE_SYMVERS_DARWIN_TRUE=
105237 ENABLE_SYMVERS_DARWIN_FALSE='#'
105239 ENABLE_SYMVERS_DARWIN_TRUE='#'
105240 ENABLE_SYMVERS_DARWIN_FALSE=
105246 if test $enable_visibility = yes; then
105247 ENABLE_VISIBILITY_TRUE=
105248 ENABLE_VISIBILITY_FALSE='#'
105250 ENABLE_VISIBILITY_TRUE='#'
105251 ENABLE_VISIBILITY_FALSE=
105257 if test $ac_ldbl_compat = yes; then
105258 GLIBCXX_LDBL_COMPAT_TRUE=
105259 GLIBCXX_LDBL_COMPAT_FALSE='#'
105261 GLIBCXX_LDBL_COMPAT_TRUE='#'
105262 GLIBCXX_LDBL_COMPAT_FALSE=
105268 cat >confcache <<\_ACEOF
105269 # This file is a shell script that caches the results of configure
105270 # tests run on this system so they can be shared between configure
105271 # scripts and configure runs, see configure's option --config-cache.
105272 # It is not useful on other systems. If it contains results you don't
105273 # want to keep, you may remove or edit it.
105275 # config.status only pays attention to the cache file if you give it
105276 # the --recheck option to rerun configure.
105278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
105279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
105280 # following values.
105282 _ACEOF
105284 # The following way of writing the cache mishandles newlines in values,
105285 # but we know of no workaround that is simple, portable, and efficient.
105286 # So, don't put newlines in cache variables' values.
105287 # Ultrix sh set writes to stderr and can't be redirected directly,
105288 # and sets the high bit in the cache file unless we assign to the vars.
105290 (set) 2>&1 |
105291 case `(ac_space=' '; set | grep ac_space) 2>&1` in
105292 *ac_space=\ *)
105293 # `set' does not quote correctly, so add quotes (double-quote
105294 # substitution turns \\\\ into \\, and sed turns \\ into \).
105295 sed -n \
105296 "s/'/'\\\\''/g;
105297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
105300 # `set' quotes correctly as required by POSIX, so do not add quotes.
105301 sed -n \
105302 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
105304 esac;
105306 sed '
105307 t clear
105308 : clear
105309 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
105310 t end
105311 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
105312 : end' >>confcache
105313 if diff $cache_file confcache >/dev/null 2>&1; then :; else
105314 if test -w $cache_file; then
105315 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
105316 cat confcache >$cache_file
105318 echo "not updating unwritable cache $cache_file"
105321 rm -f confcache
105323 if test ${multilib} = yes; then
105324 multilib_arg="--enable-multilib"
105326 multilib_arg=
105329 # Export all the install information.
105331 glibcxx_toolexecdir=no
105332 glibcxx_toolexeclibdir=no
105333 glibcxx_prefixdir=$prefix
105335 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
105336 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
105338 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
105339 if test "${with_gxx_include_dir+set}" = set; then
105340 withval="$with_gxx_include_dir"
105341 case "$withval" in
105342 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
105343 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
105344 { (exit 1); exit 1; }; } ;;
105345 no) gxx_include_dir=no ;;
105346 *) gxx_include_dir=$withval ;;
105349 gxx_include_dir=no
105351 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
105352 echo "${ECHO_T}$gxx_include_dir" >&6
105354 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
105355 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
105356 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
105357 if test "${enable_version_specific_runtime_libs+set}" = set; then
105358 enableval="$enable_version_specific_runtime_libs"
105359 case "$enableval" in
105360 yes) version_specific_libs=yes ;;
105361 no) version_specific_libs=no ;;
105362 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
105363 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
105364 { (exit 1); exit 1; }; };;
105367 version_specific_libs=no
105369 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
105370 echo "${ECHO_T}$version_specific_libs" >&6
105372 # Default case for install directory for include files.
105373 if test $version_specific_libs = no && test $gxx_include_dir = no; then
105374 gxx_include_dir='include/c++/${gcc_version}'
105375 if test -n "$with_cross_host" &&
105376 test x"$with_cross_host" != x"no"; then
105377 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
105379 gxx_include_dir='${prefix}/'"$gxx_include_dir"
105383 # Version-specific runtime libs processing.
105384 if test $version_specific_libs = yes; then
105385 # Need the gcc compiler version to know where to install libraries
105386 # and header files if --enable-version-specific-runtime-libs option
105387 # is selected. FIXME: these variables are misnamed, there are
105388 # no executables installed in _toolexecdir or _toolexeclibdir.
105389 if test x"$gxx_include_dir" = x"no"; then
105390 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
105392 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
105393 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
105396 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
105397 # Install a library built with a cross compiler in tooldir, not libdir.
105398 if test x"$glibcxx_toolexecdir" = x"no"; then
105399 if test -n "$with_cross_host" &&
105400 test x"$with_cross_host" != x"no"; then
105401 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
105402 glibcxx_toolexeclibdir='${toolexecdir}/lib'
105404 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
105405 glibcxx_toolexeclibdir='${libdir}'
105407 multi_os_directory=`$CXX -print-multi-os-directory`
105408 case $multi_os_directory in
105409 .) ;; # Avoid trailing /.
105410 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
105414 echo "$as_me:$LINENO: checking for install location" >&5
105415 echo $ECHO_N "checking for install location... $ECHO_C" >&6
105416 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
105417 echo "${ECHO_T}$gxx_include_dir" >&6
105425 # Export all the include and flag information to Makefiles.
105427 # Used for every C++ compile we perform.
105428 GLIBCXX_INCLUDES="\
105429 -I$glibcxx_builddir/include/$host_alias \
105430 -I$glibcxx_builddir/include \
105431 -I$glibcxx_srcdir/libsupc++"
105433 # For Canadian crosses, pick this up too.
105434 if test $CANADIAN = yes; then
105435 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
105438 # Stuff in the actual top level. Currently only used by libsupc++ to
105439 # get unwind* headers from the gcc dir.
105440 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
105441 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
105443 # Now, export this to all the little Makefiles....
105448 # Optimization flags that are probably a good idea for thrill-seekers. Just
105449 # uncomment the lines below and make, everything else is ready to go...
105450 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
105451 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
105454 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
105458 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
105459 grep "enable shared" > /dev/null;
105461 LIBSUPCXX_PICFLAGS=-prefer-pic
105463 LIBSUPCXX_PICFLAGS=
105467 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
105469 ac_config_files="$ac_config_files scripts/testsuite_flags"
105472 ac_config_commands="$ac_config_commands default"
105475 cat >confcache <<\_ACEOF
105476 # This file is a shell script that caches the results of configure
105477 # tests run on this system so they can be shared between configure
105478 # scripts and configure runs, see configure's option --config-cache.
105479 # It is not useful on other systems. If it contains results you don't
105480 # want to keep, you may remove or edit it.
105482 # config.status only pays attention to the cache file if you give it
105483 # the --recheck option to rerun configure.
105485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
105486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
105487 # following values.
105489 _ACEOF
105491 # The following way of writing the cache mishandles newlines in values,
105492 # but we know of no workaround that is simple, portable, and efficient.
105493 # So, don't put newlines in cache variables' values.
105494 # Ultrix sh set writes to stderr and can't be redirected directly,
105495 # and sets the high bit in the cache file unless we assign to the vars.
105497 (set) 2>&1 |
105498 case `(ac_space=' '; set | grep ac_space) 2>&1` in
105499 *ac_space=\ *)
105500 # `set' does not quote correctly, so add quotes (double-quote
105501 # substitution turns \\\\ into \\, and sed turns \\ into \).
105502 sed -n \
105503 "s/'/'\\\\''/g;
105504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
105507 # `set' quotes correctly as required by POSIX, so do not add quotes.
105508 sed -n \
105509 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
105511 esac;
105513 sed '
105514 t clear
105515 : clear
105516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
105517 t end
105518 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
105519 : end' >>confcache
105520 if diff $cache_file confcache >/dev/null 2>&1; then :; else
105521 if test -w $cache_file; then
105522 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
105523 cat confcache >$cache_file
105525 echo "not updating unwritable cache $cache_file"
105528 rm -f confcache
105530 test "x$prefix" = xNONE && prefix=$ac_default_prefix
105531 # Let make expand exec_prefix.
105532 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
105534 # VPATH may cause trouble with some makes, so we remove $(srcdir),
105535 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
105536 # trailing colons and then remove the whole line if VPATH becomes empty
105537 # (actually we leave an empty line to preserve line numbers).
105538 if test "x$srcdir" = x.; then
105539 ac_vpsub='/^[ ]*VPATH[ ]*=/{
105540 s/:*\$(srcdir):*/:/;
105541 s/:*\${srcdir}:*/:/;
105542 s/:*@srcdir@:*/:/;
105543 s/^\([^=]*=[ ]*\):*/\1/;
105544 s/:*$//;
105545 s/^[^=]*=[ ]*$//;
105549 DEFS=-DHAVE_CONFIG_H
105551 ac_libobjs=
105552 ac_ltlibobjs=
105553 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
105554 # 1. Remove the extension, and $U if already installed.
105555 ac_i=`echo "$ac_i" |
105556 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
105557 # 2. Add them.
105558 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
105559 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
105561 LIBOBJS=$ac_libobjs
105563 LTLIBOBJS=$ac_ltlibobjs
105566 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
105567 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
105568 Usually this means the macro was only invoked conditionally." >&5
105569 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
105570 Usually this means the macro was only invoked conditionally." >&2;}
105571 { (exit 1); exit 1; }; }
105573 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
105574 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
105575 Usually this means the macro was only invoked conditionally." >&5
105576 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
105577 Usually this means the macro was only invoked conditionally." >&2;}
105578 { (exit 1); exit 1; }; }
105580 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
105581 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
105582 Usually this means the macro was only invoked conditionally." >&5
105583 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
105584 Usually this means the macro was only invoked conditionally." >&2;}
105585 { (exit 1); exit 1; }; }
105587 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
105588 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
105589 Usually this means the macro was only invoked conditionally." >&5
105590 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
105591 Usually this means the macro was only invoked conditionally." >&2;}
105592 { (exit 1); exit 1; }; }
105594 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
105595 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
105596 Usually this means the macro was only invoked conditionally." >&5
105597 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
105598 Usually this means the macro was only invoked conditionally." >&2;}
105599 { (exit 1); exit 1; }; }
105601 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
105602 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
105603 Usually this means the macro was only invoked conditionally." >&5
105604 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
105605 Usually this means the macro was only invoked conditionally." >&2;}
105606 { (exit 1); exit 1; }; }
105608 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
105609 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
105610 Usually this means the macro was only invoked conditionally." >&5
105611 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
105612 Usually this means the macro was only invoked conditionally." >&2;}
105613 { (exit 1); exit 1; }; }
105615 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
105616 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
105617 Usually this means the macro was only invoked conditionally." >&5
105618 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
105619 Usually this means the macro was only invoked conditionally." >&2;}
105620 { (exit 1); exit 1; }; }
105622 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
105623 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
105624 Usually this means the macro was only invoked conditionally." >&5
105625 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
105626 Usually this means the macro was only invoked conditionally." >&2;}
105627 { (exit 1); exit 1; }; }
105629 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
105630 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
105631 Usually this means the macro was only invoked conditionally." >&5
105632 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
105633 Usually this means the macro was only invoked conditionally." >&2;}
105634 { (exit 1); exit 1; }; }
105636 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
105637 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
105638 Usually this means the macro was only invoked conditionally." >&5
105639 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
105640 Usually this means the macro was only invoked conditionally." >&2;}
105641 { (exit 1); exit 1; }; }
105643 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
105644 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
105645 Usually this means the macro was only invoked conditionally." >&5
105646 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
105647 Usually this means the macro was only invoked conditionally." >&2;}
105648 { (exit 1); exit 1; }; }
105650 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
105651 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
105652 Usually this means the macro was only invoked conditionally." >&5
105653 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
105654 Usually this means the macro was only invoked conditionally." >&2;}
105655 { (exit 1); exit 1; }; }
105658 : ${CONFIG_STATUS=./config.status}
105659 ac_clean_files_save=$ac_clean_files
105660 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
105661 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
105662 echo "$as_me: creating $CONFIG_STATUS" >&6;}
105663 cat >$CONFIG_STATUS <<_ACEOF
105664 #! $SHELL
105665 # Generated by $as_me.
105666 # Run this file to recreate the current configuration.
105667 # Compiler output produced by configure, useful for debugging
105668 # configure, is in config.log if it exists.
105670 debug=false
105671 ac_cs_recheck=false
105672 ac_cs_silent=false
105673 SHELL=\${CONFIG_SHELL-$SHELL}
105674 _ACEOF
105676 cat >>$CONFIG_STATUS <<\_ACEOF
105677 ## --------------------- ##
105678 ## M4sh Initialization. ##
105679 ## --------------------- ##
105681 # Be Bourne compatible
105682 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
105683 emulate sh
105684 NULLCMD=:
105685 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
105686 # is contrary to our usage. Disable this feature.
105687 alias -g '${1+"$@"}'='"$@"'
105688 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
105689 set -o posix
105691 DUALCASE=1; export DUALCASE # for MKS sh
105693 # Support unset when possible.
105694 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
105695 as_unset=unset
105697 as_unset=false
105701 # Work around bugs in pre-3.0 UWIN ksh.
105702 $as_unset ENV MAIL MAILPATH
105703 PS1='$ '
105704 PS2='> '
105705 PS4='+ '
105707 # NLS nuisances.
105708 for as_var in \
105709 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105710 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105711 LC_TELEPHONE LC_TIME
105713 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105714 eval $as_var=C; export $as_var
105716 $as_unset $as_var
105720 # Required to use basename.
105721 if expr a : '\(a\)' >/dev/null 2>&1; then
105722 as_expr=expr
105724 as_expr=false
105727 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
105728 as_basename=basename
105730 as_basename=false
105734 # Name of the executable.
105735 as_me=`$as_basename "$0" ||
105736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
105737 X"$0" : 'X\(//\)$' \| \
105738 X"$0" : 'X\(/\)$' \| \
105739 . : '\(.\)' 2>/dev/null ||
105740 echo X/"$0" |
105741 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
105742 /^X\/\(\/\/\)$/{ s//\1/; q; }
105743 /^X\/\(\/\).*/{ s//\1/; q; }
105744 s/.*/./; q'`
105747 # PATH needs CR, and LINENO needs CR and PATH.
105748 # Avoid depending upon Character Ranges.
105749 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
105750 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
105751 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
105752 as_cr_digits='0123456789'
105753 as_cr_alnum=$as_cr_Letters$as_cr_digits
105755 # The user is always right.
105756 if test "${PATH_SEPARATOR+set}" != set; then
105757 echo "#! /bin/sh" >conf$$.sh
105758 echo "exit 0" >>conf$$.sh
105759 chmod +x conf$$.sh
105760 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
105761 PATH_SEPARATOR=';'
105763 PATH_SEPARATOR=:
105765 rm -f conf$$.sh
105769 as_lineno_1=$LINENO
105770 as_lineno_2=$LINENO
105771 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105772 test "x$as_lineno_1" != "x$as_lineno_2" &&
105773 test "x$as_lineno_3" = "x$as_lineno_2" || {
105774 # Find who we are. Look in the path if we contain no path at all
105775 # relative or not.
105776 case $0 in
105777 *[\\/]* ) as_myself=$0 ;;
105778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105779 for as_dir in $PATH
105781 IFS=$as_save_IFS
105782 test -z "$as_dir" && as_dir=.
105783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105788 # We did not find ourselves, most probably we were run as `sh COMMAND'
105789 # in which case we are not to be found in the path.
105790 if test "x$as_myself" = x; then
105791 as_myself=$0
105793 if test ! -f "$as_myself"; then
105794 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
105795 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
105796 { (exit 1); exit 1; }; }
105798 case $CONFIG_SHELL in
105800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105801 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
105803 IFS=$as_save_IFS
105804 test -z "$as_dir" && as_dir=.
105805 for as_base in sh bash ksh sh5; do
105806 case $as_dir in
105808 if ("$as_dir/$as_base" -c '
105809 as_lineno_1=$LINENO
105810 as_lineno_2=$LINENO
105811 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105812 test "x$as_lineno_1" != "x$as_lineno_2" &&
105813 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
105814 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
105815 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
105816 CONFIG_SHELL=$as_dir/$as_base
105817 export CONFIG_SHELL
105818 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
105826 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
105827 # uniformly replaced by the line number. The first 'sed' inserts a
105828 # line-number line before each line; the second 'sed' does the real
105829 # work. The second script uses 'N' to pair each line-number line
105830 # with the numbered line, and appends trailing '-' during
105831 # substitution so that $LINENO is not a special case at line end.
105832 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
105833 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
105834 sed '=' <$as_myself |
105835 sed '
105837 s,$,-,
105838 : loop
105839 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
105840 t loop
105841 s,-$,,
105842 s,^['$as_cr_digits']*\n,,
105843 ' >$as_me.lineno &&
105844 chmod +x $as_me.lineno ||
105845 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
105846 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
105847 { (exit 1); exit 1; }; }
105849 # Don't try to exec as it changes $[0], causing all sort of problems
105850 # (the dirname of $[0] is not the place where we might find the
105851 # original and so on. Autoconf is especially sensible to this).
105852 . ./$as_me.lineno
105853 # Exit status is that of the last command.
105858 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
105859 *c*,-n*) ECHO_N= ECHO_C='
105860 ' ECHO_T=' ' ;;
105861 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
105862 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
105865 if expr a : '\(a\)' >/dev/null 2>&1; then
105866 as_expr=expr
105868 as_expr=false
105871 rm -f conf$$ conf$$.exe conf$$.file
105872 echo >conf$$.file
105873 if ln -s conf$$.file conf$$ 2>/dev/null; then
105874 # We could just check for DJGPP; but this test a) works b) is more generic
105875 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
105876 if test -f conf$$.exe; then
105877 # Don't use ln at all; we don't have any links
105878 as_ln_s='cp -p'
105880 as_ln_s='ln -s'
105882 elif ln conf$$.file conf$$ 2>/dev/null; then
105883 as_ln_s=ln
105885 as_ln_s='cp -p'
105887 rm -f conf$$ conf$$.exe conf$$.file
105889 if mkdir -p . 2>/dev/null; then
105890 as_mkdir_p=:
105892 test -d ./-p && rmdir ./-p
105893 as_mkdir_p=false
105896 as_executable_p="test -f"
105898 # Sed expression to map a string onto a valid CPP name.
105899 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
105901 # Sed expression to map a string onto a valid variable name.
105902 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
105905 # IFS
105906 # We need space, tab and new line, in precisely that order.
105907 as_nl='
105909 IFS=" $as_nl"
105911 # CDPATH.
105912 $as_unset CDPATH
105914 exec 6>&1
105916 # Open the log real soon, to keep \$[0] and so on meaningful, and to
105917 # report actual input values of CONFIG_FILES etc. instead of their
105918 # values after options handling. Logging --version etc. is OK.
105919 exec 5>>config.log
105922 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
105923 ## Running $as_me. ##
105924 _ASBOX
105925 } >&5
105926 cat >&5 <<_CSEOF
105928 This file was extended by package-unused $as_me version-unused, which was
105929 generated by GNU Autoconf 2.59. Invocation command line was
105931 CONFIG_FILES = $CONFIG_FILES
105932 CONFIG_HEADERS = $CONFIG_HEADERS
105933 CONFIG_LINKS = $CONFIG_LINKS
105934 CONFIG_COMMANDS = $CONFIG_COMMANDS
105935 $ $0 $@
105937 _CSEOF
105938 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
105939 echo >&5
105940 _ACEOF
105942 # Files that config.status was made for.
105943 if test -n "$ac_config_files"; then
105944 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
105947 if test -n "$ac_config_headers"; then
105948 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
105951 if test -n "$ac_config_links"; then
105952 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
105955 if test -n "$ac_config_commands"; then
105956 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
105959 cat >>$CONFIG_STATUS <<\_ACEOF
105961 ac_cs_usage="\
105962 \`$as_me' instantiates files from templates according to the
105963 current configuration.
105965 Usage: $0 [OPTIONS] [FILE]...
105967 -h, --help print this help, then exit
105968 -V, --version print version number, then exit
105969 -q, --quiet do not print progress messages
105970 -d, --debug don't remove temporary files
105971 --recheck update $as_me by reconfiguring in the same conditions
105972 --file=FILE[:TEMPLATE]
105973 instantiate the configuration file FILE
105974 --header=FILE[:TEMPLATE]
105975 instantiate the configuration header FILE
105977 Configuration files:
105978 $config_files
105980 Configuration headers:
105981 $config_headers
105983 Configuration commands:
105984 $config_commands
105986 Report bugs to <bug-autoconf@gnu.org>."
105987 _ACEOF
105989 cat >>$CONFIG_STATUS <<_ACEOF
105990 ac_cs_version="\\
105991 package-unused config.status version-unused
105992 configured by $0, generated by GNU Autoconf 2.59,
105993 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
105995 Copyright (C) 2003 Free Software Foundation, Inc.
105996 This config.status script is free software; the Free Software Foundation
105997 gives unlimited permission to copy, distribute and modify it."
105998 srcdir=$srcdir
105999 INSTALL="$INSTALL"
106000 _ACEOF
106002 cat >>$CONFIG_STATUS <<\_ACEOF
106003 # If no file are specified by the user, then we need to provide default
106004 # value. By we need to know if files were specified by the user.
106005 ac_need_defaults=:
106006 while test $# != 0
106008 case $1 in
106009 --*=*)
106010 ac_option=`expr "x$1" : 'x\([^=]*\)='`
106011 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
106012 ac_shift=:
106015 ac_option=$1
106016 ac_optarg=$2
106017 ac_shift=shift
106019 *) # This is not an option, so the user has probably given explicit
106020 # arguments.
106021 ac_option=$1
106022 ac_need_defaults=false;;
106025 case $ac_option in
106026 # Handling of the options.
106027 _ACEOF
106028 cat >>$CONFIG_STATUS <<\_ACEOF
106029 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
106030 ac_cs_recheck=: ;;
106031 --version | --vers* | -V )
106032 echo "$ac_cs_version"; exit 0 ;;
106033 --he | --h)
106034 # Conflict between --help and --header
106035 { { echo "$as_me:$LINENO: error: ambiguous option: $1
106036 Try \`$0 --help' for more information." >&5
106037 echo "$as_me: error: ambiguous option: $1
106038 Try \`$0 --help' for more information." >&2;}
106039 { (exit 1); exit 1; }; };;
106040 --help | --hel | -h )
106041 echo "$ac_cs_usage"; exit 0 ;;
106042 --debug | --d* | -d )
106043 debug=: ;;
106044 --file | --fil | --fi | --f )
106045 $ac_shift
106046 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
106047 ac_need_defaults=false;;
106048 --header | --heade | --head | --hea )
106049 $ac_shift
106050 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
106051 ac_need_defaults=false;;
106052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
106053 | -silent | --silent | --silen | --sile | --sil | --si | --s)
106054 ac_cs_silent=: ;;
106056 # This is an error.
106057 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
106058 Try \`$0 --help' for more information." >&5
106059 echo "$as_me: error: unrecognized option: $1
106060 Try \`$0 --help' for more information." >&2;}
106061 { (exit 1); exit 1; }; } ;;
106063 *) ac_config_targets="$ac_config_targets $1" ;;
106066 shift
106069 ac_configure_extra_args=
106071 if $ac_cs_silent; then
106072 exec 6>/dev/null
106073 ac_configure_extra_args="$ac_configure_extra_args --silent"
106076 _ACEOF
106077 cat >>$CONFIG_STATUS <<_ACEOF
106078 if \$ac_cs_recheck; then
106079 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
106080 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
106083 _ACEOF
106085 cat >>$CONFIG_STATUS <<_ACEOF
106087 # INIT-COMMANDS section.
106091 srcdir="$srcdir"
106092 host="$host"
106093 target="$target"
106094 with_multisubdir="$with_multisubdir"
106095 with_multisrctop="$with_multisrctop"
106096 with_target_subdir="$with_target_subdir"
106097 ac_configure_args="${multilib_arg} ${ac_configure_args}"
106098 multi_basedir="$multi_basedir"
106099 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
106100 CC="$CC"
106102 # Variables needed in config.status (file generation) which aren't already
106103 # passed by autoconf.
106104 SUBDIRS="$SUBDIRS"
106107 _ACEOF
106111 cat >>$CONFIG_STATUS <<\_ACEOF
106112 for ac_config_target in $ac_config_targets
106114 case "$ac_config_target" in
106115 # Handling of arguments.
106116 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
106117 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
106118 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
106119 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
106120 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
106121 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
106122 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
106123 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
106124 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
106125 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
106126 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
106127 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
106128 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
106129 { (exit 1); exit 1; }; };;
106133 # If the user did not use the arguments to specify the items to instantiate,
106134 # then the envvar interface is used. Set only those that are not.
106135 # We use the long form for the default assignment because of an extremely
106136 # bizarre bug on SunOS 4.1.3.
106137 if $ac_need_defaults; then
106138 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
106139 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
106140 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
106143 # Have a temporary directory for convenience. Make it in the build tree
106144 # simply because there is no reason to put it here, and in addition,
106145 # creating and moving files from /tmp can sometimes cause problems.
106146 # Create a temporary directory, and hook for its removal unless debugging.
106147 $debug ||
106149 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
106150 trap '{ (exit 1); exit 1; }' 1 2 13 15
106153 # Create a (secure) tmp directory for tmp files.
106156 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
106157 test -n "$tmp" && test -d "$tmp"
106160 tmp=./confstat$$-$RANDOM
106161 (umask 077 && mkdir $tmp)
106164 echo "$me: cannot create a temporary directory in ." >&2
106165 { (exit 1); exit 1; }
106168 _ACEOF
106170 cat >>$CONFIG_STATUS <<_ACEOF
106173 # CONFIG_FILES section.
106176 # No need to generate the scripts if there are no CONFIG_FILES.
106177 # This happens for instance when ./config.status config.h
106178 if test -n "\$CONFIG_FILES"; then
106179 # Protect against being on the right side of a sed subst in config.status.
106180 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
106181 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
106182 s,@SHELL@,$SHELL,;t t
106183 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
106184 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
106185 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
106186 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
106187 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
106188 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
106189 s,@exec_prefix@,$exec_prefix,;t t
106190 s,@prefix@,$prefix,;t t
106191 s,@program_transform_name@,$program_transform_name,;t t
106192 s,@bindir@,$bindir,;t t
106193 s,@sbindir@,$sbindir,;t t
106194 s,@libexecdir@,$libexecdir,;t t
106195 s,@datadir@,$datadir,;t t
106196 s,@sysconfdir@,$sysconfdir,;t t
106197 s,@sharedstatedir@,$sharedstatedir,;t t
106198 s,@localstatedir@,$localstatedir,;t t
106199 s,@libdir@,$libdir,;t t
106200 s,@includedir@,$includedir,;t t
106201 s,@oldincludedir@,$oldincludedir,;t t
106202 s,@infodir@,$infodir,;t t
106203 s,@mandir@,$mandir,;t t
106204 s,@build_alias@,$build_alias,;t t
106205 s,@host_alias@,$host_alias,;t t
106206 s,@target_alias@,$target_alias,;t t
106207 s,@DEFS@,$DEFS,;t t
106208 s,@ECHO_C@,$ECHO_C,;t t
106209 s,@ECHO_N@,$ECHO_N,;t t
106210 s,@ECHO_T@,$ECHO_T,;t t
106211 s,@LIBS@,$LIBS,;t t
106212 s,@libtool_VERSION@,$libtool_VERSION,;t t
106213 s,@multi_basedir@,$multi_basedir,;t t
106214 s,@build@,$build,;t t
106215 s,@build_cpu@,$build_cpu,;t t
106216 s,@build_vendor@,$build_vendor,;t t
106217 s,@build_os@,$build_os,;t t
106218 s,@host@,$host,;t t
106219 s,@host_cpu@,$host_cpu,;t t
106220 s,@host_vendor@,$host_vendor,;t t
106221 s,@host_os@,$host_os,;t t
106222 s,@target@,$target,;t t
106223 s,@target_cpu@,$target_cpu,;t t
106224 s,@target_vendor@,$target_vendor,;t t
106225 s,@target_os@,$target_os,;t t
106226 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
106227 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
106228 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
106229 s,@CYGPATH_W@,$CYGPATH_W,;t t
106230 s,@PACKAGE@,$PACKAGE,;t t
106231 s,@VERSION@,$VERSION,;t t
106232 s,@ACLOCAL@,$ACLOCAL,;t t
106233 s,@AUTOCONF@,$AUTOCONF,;t t
106234 s,@AUTOMAKE@,$AUTOMAKE,;t t
106235 s,@AUTOHEADER@,$AUTOHEADER,;t t
106236 s,@MAKEINFO@,$MAKEINFO,;t t
106237 s,@install_sh@,$install_sh,;t t
106238 s,@STRIP@,$STRIP,;t t
106239 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
106240 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
106241 s,@mkdir_p@,$mkdir_p,;t t
106242 s,@AWK@,$AWK,;t t
106243 s,@SET_MAKE@,$SET_MAKE,;t t
106244 s,@am__leading_dot@,$am__leading_dot,;t t
106245 s,@AMTAR@,$AMTAR,;t t
106246 s,@am__tar@,$am__tar,;t t
106247 s,@am__untar@,$am__untar,;t t
106248 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
106249 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
106250 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
106251 s,@CC@,$CC,;t t
106252 s,@ac_ct_CC@,$ac_ct_CC,;t t
106253 s,@EXEEXT@,$EXEEXT,;t t
106254 s,@OBJEXT@,$OBJEXT,;t t
106255 s,@CXX@,$CXX,;t t
106256 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
106257 s,@CFLAGS@,$CFLAGS,;t t
106258 s,@CXXFLAGS@,$CXXFLAGS,;t t
106259 s,@LN_S@,$LN_S,;t t
106260 s,@AS@,$AS,;t t
106261 s,@ac_ct_AS@,$ac_ct_AS,;t t
106262 s,@AR@,$AR,;t t
106263 s,@ac_ct_AR@,$ac_ct_AR,;t t
106264 s,@RANLIB@,$RANLIB,;t t
106265 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
106266 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
106267 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
106268 s,@MAINT@,$MAINT,;t t
106269 s,@CPP@,$CPP,;t t
106270 s,@CPPFLAGS@,$CPPFLAGS,;t t
106271 s,@EGREP@,$EGREP,;t t
106272 s,@LIBTOOL@,$LIBTOOL,;t t
106273 s,@CXXCPP@,$CXXCPP,;t t
106274 s,@enable_shared@,$enable_shared,;t t
106275 s,@enable_static@,$enable_static,;t t
106276 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
106277 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
106278 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
106279 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
106280 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
106281 s,@CSTDIO_H@,$CSTDIO_H,;t t
106282 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
106283 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
106284 s,@check_msgfmt@,$check_msgfmt,;t t
106285 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
106286 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
106287 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
106288 s,@USE_NLS@,$USE_NLS,;t t
106289 s,@CLOCALE_H@,$CLOCALE_H,;t t
106290 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
106291 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
106292 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
106293 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
106294 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
106295 s,@CMONEY_CC@,$CMONEY_CC,;t t
106296 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
106297 s,@CTIME_H@,$CTIME_H,;t t
106298 s,@CTIME_CC@,$CTIME_CC,;t t
106299 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
106300 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
106301 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
106302 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
106303 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
106304 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
106305 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
106306 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
106307 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
106308 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
106309 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
106310 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
106311 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
106312 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
106313 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
106314 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
106315 s,@WERROR@,$WERROR,;t t
106316 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
106317 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
106318 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
106319 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
106320 s,@LIBICONV@,$LIBICONV,;t t
106321 s,@LTLIBICONV@,$LTLIBICONV,;t t
106322 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
106323 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
106324 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
106325 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
106326 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
106327 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
106328 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
106329 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
106330 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
106331 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
106332 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
106333 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
106334 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
106335 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
106336 s,@baseline_dir@,$baseline_dir,;t t
106337 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
106338 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
106339 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
106340 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
106341 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
106342 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
106343 s,@gxx_include_dir@,$gxx_include_dir,;t t
106344 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
106345 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
106346 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
106347 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
106348 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
106349 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
106350 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
106351 s,@LIBOBJS@,$LIBOBJS,;t t
106352 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
106355 _ACEOF
106357 cat >>$CONFIG_STATUS <<\_ACEOF
106358 # Split the substitutions into bite-sized pieces for seds with
106359 # small command number limits, like on Digital OSF/1 and HP-UX.
106360 ac_max_sed_lines=48
106361 ac_sed_frag=1 # Number of current file.
106362 ac_beg=1 # First line for current file.
106363 ac_end=$ac_max_sed_lines # Line after last line for current file.
106364 ac_more_lines=:
106365 ac_sed_cmds=
106366 while $ac_more_lines; do
106367 if test $ac_beg -gt 1; then
106368 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
106370 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
106372 if test ! -s $tmp/subs.frag; then
106373 ac_more_lines=false
106375 # The purpose of the label and of the branching condition is to
106376 # speed up the sed processing (if there are no `@' at all, there
106377 # is no need to browse any of the substitutions).
106378 # These are the two extra sed commands mentioned above.
106379 (echo ':t
106380 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
106381 if test -z "$ac_sed_cmds"; then
106382 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
106384 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
106386 ac_sed_frag=`expr $ac_sed_frag + 1`
106387 ac_beg=$ac_end
106388 ac_end=`expr $ac_end + $ac_max_sed_lines`
106391 if test -z "$ac_sed_cmds"; then
106392 ac_sed_cmds=cat
106394 fi # test -n "$CONFIG_FILES"
106396 _ACEOF
106397 cat >>$CONFIG_STATUS <<\_ACEOF
106398 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
106399 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
106400 case $ac_file in
106401 - | *:- | *:-:* ) # input from stdin
106402 cat >$tmp/stdin
106403 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106404 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106405 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106406 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106407 * ) ac_file_in=$ac_file.in ;;
106410 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
106411 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
106412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106413 X"$ac_file" : 'X\(//\)[^/]' \| \
106414 X"$ac_file" : 'X\(//\)$' \| \
106415 X"$ac_file" : 'X\(/\)' \| \
106416 . : '\(.\)' 2>/dev/null ||
106417 echo X"$ac_file" |
106418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106420 /^X\(\/\/\)$/{ s//\1/; q; }
106421 /^X\(\/\).*/{ s//\1/; q; }
106422 s/.*/./; q'`
106423 { if $as_mkdir_p; then
106424 mkdir -p "$ac_dir"
106426 as_dir="$ac_dir"
106427 as_dirs=
106428 while test ! -d "$as_dir"; do
106429 as_dirs="$as_dir $as_dirs"
106430 as_dir=`(dirname "$as_dir") 2>/dev/null ||
106431 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106432 X"$as_dir" : 'X\(//\)[^/]' \| \
106433 X"$as_dir" : 'X\(//\)$' \| \
106434 X"$as_dir" : 'X\(/\)' \| \
106435 . : '\(.\)' 2>/dev/null ||
106436 echo X"$as_dir" |
106437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106439 /^X\(\/\/\)$/{ s//\1/; q; }
106440 /^X\(\/\).*/{ s//\1/; q; }
106441 s/.*/./; q'`
106443 test ! -n "$as_dirs" || mkdir $as_dirs
106444 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
106445 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
106446 { (exit 1); exit 1; }; }; }
106448 ac_builddir=.
106450 if test "$ac_dir" != .; then
106451 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
106452 # A "../" for each directory in $ac_dir_suffix.
106453 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
106455 ac_dir_suffix= ac_top_builddir=
106458 case $srcdir in
106459 .) # No --srcdir option. We are building in place.
106460 ac_srcdir=.
106461 if test -z "$ac_top_builddir"; then
106462 ac_top_srcdir=.
106464 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
106465 fi ;;
106466 [\\/]* | ?:[\\/]* ) # Absolute path.
106467 ac_srcdir=$srcdir$ac_dir_suffix;
106468 ac_top_srcdir=$srcdir ;;
106469 *) # Relative path.
106470 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
106471 ac_top_srcdir=$ac_top_builddir$srcdir ;;
106474 # Do not use `cd foo && pwd` to compute absolute paths, because
106475 # the directories may not exist.
106476 case `pwd` in
106477 .) ac_abs_builddir="$ac_dir";;
106479 case "$ac_dir" in
106480 .) ac_abs_builddir=`pwd`;;
106481 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
106482 *) ac_abs_builddir=`pwd`/"$ac_dir";;
106483 esac;;
106485 case $ac_abs_builddir in
106486 .) ac_abs_top_builddir=${ac_top_builddir}.;;
106488 case ${ac_top_builddir}. in
106489 .) ac_abs_top_builddir=$ac_abs_builddir;;
106490 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
106491 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
106492 esac;;
106494 case $ac_abs_builddir in
106495 .) ac_abs_srcdir=$ac_srcdir;;
106497 case $ac_srcdir in
106498 .) ac_abs_srcdir=$ac_abs_builddir;;
106499 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
106500 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
106501 esac;;
106503 case $ac_abs_builddir in
106504 .) ac_abs_top_srcdir=$ac_top_srcdir;;
106506 case $ac_top_srcdir in
106507 .) ac_abs_top_srcdir=$ac_abs_builddir;;
106508 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
106509 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
106510 esac;;
106514 case $INSTALL in
106515 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
106516 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
106519 if test x"$ac_file" != x-; then
106520 { echo "$as_me:$LINENO: creating $ac_file" >&5
106521 echo "$as_me: creating $ac_file" >&6;}
106522 rm -f "$ac_file"
106524 # Let's still pretend it is `configure' which instantiates (i.e., don't
106525 # use $as_me), people would be surprised to read:
106526 # /* config.h. Generated by config.status. */
106527 if test x"$ac_file" = x-; then
106528 configure_input=
106530 configure_input="$ac_file. "
106532 configure_input=$configure_input"Generated from `echo $ac_file_in |
106533 sed 's,.*/,,'` by configure."
106535 # First look for the input files in the build tree, otherwise in the
106536 # src tree.
106537 ac_file_inputs=`IFS=:
106538 for f in $ac_file_in; do
106539 case $f in
106540 -) echo $tmp/stdin ;;
106541 [\\/$]*)
106542 # Absolute (can't be DOS-style, as IFS=:)
106543 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106544 echo "$as_me: error: cannot find input file: $f" >&2;}
106545 { (exit 1); exit 1; }; }
106546 echo "$f";;
106547 *) # Relative
106548 if test -f "$f"; then
106549 # Build tree
106550 echo "$f"
106551 elif test -f "$srcdir/$f"; then
106552 # Source tree
106553 echo "$srcdir/$f"
106555 # /dev/null tree
106556 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106557 echo "$as_me: error: cannot find input file: $f" >&2;}
106558 { (exit 1); exit 1; }; }
106561 done` || { (exit 1); exit 1; }
106562 _ACEOF
106563 cat >>$CONFIG_STATUS <<_ACEOF
106564 sed "$ac_vpsub
106565 $extrasub
106566 _ACEOF
106567 cat >>$CONFIG_STATUS <<\_ACEOF
106569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
106570 s,@configure_input@,$configure_input,;t t
106571 s,@srcdir@,$ac_srcdir,;t t
106572 s,@abs_srcdir@,$ac_abs_srcdir,;t t
106573 s,@top_srcdir@,$ac_top_srcdir,;t t
106574 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
106575 s,@builddir@,$ac_builddir,;t t
106576 s,@abs_builddir@,$ac_abs_builddir,;t t
106577 s,@top_builddir@,$ac_top_builddir,;t t
106578 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
106579 s,@INSTALL@,$ac_INSTALL,;t t
106580 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
106581 rm -f $tmp/stdin
106582 if test x"$ac_file" != x-; then
106583 mv $tmp/out $ac_file
106585 cat $tmp/out
106586 rm -f $tmp/out
106589 # Run the commands associated with the file.
106590 case $ac_file in
106591 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
106594 _ACEOF
106595 cat >>$CONFIG_STATUS <<\_ACEOF
106598 # CONFIG_HEADER section.
106601 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
106602 # NAME is the cpp macro being defined and VALUE is the value it is being given.
106604 # ac_d sets the value in "#define NAME VALUE" lines.
106605 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
106606 ac_dB='[ ].*$,\1#\2'
106607 ac_dC=' '
106608 ac_dD=',;t'
106609 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
106610 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
106611 ac_uB='$,\1#\2define\3'
106612 ac_uC=' '
106613 ac_uD=',;t'
106615 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
106616 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
106617 case $ac_file in
106618 - | *:- | *:-:* ) # input from stdin
106619 cat >$tmp/stdin
106620 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106621 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106622 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106623 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106624 * ) ac_file_in=$ac_file.in ;;
106627 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
106628 echo "$as_me: creating $ac_file" >&6;}
106630 # First look for the input files in the build tree, otherwise in the
106631 # src tree.
106632 ac_file_inputs=`IFS=:
106633 for f in $ac_file_in; do
106634 case $f in
106635 -) echo $tmp/stdin ;;
106636 [\\/$]*)
106637 # Absolute (can't be DOS-style, as IFS=:)
106638 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106639 echo "$as_me: error: cannot find input file: $f" >&2;}
106640 { (exit 1); exit 1; }; }
106641 # Do quote $f, to prevent DOS paths from being IFS'd.
106642 echo "$f";;
106643 *) # Relative
106644 if test -f "$f"; then
106645 # Build tree
106646 echo "$f"
106647 elif test -f "$srcdir/$f"; then
106648 # Source tree
106649 echo "$srcdir/$f"
106651 # /dev/null tree
106652 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106653 echo "$as_me: error: cannot find input file: $f" >&2;}
106654 { (exit 1); exit 1; }; }
106657 done` || { (exit 1); exit 1; }
106658 # Remove the trailing spaces.
106659 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
106661 _ACEOF
106663 # Transform confdefs.h into two sed scripts, `conftest.defines' and
106664 # `conftest.undefs', that substitutes the proper values into
106665 # config.h.in to produce config.h. The first handles `#define'
106666 # templates, and the second `#undef' templates.
106667 # And first: Protect against being on the right side of a sed subst in
106668 # config.status. Protect against being in an unquoted here document
106669 # in config.status.
106670 rm -f conftest.defines conftest.undefs
106671 # Using a here document instead of a string reduces the quoting nightmare.
106672 # Putting comments in sed scripts is not portable.
106674 # `end' is used to avoid that the second main sed command (meant for
106675 # 0-ary CPP macros) applies to n-ary macro definitions.
106676 # See the Autoconf documentation for `clear'.
106677 cat >confdef2sed.sed <<\_ACEOF
106678 s/[\\&,]/\\&/g
106679 s,[\\$`],\\&,g
106680 t clear
106681 : clear
106682 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
106683 t end
106684 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
106685 : end
106686 _ACEOF
106687 # If some macros were called several times there might be several times
106688 # the same #defines, which is useless. Nevertheless, we may not want to
106689 # sort them, since we want the *last* AC-DEFINE to be honored.
106690 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
106691 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
106692 rm -f confdef2sed.sed
106694 # This sed command replaces #undef with comments. This is necessary, for
106695 # example, in the case of _POSIX_SOURCE, which is predefined and required
106696 # on some systems where configure will not decide to define it.
106697 cat >>conftest.undefs <<\_ACEOF
106698 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
106699 _ACEOF
106701 # Break up conftest.defines because some shells have a limit on the size
106702 # of here documents, and old seds have small limits too (100 cmds).
106703 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
106704 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
106705 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
106706 echo ' :' >>$CONFIG_STATUS
106707 rm -f conftest.tail
106708 while grep . conftest.defines >/dev/null
106710 # Write a limited-size here document to $tmp/defines.sed.
106711 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
106712 # Speed up: don't consider the non `#define' lines.
106713 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
106714 # Work around the forget-to-reset-the-flag bug.
106715 echo 't clr' >>$CONFIG_STATUS
106716 echo ': clr' >>$CONFIG_STATUS
106717 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
106718 echo 'CEOF
106719 sed -f $tmp/defines.sed $tmp/in >$tmp/out
106720 rm -f $tmp/in
106721 mv $tmp/out $tmp/in
106722 ' >>$CONFIG_STATUS
106723 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
106724 rm -f conftest.defines
106725 mv conftest.tail conftest.defines
106727 rm -f conftest.defines
106728 echo ' fi # grep' >>$CONFIG_STATUS
106729 echo >>$CONFIG_STATUS
106731 # Break up conftest.undefs because some shells have a limit on the size
106732 # of here documents, and old seds have small limits too (100 cmds).
106733 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
106734 rm -f conftest.tail
106735 while grep . conftest.undefs >/dev/null
106737 # Write a limited-size here document to $tmp/undefs.sed.
106738 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
106739 # Speed up: don't consider the non `#undef'
106740 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
106741 # Work around the forget-to-reset-the-flag bug.
106742 echo 't clr' >>$CONFIG_STATUS
106743 echo ': clr' >>$CONFIG_STATUS
106744 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
106745 echo 'CEOF
106746 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
106747 rm -f $tmp/in
106748 mv $tmp/out $tmp/in
106749 ' >>$CONFIG_STATUS
106750 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
106751 rm -f conftest.undefs
106752 mv conftest.tail conftest.undefs
106754 rm -f conftest.undefs
106756 cat >>$CONFIG_STATUS <<\_ACEOF
106757 # Let's still pretend it is `configure' which instantiates (i.e., don't
106758 # use $as_me), people would be surprised to read:
106759 # /* config.h. Generated by config.status. */
106760 if test x"$ac_file" = x-; then
106761 echo "/* Generated by configure. */" >$tmp/config.h
106763 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
106765 cat $tmp/in >>$tmp/config.h
106766 rm -f $tmp/in
106767 if test x"$ac_file" != x-; then
106768 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
106769 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
106770 echo "$as_me: $ac_file is unchanged" >&6;}
106772 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
106773 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106774 X"$ac_file" : 'X\(//\)[^/]' \| \
106775 X"$ac_file" : 'X\(//\)$' \| \
106776 X"$ac_file" : 'X\(/\)' \| \
106777 . : '\(.\)' 2>/dev/null ||
106778 echo X"$ac_file" |
106779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106781 /^X\(\/\/\)$/{ s//\1/; q; }
106782 /^X\(\/\).*/{ s//\1/; q; }
106783 s/.*/./; q'`
106784 { if $as_mkdir_p; then
106785 mkdir -p "$ac_dir"
106787 as_dir="$ac_dir"
106788 as_dirs=
106789 while test ! -d "$as_dir"; do
106790 as_dirs="$as_dir $as_dirs"
106791 as_dir=`(dirname "$as_dir") 2>/dev/null ||
106792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106793 X"$as_dir" : 'X\(//\)[^/]' \| \
106794 X"$as_dir" : 'X\(//\)$' \| \
106795 X"$as_dir" : 'X\(/\)' \| \
106796 . : '\(.\)' 2>/dev/null ||
106797 echo X"$as_dir" |
106798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106799 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106800 /^X\(\/\/\)$/{ s//\1/; q; }
106801 /^X\(\/\).*/{ s//\1/; q; }
106802 s/.*/./; q'`
106804 test ! -n "$as_dirs" || mkdir $as_dirs
106805 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
106806 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
106807 { (exit 1); exit 1; }; }; }
106809 rm -f $ac_file
106810 mv $tmp/config.h $ac_file
106813 cat $tmp/config.h
106814 rm -f $tmp/config.h
106816 # Compute $ac_file's index in $config_headers.
106817 _am_stamp_count=1
106818 for _am_header in $config_headers :; do
106819 case $_am_header in
106820 $ac_file | $ac_file:* )
106821 break ;;
106823 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
106826 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
106827 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106828 X$ac_file : 'X\(//\)[^/]' \| \
106829 X$ac_file : 'X\(//\)$' \| \
106830 X$ac_file : 'X\(/\)' \| \
106831 . : '\(.\)' 2>/dev/null ||
106832 echo X$ac_file |
106833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106835 /^X\(\/\/\)$/{ s//\1/; q; }
106836 /^X\(\/\).*/{ s//\1/; q; }
106837 s/.*/./; q'`/stamp-h$_am_stamp_count
106839 _ACEOF
106840 cat >>$CONFIG_STATUS <<\_ACEOF
106843 # CONFIG_COMMANDS section.
106845 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
106846 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
106847 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
106848 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
106849 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106850 X"$ac_dest" : 'X\(//\)[^/]' \| \
106851 X"$ac_dest" : 'X\(//\)$' \| \
106852 X"$ac_dest" : 'X\(/\)' \| \
106853 . : '\(.\)' 2>/dev/null ||
106854 echo X"$ac_dest" |
106855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106856 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106857 /^X\(\/\/\)$/{ s//\1/; q; }
106858 /^X\(\/\).*/{ s//\1/; q; }
106859 s/.*/./; q'`
106860 { if $as_mkdir_p; then
106861 mkdir -p "$ac_dir"
106863 as_dir="$ac_dir"
106864 as_dirs=
106865 while test ! -d "$as_dir"; do
106866 as_dirs="$as_dir $as_dirs"
106867 as_dir=`(dirname "$as_dir") 2>/dev/null ||
106868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106869 X"$as_dir" : 'X\(//\)[^/]' \| \
106870 X"$as_dir" : 'X\(//\)$' \| \
106871 X"$as_dir" : 'X\(/\)' \| \
106872 . : '\(.\)' 2>/dev/null ||
106873 echo X"$as_dir" |
106874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106876 /^X\(\/\/\)$/{ s//\1/; q; }
106877 /^X\(\/\).*/{ s//\1/; q; }
106878 s/.*/./; q'`
106880 test ! -n "$as_dirs" || mkdir $as_dirs
106881 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
106882 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
106883 { (exit 1); exit 1; }; }; }
106885 ac_builddir=.
106887 if test "$ac_dir" != .; then
106888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
106889 # A "../" for each directory in $ac_dir_suffix.
106890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
106892 ac_dir_suffix= ac_top_builddir=
106895 case $srcdir in
106896 .) # No --srcdir option. We are building in place.
106897 ac_srcdir=.
106898 if test -z "$ac_top_builddir"; then
106899 ac_top_srcdir=.
106901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
106902 fi ;;
106903 [\\/]* | ?:[\\/]* ) # Absolute path.
106904 ac_srcdir=$srcdir$ac_dir_suffix;
106905 ac_top_srcdir=$srcdir ;;
106906 *) # Relative path.
106907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
106908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
106911 # Do not use `cd foo && pwd` to compute absolute paths, because
106912 # the directories may not exist.
106913 case `pwd` in
106914 .) ac_abs_builddir="$ac_dir";;
106916 case "$ac_dir" in
106917 .) ac_abs_builddir=`pwd`;;
106918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
106919 *) ac_abs_builddir=`pwd`/"$ac_dir";;
106920 esac;;
106922 case $ac_abs_builddir in
106923 .) ac_abs_top_builddir=${ac_top_builddir}.;;
106925 case ${ac_top_builddir}. in
106926 .) ac_abs_top_builddir=$ac_abs_builddir;;
106927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
106928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
106929 esac;;
106931 case $ac_abs_builddir in
106932 .) ac_abs_srcdir=$ac_srcdir;;
106934 case $ac_srcdir in
106935 .) ac_abs_srcdir=$ac_abs_builddir;;
106936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
106937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
106938 esac;;
106940 case $ac_abs_builddir in
106941 .) ac_abs_top_srcdir=$ac_top_srcdir;;
106943 case $ac_top_srcdir in
106944 .) ac_abs_top_srcdir=$ac_abs_builddir;;
106945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
106946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
106947 esac;;
106951 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
106952 echo "$as_me: executing $ac_dest commands" >&6;}
106953 case $ac_dest in
106954 default-1 )
106955 # Only add multilib support code if we just rebuilt the top-level
106956 # Makefile.
106957 case " $CONFIG_FILES " in
106958 *" Makefile "*)
106959 ac_file=Makefile . ${multi_basedir}/config-ml.in
106961 esac ;;
106962 default ) if test -n "$CONFIG_FILES"; then
106963 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
106964 # that multilib installs will end up installed in the correct place.
106965 # The testsuite needs it for multilib-aware ABI baseline files.
106966 # To work around this not being passed down from config-ml.in ->
106967 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
106968 # append it here. Only modify Makefiles that have just been created.
106970 # Also, get rid of this simulated-VPATH thing that automake does.
106971 cat > vpsed << \_EOF
106972 s!`test -f '$<' || echo '$(srcdir)/'`!!
106974 for i in $SUBDIRS; do
106975 case $CONFIG_FILES in
106976 *${i}/Makefile*)
106977 #echo "Adding MULTISUBDIR to $i/Makefile"
106978 sed -f vpsed $i/Makefile > tmp
106979 grep '^MULTISUBDIR =' Makefile >> tmp
106980 mv tmp $i/Makefile
106984 rm vpsed
106986 (cd include && ${MAKE-make})
106990 _ACEOF
106992 cat >>$CONFIG_STATUS <<\_ACEOF
106994 { (exit 0); exit 0; }
106995 _ACEOF
106996 chmod +x $CONFIG_STATUS
106997 ac_clean_files=$ac_clean_files_save
107000 # configure is writing to config.log, and then calls config.status.
107001 # config.status does its own redirection, appending to config.log.
107002 # Unfortunately, on DOS this fails, as config.log is still kept open
107003 # by configure, so config.status won't be able to write to it; its
107004 # output is simply discarded. So we exec the FD to /dev/null,
107005 # effectively closing config.log, so it can be properly (re)opened and
107006 # appended to by config.status. When coming back to configure, we
107007 # need to make the FD available again.
107008 if test "$no_create" != yes; then
107009 ac_cs_success=:
107010 ac_config_status_args=
107011 test "$silent" = yes &&
107012 ac_config_status_args="$ac_config_status_args --quiet"
107013 exec 5>/dev/null
107014 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
107015 exec 5>>config.log
107016 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
107017 # would make configure fail if this is the last instruction.
107018 $ac_cs_success || { (exit 1); exit 1; }